Overview
TokenID
758
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
UnicornClub
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: MIT pragma solidity ^0.8.0; //0xSimon_ error SoldOut(); error SaleNotActive(); error Underpriced(); error MaxMints(); error NotOwner(); error NotWhitelisted(); error AlreadyRedeemed(); error NotEligibleForRedemption(); error MaxRedemptions(); import "erc721a/contracts/ERC721A.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; contract UnicornClub is ERC721A, Ownable, ReentrancyGuard { using ECDSA for bytes32; //Supply & Price uint public maxSupply = 5150; uint public presalePrice = .042 ether; uint public publicPrice = .042 ether; uint public maxPresaleMints = 9; //Whitelist Signer address private signer = 0x034ff4C93eFD09Cc00f93ba35d79539D49924134; //Sale Switches enum SaleStatus {INACTIVE,OG,PRESALE,PUBLIC} SaleStatus public saleStatus = SaleStatus.PUBLIC; bool public revealed = true; //Token Factory string public baseURI; string public notRevealedUri; string public uriSuffix = ".json"; mapping(address =>uint256) public presaleMints; mapping(address => bool) public isEligibleForSecondRedemption; mapping(address => uint) public numRedemptions; constructor() ERC721A("Unicorn Club", "UCLUB") { setBaseURI("ipfs://QmVrf2do5VgMALcDqdfPyoYfX5eBoL2x6ufmRJGzf1532v/"); } /*///////////////////////////////////////////////////////// MINT UTILITY \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/ function teamMint(address to ,uint256 amount) public onlyOwner { if(amount + totalSupply() > maxSupply ) revert SoldOut(); _mint(to,amount); } function airdrop(address[] calldata accounts, uint[] calldata amounts) external onlyOwner{ require(accounts.length == amounts.length,"Arrays Must Match"); for(uint i; i <accounts.length;i++){ if(amounts[i] + totalSupply() > maxSupply) revert SoldOut(); _mint(accounts[i],amounts[i]); } } function publicMint(uint256 amount) external payable nonReentrant{ if(saleStatus != SaleStatus.PUBLIC) revert SaleNotActive(); if(totalSupply() + amount > maxSupply) revert SoldOut(); if(msg.value < amount * publicPrice) revert Underpriced(); _mint(msg.sender,amount); } function presaleMint(uint256 amount, uint256 max, bytes memory signature) external payable nonReentrant { uint extraFreeMints; bytes32 hash = keccak256(abi.encodePacked("PRESALE",max,msg.sender)); if( hash.toEthSignedMessageHash().recover(signature) != signer) revert NotWhitelisted(); if(saleStatus != SaleStatus.PRESALE) revert SaleNotActive(); if(msg.value < amount * presalePrice) revert Underpriced(); if(presaleMints[msg.sender] + amount > max) revert MaxMints(); presaleMints[msg.sender]+=amount; //If wl user hasn't gotten a free mint yet, give them a free mint if(numRedemptions[msg.sender] == 0){ numRedemptions[msg.sender]++; extraFreeMints++; } if(totalSupply() + amount + extraFreeMints > maxSupply) revert SoldOut(); _mint(msg.sender,amount + extraFreeMints); } function ogMint(uint256 amount, uint256 max, bytes memory signature) external payable nonReentrant { bytes32 hash = keccak256(abi.encodePacked("OG",max,msg.sender)); if(hash.toEthSignedMessageHash().recover(signature) != signer) revert NotEligibleForRedemption(); uint extraFreeMints; if(saleStatus != SaleStatus.OG) revert SaleNotActive(); if(msg.value < amount * presalePrice) revert Underpriced(); if(presaleMints[msg.sender] + amount > max) revert MaxMints(); presaleMints[msg.sender]+=amount; if(presaleMints[msg.sender] >= maxPresaleMints) isEligibleForSecondRedemption[msg.sender] = true; // If OG hasnt redeemed and is not minting 10 give them one extra if(numRedemptions[msg.sender] == 0 && presaleMints[msg.sender] < maxPresaleMints){ numRedemptions[msg.sender]++; extraFreeMints++; } //If OG has redeemed once and decided to max mint the 9. Give them one extra if(numRedemptions[msg.sender] == 1 && presaleMints[msg.sender] >=maxPresaleMints){ numRedemptions[msg.sender]++; extraFreeMints++; } //If Og hasnt redeemed and is minting 10, give them 2 extra if(numRedemptions[msg.sender] == 0 && presaleMints[msg.sender] >= maxPresaleMints){ numRedemptions[msg.sender] += 2; extraFreeMints+=2; } if(totalSupply() + amount + extraFreeMints > maxSupply) revert SoldOut(); _mint(msg.sender,amount + extraFreeMints); } /*///////////////////////////////////////////////////////// SETTERS \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/ function setMaxSupply(uint256 newSupply) external onlyOwner { require(newSupply <= maxSupply,"Can't Increase Supply"); maxSupply = newSupply; } function switchReveal() public onlyOwner { revealed = !revealed; } function setNotRevealedURI(string memory _notRevealedURI) public onlyOwner { notRevealedUri = _notRevealedURI; } function setBaseURI(string memory _newBaseURI) public onlyOwner { baseURI = _newBaseURI; } function setSigner(address _newAddress) external onlyOwner { require(_newAddress != address(0), "CAN'T PUT 0 ADDRESS"); signer = _newAddress; } function setUriSuffix(string memory _newSuffix) external onlyOwner{ uriSuffix = _newSuffix; } function setPublicOn() external onlyOwner{ saleStatus = SaleStatus.PUBLIC; } function setPresaleOn() external onlyOwner{ saleStatus = SaleStatus.PRESALE; } function setOgOn() external onlyOwner { saleStatus = SaleStatus.OG; } function setAllSalesOff() external onlyOwner{ saleStatus = SaleStatus.INACTIVE; } function setPresalePrice(uint256 _newPrice) external onlyOwner { presalePrice = _newPrice; } function setPublicPrice(uint256 _newPrice) external onlyOwner { publicPrice = _newPrice; } /*///////////////////////////////////////////////////////// TOKEN FACTORY \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/ function tokenURI(uint256 _tokenId) public view override(ERC721A) returns (string memory) { if (revealed == false) { return notRevealedUri; } string memory currentBaseURI = baseURI; return bytes(currentBaseURI).length > 0 ? string(abi.encodePacked(currentBaseURI, _toString(_tokenId),uriSuffix)) : ""; } /*///////////////////////////////////////////////////////// WITHDRAW \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/ function withdraw() public onlyOwner { uint256 balance = address(this).balance; (bool r1, ) = payable(0x5C3BD2f60cEd2c1ce8823697665E61Fe030230b0).call{value: balance * 4950/10000}(""); //TURO (bool r2, ) = payable(0x866d8Ec5E7072d9eD50b3E535d3De7Afd51f689a).call{value: balance * 4950/10000}(""); // (bool r3, ) = payable(0x6884efd53b2650679996D3Ea206D116356dA08a9).call{value: balance * 100/10000}(""); //DEV require(r1 && r2 && r3); } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.1.0 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721A.sol'; /** * @dev ERC721 token receiver interface. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, * including the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at `_startTokenId()` * (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Mask of an entry in packed address data. uint256 private constant BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with `_mintERC2309`. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to `_mintERC2309` // is required to cause an overflow, which is unrealistic. uint256 private constant MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The tokenId of the next token to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See `_packedOwnershipOf` implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see `_totalMinted`. */ function totalSupply() public view override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to `_startTokenId()` unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view returns (uint256) { return _burnCounter; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes of the XOR of // all function selectors in the interface. See: https://eips.ethereum.org/EIPS/eip-165 // e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)` return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> BITPOS_NUMBER_MINTED) & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> BITPOS_NUMBER_BURNED) & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & BITMASK_AUX_COMPLEMENT) | (auxCasted << BITPOS_AUX); _packedAddressData[owner] = packed; } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & BITMASK_BURNED == 0) { // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. // // We can directly compare the packed value. // If the address is zero, packed is zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> BITPOS_START_TIMESTAMP); ownership.burned = packed & BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> BITPOS_EXTRA_DATA); } /** * Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, BITMASK_ADDRESS) // `owner | (block.timestamp << BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << BITPOS_NEXT_INITIALIZED`. result := shl(BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSenderERC721A()) revert ApproveToCaller(); _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & BITMASK_BURNED == 0; // and not burned. } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 tokenId = startTokenId; uint256 end = startTokenId + quantity; do { emit Transfer(address(0), to, tokenId++); } while (tokenId < end); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { mapping(uint256 => address) storage tokenApprovalsPtr = _tokenApprovals; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId]`. assembly { // Compute the slot. mstore(0x00, tokenId) mstore(0x20, tokenApprovalsPtr.slot) approvedAddressSlot := keccak256(0x00, 0x40) // Load the slot's value from storage. approvedAddress := sload(approvedAddressSlot) } } /** * @dev Returns whether the `approvedAddress` is equals to `from` or `msgSender`. */ function _isOwnerOrApproved( address approvedAddress, address from, address msgSender ) private pure returns (bool result) { assembly { // Mask `from` to the lower 160 bits, in case the upper bits somehow aren't clean. from := and(from, BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, BITMASK_ADDRESS) // `msgSender == from || msgSender == approvedAddress`. result := or(eq(msgSender, from), eq(msgSender, approvedAddress)) } } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isOwnerOrApproved(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isOwnerOrApproved(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (BITMASK_BURNED | BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << BITPOS_EXTRA_DATA; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. * This includes minting. * And also called before burning one token. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. * This includes minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function _toString(uint256 value) internal pure returns (string memory ptr) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged. // We will need 1 32-byte word to store the length, // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128. ptr := add(mload(0x40), 128) // Update the free memory pointer to allocate. mstore(0x40, ptr) // Cache the end of the memory to calculate the length later. let end := ptr // We write the string from the rightmost digit to the leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // Costs a bit more than early returning for the zero case, // but cheaper in terms of deployment and overall runtime costs. for { // Initialize and perform the first pass without check. let temp := value // Move the pointer 1 byte leftwards to point to an empty character slot. ptr := sub(ptr, 1) // Write the character to the pointer. 48 is the ASCII index of '0'. mstore8(ptr, add(48, mod(temp, 10))) temp := div(temp, 10) } temp { // Keep dividing `temp` until zero. temp := div(temp, 10) } { // Body of the for loop. ptr := sub(ptr, 1) mstore8(ptr, add(48, mod(temp, 10))) } let length := sub(end, ptr) // Move the pointer 32 bytes leftwards to make room for the length. ptr := sub(ptr, 32) // Store the length. mstore(ptr, length) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/ECDSA.sol) pragma solidity ^0.8.0; import "../Strings.sol"; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } else if (error == RecoverError.InvalidSignatureV) { revert("ECDSA: invalid signature 'v' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { // Check the signature length // - case 65: r,s,v signature (standard) // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._ if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else if (signature.length == 64) { bytes32 r; bytes32 vs; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) vs := mload(add(signature, 0x40)) } return tryRecover(hash, r, vs); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff); uint8 v = uint8((uint256(vs) >> 255) + 27); return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } if (v != 27 && v != 28) { return (address(0), RecoverError.InvalidSignatureV); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Message, created from `s`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.1.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of an ERC721A compliant contract. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set through `_extraData`. uint24 extraData; } /** * @dev Returns the total amount of tokens stored by the contract. * * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens. */ function totalSupply() external view returns (uint256); // ============================== // IERC165 // ============================== /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================== // IERC721 // ============================== /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================== // IERC721Metadata // ============================== /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================== // IERC2309 // ============================== /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` (inclusive) is transferred from `from` to `to`, * as defined in the ERC2309 standard. See `_mintERC2309` for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MaxMints","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"NotEligibleForRedemption","type":"error"},{"inputs":[],"name":"NotWhitelisted","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"SaleNotActive","type":"error"},{"inputs":[],"name":"SoldOut","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"},{"inputs":[],"name":"Underpriced","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isEligibleForSecondRedemption","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPresaleMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"notRevealedUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"numRedemptions","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"max","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"ogMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"max","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"presaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"presaleMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presalePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleStatus","outputs":[{"internalType":"enum UnicornClub.SaleStatus","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"setAllSalesOff","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_notRevealedURI","type":"string"}],"name":"setNotRevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setOgOn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setPresaleOn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setPresalePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setPublicOn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setPublicPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newAddress","type":"address"}],"name":"setSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newSuffix","type":"string"}],"name":"setUriSuffix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"switchReveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"teamMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uriSuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405261141e600a55669536c708910000600b55669536c708910000600c556009600d5573034ff4c93efd09cc00f93ba35d79539d49924134600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506003600e60146101000a81548160ff02191690836003811115620000c7577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b02179055506001600e60156101000a81548160ff0219169083151502179055506040518060400160405280600581526020017f2e6a736f6e0000000000000000000000000000000000000000000000000000008152506011908051906020019062000134929190620003f9565b503480156200014257600080fd5b506040518060400160405280600c81526020017f556e69636f726e20436c756200000000000000000000000000000000000000008152506040518060400160405280600581526020017f55434c55420000000000000000000000000000000000000000000000000000008152508160029080519060200190620001c7929190620003f9565b508060039080519060200190620001e0929190620003f9565b50620001f16200025160201b60201c565b6000819055505050620002196200020d6200025660201b60201c565b6200025e60201b60201c565b60016009819055506200024b60405180606001604052806036815260200162005abb603691396200032460201b60201c565b62000591565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620003346200025660201b60201c565b73ffffffffffffffffffffffffffffffffffffffff166200035a620003cf60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620003b3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003aa90620004d0565b60405180910390fd5b80600f9080519060200190620003cb929190620003f9565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b828054620004079062000503565b90600052602060002090601f0160209004810192826200042b576000855562000477565b82601f106200044657805160ff191683800117855562000477565b8280016001018555821562000477579182015b828111156200047657825182559160200191906001019062000459565b5b5090506200048691906200048a565b5090565b5b80821115620004a55760008160009055506001016200048b565b5090565b6000620004b8602083620004f2565b9150620004c58262000568565b602082019050919050565b60006020820190508181036000830152620004eb81620004a9565b9050919050565b600082825260208201905092915050565b600060028204905060018216806200051c57607f821691505b6020821081141562000533576200053262000539565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b61551a80620005a16000396000f3fe6080604052600436106102875760003560e01c80636f9e621f1161015a578063c6275255116100c1578063e985e9c51161007a578063e985e9c51461092e578063ec5a2d451461096b578063f2c4ce1e14610982578063f2fde38b146109ab578063f9020e33146109d4578063ff501885146109ff57610287565b8063c62752551461083f578063c87b56dd14610868578063d5abeb01146108a5578063d63ba149146108d0578063e01de972146108ec578063e3eedde51461090357610287565b8063a22cb46511610113578063a22cb46514610766578063a89eb2381461078f578063a945bf80146107ab578063add5a4fa146107d6578063b88d4fde146107ff578063c23ee0ee1461082857610287565b80636f9e621f1461068e57806370a08231146106a5578063715018a6146106e25780638da5cb5b146106f95780638ff662ad1461072457806395d89b411461073b57610287565b80633ccfd60b116101fe57806355f804b3116101b757806355f804b3146105825780636352211e146105ab57806367243482146105e85780636c0360eb146106115780636c19e7831461063c5780636f8b44b01461066557610287565b80633ccfd60b1461047257806341c7145a1461048957806342842e0e146104c65780634f50b1c1146104ef578063518302271461052c5780635503a0e81461055757610287565b8063095ea7b311610250578063095ea7b31461038757806316ba10e0146103b057806318160ddd146103d957806323b872dd146104045780632db115441461042d5780633549345e1461044957610287565b80620e7fa81461028c57806301ffc9a7146102b757806306fdde03146102f4578063081812fc1461031f578063081c8c441461035c575b600080fd5b34801561029857600080fd5b506102a1610a3c565b6040516102ae9190614d25565b60405180910390f35b3480156102c357600080fd5b506102de60048036038101906102d99190614539565b610a42565b6040516102eb9190614b48565b60405180910390f35b34801561030057600080fd5b50610309610ad4565b6040516103169190614bc3565b60405180910390f35b34801561032b57600080fd5b50610346600480360381019061034191906145cc565b610b66565b6040516103539190614ae1565b60405180910390f35b34801561036857600080fd5b50610371610be2565b60405161037e9190614bc3565b60405180910390f35b34801561039357600080fd5b506103ae60048036038101906103a99190614488565b610c70565b005b3480156103bc57600080fd5b506103d760048036038101906103d2919061458b565b610db1565b005b3480156103e557600080fd5b506103ee610e47565b6040516103fb9190614d25565b60405180910390f35b34801561041057600080fd5b5061042b60048036038101906104269190614382565b610e5e565b005b610447600480360381019061044291906145cc565b611183565b005b34801561045557600080fd5b50610470600480360381019061046b91906145cc565b611333565b005b34801561047e57600080fd5b506104876113b9565b005b34801561049557600080fd5b506104b060048036038101906104ab919061431d565b611629565b6040516104bd9190614d25565b60405180910390f35b3480156104d257600080fd5b506104ed60048036038101906104e89190614382565b611641565b005b3480156104fb57600080fd5b506105166004803603810190610511919061431d565b611661565b6040516105239190614b48565b60405180910390f35b34801561053857600080fd5b50610541611681565b60405161054e9190614b48565b60405180910390f35b34801561056357600080fd5b5061056c611694565b6040516105799190614bc3565b60405180910390f35b34801561058e57600080fd5b506105a960048036038101906105a4919061458b565b611722565b005b3480156105b757600080fd5b506105d260048036038101906105cd91906145cc565b6117b8565b6040516105df9190614ae1565b60405180910390f35b3480156105f457600080fd5b5061060f600480360381019061060a91906144c4565b6117ca565b005b34801561061d57600080fd5b506106266119d9565b6040516106339190614bc3565b60405180910390f35b34801561064857600080fd5b50610663600480360381019061065e919061431d565b611a67565b005b34801561067157600080fd5b5061068c600480360381019061068791906145cc565b611b97565b005b34801561069a57600080fd5b506106a3611c62565b005b3480156106b157600080fd5b506106cc60048036038101906106c7919061431d565b611d31565b6040516106d99190614d25565b60405180910390f35b3480156106ee57600080fd5b506106f7611dea565b005b34801561070557600080fd5b5061070e611e72565b60405161071b9190614ae1565b60405180910390f35b34801561073057600080fd5b50610739611e9c565b005b34801561074757600080fd5b50610750611f6b565b60405161075d9190614bc3565b60405180910390f35b34801561077257600080fd5b5061078d6004803603810190610788919061444c565b611ffd565b005b6107a960048036038101906107a491906145f5565b612175565b005b3480156107b757600080fd5b506107c0612878565b6040516107cd9190614d25565b60405180910390f35b3480156107e257600080fd5b506107fd60048036038101906107f89190614488565b61287e565b005b34801561080b57600080fd5b50610826600480360381019061082191906143d1565b612956565b005b34801561083457600080fd5b5061083d6129c9565b005b34801561084b57600080fd5b50610866600480360381019061086191906145cc565b612a98565b005b34801561087457600080fd5b5061088f600480360381019061088a91906145cc565b612b1e565b60405161089c9190614bc3565b60405180910390f35b3480156108b157600080fd5b506108ba612cb2565b6040516108c79190614d25565b60405180910390f35b6108ea60048036038101906108e591906145f5565b612cb8565b005b3480156108f857600080fd5b506109016130d8565b005b34801561090f57600080fd5b506109186131a7565b6040516109259190614d25565b60405180910390f35b34801561093a57600080fd5b5061095560048036038101906109509190614346565b6131ad565b6040516109629190614b48565b60405180910390f35b34801561097757600080fd5b50610980613241565b005b34801561098e57600080fd5b506109a960048036038101906109a4919061458b565b6132e9565b005b3480156109b757600080fd5b506109d260048036038101906109cd919061431d565b61337f565b005b3480156109e057600080fd5b506109e9613477565b6040516109f69190614ba8565b60405180910390f35b348015610a0b57600080fd5b50610a266004803603810190610a21919061431d565b61348a565b604051610a339190614d25565b60405180910390f35b600b5481565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a9d57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610acd5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060028054610ae390614ffd565b80601f0160208091040260200160405190810160405280929190818152602001828054610b0f90614ffd565b8015610b5c5780601f10610b3157610100808354040283529160200191610b5c565b820191906000526020600020905b815481529060010190602001808311610b3f57829003601f168201915b5050505050905090565b6000610b71826134a2565b610ba7576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60108054610bef90614ffd565b80601f0160208091040260200160405190810160405280929190818152602001828054610c1b90614ffd565b8015610c685780601f10610c3d57610100808354040283529160200191610c68565b820191906000526020600020905b815481529060010190602001808311610c4b57829003601f168201915b505050505081565b6000610c7b826117b8565b90508073ffffffffffffffffffffffffffffffffffffffff16610c9c613501565b73ffffffffffffffffffffffffffffffffffffffff1614610cff57610cc881610cc3613501565b6131ad565b610cfe576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b610db9613509565b73ffffffffffffffffffffffffffffffffffffffff16610dd7611e72565b73ffffffffffffffffffffffffffffffffffffffff1614610e2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2490614ce5565b60405180910390fd5b8060119080519060200190610e439291906140ad565b5050565b6000610e51613511565b6001546000540303905090565b6000610e6982613516565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610ed0576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610edc846135e4565b91509150610ef28187610eed613501565b613606565b610f3e57610f0786610f02613501565b6131ad565b610f3d576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415610fa5576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610fb2868686600161364a565b8015610fbd57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001019190508190555061108b85611067888887613650565b7c020000000000000000000000000000000000000000000000000000000017613678565b600460008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084161415611113576000600185019050600060046000838152602001908152602001600020541415611111576000548114611110578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461117b86868660016136a3565b505050505050565b600260095414156111c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111c090614d05565b60405180910390fd5b600260098190555060038081111561120a577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600e60149054906101000a900460ff166003811115611252577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14611289576040517fb7b2409700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600a5481611295610e47565b61129f9190614e2a565b11156112d7576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c54816112e59190614eb1565b34101561131e576040517fd0afc53400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61132833826136a9565b600160098190555050565b61133b613509565b73ffffffffffffffffffffffffffffffffffffffff16611359611e72565b73ffffffffffffffffffffffffffffffffffffffff16146113af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a690614ce5565b60405180910390fd5b80600b8190555050565b6113c1613509565b73ffffffffffffffffffffffffffffffffffffffff166113df611e72565b73ffffffffffffffffffffffffffffffffffffffff1614611435576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142c90614ce5565b60405180910390fd5b60004790506000735c3bd2f60ced2c1ce8823697665e61fe030230b073ffffffffffffffffffffffffffffffffffffffff16612710611356846114789190614eb1565b6114829190614e80565b60405161148e90614a95565b60006040518083038185875af1925050503d80600081146114cb576040519150601f19603f3d011682016040523d82523d6000602084013e6114d0565b606091505b50509050600073866d8ec5e7072d9ed50b3e535d3de7afd51f689a73ffffffffffffffffffffffffffffffffffffffff16612710611356856115129190614eb1565b61151c9190614e80565b60405161152890614a95565b60006040518083038185875af1925050503d8060008114611565576040519150601f19603f3d011682016040523d82523d6000602084013e61156a565b606091505b505090506000736884efd53b2650679996d3ea206d116356da08a973ffffffffffffffffffffffffffffffffffffffff166127106064866115ab9190614eb1565b6115b59190614e80565b6040516115c190614a95565b60006040518083038185875af1925050503d80600081146115fe576040519150601f19603f3d011682016040523d82523d6000602084013e611603565b606091505b505090508280156116115750815b801561161a5750805b61162357600080fd5b50505050565b60146020528060005260406000206000915090505481565b61165c83838360405180602001604052806000815250612956565b505050565b60136020528060005260406000206000915054906101000a900460ff1681565b600e60159054906101000a900460ff1681565b601180546116a190614ffd565b80601f01602080910402602001604051908101604052809291908181526020018280546116cd90614ffd565b801561171a5780601f106116ef5761010080835404028352916020019161171a565b820191906000526020600020905b8154815290600101906020018083116116fd57829003601f168201915b505050505081565b61172a613509565b73ffffffffffffffffffffffffffffffffffffffff16611748611e72565b73ffffffffffffffffffffffffffffffffffffffff161461179e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179590614ce5565b60405180910390fd5b80600f90805190602001906117b49291906140ad565b5050565b60006117c382613516565b9050919050565b6117d2613509565b73ffffffffffffffffffffffffffffffffffffffff166117f0611e72565b73ffffffffffffffffffffffffffffffffffffffff1614611846576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183d90614ce5565b60405180910390fd5b81819050848490501461188e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188590614c65565b60405180910390fd5b60005b848490508110156119d257600a546118a7610e47565b8484848181106118e0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201356118f19190614e2a565b1115611929576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6119bf858583818110611965577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201602081019061197a919061431d565b8484848181106119b3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201356136a9565b80806119ca90615060565b915050611891565b5050505050565b600f80546119e690614ffd565b80601f0160208091040260200160405190810160405280929190818152602001828054611a1290614ffd565b8015611a5f5780601f10611a3457610100808354040283529160200191611a5f565b820191906000526020600020905b815481529060010190602001808311611a4257829003601f168201915b505050505081565b611a6f613509565b73ffffffffffffffffffffffffffffffffffffffff16611a8d611e72565b73ffffffffffffffffffffffffffffffffffffffff1614611ae3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ada90614ce5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611b53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4a90614ca5565b60405180910390fd5b80600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611b9f613509565b73ffffffffffffffffffffffffffffffffffffffff16611bbd611e72565b73ffffffffffffffffffffffffffffffffffffffff1614611c13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0a90614ce5565b60405180910390fd5b600a54811115611c58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4f90614c25565b60405180910390fd5b80600a8190555050565b611c6a613509565b73ffffffffffffffffffffffffffffffffffffffff16611c88611e72565b73ffffffffffffffffffffffffffffffffffffffff1614611cde576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cd590614ce5565b60405180910390fd5b6002600e60146101000a81548160ff02191690836003811115611d2a577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b0217905550565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d99576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611df2613509565b73ffffffffffffffffffffffffffffffffffffffff16611e10611e72565b73ffffffffffffffffffffffffffffffffffffffff1614611e66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5d90614ce5565b60405180910390fd5b611e70600061387d565b565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611ea4613509565b73ffffffffffffffffffffffffffffffffffffffff16611ec2611e72565b73ffffffffffffffffffffffffffffffffffffffff1614611f18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f0f90614ce5565b60405180910390fd5b6001600e60146101000a81548160ff02191690836003811115611f64577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b0217905550565b606060038054611f7a90614ffd565b80601f0160208091040260200160405190810160405280929190818152602001828054611fa690614ffd565b8015611ff35780601f10611fc857610100808354040283529160200191611ff3565b820191906000526020600020905b815481529060010190602001808311611fd657829003601f168201915b5050505050905090565b612005613501565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561206a576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000612077613501565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612124613501565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516121699190614b48565b60405180910390a35050565b600260095414156121bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121b290614d05565b60405180910390fd5b6002600981905550600082336040516020016121d8929190614aaa565b604051602081830303815290604052805190602001209050600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166122448361223684613943565b61397390919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff1614612291576040517f99c69e4c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600160038111156122cd577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600e60149054906101000a900460ff166003811115612315577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1461234c576040517fb7b2409700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600b548561235a9190614eb1565b341015612393576040517fd0afc53400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8385601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546123df9190614e2a565b1115612417576040517fc3b708de00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b84601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124669190614e2a565b92505081905550600d54601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541061250e576001601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505b6000601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414801561259d5750600d54601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054105b1561260657601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906125f290615060565b9190505550808061260290615060565b9150505b6001601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541480156126965750600d54601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410155b156126ff57601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906126eb90615060565b919050555080806126fb90615060565b9150505b6000601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414801561278f5750600d54601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410155b156127fb576002601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127e49190614e2a565b925050819055506002816127f89190614e2a565b90505b600a548186612808610e47565b6128129190614e2a565b61281c9190614e2a565b1115612854576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6128693382876128649190614e2a565b6136a9565b50506001600981905550505050565b600c5481565b612886613509565b73ffffffffffffffffffffffffffffffffffffffff166128a4611e72565b73ffffffffffffffffffffffffffffffffffffffff16146128fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128f190614ce5565b60405180910390fd5b600a54612905610e47565b826129109190614e2a565b1115612948576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61295282826136a9565b5050565b612961848484610e5e565b60008373ffffffffffffffffffffffffffffffffffffffff163b146129c35761298c8484848461399a565b6129c2576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6129d1613509565b73ffffffffffffffffffffffffffffffffffffffff166129ef611e72565b73ffffffffffffffffffffffffffffffffffffffff1614612a45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a3c90614ce5565b60405180910390fd5b6003600e60146101000a81548160ff02191690836003811115612a91577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b0217905550565b612aa0613509565b73ffffffffffffffffffffffffffffffffffffffff16612abe611e72565b73ffffffffffffffffffffffffffffffffffffffff1614612b14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b0b90614ce5565b60405180910390fd5b80600c8190555050565b606060001515600e60159054906101000a900460ff1615151415612bce5760108054612b4990614ffd565b80601f0160208091040260200160405190810160405280929190818152602001828054612b7590614ffd565b8015612bc25780601f10612b9757610100808354040283529160200191612bc2565b820191906000526020600020905b815481529060010190602001808311612ba557829003601f168201915b50505050509050612cad565b6000600f8054612bdd90614ffd565b80601f0160208091040260200160405190810160405280929190818152602001828054612c0990614ffd565b8015612c565780601f10612c2b57610100808354040283529160200191612c56565b820191906000526020600020905b815481529060010190602001808311612c3957829003601f168201915b505050505090506000815111612c7b5760405180602001604052806000815250612ca9565b80612c8584613afa565b6011604051602001612c9993929190614a07565b6040516020818303038152906040525b9150505b919050565b600a5481565b60026009541415612cfe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cf590614d05565b60405180910390fd5b60026009819055506000808333604051602001612d1c929190614a5e565b604051602081830303815290604052805190602001209050600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612d8884612d7a84613943565b61397390919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff1614612dd5576040517f584a793800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60026003811115612e0f577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600e60149054906101000a900460ff166003811115612e57577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14612e8e576040517fb7b2409700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600b5485612e9c9190614eb1565b341015612ed5576040517fd0afc53400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8385601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612f219190614e2a565b1115612f59576040517fc3b708de00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b84601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612fa89190614e2a565b925050819055506000601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054141561305b57601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081548092919061304790615060565b9190505550818061305790615060565b9250505b600a548286613068610e47565b6130729190614e2a565b61307c9190614e2a565b11156130b4576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6130c93383876130c49190614e2a565b6136a9565b50506001600981905550505050565b6130e0613509565b73ffffffffffffffffffffffffffffffffffffffff166130fe611e72565b73ffffffffffffffffffffffffffffffffffffffff1614613154576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161314b90614ce5565b60405180910390fd5b6000600e60146101000a81548160ff021916908360038111156131a0577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b0217905550565b600d5481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b613249613509565b73ffffffffffffffffffffffffffffffffffffffff16613267611e72565b73ffffffffffffffffffffffffffffffffffffffff16146132bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132b490614ce5565b60405180910390fd5b600e60159054906101000a900460ff1615600e60156101000a81548160ff021916908315150217905550565b6132f1613509565b73ffffffffffffffffffffffffffffffffffffffff1661330f611e72565b73ffffffffffffffffffffffffffffffffffffffff1614613365576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161335c90614ce5565b60405180910390fd5b806010908051906020019061337b9291906140ad565b5050565b613387613509565b73ffffffffffffffffffffffffffffffffffffffff166133a5611e72565b73ffffffffffffffffffffffffffffffffffffffff16146133fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133f290614ce5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561346b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161346290614c45565b60405180910390fd5b6134748161387d565b50565b600e60149054906101000a900460ff1681565b60126020528060005260406000206000915090505481565b6000816134ad613511565b111580156134bc575060005482105b80156134fa575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b600033905090565b600090565b60008082905080613525613511565b116135ad576000548110156135ac5760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821614156135aa575b60008114156135a0576004600083600190039350838152602001908152602001600020549050613575565b80925050506135df565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000806000600690508360005280602052604060002092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8613667868684613b54565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415613716576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000821415613751576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61375e600084838561364a565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506137d5836137c66000866000613650565b6137cf85613b5d565b17613678565b60046000838152602001908152602001600020819055506000819050600083830190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082106137f95780600081905550505061387860008483856136a3565b505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000816040516020016139569190614a38565b604051602081830303815290604052805190602001209050919050565b60008060006139828585613b6d565b9150915061398f81613bf0565b819250505092915050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026139c0613501565b8786866040518563ffffffff1660e01b81526004016139e29493929190614afc565b602060405180830381600087803b1580156139fc57600080fd5b505af1925050508015613a2d57506040513d601f19601f82011682018060405250810190613a2a9190614562565b60015b613aa7573d8060008114613a5d576040519150601f19603f3d011682016040523d82523d6000602084013e613a62565b606091505b50600081511415613a9f576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606080604051019050806040528082600183039250600a81066030018353600a810490505b8015613b4057600183039250600a81066030018353600a81049050613b20565b508181036020830392508083525050919050565b60009392505050565b60006001821460e11b9050919050565b600080604183511415613baf5760008060006020860151925060408601519150606086015160001a9050613ba387828585613f41565b94509450505050613be9565b604083511415613be0576000806020850151915060408501519050613bd586838361404e565b935093505050613be9565b60006002915091505b9250929050565b60006004811115613c2a577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115613c63577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415613c6e57613f3e565b60016004811115613ca8577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115613ce1577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415613d22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613d1990614be5565b60405180910390fd5b60026004811115613d5c577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115613d95577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415613dd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613dcd90614c05565b60405180910390fd5b60036004811115613e10577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115613e49577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415613e8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613e8190614c85565b60405180910390fd5b600480811115613ec3577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115613efc577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415613f3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613f3490614cc5565b60405180910390fd5b5b50565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115613f7c576000600391509150614045565b601b8560ff1614158015613f945750601c8560ff1614155b15613fa6576000600491509150614045565b600060018787878760405160008152602001604052604051613fcb9493929190614b63565b6020604051602081039080840390855afa158015613fed573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561403c57600060019250925050614045565b80600092509250505b94509492505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c6140919190614e2a565b905061409f87828885613f41565b935093505050935093915050565b8280546140b990614ffd565b90600052602060002090601f0160209004810192826140db5760008555614122565b82601f106140f457805160ff1916838001178555614122565b82800160010185558215614122579182015b82811115614121578251825591602001919060010190614106565b5b50905061412f9190614133565b5090565b5b8082111561414c576000816000905550600101614134565b5090565b600061416361415e84614d65565b614d40565b90508281526020810184848401111561417b57600080fd5b614186848285614fbb565b509392505050565b60006141a161419c84614d96565b614d40565b9050828152602081018484840111156141b957600080fd5b6141c4848285614fbb565b509392505050565b6000813590506141db81615488565b92915050565b60008083601f8401126141f357600080fd5b8235905067ffffffffffffffff81111561420c57600080fd5b60208301915083602082028301111561422457600080fd5b9250929050565b60008083601f84011261423d57600080fd5b8235905067ffffffffffffffff81111561425657600080fd5b60208301915083602082028301111561426e57600080fd5b9250929050565b6000813590506142848161549f565b92915050565b600081359050614299816154b6565b92915050565b6000815190506142ae816154b6565b92915050565b600082601f8301126142c557600080fd5b81356142d5848260208601614150565b91505092915050565b600082601f8301126142ef57600080fd5b81356142ff84826020860161418e565b91505092915050565b600081359050614317816154cd565b92915050565b60006020828403121561432f57600080fd5b600061433d848285016141cc565b91505092915050565b6000806040838503121561435957600080fd5b6000614367858286016141cc565b9250506020614378858286016141cc565b9150509250929050565b60008060006060848603121561439757600080fd5b60006143a5868287016141cc565b93505060206143b6868287016141cc565b92505060406143c786828701614308565b9150509250925092565b600080600080608085870312156143e757600080fd5b60006143f5878288016141cc565b9450506020614406878288016141cc565b935050604061441787828801614308565b925050606085013567ffffffffffffffff81111561443457600080fd5b614440878288016142b4565b91505092959194509250565b6000806040838503121561445f57600080fd5b600061446d858286016141cc565b925050602061447e85828601614275565b9150509250929050565b6000806040838503121561449b57600080fd5b60006144a9858286016141cc565b92505060206144ba85828601614308565b9150509250929050565b600080600080604085870312156144da57600080fd5b600085013567ffffffffffffffff8111156144f457600080fd5b614500878288016141e1565b9450945050602085013567ffffffffffffffff81111561451f57600080fd5b61452b8782880161422b565b925092505092959194509250565b60006020828403121561454b57600080fd5b60006145598482850161428a565b91505092915050565b60006020828403121561457457600080fd5b60006145828482850161429f565b91505092915050565b60006020828403121561459d57600080fd5b600082013567ffffffffffffffff8111156145b757600080fd5b6145c3848285016142de565b91505092915050565b6000602082840312156145de57600080fd5b60006145ec84828501614308565b91505092915050565b60008060006060848603121561460a57600080fd5b600061461886828701614308565b935050602061462986828701614308565b925050604084013567ffffffffffffffff81111561464657600080fd5b614652868287016142b4565b9150509250925092565b61466581614f0b565b82525050565b61467c61467782614f0b565b6150a9565b82525050565b61468b81614f1d565b82525050565b61469a81614f29565b82525050565b6146b16146ac82614f29565b6150bb565b82525050565b60006146c282614ddc565b6146cc8185614df2565b93506146dc818560208601614fca565b6146e5816151cc565b840191505092915050565b6146f981614fa9565b82525050565b600061470a82614de7565b6147148185614e0e565b9350614724818560208601614fca565b61472d816151cc565b840191505092915050565b600061474382614de7565b61474d8185614e1f565b935061475d818560208601614fca565b80840191505092915050565b6000815461477681614ffd565b6147808186614e1f565b9450600182166000811461479b57600181146147ac576147df565b60ff198316865281860193506147df565b6147b585614dc7565b60005b838110156147d7578154818901526001820191506020810190506147b8565b838801955050505b50505092915050565b60006147f5601883614e0e565b9150614800826151ea565b602082019050919050565b6000614818601f83614e0e565b915061482382615213565b602082019050919050565b600061483b601c83614e1f565b91506148468261523c565b601c82019050919050565b600061485e601583614e0e565b915061486982615265565b602082019050919050565b6000614881602683614e0e565b915061488c8261528e565b604082019050919050565b60006148a4601183614e0e565b91506148af826152dd565b602082019050919050565b60006148c7602283614e0e565b91506148d282615306565b604082019050919050565b60006148ea601383614e0e565b91506148f582615355565b602082019050919050565b600061490d602283614e0e565b91506149188261537e565b604082019050919050565b6000614930600783614e1f565b915061493b826153cd565b600782019050919050565b6000614953602083614e0e565b915061495e826153f6565b602082019050919050565b6000614976600083614e03565b91506149818261541f565b600082019050919050565b6000614999601f83614e0e565b91506149a482615422565b602082019050919050565b60006149bc600283614e1f565b91506149c78261544b565b600282019050919050565b6149db81614f92565b82525050565b6149f26149ed82614f92565b6150d7565b82525050565b614a0181614f9c565b82525050565b6000614a138286614738565b9150614a1f8285614738565b9150614a2b8284614769565b9150819050949350505050565b6000614a438261482e565b9150614a4f82846146a0565b60208201915081905092915050565b6000614a6982614923565b9150614a7582856149e1565b602082019150614a85828461466b565b6014820191508190509392505050565b6000614aa082614969565b9150819050919050565b6000614ab5826149af565b9150614ac182856149e1565b602082019150614ad1828461466b565b6014820191508190509392505050565b6000602082019050614af6600083018461465c565b92915050565b6000608082019050614b11600083018761465c565b614b1e602083018661465c565b614b2b60408301856149d2565b8181036060830152614b3d81846146b7565b905095945050505050565b6000602082019050614b5d6000830184614682565b92915050565b6000608082019050614b786000830187614691565b614b8560208301866149f8565b614b926040830185614691565b614b9f6060830184614691565b95945050505050565b6000602082019050614bbd60008301846146f0565b92915050565b60006020820190508181036000830152614bdd81846146ff565b905092915050565b60006020820190508181036000830152614bfe816147e8565b9050919050565b60006020820190508181036000830152614c1e8161480b565b9050919050565b60006020820190508181036000830152614c3e81614851565b9050919050565b60006020820190508181036000830152614c5e81614874565b9050919050565b60006020820190508181036000830152614c7e81614897565b9050919050565b60006020820190508181036000830152614c9e816148ba565b9050919050565b60006020820190508181036000830152614cbe816148dd565b9050919050565b60006020820190508181036000830152614cde81614900565b9050919050565b60006020820190508181036000830152614cfe81614946565b9050919050565b60006020820190508181036000830152614d1e8161498c565b9050919050565b6000602082019050614d3a60008301846149d2565b92915050565b6000614d4a614d5b565b9050614d56828261502f565b919050565b6000604051905090565b600067ffffffffffffffff821115614d8057614d7f61519d565b5b614d89826151cc565b9050602081019050919050565b600067ffffffffffffffff821115614db157614db061519d565b5b614dba826151cc565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614e3582614f92565b9150614e4083614f92565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614e7557614e746150e1565b5b828201905092915050565b6000614e8b82614f92565b9150614e9683614f92565b925082614ea657614ea5615110565b5b828204905092915050565b6000614ebc82614f92565b9150614ec783614f92565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614f0057614eff6150e1565b5b828202905092915050565b6000614f1682614f72565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000819050614f6d82615474565b919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b6000614fb482614f5f565b9050919050565b82818337600083830152505050565b60005b83811015614fe8578082015181840152602081019050614fcd565b83811115614ff7576000848401525b50505050565b6000600282049050600182168061501557607f821691505b602082108114156150295761502861516e565b5b50919050565b615038826151cc565b810181811067ffffffffffffffff821117156150575761505661519d565b5b80604052505050565b600061506b82614f92565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561509e5761509d6150e1565b5b600182019050919050565b60006150b4826150c5565b9050919050565b6000819050919050565b60006150d0826151dd565b9050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b7f43616e277420496e63726561736520537570706c790000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f417272617973204d757374204d61746368000000000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f43414e2754205055542030204144445245535300000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f50524553414c4500000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b50565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f4f47000000000000000000000000000000000000000000000000000000000000600082015250565b600481106154855761548461513f565b5b50565b61549181614f0b565b811461549c57600080fd5b50565b6154a881614f1d565b81146154b357600080fd5b50565b6154bf81614f33565b81146154ca57600080fd5b50565b6154d681614f92565b81146154e157600080fd5b5056fea2646970667358221220cab984fc455e3e3cc6d24d33d5418e4b5470b97eaf88d5b604fe3458bbccfff164736f6c63430008040033697066733a2f2f516d56726632646f3556674d414c634471646650796f5966583565426f4c32783675666d524a477a6631353332762f
Deployed Bytecode
0x6080604052600436106102875760003560e01c80636f9e621f1161015a578063c6275255116100c1578063e985e9c51161007a578063e985e9c51461092e578063ec5a2d451461096b578063f2c4ce1e14610982578063f2fde38b146109ab578063f9020e33146109d4578063ff501885146109ff57610287565b8063c62752551461083f578063c87b56dd14610868578063d5abeb01146108a5578063d63ba149146108d0578063e01de972146108ec578063e3eedde51461090357610287565b8063a22cb46511610113578063a22cb46514610766578063a89eb2381461078f578063a945bf80146107ab578063add5a4fa146107d6578063b88d4fde146107ff578063c23ee0ee1461082857610287565b80636f9e621f1461068e57806370a08231146106a5578063715018a6146106e25780638da5cb5b146106f95780638ff662ad1461072457806395d89b411461073b57610287565b80633ccfd60b116101fe57806355f804b3116101b757806355f804b3146105825780636352211e146105ab57806367243482146105e85780636c0360eb146106115780636c19e7831461063c5780636f8b44b01461066557610287565b80633ccfd60b1461047257806341c7145a1461048957806342842e0e146104c65780634f50b1c1146104ef578063518302271461052c5780635503a0e81461055757610287565b8063095ea7b311610250578063095ea7b31461038757806316ba10e0146103b057806318160ddd146103d957806323b872dd146104045780632db115441461042d5780633549345e1461044957610287565b80620e7fa81461028c57806301ffc9a7146102b757806306fdde03146102f4578063081812fc1461031f578063081c8c441461035c575b600080fd5b34801561029857600080fd5b506102a1610a3c565b6040516102ae9190614d25565b60405180910390f35b3480156102c357600080fd5b506102de60048036038101906102d99190614539565b610a42565b6040516102eb9190614b48565b60405180910390f35b34801561030057600080fd5b50610309610ad4565b6040516103169190614bc3565b60405180910390f35b34801561032b57600080fd5b50610346600480360381019061034191906145cc565b610b66565b6040516103539190614ae1565b60405180910390f35b34801561036857600080fd5b50610371610be2565b60405161037e9190614bc3565b60405180910390f35b34801561039357600080fd5b506103ae60048036038101906103a99190614488565b610c70565b005b3480156103bc57600080fd5b506103d760048036038101906103d2919061458b565b610db1565b005b3480156103e557600080fd5b506103ee610e47565b6040516103fb9190614d25565b60405180910390f35b34801561041057600080fd5b5061042b60048036038101906104269190614382565b610e5e565b005b610447600480360381019061044291906145cc565b611183565b005b34801561045557600080fd5b50610470600480360381019061046b91906145cc565b611333565b005b34801561047e57600080fd5b506104876113b9565b005b34801561049557600080fd5b506104b060048036038101906104ab919061431d565b611629565b6040516104bd9190614d25565b60405180910390f35b3480156104d257600080fd5b506104ed60048036038101906104e89190614382565b611641565b005b3480156104fb57600080fd5b506105166004803603810190610511919061431d565b611661565b6040516105239190614b48565b60405180910390f35b34801561053857600080fd5b50610541611681565b60405161054e9190614b48565b60405180910390f35b34801561056357600080fd5b5061056c611694565b6040516105799190614bc3565b60405180910390f35b34801561058e57600080fd5b506105a960048036038101906105a4919061458b565b611722565b005b3480156105b757600080fd5b506105d260048036038101906105cd91906145cc565b6117b8565b6040516105df9190614ae1565b60405180910390f35b3480156105f457600080fd5b5061060f600480360381019061060a91906144c4565b6117ca565b005b34801561061d57600080fd5b506106266119d9565b6040516106339190614bc3565b60405180910390f35b34801561064857600080fd5b50610663600480360381019061065e919061431d565b611a67565b005b34801561067157600080fd5b5061068c600480360381019061068791906145cc565b611b97565b005b34801561069a57600080fd5b506106a3611c62565b005b3480156106b157600080fd5b506106cc60048036038101906106c7919061431d565b611d31565b6040516106d99190614d25565b60405180910390f35b3480156106ee57600080fd5b506106f7611dea565b005b34801561070557600080fd5b5061070e611e72565b60405161071b9190614ae1565b60405180910390f35b34801561073057600080fd5b50610739611e9c565b005b34801561074757600080fd5b50610750611f6b565b60405161075d9190614bc3565b60405180910390f35b34801561077257600080fd5b5061078d6004803603810190610788919061444c565b611ffd565b005b6107a960048036038101906107a491906145f5565b612175565b005b3480156107b757600080fd5b506107c0612878565b6040516107cd9190614d25565b60405180910390f35b3480156107e257600080fd5b506107fd60048036038101906107f89190614488565b61287e565b005b34801561080b57600080fd5b50610826600480360381019061082191906143d1565b612956565b005b34801561083457600080fd5b5061083d6129c9565b005b34801561084b57600080fd5b50610866600480360381019061086191906145cc565b612a98565b005b34801561087457600080fd5b5061088f600480360381019061088a91906145cc565b612b1e565b60405161089c9190614bc3565b60405180910390f35b3480156108b157600080fd5b506108ba612cb2565b6040516108c79190614d25565b60405180910390f35b6108ea60048036038101906108e591906145f5565b612cb8565b005b3480156108f857600080fd5b506109016130d8565b005b34801561090f57600080fd5b506109186131a7565b6040516109259190614d25565b60405180910390f35b34801561093a57600080fd5b5061095560048036038101906109509190614346565b6131ad565b6040516109629190614b48565b60405180910390f35b34801561097757600080fd5b50610980613241565b005b34801561098e57600080fd5b506109a960048036038101906109a4919061458b565b6132e9565b005b3480156109b757600080fd5b506109d260048036038101906109cd919061431d565b61337f565b005b3480156109e057600080fd5b506109e9613477565b6040516109f69190614ba8565b60405180910390f35b348015610a0b57600080fd5b50610a266004803603810190610a21919061431d565b61348a565b604051610a339190614d25565b60405180910390f35b600b5481565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a9d57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610acd5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060028054610ae390614ffd565b80601f0160208091040260200160405190810160405280929190818152602001828054610b0f90614ffd565b8015610b5c5780601f10610b3157610100808354040283529160200191610b5c565b820191906000526020600020905b815481529060010190602001808311610b3f57829003601f168201915b5050505050905090565b6000610b71826134a2565b610ba7576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60108054610bef90614ffd565b80601f0160208091040260200160405190810160405280929190818152602001828054610c1b90614ffd565b8015610c685780601f10610c3d57610100808354040283529160200191610c68565b820191906000526020600020905b815481529060010190602001808311610c4b57829003601f168201915b505050505081565b6000610c7b826117b8565b90508073ffffffffffffffffffffffffffffffffffffffff16610c9c613501565b73ffffffffffffffffffffffffffffffffffffffff1614610cff57610cc881610cc3613501565b6131ad565b610cfe576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b610db9613509565b73ffffffffffffffffffffffffffffffffffffffff16610dd7611e72565b73ffffffffffffffffffffffffffffffffffffffff1614610e2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2490614ce5565b60405180910390fd5b8060119080519060200190610e439291906140ad565b5050565b6000610e51613511565b6001546000540303905090565b6000610e6982613516565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610ed0576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610edc846135e4565b91509150610ef28187610eed613501565b613606565b610f3e57610f0786610f02613501565b6131ad565b610f3d576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415610fa5576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610fb2868686600161364a565b8015610fbd57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001019190508190555061108b85611067888887613650565b7c020000000000000000000000000000000000000000000000000000000017613678565b600460008681526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000084161415611113576000600185019050600060046000838152602001908152602001600020541415611111576000548114611110578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461117b86868660016136a3565b505050505050565b600260095414156111c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111c090614d05565b60405180910390fd5b600260098190555060038081111561120a577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600e60149054906101000a900460ff166003811115611252577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14611289576040517fb7b2409700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600a5481611295610e47565b61129f9190614e2a565b11156112d7576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c54816112e59190614eb1565b34101561131e576040517fd0afc53400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61132833826136a9565b600160098190555050565b61133b613509565b73ffffffffffffffffffffffffffffffffffffffff16611359611e72565b73ffffffffffffffffffffffffffffffffffffffff16146113af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113a690614ce5565b60405180910390fd5b80600b8190555050565b6113c1613509565b73ffffffffffffffffffffffffffffffffffffffff166113df611e72565b73ffffffffffffffffffffffffffffffffffffffff1614611435576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142c90614ce5565b60405180910390fd5b60004790506000735c3bd2f60ced2c1ce8823697665e61fe030230b073ffffffffffffffffffffffffffffffffffffffff16612710611356846114789190614eb1565b6114829190614e80565b60405161148e90614a95565b60006040518083038185875af1925050503d80600081146114cb576040519150601f19603f3d011682016040523d82523d6000602084013e6114d0565b606091505b50509050600073866d8ec5e7072d9ed50b3e535d3de7afd51f689a73ffffffffffffffffffffffffffffffffffffffff16612710611356856115129190614eb1565b61151c9190614e80565b60405161152890614a95565b60006040518083038185875af1925050503d8060008114611565576040519150601f19603f3d011682016040523d82523d6000602084013e61156a565b606091505b505090506000736884efd53b2650679996d3ea206d116356da08a973ffffffffffffffffffffffffffffffffffffffff166127106064866115ab9190614eb1565b6115b59190614e80565b6040516115c190614a95565b60006040518083038185875af1925050503d80600081146115fe576040519150601f19603f3d011682016040523d82523d6000602084013e611603565b606091505b505090508280156116115750815b801561161a5750805b61162357600080fd5b50505050565b60146020528060005260406000206000915090505481565b61165c83838360405180602001604052806000815250612956565b505050565b60136020528060005260406000206000915054906101000a900460ff1681565b600e60159054906101000a900460ff1681565b601180546116a190614ffd565b80601f01602080910402602001604051908101604052809291908181526020018280546116cd90614ffd565b801561171a5780601f106116ef5761010080835404028352916020019161171a565b820191906000526020600020905b8154815290600101906020018083116116fd57829003601f168201915b505050505081565b61172a613509565b73ffffffffffffffffffffffffffffffffffffffff16611748611e72565b73ffffffffffffffffffffffffffffffffffffffff161461179e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179590614ce5565b60405180910390fd5b80600f90805190602001906117b49291906140ad565b5050565b60006117c382613516565b9050919050565b6117d2613509565b73ffffffffffffffffffffffffffffffffffffffff166117f0611e72565b73ffffffffffffffffffffffffffffffffffffffff1614611846576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183d90614ce5565b60405180910390fd5b81819050848490501461188e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188590614c65565b60405180910390fd5b60005b848490508110156119d257600a546118a7610e47565b8484848181106118e0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201356118f19190614e2a565b1115611929576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6119bf858583818110611965577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201602081019061197a919061431d565b8484848181106119b3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201356136a9565b80806119ca90615060565b915050611891565b5050505050565b600f80546119e690614ffd565b80601f0160208091040260200160405190810160405280929190818152602001828054611a1290614ffd565b8015611a5f5780601f10611a3457610100808354040283529160200191611a5f565b820191906000526020600020905b815481529060010190602001808311611a4257829003601f168201915b505050505081565b611a6f613509565b73ffffffffffffffffffffffffffffffffffffffff16611a8d611e72565b73ffffffffffffffffffffffffffffffffffffffff1614611ae3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ada90614ce5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611b53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b4a90614ca5565b60405180910390fd5b80600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611b9f613509565b73ffffffffffffffffffffffffffffffffffffffff16611bbd611e72565b73ffffffffffffffffffffffffffffffffffffffff1614611c13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0a90614ce5565b60405180910390fd5b600a54811115611c58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4f90614c25565b60405180910390fd5b80600a8190555050565b611c6a613509565b73ffffffffffffffffffffffffffffffffffffffff16611c88611e72565b73ffffffffffffffffffffffffffffffffffffffff1614611cde576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cd590614ce5565b60405180910390fd5b6002600e60146101000a81548160ff02191690836003811115611d2a577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b0217905550565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d99576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611df2613509565b73ffffffffffffffffffffffffffffffffffffffff16611e10611e72565b73ffffffffffffffffffffffffffffffffffffffff1614611e66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e5d90614ce5565b60405180910390fd5b611e70600061387d565b565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611ea4613509565b73ffffffffffffffffffffffffffffffffffffffff16611ec2611e72565b73ffffffffffffffffffffffffffffffffffffffff1614611f18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f0f90614ce5565b60405180910390fd5b6001600e60146101000a81548160ff02191690836003811115611f64577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b0217905550565b606060038054611f7a90614ffd565b80601f0160208091040260200160405190810160405280929190818152602001828054611fa690614ffd565b8015611ff35780601f10611fc857610100808354040283529160200191611ff3565b820191906000526020600020905b815481529060010190602001808311611fd657829003601f168201915b5050505050905090565b612005613501565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561206a576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000612077613501565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612124613501565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516121699190614b48565b60405180910390a35050565b600260095414156121bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121b290614d05565b60405180910390fd5b6002600981905550600082336040516020016121d8929190614aaa565b604051602081830303815290604052805190602001209050600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166122448361223684613943565b61397390919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff1614612291576040517f99c69e4c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600160038111156122cd577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600e60149054906101000a900460ff166003811115612315577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1461234c576040517fb7b2409700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600b548561235a9190614eb1565b341015612393576040517fd0afc53400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8385601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546123df9190614e2a565b1115612417576040517fc3b708de00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b84601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124669190614e2a565b92505081905550600d54601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541061250e576001601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505b6000601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414801561259d5750600d54601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054105b1561260657601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906125f290615060565b9190505550808061260290615060565b9150505b6001601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541480156126965750600d54601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410155b156126ff57601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154809291906126eb90615060565b919050555080806126fb90615060565b9150505b6000601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205414801561278f5750600d54601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410155b156127fb576002601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127e49190614e2a565b925050819055506002816127f89190614e2a565b90505b600a548186612808610e47565b6128129190614e2a565b61281c9190614e2a565b1115612854576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6128693382876128649190614e2a565b6136a9565b50506001600981905550505050565b600c5481565b612886613509565b73ffffffffffffffffffffffffffffffffffffffff166128a4611e72565b73ffffffffffffffffffffffffffffffffffffffff16146128fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128f190614ce5565b60405180910390fd5b600a54612905610e47565b826129109190614e2a565b1115612948576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61295282826136a9565b5050565b612961848484610e5e565b60008373ffffffffffffffffffffffffffffffffffffffff163b146129c35761298c8484848461399a565b6129c2576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b6129d1613509565b73ffffffffffffffffffffffffffffffffffffffff166129ef611e72565b73ffffffffffffffffffffffffffffffffffffffff1614612a45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a3c90614ce5565b60405180910390fd5b6003600e60146101000a81548160ff02191690836003811115612a91577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b0217905550565b612aa0613509565b73ffffffffffffffffffffffffffffffffffffffff16612abe611e72565b73ffffffffffffffffffffffffffffffffffffffff1614612b14576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b0b90614ce5565b60405180910390fd5b80600c8190555050565b606060001515600e60159054906101000a900460ff1615151415612bce5760108054612b4990614ffd565b80601f0160208091040260200160405190810160405280929190818152602001828054612b7590614ffd565b8015612bc25780601f10612b9757610100808354040283529160200191612bc2565b820191906000526020600020905b815481529060010190602001808311612ba557829003601f168201915b50505050509050612cad565b6000600f8054612bdd90614ffd565b80601f0160208091040260200160405190810160405280929190818152602001828054612c0990614ffd565b8015612c565780601f10612c2b57610100808354040283529160200191612c56565b820191906000526020600020905b815481529060010190602001808311612c3957829003601f168201915b505050505090506000815111612c7b5760405180602001604052806000815250612ca9565b80612c8584613afa565b6011604051602001612c9993929190614a07565b6040516020818303038152906040525b9150505b919050565b600a5481565b60026009541415612cfe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cf590614d05565b60405180910390fd5b60026009819055506000808333604051602001612d1c929190614a5e565b604051602081830303815290604052805190602001209050600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612d8884612d7a84613943565b61397390919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff1614612dd5576040517f584a793800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60026003811115612e0f577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600e60149054906101000a900460ff166003811115612e57577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14612e8e576040517fb7b2409700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600b5485612e9c9190614eb1565b341015612ed5576040517fd0afc53400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8385601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612f219190614e2a565b1115612f59576040517fc3b708de00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b84601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612fa89190614e2a565b925050819055506000601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054141561305b57601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081548092919061304790615060565b9190505550818061305790615060565b9250505b600a548286613068610e47565b6130729190614e2a565b61307c9190614e2a565b11156130b4576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6130c93383876130c49190614e2a565b6136a9565b50506001600981905550505050565b6130e0613509565b73ffffffffffffffffffffffffffffffffffffffff166130fe611e72565b73ffffffffffffffffffffffffffffffffffffffff1614613154576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161314b90614ce5565b60405180910390fd5b6000600e60146101000a81548160ff021916908360038111156131a0577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b0217905550565b600d5481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b613249613509565b73ffffffffffffffffffffffffffffffffffffffff16613267611e72565b73ffffffffffffffffffffffffffffffffffffffff16146132bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132b490614ce5565b60405180910390fd5b600e60159054906101000a900460ff1615600e60156101000a81548160ff021916908315150217905550565b6132f1613509565b73ffffffffffffffffffffffffffffffffffffffff1661330f611e72565b73ffffffffffffffffffffffffffffffffffffffff1614613365576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161335c90614ce5565b60405180910390fd5b806010908051906020019061337b9291906140ad565b5050565b613387613509565b73ffffffffffffffffffffffffffffffffffffffff166133a5611e72565b73ffffffffffffffffffffffffffffffffffffffff16146133fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133f290614ce5565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561346b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161346290614c45565b60405180910390fd5b6134748161387d565b50565b600e60149054906101000a900460ff1681565b60126020528060005260406000206000915090505481565b6000816134ad613511565b111580156134bc575060005482105b80156134fa575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b600033905090565b600090565b60008082905080613525613511565b116135ad576000548110156135ac5760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821614156135aa575b60008114156135a0576004600083600190039350838152602001908152602001600020549050613575565b80925050506135df565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000806000600690508360005280602052604060002092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8613667868684613b54565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415613716576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000821415613751576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61375e600084838561364a565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506137d5836137c66000866000613650565b6137cf85613b5d565b17613678565b60046000838152602001908152602001600020819055506000819050600083830190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082106137f95780600081905550505061387860008483856136a3565b505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000816040516020016139569190614a38565b604051602081830303815290604052805190602001209050919050565b60008060006139828585613b6d565b9150915061398f81613bf0565b819250505092915050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026139c0613501565b8786866040518563ffffffff1660e01b81526004016139e29493929190614afc565b602060405180830381600087803b1580156139fc57600080fd5b505af1925050508015613a2d57506040513d601f19601f82011682018060405250810190613a2a9190614562565b60015b613aa7573d8060008114613a5d576040519150601f19603f3d011682016040523d82523d6000602084013e613a62565b606091505b50600081511415613a9f576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606080604051019050806040528082600183039250600a81066030018353600a810490505b8015613b4057600183039250600a81066030018353600a81049050613b20565b508181036020830392508083525050919050565b60009392505050565b60006001821460e11b9050919050565b600080604183511415613baf5760008060006020860151925060408601519150606086015160001a9050613ba387828585613f41565b94509450505050613be9565b604083511415613be0576000806020850151915060408501519050613bd586838361404e565b935093505050613be9565b60006002915091505b9250929050565b60006004811115613c2a577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115613c63577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415613c6e57613f3e565b60016004811115613ca8577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115613ce1577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415613d22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613d1990614be5565b60405180910390fd5b60026004811115613d5c577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115613d95577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415613dd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613dcd90614c05565b60405180910390fd5b60036004811115613e10577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115613e49577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415613e8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613e8190614c85565b60405180910390fd5b600480811115613ec3577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115613efc577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415613f3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613f3490614cc5565b60405180910390fd5b5b50565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115613f7c576000600391509150614045565b601b8560ff1614158015613f945750601c8560ff1614155b15613fa6576000600491509150614045565b600060018787878760405160008152602001604052604051613fcb9493929190614b63565b6020604051602081039080840390855afa158015613fed573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561403c57600060019250925050614045565b80600092509250505b94509492505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c6140919190614e2a565b905061409f87828885613f41565b935093505050935093915050565b8280546140b990614ffd565b90600052602060002090601f0160209004810192826140db5760008555614122565b82601f106140f457805160ff1916838001178555614122565b82800160010185558215614122579182015b82811115614121578251825591602001919060010190614106565b5b50905061412f9190614133565b5090565b5b8082111561414c576000816000905550600101614134565b5090565b600061416361415e84614d65565b614d40565b90508281526020810184848401111561417b57600080fd5b614186848285614fbb565b509392505050565b60006141a161419c84614d96565b614d40565b9050828152602081018484840111156141b957600080fd5b6141c4848285614fbb565b509392505050565b6000813590506141db81615488565b92915050565b60008083601f8401126141f357600080fd5b8235905067ffffffffffffffff81111561420c57600080fd5b60208301915083602082028301111561422457600080fd5b9250929050565b60008083601f84011261423d57600080fd5b8235905067ffffffffffffffff81111561425657600080fd5b60208301915083602082028301111561426e57600080fd5b9250929050565b6000813590506142848161549f565b92915050565b600081359050614299816154b6565b92915050565b6000815190506142ae816154b6565b92915050565b600082601f8301126142c557600080fd5b81356142d5848260208601614150565b91505092915050565b600082601f8301126142ef57600080fd5b81356142ff84826020860161418e565b91505092915050565b600081359050614317816154cd565b92915050565b60006020828403121561432f57600080fd5b600061433d848285016141cc565b91505092915050565b6000806040838503121561435957600080fd5b6000614367858286016141cc565b9250506020614378858286016141cc565b9150509250929050565b60008060006060848603121561439757600080fd5b60006143a5868287016141cc565b93505060206143b6868287016141cc565b92505060406143c786828701614308565b9150509250925092565b600080600080608085870312156143e757600080fd5b60006143f5878288016141cc565b9450506020614406878288016141cc565b935050604061441787828801614308565b925050606085013567ffffffffffffffff81111561443457600080fd5b614440878288016142b4565b91505092959194509250565b6000806040838503121561445f57600080fd5b600061446d858286016141cc565b925050602061447e85828601614275565b9150509250929050565b6000806040838503121561449b57600080fd5b60006144a9858286016141cc565b92505060206144ba85828601614308565b9150509250929050565b600080600080604085870312156144da57600080fd5b600085013567ffffffffffffffff8111156144f457600080fd5b614500878288016141e1565b9450945050602085013567ffffffffffffffff81111561451f57600080fd5b61452b8782880161422b565b925092505092959194509250565b60006020828403121561454b57600080fd5b60006145598482850161428a565b91505092915050565b60006020828403121561457457600080fd5b60006145828482850161429f565b91505092915050565b60006020828403121561459d57600080fd5b600082013567ffffffffffffffff8111156145b757600080fd5b6145c3848285016142de565b91505092915050565b6000602082840312156145de57600080fd5b60006145ec84828501614308565b91505092915050565b60008060006060848603121561460a57600080fd5b600061461886828701614308565b935050602061462986828701614308565b925050604084013567ffffffffffffffff81111561464657600080fd5b614652868287016142b4565b9150509250925092565b61466581614f0b565b82525050565b61467c61467782614f0b565b6150a9565b82525050565b61468b81614f1d565b82525050565b61469a81614f29565b82525050565b6146b16146ac82614f29565b6150bb565b82525050565b60006146c282614ddc565b6146cc8185614df2565b93506146dc818560208601614fca565b6146e5816151cc565b840191505092915050565b6146f981614fa9565b82525050565b600061470a82614de7565b6147148185614e0e565b9350614724818560208601614fca565b61472d816151cc565b840191505092915050565b600061474382614de7565b61474d8185614e1f565b935061475d818560208601614fca565b80840191505092915050565b6000815461477681614ffd565b6147808186614e1f565b9450600182166000811461479b57600181146147ac576147df565b60ff198316865281860193506147df565b6147b585614dc7565b60005b838110156147d7578154818901526001820191506020810190506147b8565b838801955050505b50505092915050565b60006147f5601883614e0e565b9150614800826151ea565b602082019050919050565b6000614818601f83614e0e565b915061482382615213565b602082019050919050565b600061483b601c83614e1f565b91506148468261523c565b601c82019050919050565b600061485e601583614e0e565b915061486982615265565b602082019050919050565b6000614881602683614e0e565b915061488c8261528e565b604082019050919050565b60006148a4601183614e0e565b91506148af826152dd565b602082019050919050565b60006148c7602283614e0e565b91506148d282615306565b604082019050919050565b60006148ea601383614e0e565b91506148f582615355565b602082019050919050565b600061490d602283614e0e565b91506149188261537e565b604082019050919050565b6000614930600783614e1f565b915061493b826153cd565b600782019050919050565b6000614953602083614e0e565b915061495e826153f6565b602082019050919050565b6000614976600083614e03565b91506149818261541f565b600082019050919050565b6000614999601f83614e0e565b91506149a482615422565b602082019050919050565b60006149bc600283614e1f565b91506149c78261544b565b600282019050919050565b6149db81614f92565b82525050565b6149f26149ed82614f92565b6150d7565b82525050565b614a0181614f9c565b82525050565b6000614a138286614738565b9150614a1f8285614738565b9150614a2b8284614769565b9150819050949350505050565b6000614a438261482e565b9150614a4f82846146a0565b60208201915081905092915050565b6000614a6982614923565b9150614a7582856149e1565b602082019150614a85828461466b565b6014820191508190509392505050565b6000614aa082614969565b9150819050919050565b6000614ab5826149af565b9150614ac182856149e1565b602082019150614ad1828461466b565b6014820191508190509392505050565b6000602082019050614af6600083018461465c565b92915050565b6000608082019050614b11600083018761465c565b614b1e602083018661465c565b614b2b60408301856149d2565b8181036060830152614b3d81846146b7565b905095945050505050565b6000602082019050614b5d6000830184614682565b92915050565b6000608082019050614b786000830187614691565b614b8560208301866149f8565b614b926040830185614691565b614b9f6060830184614691565b95945050505050565b6000602082019050614bbd60008301846146f0565b92915050565b60006020820190508181036000830152614bdd81846146ff565b905092915050565b60006020820190508181036000830152614bfe816147e8565b9050919050565b60006020820190508181036000830152614c1e8161480b565b9050919050565b60006020820190508181036000830152614c3e81614851565b9050919050565b60006020820190508181036000830152614c5e81614874565b9050919050565b60006020820190508181036000830152614c7e81614897565b9050919050565b60006020820190508181036000830152614c9e816148ba565b9050919050565b60006020820190508181036000830152614cbe816148dd565b9050919050565b60006020820190508181036000830152614cde81614900565b9050919050565b60006020820190508181036000830152614cfe81614946565b9050919050565b60006020820190508181036000830152614d1e8161498c565b9050919050565b6000602082019050614d3a60008301846149d2565b92915050565b6000614d4a614d5b565b9050614d56828261502f565b919050565b6000604051905090565b600067ffffffffffffffff821115614d8057614d7f61519d565b5b614d89826151cc565b9050602081019050919050565b600067ffffffffffffffff821115614db157614db061519d565b5b614dba826151cc565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614e3582614f92565b9150614e4083614f92565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614e7557614e746150e1565b5b828201905092915050565b6000614e8b82614f92565b9150614e9683614f92565b925082614ea657614ea5615110565b5b828204905092915050565b6000614ebc82614f92565b9150614ec783614f92565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614f0057614eff6150e1565b5b828202905092915050565b6000614f1682614f72565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000819050614f6d82615474565b919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b6000614fb482614f5f565b9050919050565b82818337600083830152505050565b60005b83811015614fe8578082015181840152602081019050614fcd565b83811115614ff7576000848401525b50505050565b6000600282049050600182168061501557607f821691505b602082108114156150295761502861516e565b5b50919050565b615038826151cc565b810181811067ffffffffffffffff821117156150575761505661519d565b5b80604052505050565b600061506b82614f92565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561509e5761509d6150e1565b5b600182019050919050565b60006150b4826150c5565b9050919050565b6000819050919050565b60006150d0826151dd565b9050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b7f43616e277420496e63726561736520537570706c790000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f417272617973204d757374204d61746368000000000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f43414e2754205055542030204144445245535300000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f50524553414c4500000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b50565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f4f47000000000000000000000000000000000000000000000000000000000000600082015250565b600481106154855761548461513f565b5b50565b61549181614f0b565b811461549c57600080fd5b50565b6154a881614f1d565b81146154b357600080fd5b50565b6154bf81614f33565b81146154ca57600080fd5b50565b6154d681614f92565b81146154e157600080fd5b5056fea2646970667358221220cab984fc455e3e3cc6d24d33d5418e4b5470b97eaf88d5b604fe3458bbccfff164736f6c63430008040033
Loading...
Loading
Loading...
Loading
[ 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.