ERC-721
Overview
Max Total Supply
1,652 NHA
Holders
546
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 NHALoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.
Contract Name:
Tabenomics
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.17; import "erc721a/contracts/ERC721A.sol"; import "erc721a/contracts/extensions/ERC721ABurnable.sol"; import "erc721a/contracts/extensions/ERC721AQueryable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract Tabenomics is ERC721A, Ownable, ERC721ABurnable, ERC721AQueryable{ string public baseURI = "ipfs://bafybeidclrnogqvtp2ahfy4tq4tg6xj7y6axb7ng4uavapbsqjm4ysm6ea/metadata"; //ベースURI uint256 constant confirmMaxMint = 2; //非確定WL、確定WL、1人辺りのミント最大数 uint256 constant MaxMint = 3; //パブリック1人辺りのミント最大数 uint256 constant MaxNfts = 1500; //NFTの総数 uint256 constant MaxNftsOw = 2000; //NFTの総数オーナー用 uint256 constant startTokenId = 1; //NFTミントスタートID uint256 constant NftSalePrice = 25000000000000000; //確定、プレセール値 uint256 constant NftPrice = 30000000000000000; //パブリックセール値 uint256 nowTokenId = 0; uint256 totalNFTs = 0; uint256 public saleStartTime1st = 1677582000; // 2023/02/28 20:00:00 JST uint256 public saleStartTime2nd = 1677583800; // 2023/02/28 20:30:00 JST uint256 public saleStartTimePublic = 1677592800; // 2023/02/28 23:00:00 JST uint256 public saleFinish = 1677679200; // 2023/02/29 23:00:00 JST uint256 totalMint; //今までのミントされた合計数 uint256[] MyNftTokenId; //ユーザーの総トークンID address[] public whitelistedAddresses; //非確定ホワイトリストアドレス address[] public confirmwhitelistedAddresses; //確定ホワイトリストアドレス bool public onlyconfirmWhitelisted = false; //確定ホワイトリストメンバーしかミントできない状態 bool public onlyWhitelisted = false; //ホワイトリストメンバーしかミントできない状態 bool public onlypublic = false; //パブリックセールの状態 mapping(address => bool)public whitelist; mapping(address => bool)public oglist; uint256[] whitelist_max = [0,2,4,6,8,10]; uint256[] oglist_max = [0,2,4,6,8,10,12]; mapping(address => uint256) public WhitelistAddressMintedBalance; //非確定ホワイトリストMint数 mapping(address => uint256) public confirmWhitelistAddressMintedBalance; //確定ホワイトリストMint数 mapping(address => uint256) public WhitelistAddressMaxmint; //非確定ホワイトリストMaxMint数 mapping(address => uint256) public confirmWhitelistAddressMaxmint; //確定ホワイトリストMaxMint数 mapping(address => uint256) public stertWhitelistAddressMaxmint; //初期確定ホワイトリストMaxMint数 mapping(address => uint) public confirmWhitelistAddressRemainingmint; //確定ホワイトリスト残りMint数 mapping(address => uint) public WhitelistAddressRemainingmint; //非確定ホワイトリスト残りMint数 mapping(address => uint256) public addressMintedBalance; //ユーザーMint数 mapping(address => uint256) public UserBurnBalance; //ユーザーバーン数 constructor() ERC721A("Tabenomics", "NHA") { } event MintLog(address to, uint256 quantity); event TransferLog(address from, address to, uint256 tokenId); event TokenTransfer(address from, address receiver, uint amount); /// @dev ベースURI:ipfs//~ function _baseURI() internal view virtual override returns (string memory) { return baseURI; } /// @dev URIのスタートナンバー function _startTokenId() internal view virtual override returns (uint256){ //nowTokenId = startTokenId; return startTokenId; } /// @dev URI次のIdナンバー function _nextTokenId() internal view virtual override returns (uint256){ return nowTokenId; } /// @dev Mintされた合計数 function _totalMinted() internal view override returns (uint256){ return totalNFTs; } /// @dev 登録非確定ホワイトリストアドレス一覧取得関数 function viewOGaddress()external view returns(address[] memory){ return confirmwhitelistedAddresses; } /// @dev 登録確定ホワイトリストアドレス一覧取得関数 function viewWLaddress()external view returns(address[] memory){ return whitelistedAddresses; } /// @dev チェッカー関数 function checker(address _user)external view returns(uint256){ uint256 ans = 0; ans = ans + confirmWhitelistAddressMaxmint[_user]; ans = ans << 8; ans = ans + WhitelistAddressMaxmint[_user]; return ans; } /// @dev タイムスタンプ取得 function getTime() external view returns (uint256){ return block.timestamp; } /** * @dev * - 最大数までMintされていたらMintしない */ modifier MaxMints(){ require(MaxNfts >= totalSupply(),"sold out"); _; } /** * @dev * - 最大数までMintされていたらMintしない */ modifier MaxMintsow(){ require(MaxNftsOw >= totalSupply(),"sold out"); _; } /** * @dev * - 最大数以上Mintしないよう制限 */ modifier NosingOverMints(uint256 quatity){ require(quatity <= MaxNfts - totalSupply(),"Mints less please"); _; } modifier NosingOverMintsow(uint256 quatity){ require(quatity <= MaxNftsOw - totalSupply(),"Mints less please"); _; } /// @dev ベースURI変更 リビール手動用、非常用 function chngebaseURI(string memory uri) external onlyOwner () { baseURI = uri; } /** * @dev * - プレセール、通常時の価格設定 * - プレセールファーストセールへの切り替え */ function FirstSale() external onlyOwner { onlyconfirmWhitelisted = true; onlyWhitelisted = false; onlypublic = false; } /** * @dev * - プレセール、通常時の価格設定 * - プレセールセカンドセールへの切り替え */ function SecondSale() external onlyOwner { onlyconfirmWhitelisted = false; onlyWhitelisted = true; onlypublic = false; } /** * @dev * - セール、通常時の価格設定 * - ノーマルセールへの切り替え */ function NomalSale() external onlyOwner { onlyconfirmWhitelisted = false; onlyWhitelisted = false; onlypublic = true; } /** * @dev * - 販売なし状態切り替え */ function NullSale() external onlyOwner { onlyconfirmWhitelisted = false; onlyWhitelisted = false; onlypublic = false; } function confirmwhitelistUsers(uint[] calldata ogmax)public onlyOwner{ for(uint i = 1; i < ogmax.length + 1; i++){ oglist_max[i] = ogmax[i]; //confirmWhitelistAddressMaxmint[ogmax[i]] = oglist_max[i]; } oglist_max[0] = 0; } function whitelistUsers(uint[] calldata whitelistmax)public onlyOwner{ for(uint i = 1; i < whitelistmax.length + 1; i++){ whitelist_max[i] = whitelistmax[i]; //WhitelistAddressMaxmint[_users[i]] += confirmMaxMint; //stertWhitelistAddressMaxmint[_users[i]] += confirmMaxMint; } whitelist_max[0] = 0; } /** * @dev * - 確定ホワイトリストチェック関数 */ function confirmisWhitelisted(uint256 num)public view returns(bool){ if(oglist_max[num] != 0){ return true; } return false; } /** * @dev * - ホワイトリストチェック格納関数 */ function isWhitelisted(uint256 num)public view returns(bool){ if(whitelist_max[num] != 0){ return true; } return false; } /** * @dev * - ユーザーMint * - 一度のMint最大数3 * - 最大数以上Mintしないように制限 * - プレセール時はホワイトリストメンバーのみ制限 */ function MintUser(uint256 quantity, uint256 user_num) external payable MaxMints NosingOverMints(quantity) { require(onlypublic == true || onlyWhitelisted == true || onlyconfirmWhitelisted == true || (block.timestamp >= saleStartTime1st && block.timestamp <= saleFinish),"Time Out"); if(onlyconfirmWhitelisted == true || (block.timestamp >= saleStartTime1st && block.timestamp <= saleStartTime2nd)){ require(msg.value >= quantity * NftSalePrice, "Not enough money"); require(confirmisWhitelisted(user_num),"user is not OG"); uint256 confirmsalemaxmint = oglist_max[user_num]; require(confirmWhitelistAddressMintedBalance[msg.sender] + quantity <= confirmsalemaxmint, "MaxMint Over"); confirmWhitelistAddressRemainingmint[msg.sender] = confirmsalemaxmint - (confirmWhitelistAddressMintedBalance[msg.sender] + quantity); _nextTokenId(); _safeMint(msg.sender, quantity); emit MintLog(msg.sender, quantity); withdraw(); confirmWhitelistAddressMintedBalance[msg.sender] += quantity; }else if(onlyWhitelisted == true || (block.timestamp >= saleStartTime2nd && block.timestamp <= saleStartTimePublic)){ require(msg.value >= quantity * NftSalePrice, "Not enough money"); require(isWhitelisted(user_num),"user is not WL"); uint256 salemaxmint = whitelist_max[user_num] + confirmWhitelistAddressRemainingmint[msg.sender]; require(WhitelistAddressMintedBalance[msg.sender] + quantity <= salemaxmint, "MaxMint Over"); WhitelistAddressRemainingmint[msg.sender] = salemaxmint - (WhitelistAddressMintedBalance[msg.sender] + quantity); _nextTokenId(); _safeMint(msg.sender, quantity); emit MintLog(msg.sender, quantity); withdraw(); WhitelistAddressMintedBalance[msg.sender] += quantity; }else if(onlypublic == true || (block.timestamp >= saleStartTimePublic && block.timestamp <= saleFinish)){ require(msg.value >= quantity * NftPrice, "Not enough money"); uint256 MintCount = addressMintedBalance[msg.sender]; require(MintCount + quantity <= (MaxMint + WhitelistAddressRemainingmint[msg.sender]), "MaxMint Over"); _nextTokenId(); _safeMint(msg.sender, quantity); emit MintLog(msg.sender, quantity); withdraw(); addressMintedBalance[msg.sender] += quantity; } } /** * @dev * - オーナーMint * - 一度のMint上限数なし * - 最大数以上Mintしないように制限 * - Mintする * - クレジットカード支払い兼用 */ function MintOwnerToCredit(address _to, uint256 quantity) external onlyOwner MaxMintsow NosingOverMintsow(quantity) { //require(MaxNfts >= totalNFTs,"sold out"); //オーナー以外アドレスへのMintで合計数へ合算 if(_to != owner()){ addressMintedBalance[_to] += quantity; } _nextTokenId(); _safeMint(_to, quantity); emit MintLog(_to, quantity); } /** * @dev * - オーナーMint * - 一度のMint上限数なし * - 最大数以上Mintしないように制限 * - Mintする * - ギブアウェイ兼用 */ function MintOwnerToGive(address _to, uint256 quantity) external onlyOwner MaxMintsow NosingOverMintsow(quantity) { //require(MaxNfts >= totalNFTs,"sold out"); _nextTokenId(); _safeMint(_to, quantity); emit MintLog(_to, quantity); } /** * @dev * - バーン関数 */ function burn(uint256 tokenId, bool approvalCheck) internal virtual { _burn(tokenId, approvalCheck); } /** * @dev * - ここから送金等に関するスクリプト * - 特定アドレスのみフリーミント可能 * - 最大数以上Mintしないように制限 */ // 接続アドレスのether残高を返す関数 function getBalance() public view returns (uint256) { return msg.sender.balance; } // オーナーアドレスへコントラクトアドレスのethを全て送金 function withdraw() public payable { (bool success, ) = payable(owner()).call{value: address(this).balance}( "" ); require(success); } /** * @dev * - ユーザートランスファー * - ユーザーの持っているNFTの数とTokenIdを出す * - 個数指定でランダムバーン * - その後条件にかけてburn */ function UserBurn( uint256 quantity ) public virtual{ uint256[] memory tokenNumber = MyTokenId(); uint256 tokenleng = tokenNumber.length; uint256 index = 0; require(tokenleng >= quantity,"NFT Nons"); while(quantity > index){ _burn(tokenNumber[index], true); UserBurnBalance[msg.sender]++; index = index + 1; } } /** * @dev * - ユーザートランスファー * - ユーザーの持っているNFTの数とTokenIdを出す * - ID選択でバーン * - その後条件にかけてburn */ function UserBurnSelect( uint256[] memory quantity ) public virtual{ uint256[] memory tokenNumber = MyTokenId(); uint256 tokenleng = tokenNumber.length; uint256 repetition = quantity.length; require(tokenleng >= repetition,"NFT Nons"); for(uint i = 0; i < repetition; i++){ bool chack = false; for(uint j = 0; j < tokenleng; j++){ if(quantity[i] == tokenNumber[j]){ chack = true; } } require(chack, "NFT Nons"); } for(uint i = 0; i < repetition; i++){ _burn(quantity[i], true); UserBurnBalance[msg.sender]++; } } /** * @dev * - ユーザーバーン数の確認 */ function UserBurnView(address to)public view returns(uint256){ return UserBurnBalance[to]; } /** * @dev * - ユーザーバーン数のリセット */ function UserBurnReset(address to, uint256 quantity)external onlyOwner (){ UserBurnBalance[to] = UserBurnBalance[to] - quantity; } /** * @dev * - オーナートランスファー */ function OwnerTransfer( address to, uint256 tokenId ) public virtual onlyOwner{ transferFrom(owner(), to, tokenId); emit TransferLog(owner(), to, tokenId); } /** * @dev * - ユーザーの所持トークンIDを取得 */ function MyTokenId() private returns(uint256[] memory) { uint256 index = 1; uint256 dindex = 0; address user; uint leng = 0; totalMint = totalSupply(); leng = MyNftTokenId.length; while (dindex < leng){ MyNftTokenId.pop(); dindex = dindex + 1; } while (index <= totalMint){ user = ownerOf(index); if (user == msg.sender){ MyNftTokenId.push(index); } index = index + 1; } return MyNftTokenId; } }
// 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 // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721ABurnable.sol'; import '../ERC721A.sol'; /** * @title ERC721ABurnable. * * @dev ERC721A token that can be irreversibly burned (destroyed). */ abstract contract ERC721ABurnable is ERC721A, IERC721ABurnable { /** * @dev Burns `tokenId`. See {ERC721A-_burn}. * * Requirements: * * - The caller must own `tokenId` or be an approved operator. */ function burn(uint256 tokenId) public virtual override { _burn(tokenId, true); } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721AQueryable.sol'; import '../ERC721A.sol'; /** * @title ERC721AQueryable. * * @dev ERC721A subclass with convenience query functions. */ abstract contract ERC721AQueryable is ERC721A, IERC721AQueryable { /** * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting. * * If the `tokenId` is out of bounds: * * - `addr = address(0)` * - `startTimestamp = 0` * - `burned = false` * - `extraData = 0` * * If the `tokenId` is burned: * * - `addr = <Address of owner before token was burned>` * - `startTimestamp = <Timestamp when token was burned>` * - `burned = true` * - `extraData = <Extra data when token was burned>` * * Otherwise: * * - `addr = <Address of owner>` * - `startTimestamp = <Timestamp of start of ownership>` * - `burned = false` * - `extraData = <Extra data at start of ownership>` */ function explicitOwnershipOf(uint256 tokenId) public view virtual override returns (TokenOwnership memory) { TokenOwnership memory ownership; if (tokenId < _startTokenId() || tokenId >= _nextTokenId()) { return ownership; } ownership = _ownershipAt(tokenId); if (ownership.burned) { return ownership; } return _ownershipOf(tokenId); } /** * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order. * See {ERC721AQueryable-explicitOwnershipOf} */ function explicitOwnershipsOf(uint256[] calldata tokenIds) external view virtual override returns (TokenOwnership[] memory) { unchecked { uint256 tokenIdsLength = tokenIds.length; TokenOwnership[] memory ownerships = new TokenOwnership[](tokenIdsLength); for (uint256 i; i != tokenIdsLength; ++i) { ownerships[i] = explicitOwnershipOf(tokenIds[i]); } return ownerships; } } /** * @dev Returns an array of token IDs owned by `owner`, * in the range [`start`, `stop`) * (i.e. `start <= tokenId < stop`). * * This function allows for tokens to be queried if the collection * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}. * * Requirements: * * - `start < stop` */ function tokensOfOwnerIn( address owner, uint256 start, uint256 stop ) external view virtual override returns (uint256[] memory) { unchecked { if (start >= stop) revert InvalidQueryRange(); uint256 tokenIdsIdx; uint256 stopLimit = _nextTokenId(); // Set `start = max(start, _startTokenId())`. if (start < _startTokenId()) { start = _startTokenId(); } // Set `stop = min(stop, stopLimit)`. if (stop > stopLimit) { stop = stopLimit; } uint256 tokenIdsMaxLength = balanceOf(owner); // Set `tokenIdsMaxLength = min(balanceOf(owner), stop - start)`, // to cater for cases where `balanceOf(owner)` is too big. if (start < stop) { uint256 rangeLength = stop - start; if (rangeLength < tokenIdsMaxLength) { tokenIdsMaxLength = rangeLength; } } else { tokenIdsMaxLength = 0; } uint256[] memory tokenIds = new uint256[](tokenIdsMaxLength); if (tokenIdsMaxLength == 0) { return tokenIds; } // We need to call `explicitOwnershipOf(start)`, // because the slot at `start` may not be initialized. TokenOwnership memory ownership = explicitOwnershipOf(start); address currOwnershipAddr; // If the starting slot exists (i.e. not burned), initialize `currOwnershipAddr`. // `ownership.address` will not be zero, as `start` is clamped to the valid token ID range. if (!ownership.burned) { currOwnershipAddr = ownership.addr; } for (uint256 i = start; i != stop && tokenIdsIdx != tokenIdsMaxLength; ++i) { ownership = _ownershipAt(i); if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { tokenIds[tokenIdsIdx++] = i; } } // Downsize the array to fit. assembly { mstore(tokenIds, tokenIdsIdx) } return tokenIds; } } /** * @dev Returns an array of token IDs owned by `owner`. * * This function scans the ownership mapping and is O(`totalSupply`) in complexity. * It is meant to be called off-chain. * * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into * multiple smaller scans if the collection is large enough to cause * an out-of-gas error (10K collections should be fine). */ function tokensOfOwner(address owner) external view virtual override 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; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.4; 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; /** * @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 // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; import '../IERC721A.sol'; /** * @dev Interface of ERC721ABurnable. */ interface IERC721ABurnable is IERC721A { /** * @dev Burns `tokenId`. See {ERC721A-_burn}. * * Requirements: * * - The caller must own `tokenId` or be an approved operator. */ function burn(uint256 tokenId) external; }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; import '../IERC721A.sol'; /** * @dev Interface of ERC721AQueryable. */ interface IERC721AQueryable is IERC721A { /** * Invalid query range (`start` >= `stop`). */ error InvalidQueryRange(); /** * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting. * * If the `tokenId` is out of bounds: * * - `addr = address(0)` * - `startTimestamp = 0` * - `burned = false` * - `extraData = 0` * * If the `tokenId` is burned: * * - `addr = <Address of owner before token was burned>` * - `startTimestamp = <Timestamp when token was burned>` * - `burned = true` * - `extraData = <Extra data when token was burned>` * * Otherwise: * * - `addr = <Address of owner>` * - `startTimestamp = <Timestamp of start of ownership>` * - `burned = false` * - `extraData = <Extra data at start of ownership>` */ function explicitOwnershipOf(uint256 tokenId) external view returns (TokenOwnership memory); /** * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order. * See {ERC721AQueryable-explicitOwnershipOf} */ function explicitOwnershipsOf(uint256[] memory tokenIds) external view returns (TokenOwnership[] memory); /** * @dev Returns an array of token IDs owned by `owner`, * in the range [`start`, `stop`) * (i.e. `start <= tokenId < stop`). * * This function allows for tokens to be queried if the collection * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}. * * Requirements: * * - `start < stop` */ function tokensOfOwnerIn( address owner, uint256 start, uint256 stop ) external view returns (uint256[] memory); /** * @dev Returns an array of token IDs owned by `owner`. * * This function scans the ownership mapping and is O(`totalSupply`) in complexity. * It is meant to be called off-chain. * * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into * multiple smaller scans if the collection is large enough to cause * an out-of-gas error (10K collections should be fine). */ function tokensOfOwner(address owner) external view returns (uint256[] memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.4; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"InvalidQueryRange","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":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"MintLog","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":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"receiver","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TokenTransfer","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"TransferLog","type":"event"},{"inputs":[],"name":"FirstSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"MintOwnerToCredit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"MintOwnerToGive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"uint256","name":"user_num","type":"uint256"}],"name":"MintUser","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"NomalSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"NullSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"OwnerTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"SecondSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"UserBurn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"UserBurnBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"UserBurnReset","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"quantity","type":"uint256[]"}],"name":"UserBurnSelect","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"UserBurnView","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"WhitelistAddressMaxmint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"WhitelistAddressMintedBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"WhitelistAddressRemainingmint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressMintedBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"checker","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"chngebaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"confirmWhitelistAddressMaxmint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"confirmWhitelistAddressMintedBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"confirmWhitelistAddressRemainingmint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"num","type":"uint256"}],"name":"confirmisWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"ogmax","type":"uint256[]"}],"name":"confirmwhitelistUsers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"confirmwhitelistedAddresses","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"explicitOwnershipOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"explicitOwnershipsOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"num","type":"uint256"}],"name":"isWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"oglist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"onlyWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"onlyconfirmWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"onlypublic","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"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":[],"name":"saleFinish","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"saleStartTime1st","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"saleStartTime2nd","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"saleStartTimePublic","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"stertWhitelistAddressMaxmint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"stop","type":"uint256"}],"name":"tokensOfOwnerIn","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":"viewOGaddress","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"viewWLaddress","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"whitelistmax","type":"uint256[]"}],"name":"whitelistUsers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"whitelistedAddresses","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
60806040526040518060800160405280604b815260200162006346604b9139600990816200002e91906200065e565b506000600a556000600b556363fddeb0600c556363fde5b8600d556363fe08e0600e556363ff5a60600f556000601460006101000a81548160ff0219169083151502179055506000601460016101000a81548160ff0219169083151502179055506000601460026101000a81548160ff0219169083151502179055506040518060c00160405280600060ff168152602001600260ff168152602001600460ff168152602001600660ff168152602001600860ff168152602001600a60ff1681525060179060066200010192919062000317565b506040518060e00160405280600060ff168152602001600260ff168152602001600460ff168152602001600660ff168152602001600860ff168152602001600a60ff168152602001600c60ff168152506018906007620001639291906200036e565b503480156200017157600080fd5b506040518060400160405280600a81526020017f546162656e6f6d696373000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f4e484100000000000000000000000000000000000000000000000000000000008152508160029081620001ef91906200065e565b5080600390816200020191906200065e565b50620002126200024060201b60201c565b60008190555050506200023a6200022e6200024960201b60201c565b6200025160201b60201c565b62000745565b60006001905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280548282559060005260206000209081019282156200035b579160200282015b828111156200035a578251829060ff1690559160200191906001019062000338565b5b5090506200036a9190620003c5565b5090565b828054828255906000526020600020908101928215620003b2579160200282015b82811115620003b1578251829060ff169055916020019190600101906200038f565b5b509050620003c19190620003c5565b5090565b5b80821115620003e0576000816000905550600101620003c6565b5090565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200046657607f821691505b6020821081036200047c576200047b6200041e565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620004e67fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620004a7565b620004f28683620004a7565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b60006200053f6200053962000533846200050a565b62000514565b6200050a565b9050919050565b6000819050919050565b6200055b836200051e565b620005736200056a8262000546565b848454620004b4565b825550505050565b600090565b6200058a6200057b565b6200059781848462000550565b505050565b5b81811015620005bf57620005b360008262000580565b6001810190506200059d565b5050565b601f8211156200060e57620005d88162000482565b620005e38462000497565b81016020851015620005f3578190505b6200060b620006028562000497565b8301826200059c565b50505b505050565b600082821c905092915050565b6000620006336000198460080262000613565b1980831691505092915050565b60006200064e838362000620565b9150826002028217905092915050565b6200066982620003e4565b67ffffffffffffffff811115620006855762000684620003ef565b5b6200069182546200044d565b6200069e828285620005c3565b600060209050601f831160018114620006d65760008415620006c1578287015190505b620006cd858262000640565b8655506200073d565b601f198416620006e68662000482565b60005b828110156200071057848901518255600182019150602085019450602081019050620006e9565b868310156200073057848901516200072c601f89168262000620565b8355505b6001600288020188555050505b505050505050565b615bf180620007556000396000f3fe6080604052600436106103d95760003560e01c806370a08231116101fd578063a22cb46511610118578063c6992d8f116100ab578063dc8924e31161007a578063dc8924e314610f23578063e0505b4a14610f4c578063e985e9c514610f75578063f1553e9914610fb2578063f2fde38b14610fc9576103d9565b8063c6992d8f14610e55578063c87b56dd14610e7e578063cdbbd28e14610ebb578063ce9ea7a014610ee6576103d9565b8063b88d4fde116100e7578063b88d4fde14610d96578063ba4e5c4914610db2578063c03516c314610def578063c23dc68f14610e18576103d9565b8063a22cb46514610cdc578063aecb680f14610d05578063b3e8c8d214610d2e578063b7ac562b14610d59576103d9565b806398373312116101905780639d1cf42b1161015f5780639d1cf42b14610c095780639d54be1214610c255780639ecc40a814610c625780639fe93e5314610c9f576103d9565b80639837331214610b3b57806399a2557a14610b645780639b19251a14610ba15780639c70b51214610bde576103d9565b80638462151c116101cc5780638462151c14610a7d5780638520593314610aba5780638da5cb5b14610ae557806395d89b4114610b10576103d9565b806370a08231146109c1578063715018a6146109fe578063751b02c214610a155780637c5ba23514610a52576103d9565b8063369ae7e5116102f8578063557ed1ba1161028b5780635e5c78a41161025a5780635e5c78a4146108dc5780635f13341e14610919578063602fb129146109305780636352211e146109595780636c0360eb14610996576103d9565b8063557ed1ba146107fa5780635778742b146108255780635a650257146108625780635bbb21771461089f576103d9565b806342966c68116102c757806342966c681461072c578063483baa571461075557806350f046641461078057806352a71b69146107bd576103d9565b8063369ae7e51461069e5780633bcc0756146106c95780633ccfd60b1461070657806342842e0e14610710576103d9565b80630bbd35111161037057806318cae2691161033f57806318cae269146105f157806323b872dd1461062e578063292830191461064a5780632ccfc6b614610673576103d9565b80630bbd35111461054757806310c08c981461057257806312065fe01461059b57806318160ddd146105c6576103d9565b806306fdde03116103ac57806306fdde0314610486578063081812fc146104b157806308b28fa3146104ee578063095ea7b31461052b576103d9565b8063016c683c146103de57806301ffc9a71461041b57806305206e8e146104585780630521c6f01461046f575b600080fd5b3480156103ea57600080fd5b50610405600480360381019061040091906144f3565b610ff2565b6040516104129190614539565b60405180910390f35b34801561042757600080fd5b50610442600480360381019061043d91906145ac565b6110a3565b60405161044f91906145f4565b60405180910390f35b34801561046457600080fd5b5061046d611135565b005b34801561047b57600080fd5b50610484611190565b005b34801561049257600080fd5b5061049b6111eb565b6040516104a8919061469f565b60405180910390f35b3480156104bd57600080fd5b506104d860048036038101906104d391906146ed565b61127d565b6040516104e59190614729565b60405180910390f35b3480156104fa57600080fd5b50610515600480360381019061051091906144f3565b6112fc565b6040516105229190614539565b60405180910390f35b61054560048036038101906105409190614744565b611314565b005b34801561055357600080fd5b5061055c611458565b6040516105699190614539565b60405180910390f35b34801561057e57600080fd5b50610599600480360381019061059491906146ed565b61145e565b005b3480156105a757600080fd5b506105b0611552565b6040516105bd9190614539565b60405180910390f35b3480156105d257600080fd5b506105db611571565b6040516105e89190614539565b60405180910390f35b3480156105fd57600080fd5b50610618600480360381019061061391906144f3565b611588565b6040516106259190614539565b60405180910390f35b61064860048036038101906106439190614784565b61159f565b005b34801561065657600080fd5b50610671600480360381019061066c9190614744565b6118c1565b005b34801561067f57600080fd5b50610688611a4f565b6040516106959190614895565b60405180910390f35b3480156106aa57600080fd5b506106b3611add565b6040516106c09190614539565b60405180910390f35b3480156106d557600080fd5b506106f060048036038101906106eb91906144f3565b611ae3565b6040516106fd91906145f4565b60405180910390f35b61070e611b03565b005b61072a60048036038101906107259190614784565b611b83565b005b34801561073857600080fd5b50610753600480360381019061074e91906146ed565b611ba3565b005b34801561076157600080fd5b5061076a611bb1565b60405161077791906145f4565b60405180910390f35b34801561078c57600080fd5b506107a760048036038101906107a291906144f3565b611bc4565b6040516107b49190614539565b60405180910390f35b3480156107c957600080fd5b506107e460048036038101906107df91906146ed565b611bdc565b6040516107f191906145f4565b60405180910390f35b34801561080657600080fd5b5061080f611c16565b60405161081c9190614539565b60405180910390f35b34801561083157600080fd5b5061084c600480360381019061084791906144f3565b611c1e565b6040516108599190614539565b60405180910390f35b34801561086e57600080fd5b50610889600480360381019061088491906144f3565b611c36565b6040516108969190614539565b60405180910390f35b3480156108ab57600080fd5b506108c660048036038101906108c1919061491c565b611c4e565b6040516108d39190614abd565b60405180910390f35b3480156108e857600080fd5b5061090360048036038101906108fe91906146ed565b611d11565b6040516109109190614729565b60405180910390f35b34801561092557600080fd5b5061092e611d50565b005b34801561093c57600080fd5b5061095760048036038101906109529190614744565b611dab565b005b34801561096557600080fd5b50610980600480360381019061097b91906146ed565b611e0b565b60405161098d9190614729565b60405180910390f35b3480156109a257600080fd5b506109ab611e1d565b6040516109b8919061469f565b60405180910390f35b3480156109cd57600080fd5b506109e860048036038101906109e391906144f3565b611eab565b6040516109f59190614539565b60405180910390f35b348015610a0a57600080fd5b50610a13611f63565b005b348015610a2157600080fd5b50610a3c6004803603810190610a3791906146ed565b611f77565b604051610a4991906145f4565b60405180910390f35b348015610a5e57600080fd5b50610a67611fb1565b604051610a749190614895565b60405180910390f35b348015610a8957600080fd5b50610aa46004803603810190610a9f91906144f3565b61203f565b604051610ab19190614b9d565b60405180910390f35b348015610ac657600080fd5b50610acf612182565b604051610adc9190614539565b60405180910390f35b348015610af157600080fd5b50610afa612188565b604051610b079190614729565b60405180910390f35b348015610b1c57600080fd5b50610b256121b2565b604051610b32919061469f565b60405180910390f35b348015610b4757600080fd5b50610b626004803603810190610b5d919061491c565b612244565b005b348015610b7057600080fd5b50610b8b6004803603810190610b869190614bbf565b6122e3565b604051610b989190614b9d565b60405180910390f35b348015610bad57600080fd5b50610bc86004803603810190610bc391906144f3565b6124ef565b604051610bd591906145f4565b60405180910390f35b348015610bea57600080fd5b50610bf361250f565b604051610c0091906145f4565b60405180910390f35b610c236004803603810190610c1e9190614c12565b612522565b005b348015610c3157600080fd5b50610c4c6004803603810190610c4791906144f3565b612e73565b604051610c599190614539565b60405180910390f35b348015610c6e57600080fd5b50610c896004803603810190610c8491906144f3565b612e8b565b604051610c969190614539565b60405180910390f35b348015610cab57600080fd5b50610cc66004803603810190610cc191906144f3565b612ea3565b604051610cd39190614539565b60405180910390f35b348015610ce857600080fd5b50610d036004803603810190610cfe9190614c7e565b612ebb565b005b348015610d1157600080fd5b50610d2c6004803603810190610d27919061491c565b612fc6565b005b348015610d3a57600080fd5b50610d43613065565b604051610d509190614539565b60405180910390f35b348015610d6557600080fd5b50610d806004803603810190610d7b91906144f3565b61306b565b604051610d8d9190614539565b60405180910390f35b610db06004803603810190610dab9190614dee565b613083565b005b348015610dbe57600080fd5b50610dd96004803603810190610dd491906146ed565b6130f6565b604051610de69190614729565b60405180910390f35b348015610dfb57600080fd5b50610e166004803603810190610e119190614f12565b613135565b005b348015610e2457600080fd5b50610e3f6004803603810190610e3a91906146ed565b613150565b604051610e4c9190614fb0565b60405180910390f35b348015610e6157600080fd5b50610e7c6004803603810190610e77919061508e565b6131ba565b005b348015610e8a57600080fd5b50610ea56004803603810190610ea091906146ed565b613374565b604051610eb2919061469f565b60405180910390f35b348015610ec757600080fd5b50610ed0613412565b604051610edd91906145f4565b60405180910390f35b348015610ef257600080fd5b50610f0d6004803603810190610f0891906144f3565b613425565b604051610f1a9190614539565b60405180910390f35b348015610f2f57600080fd5b50610f4a6004803603810190610f459190614744565b61346e565b005b348015610f5857600080fd5b50610f736004803603810190610f6e9190614744565b61356b565b005b348015610f8157600080fd5b50610f9c6004803603810190610f9791906150d7565b613605565b604051610fa991906145f4565b60405180910390f35b348015610fbe57600080fd5b50610fc7613699565b005b348015610fd557600080fd5b50610ff06004803603810190610feb91906144f3565b6136f4565b005b60008060009050601c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054816110449190615146565b9050600881901b9050601b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054816110989190615146565b905080915050919050565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806110fe57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061112e5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b61113d613777565b6000601460006101000a81548160ff0219169083151502179055506000601460016101000a81548160ff0219169083151502179055506000601460026101000a81548160ff021916908315150217905550565b611198613777565b6000601460006101000a81548160ff0219169083151502179055506000601460016101000a81548160ff0219169083151502179055506001601460026101000a81548160ff021916908315150217905550565b6060600280546111fa906151a9565b80601f0160208091040260200160405190810160405280929190818152602001828054611226906151a9565b80156112735780601f1061124857610100808354040283529160200191611273565b820191906000526020600020905b81548152906001019060200180831161125657829003601f168201915b5050505050905090565b6000611288826137f5565b6112be576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60196020528060005260406000206000915090505481565b600061131f82611e0b565b90508073ffffffffffffffffffffffffffffffffffffffff16611340613854565b73ffffffffffffffffffffffffffffffffffffffff16146113a35761136c81611367613854565b613605565b6113a2576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600f5481565b600061146861385c565b90506000815190506000838210156114b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ac90615226565b60405180910390fd5b5b8084111561154c576114e38382815181106114d4576114d3615246565b5b602002602001015160016139a7565b602160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081548092919061153390615275565b91905055506001816115459190615146565b90506114b6565b50505050565b60003373ffffffffffffffffffffffffffffffffffffffff1631905090565b600061157b613bf9565b6001546000540303905090565b602080528060005260406000206000915090505481565b60006115aa82613c02565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611611576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008061161d84613cce565b91509150611633818761162e613854565b613cf5565b61167f5761164886611643613854565b613605565b61167e576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16036116e5576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6116f28686866001613d39565b80156116fd57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055506117cb856117a7888887613d3f565b7c020000000000000000000000000000000000000000000000000000000017613d67565b600460008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841603611851576000600185019050600060046000838152602001908152602001600020540361184f57600054811461184e578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46118b98686866001613d92565b505050505050565b6118c9613777565b6118d1611571565b6107d01015611915576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190c90615309565b60405180910390fd5b8061191e611571565b6107d061192b9190615329565b81111561196d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611964906153a9565b60405180910390fd5b611975612188565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146119fe5781602060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119f69190615146565b925050819055505b611a06613d98565b50611a118383613da2565b7fd1d3d8a67ea3222e190a25cd89ce4613287a3f3d1272268cfd5639d6bad416b38383604051611a429291906153c9565b60405180910390a1505050565b60606013805480602002602001604051908101604052809291908181526020018280548015611ad357602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019060010190808311611a89575b5050505050905090565b600c5481565b60166020528060005260406000206000915054906101000a900460ff1681565b6000611b0d612188565b73ffffffffffffffffffffffffffffffffffffffff1647604051611b3090615423565b60006040518083038185875af1925050503d8060008114611b6d576040519150601f19603f3d011682016040523d82523d6000602084013e611b72565b606091505b5050905080611b8057600080fd5b50565b611b9e83838360405180602001604052806000815250613083565b505050565b611bae8160016139a7565b50565b601460009054906101000a900460ff1681565b601a6020528060005260406000206000915090505481565b60008060188381548110611bf357611bf2615246565b5b906000526020600020015414611c0c5760019050611c11565b600090505b919050565b600042905090565b601b6020528060005260406000206000915090505481565b601c6020528060005260406000206000915090505481565b6060600083839050905060008167ffffffffffffffff811115611c7457611c73614cc3565b5b604051908082528060200260200182016040528015611cad57816020015b611c9a614432565b815260200190600190039081611c925790505b50905060005b828114611d0557611cdc868683818110611cd057611ccf615246565b5b90506020020135613150565b828281518110611cef57611cee615246565b5b6020026020010181905250806001019050611cb3565b50809250505092915050565b60138181548110611d2157600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611d58613777565b6000601460006101000a81548160ff0219169083151502179055506001601460016101000a81548160ff0219169083151502179055506000601460026101000a81548160ff021916908315150217905550565b611db3613777565b611dc5611dbe612188565b838361159f565b7f21425341546d2023146851fb583db9b7c6be5fed0d287293c85a8ede5193c6ea611dee612188565b8383604051611dff93929190615438565b60405180910390a15050565b6000611e1682613c02565b9050919050565b60098054611e2a906151a9565b80601f0160208091040260200160405190810160405280929190818152602001828054611e56906151a9565b8015611ea35780601f10611e7857610100808354040283529160200191611ea3565b820191906000526020600020905b815481529060010190602001808311611e8657829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611f12576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611f6b613777565b611f756000613dc0565b565b60008060178381548110611f8e57611f8d615246565b5b906000526020600020015414611fa75760019050611fac565b600090505b919050565b6060601280548060200260200160405190810160405280929190818152602001828054801561203557602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019060010190808311611feb575b5050505050905090565b6060600080600061204f85611eab565b905060008167ffffffffffffffff81111561206d5761206c614cc3565b5b60405190808252806020026020018201604052801561209b5781602001602082028036833780820191505090505b5090506120a6614432565b60006120b0613bf9565b90505b838614612174576120c381613e86565b9150816040015161216957600073ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff161461210e57816000015194505b8773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603612168578083878060010198508151811061215b5761215a615246565b5b6020026020010181815250505b5b8060010190506120b3565b508195505050505050919050565b600e5481565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600380546121c1906151a9565b80601f01602080910402602001604051908101604052809291908181526020018280546121ed906151a9565b801561223a5780601f1061220f5761010080835404028352916020019161223a565b820191906000526020600020905b81548152906001019060200180831161221d57829003601f168201915b5050505050905090565b61224c613777565b6000600190505b6001838390506122639190615146565b8110156122b95782828281811061227d5761227c615246565b5b905060200201356018828154811061229857612297615246565b5b906000526020600020018190555080806122b190615275565b915050612253565b50600060186000815481106122d1576122d0615246565b5b90600052602060002001819055505050565b606081831061231e576040517f32c1995a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080612329613d98565b9050612333613bf9565b85101561234557612342613bf9565b94505b80841115612351578093505b600061235c87611eab565b90508486101561237f576000868603905081811015612379578091505b50612384565b600090505b60008167ffffffffffffffff8111156123a05761239f614cc3565b5b6040519080825280602002602001820160405280156123ce5781602001602082028036833780820191505090505b509050600082036123e557809450505050506124e8565b60006123f088613150565b90506000816040015161240557816000015190505b60008990505b88811415801561241b5750848714155b156124da5761242981613e86565b925082604001516124cf57600073ffffffffffffffffffffffffffffffffffffffff16836000015173ffffffffffffffffffffffffffffffffffffffff161461247457826000015191505b8a73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036124ce57808488806001019950815181106124c1576124c0615246565b5b6020026020010181815250505b5b80600101905061240b565b508583528296505050505050505b9392505050565b60156020528060005260406000206000915054906101000a900460ff1681565b601460019054906101000a900460ff1681565b61252a611571565b6105dc101561256e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161256590615309565b60405180910390fd5b81612577611571565b6105dc6125849190615329565b8111156125c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125bd906153a9565b60405180910390fd5b60011515601460029054906101000a900460ff16151514806125fb575060011515601460019054906101000a900460ff161515145b80612619575060011515601460009054906101000a900460ff161515145b806126345750600c5442101580156126335750600f544211155b5b612673576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161266a906154bb565b60405180910390fd5b60011515601460009054906101000a900460ff16151514806126a55750600c5442101580156126a45750600d544211155b5b15612940576658d15e17628000836126bd91906154db565b3410156126ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126f690615569565b60405180910390fd5b61270882611bdc565b612747576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161273e906155d5565b60405180910390fd5b60006018838154811061275d5761275c615246565b5b906000526020600020015490508084601a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546127b69190615146565b11156127f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127ee90615641565b60405180910390fd5b83601a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546128429190615146565b8161284d9190615329565b601e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550612898613d98565b506128a33385613da2565b7fd1d3d8a67ea3222e190a25cd89ce4613287a3f3d1272268cfd5639d6bad416b333856040516128d49291906153c9565b60405180910390a16128e4611b03565b83601a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129339190615146565b9250508190555050612e6e565b60011515601460019054906101000a900460ff16151514806129725750600d5442101580156129715750600e544211155b5b15612c57576658d15e176280008361298a91906154db565b3410156129cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129c390615569565b60405180910390fd5b6129d582611f77565b612a14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a0b906156ad565b60405180910390fd5b6000601e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205460178481548110612a6a57612a69615246565b5b9060005260206000200154612a7f9190615146565b90508084601960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612acd9190615146565b1115612b0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b0590615641565b60405180910390fd5b83601960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612b599190615146565b81612b649190615329565b601f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550612baf613d98565b50612bba3385613da2565b7fd1d3d8a67ea3222e190a25cd89ce4613287a3f3d1272268cfd5639d6bad416b33385604051612beb9291906153c9565b60405180910390a1612bfb611b03565b83601960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c4a9190615146565b9250508190555050612e6d565b60011515601460029054906101000a900460ff1615151480612c895750600e544210158015612c885750600f544211155b5b15612e6c57666a94d74f43000083612ca191906154db565b341015612ce3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cda90615569565b60405180910390fd5b6000602060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050601f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546003612d739190615146565b8482612d7f9190615146565b1115612dc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612db790615641565b60405180910390fd5b612dc8613d98565b50612dd33385613da2565b7fd1d3d8a67ea3222e190a25cd89ce4613287a3f3d1272268cfd5639d6bad416b33385604051612e049291906153c9565b60405180910390a1612e14611b03565b83602060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612e639190615146565b92505081905550505b5b5b505050565b601d6020528060005260406000206000915090505481565b60216020528060005260406000206000915090505481565b601e6020528060005260406000206000915090505481565b8060076000612ec8613854565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612f75613854565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612fba91906145f4565b60405180910390a35050565b612fce613777565b6000600190505b600183839050612fe59190615146565b81101561303b57828282818110612fff57612ffe615246565b5b905060200201356017828154811061301a57613019615246565b5b9060005260206000200181905550808061303390615275565b915050612fd5565b506000601760008154811061305357613052615246565b5b90600052602060002001819055505050565b600d5481565b601f6020528060005260406000206000915090505481565b61308e84848461159f565b60008373ffffffffffffffffffffffffffffffffffffffff163b146130f0576130b984848484613eb1565b6130ef576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6012818154811061310657600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61313d613777565b806009908161314c9190615879565b5050565b613158614432565b613160614432565b613168613bf9565b83108061317c5750613178613d98565b8310155b1561318a57809150506131b5565b61319383613e86565b90508060400151156131a857809150506131b5565b6131b183614001565b9150505b919050565b60006131c461385c565b905060008151905060008351905080821015613215576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161320c90615226565b60405180910390fd5b60005b818110156132d4576000805b8481101561327f5785818151811061323f5761323e615246565b5b602002602001015187848151811061325a57613259615246565b5b60200260200101510361326c57600191505b808061327790615275565b915050613224565b50806132c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132b790615226565b60405180910390fd5b5080806132cc90615275565b915050613218565b5060005b8181101561336d576133058582815181106132f6576132f5615246565b5b602002602001015160016139a7565b602160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081548092919061335590615275565b9190505550808061336590615275565b9150506132d8565b5050505050565b606061337f826137f5565b6133b5576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006133bf614021565b905060008151036133df576040518060200160405280600081525061340a565b806133e9846140b3565b6040516020016133fa929190615987565b6040516020818303038152906040525b915050919050565b601460029054906101000a900460ff1681565b6000602160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b613476613777565b61347e611571565b6107d010156134c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134b990615309565b60405180910390fd5b806134cb611571565b6107d06134d89190615329565b81111561351a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613511906153a9565b60405180910390fd5b613522613d98565b5061352d8383613da2565b7fd1d3d8a67ea3222e190a25cd89ce4613287a3f3d1272268cfd5639d6bad416b3838360405161355e9291906153c9565b60405180910390a1505050565b613573613777565b80602160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546135be9190615329565b602160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6136a1613777565b6001601460006101000a81548160ff0219169083151502179055506000601460016101000a81548160ff0219169083151502179055506000601460026101000a81548160ff021916908315150217905550565b6136fc613777565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361376b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161376290615a1d565b60405180910390fd5b61377481613dc0565b50565b61377f614103565b73ffffffffffffffffffffffffffffffffffffffff1661379d612188565b73ffffffffffffffffffffffffffffffffffffffff16146137f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137ea90615a89565b60405180910390fd5b565b600081613800613bf9565b1115801561380f575060005482105b801561384d575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b60606000600190506000808060009050613874611571565b60108190555060118054905090505b808310156138c757601180548061389d5761389c615aa9565b5b600190038181906000526020600020016000905590556001836138c09190615146565b9250613883565b5b601054841161394d576138da84611e0b565b91503373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036139395760118490806001815401808255809150506001900390600052602060002001600090919091909150555b6001846139469190615146565b93506138c8565b601180548060200260200160405190810160405280929190818152602001828054801561399957602002820191906000526020600020905b815481526020019060010190808311613985575b505050505094505050505090565b60006139b283613c02565b905060008190506000806139c586613cce565b915091508415613a2e576139e181846139dc613854565b613cf5565b613a2d576139f6836139f1613854565b613605565b613a2c576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5b613a3c836000886001613d39565b8015613a4757600082555b600160806001901b03600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550613aef83613aac85600088613d3f565b7c02000000000000000000000000000000000000000000000000000000007c01000000000000000000000000000000000000000000000000000000001717613d67565b600460008881526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000851603613b755760006001870190506000600460008381526020019081526020016000205403613b73576000548114613b72578460046000838152602001908152602001600020819055505b5b505b85600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613bdf836000886001613d92565b600160008154809291906001019190505550505050505050565b60006001905090565b60008082905080613c11613bf9565b11613c9757600054811015613c965760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603613c94575b60008103613c8a576004600083600190039350838152602001908152602001600020549050613c60565b8092505050613cc9565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8613d5686868461410b565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6000600a54905090565b613dbc828260405180602001604052806000815250614114565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b613e8e614432565b613eaa60046000848152602001908152602001600020546141b1565b9050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613ed7613854565b8786866040518563ffffffff1660e01b8152600401613ef99493929190615b2d565b6020604051808303816000875af1925050508015613f3557506040513d601f19601f82011682018060405250810190613f329190615b8e565b60015b613fae573d8060008114613f65576040519150601f19603f3d011682016040523d82523d6000602084013e613f6a565b606091505b506000815103613fa6576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b614009614432565b61401a61401583613c02565b6141b1565b9050919050565b606060098054614030906151a9565b80601f016020809104026020016040519081016040528092919081815260200182805461405c906151a9565b80156140a95780601f1061407e576101008083540402835291602001916140a9565b820191906000526020600020905b81548152906001019060200180831161408c57829003601f168201915b5050505050905090565b606060a060405101806040526020810391506000825281835b6001156140ee57600184039350600a81066030018453600a81049050806140cc575b50828103602084039350808452505050919050565b600033905090565b60009392505050565b61411e8383614267565b60008373ffffffffffffffffffffffffffffffffffffffff163b146141ac57600080549050600083820390505b61415e6000868380600101945086613eb1565b614194576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81811061414b5781600054146141a957600080fd5b50505b505050565b6141b9614432565b81816000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060a082901c816020019067ffffffffffffffff16908167ffffffffffffffff168152505060007c01000000000000000000000000000000000000000000000000000000008316141581604001901515908115158152505060e882901c816060019062ffffff16908162ffffff1681525050919050565b600080549050600082036142a7576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6142b46000848385613d39565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555061432b8361431c6000866000613d3f565b61432585614422565b17613d67565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b8181146143cc57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050614391565b5060008203614407576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600081905550505061441d6000848385613d92565b505050565b60006001821460e11b9050919050565b6040518060800160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff168152602001600015158152602001600062ffffff1681525090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006144c082614495565b9050919050565b6144d0816144b5565b81146144db57600080fd5b50565b6000813590506144ed816144c7565b92915050565b6000602082840312156145095761450861448b565b5b6000614517848285016144de565b91505092915050565b6000819050919050565b61453381614520565b82525050565b600060208201905061454e600083018461452a565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61458981614554565b811461459457600080fd5b50565b6000813590506145a681614580565b92915050565b6000602082840312156145c2576145c161448b565b5b60006145d084828501614597565b91505092915050565b60008115159050919050565b6145ee816145d9565b82525050565b600060208201905061460960008301846145e5565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561464957808201518184015260208101905061462e565b60008484015250505050565b6000601f19601f8301169050919050565b60006146718261460f565b61467b818561461a565b935061468b81856020860161462b565b61469481614655565b840191505092915050565b600060208201905081810360008301526146b98184614666565b905092915050565b6146ca81614520565b81146146d557600080fd5b50565b6000813590506146e7816146c1565b92915050565b6000602082840312156147035761470261448b565b5b6000614711848285016146d8565b91505092915050565b614723816144b5565b82525050565b600060208201905061473e600083018461471a565b92915050565b6000806040838503121561475b5761475a61448b565b5b6000614769858286016144de565b925050602061477a858286016146d8565b9150509250929050565b60008060006060848603121561479d5761479c61448b565b5b60006147ab868287016144de565b93505060206147bc868287016144de565b92505060406147cd868287016146d8565b9150509250925092565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61480c816144b5565b82525050565b600061481e8383614803565b60208301905092915050565b6000602082019050919050565b6000614842826147d7565b61484c81856147e2565b9350614857836147f3565b8060005b8381101561488857815161486f8882614812565b975061487a8361482a565b92505060018101905061485b565b5085935050505092915050565b600060208201905081810360008301526148af8184614837565b905092915050565b600080fd5b600080fd5b600080fd5b60008083601f8401126148dc576148db6148b7565b5b8235905067ffffffffffffffff8111156148f9576148f86148bc565b5b602083019150836020820283011115614915576149146148c1565b5b9250929050565b600080602083850312156149335761493261448b565b5b600083013567ffffffffffffffff81111561495157614950614490565b5b61495d858286016148c6565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b600067ffffffffffffffff82169050919050565b6149b281614995565b82525050565b6149c1816145d9565b82525050565b600062ffffff82169050919050565b6149df816149c7565b82525050565b6080820160008201516149fb6000850182614803565b506020820151614a0e60208501826149a9565b506040820151614a2160408501826149b8565b506060820151614a3460608501826149d6565b50505050565b6000614a4683836149e5565b60808301905092915050565b6000602082019050919050565b6000614a6a82614969565b614a748185614974565b9350614a7f83614985565b8060005b83811015614ab0578151614a978882614a3a565b9750614aa283614a52565b925050600181019050614a83565b5085935050505092915050565b60006020820190508181036000830152614ad78184614a5f565b905092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b614b1481614520565b82525050565b6000614b268383614b0b565b60208301905092915050565b6000602082019050919050565b6000614b4a82614adf565b614b548185614aea565b9350614b5f83614afb565b8060005b83811015614b90578151614b778882614b1a565b9750614b8283614b32565b925050600181019050614b63565b5085935050505092915050565b60006020820190508181036000830152614bb78184614b3f565b905092915050565b600080600060608486031215614bd857614bd761448b565b5b6000614be6868287016144de565b9350506020614bf7868287016146d8565b9250506040614c08868287016146d8565b9150509250925092565b60008060408385031215614c2957614c2861448b565b5b6000614c37858286016146d8565b9250506020614c48858286016146d8565b9150509250929050565b614c5b816145d9565b8114614c6657600080fd5b50565b600081359050614c7881614c52565b92915050565b60008060408385031215614c9557614c9461448b565b5b6000614ca3858286016144de565b9250506020614cb485828601614c69565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b614cfb82614655565b810181811067ffffffffffffffff82111715614d1a57614d19614cc3565b5b80604052505050565b6000614d2d614481565b9050614d398282614cf2565b919050565b600067ffffffffffffffff821115614d5957614d58614cc3565b5b614d6282614655565b9050602081019050919050565b82818337600083830152505050565b6000614d91614d8c84614d3e565b614d23565b905082815260208101848484011115614dad57614dac614cbe565b5b614db8848285614d6f565b509392505050565b600082601f830112614dd557614dd46148b7565b5b8135614de5848260208601614d7e565b91505092915050565b60008060008060808587031215614e0857614e0761448b565b5b6000614e16878288016144de565b9450506020614e27878288016144de565b9350506040614e38878288016146d8565b925050606085013567ffffffffffffffff811115614e5957614e58614490565b5b614e6587828801614dc0565b91505092959194509250565b600067ffffffffffffffff821115614e8c57614e8b614cc3565b5b614e9582614655565b9050602081019050919050565b6000614eb5614eb084614e71565b614d23565b905082815260208101848484011115614ed157614ed0614cbe565b5b614edc848285614d6f565b509392505050565b600082601f830112614ef957614ef86148b7565b5b8135614f09848260208601614ea2565b91505092915050565b600060208284031215614f2857614f2761448b565b5b600082013567ffffffffffffffff811115614f4657614f45614490565b5b614f5284828501614ee4565b91505092915050565b608082016000820151614f716000850182614803565b506020820151614f8460208501826149a9565b506040820151614f9760408501826149b8565b506060820151614faa60608501826149d6565b50505050565b6000608082019050614fc56000830184614f5b565b92915050565b600067ffffffffffffffff821115614fe657614fe5614cc3565b5b602082029050602081019050919050565b600061500a61500584614fcb565b614d23565b9050808382526020820190506020840283018581111561502d5761502c6148c1565b5b835b81811015615056578061504288826146d8565b84526020840193505060208101905061502f565b5050509392505050565b600082601f830112615075576150746148b7565b5b8135615085848260208601614ff7565b91505092915050565b6000602082840312156150a4576150a361448b565b5b600082013567ffffffffffffffff8111156150c2576150c1614490565b5b6150ce84828501615060565b91505092915050565b600080604083850312156150ee576150ed61448b565b5b60006150fc858286016144de565b925050602061510d858286016144de565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061515182614520565b915061515c83614520565b925082820190508082111561517457615173615117565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806151c157607f821691505b6020821081036151d4576151d361517a565b5b50919050565b7f4e4654204e6f6e73000000000000000000000000000000000000000000000000600082015250565b600061521060088361461a565b915061521b826151da565b602082019050919050565b6000602082019050818103600083015261523f81615203565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600061528082614520565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036152b2576152b1615117565b5b600182019050919050565b7f736f6c64206f7574000000000000000000000000000000000000000000000000600082015250565b60006152f360088361461a565b91506152fe826152bd565b602082019050919050565b60006020820190508181036000830152615322816152e6565b9050919050565b600061533482614520565b915061533f83614520565b925082820390508181111561535757615356615117565b5b92915050565b7f4d696e7473206c65737320706c65617365000000000000000000000000000000600082015250565b600061539360118361461a565b915061539e8261535d565b602082019050919050565b600060208201905081810360008301526153c281615386565b9050919050565b60006040820190506153de600083018561471a565b6153eb602083018461452a565b9392505050565b600081905092915050565b50565b600061540d6000836153f2565b9150615418826153fd565b600082019050919050565b600061542e82615400565b9150819050919050565b600060608201905061544d600083018661471a565b61545a602083018561471a565b615467604083018461452a565b949350505050565b7f54696d65204f7574000000000000000000000000000000000000000000000000600082015250565b60006154a560088361461a565b91506154b08261546f565b602082019050919050565b600060208201905081810360008301526154d481615498565b9050919050565b60006154e682614520565b91506154f183614520565b92508282026154ff81614520565b9150828204841483151761551657615515615117565b5b5092915050565b7f4e6f7420656e6f756768206d6f6e657900000000000000000000000000000000600082015250565b600061555360108361461a565b915061555e8261551d565b602082019050919050565b6000602082019050818103600083015261558281615546565b9050919050565b7f75736572206973206e6f74204f47000000000000000000000000000000000000600082015250565b60006155bf600e8361461a565b91506155ca82615589565b602082019050919050565b600060208201905081810360008301526155ee816155b2565b9050919050565b7f4d61784d696e74204f7665720000000000000000000000000000000000000000600082015250565b600061562b600c8361461a565b9150615636826155f5565b602082019050919050565b6000602082019050818103600083015261565a8161561e565b9050919050565b7f75736572206973206e6f7420574c000000000000000000000000000000000000600082015250565b6000615697600e8361461a565b91506156a282615661565b602082019050919050565b600060208201905081810360008301526156c68161568a565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261572f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826156f2565b61573986836156f2565b95508019841693508086168417925050509392505050565b6000819050919050565b600061577661577161576c84614520565b615751565b614520565b9050919050565b6000819050919050565b6157908361575b565b6157a461579c8261577d565b8484546156ff565b825550505050565b600090565b6157b96157ac565b6157c4818484615787565b505050565b5b818110156157e8576157dd6000826157b1565b6001810190506157ca565b5050565b601f82111561582d576157fe816156cd565b615807846156e2565b81016020851015615816578190505b61582a615822856156e2565b8301826157c9565b50505b505050565b600082821c905092915050565b600061585060001984600802615832565b1980831691505092915050565b6000615869838361583f565b9150826002028217905092915050565b6158828261460f565b67ffffffffffffffff81111561589b5761589a614cc3565b5b6158a582546151a9565b6158b08282856157ec565b600060209050601f8311600181146158e357600084156158d1578287015190505b6158db858261585d565b865550615943565b601f1984166158f1866156cd565b60005b82811015615919578489015182556001820191506020850194506020810190506158f4565b868310156159365784890151615932601f89168261583f565b8355505b6001600288020188555050505b505050505050565b600081905092915050565b60006159618261460f565b61596b818561594b565b935061597b81856020860161462b565b80840191505092915050565b60006159938285615956565b915061599f8284615956565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000615a0760268361461a565b9150615a12826159ab565b604082019050919050565b60006020820190508181036000830152615a36816159fa565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000615a7360208361461a565b9150615a7e82615a3d565b602082019050919050565b60006020820190508181036000830152615aa281615a66565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b600081519050919050565b600082825260208201905092915050565b6000615aff82615ad8565b615b098185615ae3565b9350615b1981856020860161462b565b615b2281614655565b840191505092915050565b6000608082019050615b42600083018761471a565b615b4f602083018661471a565b615b5c604083018561452a565b8181036060830152615b6e8184615af4565b905095945050505050565b600081519050615b8881614580565b92915050565b600060208284031215615ba457615ba361448b565b5b6000615bb284828501615b79565b9150509291505056fea26469706673582212204d4c8511e6abd9c10dac4e3f145a1bbcfecdfaf64a4c341ff05c03ea5f3ed68464736f6c63430008110033697066733a2f2f6261667962656964636c726e6f6771767470326168667934747134746736786a377936617862376e673475617661706273716a6d3479736d3665612f6d65746164617461
Deployed Bytecode
0x6080604052600436106103d95760003560e01c806370a08231116101fd578063a22cb46511610118578063c6992d8f116100ab578063dc8924e31161007a578063dc8924e314610f23578063e0505b4a14610f4c578063e985e9c514610f75578063f1553e9914610fb2578063f2fde38b14610fc9576103d9565b8063c6992d8f14610e55578063c87b56dd14610e7e578063cdbbd28e14610ebb578063ce9ea7a014610ee6576103d9565b8063b88d4fde116100e7578063b88d4fde14610d96578063ba4e5c4914610db2578063c03516c314610def578063c23dc68f14610e18576103d9565b8063a22cb46514610cdc578063aecb680f14610d05578063b3e8c8d214610d2e578063b7ac562b14610d59576103d9565b806398373312116101905780639d1cf42b1161015f5780639d1cf42b14610c095780639d54be1214610c255780639ecc40a814610c625780639fe93e5314610c9f576103d9565b80639837331214610b3b57806399a2557a14610b645780639b19251a14610ba15780639c70b51214610bde576103d9565b80638462151c116101cc5780638462151c14610a7d5780638520593314610aba5780638da5cb5b14610ae557806395d89b4114610b10576103d9565b806370a08231146109c1578063715018a6146109fe578063751b02c214610a155780637c5ba23514610a52576103d9565b8063369ae7e5116102f8578063557ed1ba1161028b5780635e5c78a41161025a5780635e5c78a4146108dc5780635f13341e14610919578063602fb129146109305780636352211e146109595780636c0360eb14610996576103d9565b8063557ed1ba146107fa5780635778742b146108255780635a650257146108625780635bbb21771461089f576103d9565b806342966c68116102c757806342966c681461072c578063483baa571461075557806350f046641461078057806352a71b69146107bd576103d9565b8063369ae7e51461069e5780633bcc0756146106c95780633ccfd60b1461070657806342842e0e14610710576103d9565b80630bbd35111161037057806318cae2691161033f57806318cae269146105f157806323b872dd1461062e578063292830191461064a5780632ccfc6b614610673576103d9565b80630bbd35111461054757806310c08c981461057257806312065fe01461059b57806318160ddd146105c6576103d9565b806306fdde03116103ac57806306fdde0314610486578063081812fc146104b157806308b28fa3146104ee578063095ea7b31461052b576103d9565b8063016c683c146103de57806301ffc9a71461041b57806305206e8e146104585780630521c6f01461046f575b600080fd5b3480156103ea57600080fd5b50610405600480360381019061040091906144f3565b610ff2565b6040516104129190614539565b60405180910390f35b34801561042757600080fd5b50610442600480360381019061043d91906145ac565b6110a3565b60405161044f91906145f4565b60405180910390f35b34801561046457600080fd5b5061046d611135565b005b34801561047b57600080fd5b50610484611190565b005b34801561049257600080fd5b5061049b6111eb565b6040516104a8919061469f565b60405180910390f35b3480156104bd57600080fd5b506104d860048036038101906104d391906146ed565b61127d565b6040516104e59190614729565b60405180910390f35b3480156104fa57600080fd5b50610515600480360381019061051091906144f3565b6112fc565b6040516105229190614539565b60405180910390f35b61054560048036038101906105409190614744565b611314565b005b34801561055357600080fd5b5061055c611458565b6040516105699190614539565b60405180910390f35b34801561057e57600080fd5b50610599600480360381019061059491906146ed565b61145e565b005b3480156105a757600080fd5b506105b0611552565b6040516105bd9190614539565b60405180910390f35b3480156105d257600080fd5b506105db611571565b6040516105e89190614539565b60405180910390f35b3480156105fd57600080fd5b50610618600480360381019061061391906144f3565b611588565b6040516106259190614539565b60405180910390f35b61064860048036038101906106439190614784565b61159f565b005b34801561065657600080fd5b50610671600480360381019061066c9190614744565b6118c1565b005b34801561067f57600080fd5b50610688611a4f565b6040516106959190614895565b60405180910390f35b3480156106aa57600080fd5b506106b3611add565b6040516106c09190614539565b60405180910390f35b3480156106d557600080fd5b506106f060048036038101906106eb91906144f3565b611ae3565b6040516106fd91906145f4565b60405180910390f35b61070e611b03565b005b61072a60048036038101906107259190614784565b611b83565b005b34801561073857600080fd5b50610753600480360381019061074e91906146ed565b611ba3565b005b34801561076157600080fd5b5061076a611bb1565b60405161077791906145f4565b60405180910390f35b34801561078c57600080fd5b506107a760048036038101906107a291906144f3565b611bc4565b6040516107b49190614539565b60405180910390f35b3480156107c957600080fd5b506107e460048036038101906107df91906146ed565b611bdc565b6040516107f191906145f4565b60405180910390f35b34801561080657600080fd5b5061080f611c16565b60405161081c9190614539565b60405180910390f35b34801561083157600080fd5b5061084c600480360381019061084791906144f3565b611c1e565b6040516108599190614539565b60405180910390f35b34801561086e57600080fd5b50610889600480360381019061088491906144f3565b611c36565b6040516108969190614539565b60405180910390f35b3480156108ab57600080fd5b506108c660048036038101906108c1919061491c565b611c4e565b6040516108d39190614abd565b60405180910390f35b3480156108e857600080fd5b5061090360048036038101906108fe91906146ed565b611d11565b6040516109109190614729565b60405180910390f35b34801561092557600080fd5b5061092e611d50565b005b34801561093c57600080fd5b5061095760048036038101906109529190614744565b611dab565b005b34801561096557600080fd5b50610980600480360381019061097b91906146ed565b611e0b565b60405161098d9190614729565b60405180910390f35b3480156109a257600080fd5b506109ab611e1d565b6040516109b8919061469f565b60405180910390f35b3480156109cd57600080fd5b506109e860048036038101906109e391906144f3565b611eab565b6040516109f59190614539565b60405180910390f35b348015610a0a57600080fd5b50610a13611f63565b005b348015610a2157600080fd5b50610a3c6004803603810190610a3791906146ed565b611f77565b604051610a4991906145f4565b60405180910390f35b348015610a5e57600080fd5b50610a67611fb1565b604051610a749190614895565b60405180910390f35b348015610a8957600080fd5b50610aa46004803603810190610a9f91906144f3565b61203f565b604051610ab19190614b9d565b60405180910390f35b348015610ac657600080fd5b50610acf612182565b604051610adc9190614539565b60405180910390f35b348015610af157600080fd5b50610afa612188565b604051610b079190614729565b60405180910390f35b348015610b1c57600080fd5b50610b256121b2565b604051610b32919061469f565b60405180910390f35b348015610b4757600080fd5b50610b626004803603810190610b5d919061491c565b612244565b005b348015610b7057600080fd5b50610b8b6004803603810190610b869190614bbf565b6122e3565b604051610b989190614b9d565b60405180910390f35b348015610bad57600080fd5b50610bc86004803603810190610bc391906144f3565b6124ef565b604051610bd591906145f4565b60405180910390f35b348015610bea57600080fd5b50610bf361250f565b604051610c0091906145f4565b60405180910390f35b610c236004803603810190610c1e9190614c12565b612522565b005b348015610c3157600080fd5b50610c4c6004803603810190610c4791906144f3565b612e73565b604051610c599190614539565b60405180910390f35b348015610c6e57600080fd5b50610c896004803603810190610c8491906144f3565b612e8b565b604051610c969190614539565b60405180910390f35b348015610cab57600080fd5b50610cc66004803603810190610cc191906144f3565b612ea3565b604051610cd39190614539565b60405180910390f35b348015610ce857600080fd5b50610d036004803603810190610cfe9190614c7e565b612ebb565b005b348015610d1157600080fd5b50610d2c6004803603810190610d27919061491c565b612fc6565b005b348015610d3a57600080fd5b50610d43613065565b604051610d509190614539565b60405180910390f35b348015610d6557600080fd5b50610d806004803603810190610d7b91906144f3565b61306b565b604051610d8d9190614539565b60405180910390f35b610db06004803603810190610dab9190614dee565b613083565b005b348015610dbe57600080fd5b50610dd96004803603810190610dd491906146ed565b6130f6565b604051610de69190614729565b60405180910390f35b348015610dfb57600080fd5b50610e166004803603810190610e119190614f12565b613135565b005b348015610e2457600080fd5b50610e3f6004803603810190610e3a91906146ed565b613150565b604051610e4c9190614fb0565b60405180910390f35b348015610e6157600080fd5b50610e7c6004803603810190610e77919061508e565b6131ba565b005b348015610e8a57600080fd5b50610ea56004803603810190610ea091906146ed565b613374565b604051610eb2919061469f565b60405180910390f35b348015610ec757600080fd5b50610ed0613412565b604051610edd91906145f4565b60405180910390f35b348015610ef257600080fd5b50610f0d6004803603810190610f0891906144f3565b613425565b604051610f1a9190614539565b60405180910390f35b348015610f2f57600080fd5b50610f4a6004803603810190610f459190614744565b61346e565b005b348015610f5857600080fd5b50610f736004803603810190610f6e9190614744565b61356b565b005b348015610f8157600080fd5b50610f9c6004803603810190610f9791906150d7565b613605565b604051610fa991906145f4565b60405180910390f35b348015610fbe57600080fd5b50610fc7613699565b005b348015610fd557600080fd5b50610ff06004803603810190610feb91906144f3565b6136f4565b005b60008060009050601c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054816110449190615146565b9050600881901b9050601b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054816110989190615146565b905080915050919050565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806110fe57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061112e5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b61113d613777565b6000601460006101000a81548160ff0219169083151502179055506000601460016101000a81548160ff0219169083151502179055506000601460026101000a81548160ff021916908315150217905550565b611198613777565b6000601460006101000a81548160ff0219169083151502179055506000601460016101000a81548160ff0219169083151502179055506001601460026101000a81548160ff021916908315150217905550565b6060600280546111fa906151a9565b80601f0160208091040260200160405190810160405280929190818152602001828054611226906151a9565b80156112735780601f1061124857610100808354040283529160200191611273565b820191906000526020600020905b81548152906001019060200180831161125657829003601f168201915b5050505050905090565b6000611288826137f5565b6112be576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60196020528060005260406000206000915090505481565b600061131f82611e0b565b90508073ffffffffffffffffffffffffffffffffffffffff16611340613854565b73ffffffffffffffffffffffffffffffffffffffff16146113a35761136c81611367613854565b613605565b6113a2576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600f5481565b600061146861385c565b90506000815190506000838210156114b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114ac90615226565b60405180910390fd5b5b8084111561154c576114e38382815181106114d4576114d3615246565b5b602002602001015160016139a7565b602160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081548092919061153390615275565b91905055506001816115459190615146565b90506114b6565b50505050565b60003373ffffffffffffffffffffffffffffffffffffffff1631905090565b600061157b613bf9565b6001546000540303905090565b602080528060005260406000206000915090505481565b60006115aa82613c02565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611611576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008061161d84613cce565b91509150611633818761162e613854565b613cf5565b61167f5761164886611643613854565b613605565b61167e576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16036116e5576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6116f28686866001613d39565b80156116fd57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055506117cb856117a7888887613d3f565b7c020000000000000000000000000000000000000000000000000000000017613d67565b600460008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841603611851576000600185019050600060046000838152602001908152602001600020540361184f57600054811461184e578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46118b98686866001613d92565b505050505050565b6118c9613777565b6118d1611571565b6107d01015611915576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190c90615309565b60405180910390fd5b8061191e611571565b6107d061192b9190615329565b81111561196d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611964906153a9565b60405180910390fd5b611975612188565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146119fe5781602060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119f69190615146565b925050819055505b611a06613d98565b50611a118383613da2565b7fd1d3d8a67ea3222e190a25cd89ce4613287a3f3d1272268cfd5639d6bad416b38383604051611a429291906153c9565b60405180910390a1505050565b60606013805480602002602001604051908101604052809291908181526020018280548015611ad357602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019060010190808311611a89575b5050505050905090565b600c5481565b60166020528060005260406000206000915054906101000a900460ff1681565b6000611b0d612188565b73ffffffffffffffffffffffffffffffffffffffff1647604051611b3090615423565b60006040518083038185875af1925050503d8060008114611b6d576040519150601f19603f3d011682016040523d82523d6000602084013e611b72565b606091505b5050905080611b8057600080fd5b50565b611b9e83838360405180602001604052806000815250613083565b505050565b611bae8160016139a7565b50565b601460009054906101000a900460ff1681565b601a6020528060005260406000206000915090505481565b60008060188381548110611bf357611bf2615246565b5b906000526020600020015414611c0c5760019050611c11565b600090505b919050565b600042905090565b601b6020528060005260406000206000915090505481565b601c6020528060005260406000206000915090505481565b6060600083839050905060008167ffffffffffffffff811115611c7457611c73614cc3565b5b604051908082528060200260200182016040528015611cad57816020015b611c9a614432565b815260200190600190039081611c925790505b50905060005b828114611d0557611cdc868683818110611cd057611ccf615246565b5b90506020020135613150565b828281518110611cef57611cee615246565b5b6020026020010181905250806001019050611cb3565b50809250505092915050565b60138181548110611d2157600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611d58613777565b6000601460006101000a81548160ff0219169083151502179055506001601460016101000a81548160ff0219169083151502179055506000601460026101000a81548160ff021916908315150217905550565b611db3613777565b611dc5611dbe612188565b838361159f565b7f21425341546d2023146851fb583db9b7c6be5fed0d287293c85a8ede5193c6ea611dee612188565b8383604051611dff93929190615438565b60405180910390a15050565b6000611e1682613c02565b9050919050565b60098054611e2a906151a9565b80601f0160208091040260200160405190810160405280929190818152602001828054611e56906151a9565b8015611ea35780601f10611e7857610100808354040283529160200191611ea3565b820191906000526020600020905b815481529060010190602001808311611e8657829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611f12576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611f6b613777565b611f756000613dc0565b565b60008060178381548110611f8e57611f8d615246565b5b906000526020600020015414611fa75760019050611fac565b600090505b919050565b6060601280548060200260200160405190810160405280929190818152602001828054801561203557602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019060010190808311611feb575b5050505050905090565b6060600080600061204f85611eab565b905060008167ffffffffffffffff81111561206d5761206c614cc3565b5b60405190808252806020026020018201604052801561209b5781602001602082028036833780820191505090505b5090506120a6614432565b60006120b0613bf9565b90505b838614612174576120c381613e86565b9150816040015161216957600073ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff161461210e57816000015194505b8773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603612168578083878060010198508151811061215b5761215a615246565b5b6020026020010181815250505b5b8060010190506120b3565b508195505050505050919050565b600e5481565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600380546121c1906151a9565b80601f01602080910402602001604051908101604052809291908181526020018280546121ed906151a9565b801561223a5780601f1061220f5761010080835404028352916020019161223a565b820191906000526020600020905b81548152906001019060200180831161221d57829003601f168201915b5050505050905090565b61224c613777565b6000600190505b6001838390506122639190615146565b8110156122b95782828281811061227d5761227c615246565b5b905060200201356018828154811061229857612297615246565b5b906000526020600020018190555080806122b190615275565b915050612253565b50600060186000815481106122d1576122d0615246565b5b90600052602060002001819055505050565b606081831061231e576040517f32c1995a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080612329613d98565b9050612333613bf9565b85101561234557612342613bf9565b94505b80841115612351578093505b600061235c87611eab565b90508486101561237f576000868603905081811015612379578091505b50612384565b600090505b60008167ffffffffffffffff8111156123a05761239f614cc3565b5b6040519080825280602002602001820160405280156123ce5781602001602082028036833780820191505090505b509050600082036123e557809450505050506124e8565b60006123f088613150565b90506000816040015161240557816000015190505b60008990505b88811415801561241b5750848714155b156124da5761242981613e86565b925082604001516124cf57600073ffffffffffffffffffffffffffffffffffffffff16836000015173ffffffffffffffffffffffffffffffffffffffff161461247457826000015191505b8a73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036124ce57808488806001019950815181106124c1576124c0615246565b5b6020026020010181815250505b5b80600101905061240b565b508583528296505050505050505b9392505050565b60156020528060005260406000206000915054906101000a900460ff1681565b601460019054906101000a900460ff1681565b61252a611571565b6105dc101561256e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161256590615309565b60405180910390fd5b81612577611571565b6105dc6125849190615329565b8111156125c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125bd906153a9565b60405180910390fd5b60011515601460029054906101000a900460ff16151514806125fb575060011515601460019054906101000a900460ff161515145b80612619575060011515601460009054906101000a900460ff161515145b806126345750600c5442101580156126335750600f544211155b5b612673576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161266a906154bb565b60405180910390fd5b60011515601460009054906101000a900460ff16151514806126a55750600c5442101580156126a45750600d544211155b5b15612940576658d15e17628000836126bd91906154db565b3410156126ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126f690615569565b60405180910390fd5b61270882611bdc565b612747576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161273e906155d5565b60405180910390fd5b60006018838154811061275d5761275c615246565b5b906000526020600020015490508084601a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546127b69190615146565b11156127f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127ee90615641565b60405180910390fd5b83601a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546128429190615146565b8161284d9190615329565b601e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550612898613d98565b506128a33385613da2565b7fd1d3d8a67ea3222e190a25cd89ce4613287a3f3d1272268cfd5639d6bad416b333856040516128d49291906153c9565b60405180910390a16128e4611b03565b83601a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129339190615146565b9250508190555050612e6e565b60011515601460019054906101000a900460ff16151514806129725750600d5442101580156129715750600e544211155b5b15612c57576658d15e176280008361298a91906154db565b3410156129cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129c390615569565b60405180910390fd5b6129d582611f77565b612a14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a0b906156ad565b60405180910390fd5b6000601e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205460178481548110612a6a57612a69615246565b5b9060005260206000200154612a7f9190615146565b90508084601960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612acd9190615146565b1115612b0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b0590615641565b60405180910390fd5b83601960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612b599190615146565b81612b649190615329565b601f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550612baf613d98565b50612bba3385613da2565b7fd1d3d8a67ea3222e190a25cd89ce4613287a3f3d1272268cfd5639d6bad416b33385604051612beb9291906153c9565b60405180910390a1612bfb611b03565b83601960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c4a9190615146565b9250508190555050612e6d565b60011515601460029054906101000a900460ff1615151480612c895750600e544210158015612c885750600f544211155b5b15612e6c57666a94d74f43000083612ca191906154db565b341015612ce3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cda90615569565b60405180910390fd5b6000602060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050601f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546003612d739190615146565b8482612d7f9190615146565b1115612dc0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612db790615641565b60405180910390fd5b612dc8613d98565b50612dd33385613da2565b7fd1d3d8a67ea3222e190a25cd89ce4613287a3f3d1272268cfd5639d6bad416b33385604051612e049291906153c9565b60405180910390a1612e14611b03565b83602060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612e639190615146565b92505081905550505b5b5b505050565b601d6020528060005260406000206000915090505481565b60216020528060005260406000206000915090505481565b601e6020528060005260406000206000915090505481565b8060076000612ec8613854565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612f75613854565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612fba91906145f4565b60405180910390a35050565b612fce613777565b6000600190505b600183839050612fe59190615146565b81101561303b57828282818110612fff57612ffe615246565b5b905060200201356017828154811061301a57613019615246565b5b9060005260206000200181905550808061303390615275565b915050612fd5565b506000601760008154811061305357613052615246565b5b90600052602060002001819055505050565b600d5481565b601f6020528060005260406000206000915090505481565b61308e84848461159f565b60008373ffffffffffffffffffffffffffffffffffffffff163b146130f0576130b984848484613eb1565b6130ef576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6012818154811061310657600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61313d613777565b806009908161314c9190615879565b5050565b613158614432565b613160614432565b613168613bf9565b83108061317c5750613178613d98565b8310155b1561318a57809150506131b5565b61319383613e86565b90508060400151156131a857809150506131b5565b6131b183614001565b9150505b919050565b60006131c461385c565b905060008151905060008351905080821015613215576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161320c90615226565b60405180910390fd5b60005b818110156132d4576000805b8481101561327f5785818151811061323f5761323e615246565b5b602002602001015187848151811061325a57613259615246565b5b60200260200101510361326c57600191505b808061327790615275565b915050613224565b50806132c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132b790615226565b60405180910390fd5b5080806132cc90615275565b915050613218565b5060005b8181101561336d576133058582815181106132f6576132f5615246565b5b602002602001015160016139a7565b602160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081548092919061335590615275565b9190505550808061336590615275565b9150506132d8565b5050505050565b606061337f826137f5565b6133b5576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006133bf614021565b905060008151036133df576040518060200160405280600081525061340a565b806133e9846140b3565b6040516020016133fa929190615987565b6040516020818303038152906040525b915050919050565b601460029054906101000a900460ff1681565b6000602160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b613476613777565b61347e611571565b6107d010156134c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134b990615309565b60405180910390fd5b806134cb611571565b6107d06134d89190615329565b81111561351a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613511906153a9565b60405180910390fd5b613522613d98565b5061352d8383613da2565b7fd1d3d8a67ea3222e190a25cd89ce4613287a3f3d1272268cfd5639d6bad416b3838360405161355e9291906153c9565b60405180910390a1505050565b613573613777565b80602160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546135be9190615329565b602160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6136a1613777565b6001601460006101000a81548160ff0219169083151502179055506000601460016101000a81548160ff0219169083151502179055506000601460026101000a81548160ff021916908315150217905550565b6136fc613777565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361376b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161376290615a1d565b60405180910390fd5b61377481613dc0565b50565b61377f614103565b73ffffffffffffffffffffffffffffffffffffffff1661379d612188565b73ffffffffffffffffffffffffffffffffffffffff16146137f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137ea90615a89565b60405180910390fd5b565b600081613800613bf9565b1115801561380f575060005482105b801561384d575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b60606000600190506000808060009050613874611571565b60108190555060118054905090505b808310156138c757601180548061389d5761389c615aa9565b5b600190038181906000526020600020016000905590556001836138c09190615146565b9250613883565b5b601054841161394d576138da84611e0b565b91503373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036139395760118490806001815401808255809150506001900390600052602060002001600090919091909150555b6001846139469190615146565b93506138c8565b601180548060200260200160405190810160405280929190818152602001828054801561399957602002820191906000526020600020905b815481526020019060010190808311613985575b505050505094505050505090565b60006139b283613c02565b905060008190506000806139c586613cce565b915091508415613a2e576139e181846139dc613854565b613cf5565b613a2d576139f6836139f1613854565b613605565b613a2c576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5b613a3c836000886001613d39565b8015613a4757600082555b600160806001901b03600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550613aef83613aac85600088613d3f565b7c02000000000000000000000000000000000000000000000000000000007c01000000000000000000000000000000000000000000000000000000001717613d67565b600460008881526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000851603613b755760006001870190506000600460008381526020019081526020016000205403613b73576000548114613b72578460046000838152602001908152602001600020819055505b5b505b85600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613bdf836000886001613d92565b600160008154809291906001019190505550505050505050565b60006001905090565b60008082905080613c11613bf9565b11613c9757600054811015613c965760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603613c94575b60008103613c8a576004600083600190039350838152602001908152602001600020549050613c60565b8092505050613cc9565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8613d5686868461410b565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6000600a54905090565b613dbc828260405180602001604052806000815250614114565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b613e8e614432565b613eaa60046000848152602001908152602001600020546141b1565b9050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613ed7613854565b8786866040518563ffffffff1660e01b8152600401613ef99493929190615b2d565b6020604051808303816000875af1925050508015613f3557506040513d601f19601f82011682018060405250810190613f329190615b8e565b60015b613fae573d8060008114613f65576040519150601f19603f3d011682016040523d82523d6000602084013e613f6a565b606091505b506000815103613fa6576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b614009614432565b61401a61401583613c02565b6141b1565b9050919050565b606060098054614030906151a9565b80601f016020809104026020016040519081016040528092919081815260200182805461405c906151a9565b80156140a95780601f1061407e576101008083540402835291602001916140a9565b820191906000526020600020905b81548152906001019060200180831161408c57829003601f168201915b5050505050905090565b606060a060405101806040526020810391506000825281835b6001156140ee57600184039350600a81066030018453600a81049050806140cc575b50828103602084039350808452505050919050565b600033905090565b60009392505050565b61411e8383614267565b60008373ffffffffffffffffffffffffffffffffffffffff163b146141ac57600080549050600083820390505b61415e6000868380600101945086613eb1565b614194576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81811061414b5781600054146141a957600080fd5b50505b505050565b6141b9614432565b81816000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060a082901c816020019067ffffffffffffffff16908167ffffffffffffffff168152505060007c01000000000000000000000000000000000000000000000000000000008316141581604001901515908115158152505060e882901c816060019062ffffff16908162ffffff1681525050919050565b600080549050600082036142a7576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6142b46000848385613d39565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555061432b8361431c6000866000613d3f565b61432585614422565b17613d67565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b8181146143cc57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050614391565b5060008203614407576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600081905550505061441d6000848385613d92565b505050565b60006001821460e11b9050919050565b6040518060800160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff168152602001600015158152602001600062ffffff1681525090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006144c082614495565b9050919050565b6144d0816144b5565b81146144db57600080fd5b50565b6000813590506144ed816144c7565b92915050565b6000602082840312156145095761450861448b565b5b6000614517848285016144de565b91505092915050565b6000819050919050565b61453381614520565b82525050565b600060208201905061454e600083018461452a565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61458981614554565b811461459457600080fd5b50565b6000813590506145a681614580565b92915050565b6000602082840312156145c2576145c161448b565b5b60006145d084828501614597565b91505092915050565b60008115159050919050565b6145ee816145d9565b82525050565b600060208201905061460960008301846145e5565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561464957808201518184015260208101905061462e565b60008484015250505050565b6000601f19601f8301169050919050565b60006146718261460f565b61467b818561461a565b935061468b81856020860161462b565b61469481614655565b840191505092915050565b600060208201905081810360008301526146b98184614666565b905092915050565b6146ca81614520565b81146146d557600080fd5b50565b6000813590506146e7816146c1565b92915050565b6000602082840312156147035761470261448b565b5b6000614711848285016146d8565b91505092915050565b614723816144b5565b82525050565b600060208201905061473e600083018461471a565b92915050565b6000806040838503121561475b5761475a61448b565b5b6000614769858286016144de565b925050602061477a858286016146d8565b9150509250929050565b60008060006060848603121561479d5761479c61448b565b5b60006147ab868287016144de565b93505060206147bc868287016144de565b92505060406147cd868287016146d8565b9150509250925092565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61480c816144b5565b82525050565b600061481e8383614803565b60208301905092915050565b6000602082019050919050565b6000614842826147d7565b61484c81856147e2565b9350614857836147f3565b8060005b8381101561488857815161486f8882614812565b975061487a8361482a565b92505060018101905061485b565b5085935050505092915050565b600060208201905081810360008301526148af8184614837565b905092915050565b600080fd5b600080fd5b600080fd5b60008083601f8401126148dc576148db6148b7565b5b8235905067ffffffffffffffff8111156148f9576148f86148bc565b5b602083019150836020820283011115614915576149146148c1565b5b9250929050565b600080602083850312156149335761493261448b565b5b600083013567ffffffffffffffff81111561495157614950614490565b5b61495d858286016148c6565b92509250509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b600067ffffffffffffffff82169050919050565b6149b281614995565b82525050565b6149c1816145d9565b82525050565b600062ffffff82169050919050565b6149df816149c7565b82525050565b6080820160008201516149fb6000850182614803565b506020820151614a0e60208501826149a9565b506040820151614a2160408501826149b8565b506060820151614a3460608501826149d6565b50505050565b6000614a4683836149e5565b60808301905092915050565b6000602082019050919050565b6000614a6a82614969565b614a748185614974565b9350614a7f83614985565b8060005b83811015614ab0578151614a978882614a3a565b9750614aa283614a52565b925050600181019050614a83565b5085935050505092915050565b60006020820190508181036000830152614ad78184614a5f565b905092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b614b1481614520565b82525050565b6000614b268383614b0b565b60208301905092915050565b6000602082019050919050565b6000614b4a82614adf565b614b548185614aea565b9350614b5f83614afb565b8060005b83811015614b90578151614b778882614b1a565b9750614b8283614b32565b925050600181019050614b63565b5085935050505092915050565b60006020820190508181036000830152614bb78184614b3f565b905092915050565b600080600060608486031215614bd857614bd761448b565b5b6000614be6868287016144de565b9350506020614bf7868287016146d8565b9250506040614c08868287016146d8565b9150509250925092565b60008060408385031215614c2957614c2861448b565b5b6000614c37858286016146d8565b9250506020614c48858286016146d8565b9150509250929050565b614c5b816145d9565b8114614c6657600080fd5b50565b600081359050614c7881614c52565b92915050565b60008060408385031215614c9557614c9461448b565b5b6000614ca3858286016144de565b9250506020614cb485828601614c69565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b614cfb82614655565b810181811067ffffffffffffffff82111715614d1a57614d19614cc3565b5b80604052505050565b6000614d2d614481565b9050614d398282614cf2565b919050565b600067ffffffffffffffff821115614d5957614d58614cc3565b5b614d6282614655565b9050602081019050919050565b82818337600083830152505050565b6000614d91614d8c84614d3e565b614d23565b905082815260208101848484011115614dad57614dac614cbe565b5b614db8848285614d6f565b509392505050565b600082601f830112614dd557614dd46148b7565b5b8135614de5848260208601614d7e565b91505092915050565b60008060008060808587031215614e0857614e0761448b565b5b6000614e16878288016144de565b9450506020614e27878288016144de565b9350506040614e38878288016146d8565b925050606085013567ffffffffffffffff811115614e5957614e58614490565b5b614e6587828801614dc0565b91505092959194509250565b600067ffffffffffffffff821115614e8c57614e8b614cc3565b5b614e9582614655565b9050602081019050919050565b6000614eb5614eb084614e71565b614d23565b905082815260208101848484011115614ed157614ed0614cbe565b5b614edc848285614d6f565b509392505050565b600082601f830112614ef957614ef86148b7565b5b8135614f09848260208601614ea2565b91505092915050565b600060208284031215614f2857614f2761448b565b5b600082013567ffffffffffffffff811115614f4657614f45614490565b5b614f5284828501614ee4565b91505092915050565b608082016000820151614f716000850182614803565b506020820151614f8460208501826149a9565b506040820151614f9760408501826149b8565b506060820151614faa60608501826149d6565b50505050565b6000608082019050614fc56000830184614f5b565b92915050565b600067ffffffffffffffff821115614fe657614fe5614cc3565b5b602082029050602081019050919050565b600061500a61500584614fcb565b614d23565b9050808382526020820190506020840283018581111561502d5761502c6148c1565b5b835b81811015615056578061504288826146d8565b84526020840193505060208101905061502f565b5050509392505050565b600082601f830112615075576150746148b7565b5b8135615085848260208601614ff7565b91505092915050565b6000602082840312156150a4576150a361448b565b5b600082013567ffffffffffffffff8111156150c2576150c1614490565b5b6150ce84828501615060565b91505092915050565b600080604083850312156150ee576150ed61448b565b5b60006150fc858286016144de565b925050602061510d858286016144de565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061515182614520565b915061515c83614520565b925082820190508082111561517457615173615117565b5b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806151c157607f821691505b6020821081036151d4576151d361517a565b5b50919050565b7f4e4654204e6f6e73000000000000000000000000000000000000000000000000600082015250565b600061521060088361461a565b915061521b826151da565b602082019050919050565b6000602082019050818103600083015261523f81615203565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600061528082614520565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036152b2576152b1615117565b5b600182019050919050565b7f736f6c64206f7574000000000000000000000000000000000000000000000000600082015250565b60006152f360088361461a565b91506152fe826152bd565b602082019050919050565b60006020820190508181036000830152615322816152e6565b9050919050565b600061533482614520565b915061533f83614520565b925082820390508181111561535757615356615117565b5b92915050565b7f4d696e7473206c65737320706c65617365000000000000000000000000000000600082015250565b600061539360118361461a565b915061539e8261535d565b602082019050919050565b600060208201905081810360008301526153c281615386565b9050919050565b60006040820190506153de600083018561471a565b6153eb602083018461452a565b9392505050565b600081905092915050565b50565b600061540d6000836153f2565b9150615418826153fd565b600082019050919050565b600061542e82615400565b9150819050919050565b600060608201905061544d600083018661471a565b61545a602083018561471a565b615467604083018461452a565b949350505050565b7f54696d65204f7574000000000000000000000000000000000000000000000000600082015250565b60006154a560088361461a565b91506154b08261546f565b602082019050919050565b600060208201905081810360008301526154d481615498565b9050919050565b60006154e682614520565b91506154f183614520565b92508282026154ff81614520565b9150828204841483151761551657615515615117565b5b5092915050565b7f4e6f7420656e6f756768206d6f6e657900000000000000000000000000000000600082015250565b600061555360108361461a565b915061555e8261551d565b602082019050919050565b6000602082019050818103600083015261558281615546565b9050919050565b7f75736572206973206e6f74204f47000000000000000000000000000000000000600082015250565b60006155bf600e8361461a565b91506155ca82615589565b602082019050919050565b600060208201905081810360008301526155ee816155b2565b9050919050565b7f4d61784d696e74204f7665720000000000000000000000000000000000000000600082015250565b600061562b600c8361461a565b9150615636826155f5565b602082019050919050565b6000602082019050818103600083015261565a8161561e565b9050919050565b7f75736572206973206e6f7420574c000000000000000000000000000000000000600082015250565b6000615697600e8361461a565b91506156a282615661565b602082019050919050565b600060208201905081810360008301526156c68161568a565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261572f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826156f2565b61573986836156f2565b95508019841693508086168417925050509392505050565b6000819050919050565b600061577661577161576c84614520565b615751565b614520565b9050919050565b6000819050919050565b6157908361575b565b6157a461579c8261577d565b8484546156ff565b825550505050565b600090565b6157b96157ac565b6157c4818484615787565b505050565b5b818110156157e8576157dd6000826157b1565b6001810190506157ca565b5050565b601f82111561582d576157fe816156cd565b615807846156e2565b81016020851015615816578190505b61582a615822856156e2565b8301826157c9565b50505b505050565b600082821c905092915050565b600061585060001984600802615832565b1980831691505092915050565b6000615869838361583f565b9150826002028217905092915050565b6158828261460f565b67ffffffffffffffff81111561589b5761589a614cc3565b5b6158a582546151a9565b6158b08282856157ec565b600060209050601f8311600181146158e357600084156158d1578287015190505b6158db858261585d565b865550615943565b601f1984166158f1866156cd565b60005b82811015615919578489015182556001820191506020850194506020810190506158f4565b868310156159365784890151615932601f89168261583f565b8355505b6001600288020188555050505b505050505050565b600081905092915050565b60006159618261460f565b61596b818561594b565b935061597b81856020860161462b565b80840191505092915050565b60006159938285615956565b915061599f8284615956565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000615a0760268361461a565b9150615a12826159ab565b604082019050919050565b60006020820190508181036000830152615a36816159fa565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000615a7360208361461a565b9150615a7e82615a3d565b602082019050919050565b60006020820190508181036000830152615aa281615a66565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b600081519050919050565b600082825260208201905092915050565b6000615aff82615ad8565b615b098185615ae3565b9350615b1981856020860161462b565b615b2281614655565b840191505092915050565b6000608082019050615b42600083018761471a565b615b4f602083018661471a565b615b5c604083018561452a565b8181036060830152615b6e8184615af4565b905095945050505050565b600081519050615b8881614580565b92915050565b600060208284031215615ba457615ba361448b565b5b6000615bb284828501615b79565b9150509291505056fea26469706673582212204d4c8511e6abd9c10dac4e3f145a1bbcfecdfaf64a4c341ff05c03ea5f3ed68464736f6c63430008110033
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.