Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
6,000 BLADS
Holders
656
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 BLADSLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Badlads
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; error SoldOut(); error SaleNotActive(); error Underpriced(); error MaxMints(); error NotOwner(); error NotWhitelisted(); error AlreadyRedeemed(); /* ██████╗░░█████╗░██████╗░██╗░░░░░░█████╗░██████╗░░██████╗ ██╔══██╗██╔══██╗██╔══██╗██║░░░░░██╔══██╗██╔══██╗██╔════╝ ██████╦╝███████║██║░░██║██║░░░░░███████║██║░░██║╚█████╗░ ██╔══██╗██╔══██║██║░░██║██║░░░░░██╔══██║██║░░██║░╚═══██╗ ██████╦╝██║░░██║██████╔╝███████╗██║░░██║██████╔╝██████╔╝ ╚═════╝░╚═╝░░╚═╝╚═════╝░╚══════╝╚═╝░░╚═╝╚═════╝░╚═════╝░ */ 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 Badlads is ERC721A, Ownable, ReentrancyGuard { using Strings for uint256; using ECDSA for bytes32; //Supply & Price uint256 public maxSupply = 6000; uint256 public price = .01 ether; //Whitelist Signer address private signer = 0x034ff4C93eFD09Cc00f93ba35d79539D49924134; //Sale Switches bool public publicSaleStarted; bool public presaleStarted; bool public revealed = true; //Token Factory string public baseURI; string public notRevealedUri; string public uriSuffix = ".json"; // @dev these mappings track how many one has minted on public and WL respectively mapping(address =>uint256) public presaleMints; mapping(address => bool) public hasRedeemed; constructor() ERC721A("Badlads", "BLADS") { setBaseURI("ipfs://QmPW2mX8XXDrVgF4zD2TWtmMZnpGksQv7F8zNoCUQqCFSp/"); } /*///////////////////////////////////////////////////////// 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{ uint supply = totalSupply(); require(accounts.length == amounts.length,"Arrays Must Match"); for(uint i; i <accounts.length;i++){ if(amounts[i] + supply > maxSupply) revert SoldOut(); _mint(accounts[i],amounts[i]); } } function publicMint(uint256 amount) external payable nonReentrant{ if(!publicSaleStarted) revert SaleNotActive(); if(totalSupply() + amount > maxSupply) revert SoldOut(); if(msg.value < amount * price) revert Underpriced(); _mint(msg.sender,amount); } function presaleMint(uint256 amount, uint256 max, bytes memory signature) external payable nonReentrant { bytes32 hash = keccak256(abi.encodePacked(max,msg.sender)); if( hash.toEthSignedMessageHash().recover(signature) != signer) revert NotWhitelisted(); if(!presaleStarted) revert SaleNotActive(); if(msg.value < amount * price) revert Underpriced(); if(presaleMints[msg.sender] + amount > max) revert MaxMints(); //@notice this line is unecessary. if(totalSupply() + amount > maxSupply) revert SoldOut(); presaleMints[msg.sender]+=amount; _mint(msg.sender,amount); } /*///////////////////////////////////////////////////////// BURN \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/ function burnNft(uint tokenId) external { if(msg.sender != ownerOf(tokenId)) revert NotOwner(); _burn(tokenId); } /*///////////////////////////////////////////////////////// REDEEM \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/ function redeemOne(uint max, bytes memory signature) external { bytes32 hash = keccak256(abi.encodePacked(max,msg.sender)); if(!presaleStarted) revert SaleNotActive(); if( hash.toEthSignedMessageHash().recover(signature) != signer) revert NotWhitelisted(); if(hasRedeemed[msg.sender]) revert AlreadyRedeemed(); hasRedeemed[msg.sender] = true; _mint(msg.sender,1); } /*///////////////////////////////////////////////////////// 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 setPublicStatus(bool status) external onlyOwner{ publicSaleStarted = status; } function setPresaleStatus(bool status) external onlyOwner{ presaleStarted = status; } function setPrice(uint256 _newPrice) external onlyOwner { price = _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, _tokenId.toString(),uriSuffix)) : ""; } /*///////////////////////////////////////////////////////// WITHDRAW \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\*/ function withdraw() public payable onlyOwner { uint256 balance = address(this).balance; (bool r1, ) = payable(owner()).call{value: balance}(""); require(r1); } }
// 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":"AlreadyRedeemed","type":"error"},{"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":"NotOwner","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":"burnNft","outputs":[],"stateMutability":"nonpayable","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":"","type":"address"}],"name":"hasRedeemed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"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":[],"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":"presaleStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","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":"publicSaleStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"max","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"redeemOne","outputs":[],"stateMutability":"nonpayable","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":[{"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":[{"internalType":"bool","name":"status","type":"bool"}],"name":"setPresaleStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"status","type":"bool"}],"name":"setPublicStatus","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":"payable","type":"function"}]
Contract Creation Code
6080604052611770600a55662386f26fc10000600b5573034ff4c93efd09cc00f93ba35d79539d49924134600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600c60166101000a81548160ff0219169083151502179055506040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250600f9080519060200190620000d292919062000397565b50348015620000e057600080fd5b506040518060400160405280600781526020017f4261646c616473000000000000000000000000000000000000000000000000008152506040518060400160405280600581526020017f424c41445300000000000000000000000000000000000000000000000000000081525081600290805190602001906200016592919062000397565b5080600390805190602001906200017e92919062000397565b506200018f620001ef60201b60201c565b6000819055505050620001b7620001ab620001f460201b60201c565b620001fc60201b60201c565b6001600981905550620001e9604051806060016040528060368152602001620052ab60369139620002c260201b60201c565b6200052f565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620002d2620001f460201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620002f86200036d60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000351576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000348906200046e565b60405180910390fd5b80600d90805190602001906200036992919062000397565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b828054620003a590620004a1565b90600052602060002090601f016020900481019282620003c9576000855562000415565b82601f10620003e457805160ff191683800117855562000415565b8280016001018555821562000415579182015b8281111562000414578251825591602001919060010190620003f7565b5b50905062000424919062000428565b5090565b5b808211156200044357600081600090555060010162000429565b5090565b60006200045660208362000490565b9150620004638262000506565b602082019050919050565b60006020820190508181036000830152620004898162000447565b9050919050565b600082825260208201905092915050565b60006002820490506001821680620004ba57607f821691505b60208210811415620004d157620004d0620004d7565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b614d6c806200053f6000396000f3fe60806040526004361061025c5760003560e01c80636f8b44b011610144578063b88d4fde116100b6578063db78b67c1161007a578063db78b67c1461087f578063e985e9c5146108bc578063ec5a2d45146108f9578063f2c4ce1e14610910578063f2fde38b14610939578063ff501885146109625761025c565b8063b88d4fde146107a9578063c26b21f3146107d2578063c87b56dd146107fb578063d5abeb0114610838578063d63ba149146108635761025c565b806391b7f5ed1161010857806391b7f5ed146106ad57806395d89b41146106d6578063a035b1fe14610701578063a22cb4651461072c578063a2e9147714610755578063add5a4fa146107805761025c565b80636f8b44b0146105dc57806370a0823114610605578063715018a6146106425780638895283f146106595780638da5cb5b146106825761025c565b80632db11544116101dd5780635503a0e8116101a15780635503a0e8146104ce57806355f804b3146104f95780636352211e14610522578063672434821461055f5780636c0360eb146105885780636c19e783146105b35761025c565b80632db115441461042b5780633ccfd60b146104475780633d5efefe1461045157806342842e0e1461047a57806351830227146104a35761025c565b8063095ea7b311610224578063095ea7b31461035c57806316ba10e01461038557806318160ddd146103ae5780631c5b64e2146103d957806323b872dd146104025761025c565b806301ffc9a71461026157806304549d6f1461029e57806306fdde03146102c9578063081812fc146102f4578063081c8c4414610331575b600080fd5b34801561026d57600080fd5b5061028860048036038101906102839190613e3e565b61099f565b604051610295919061440a565b60405180910390f35b3480156102aa57600080fd5b506102b3610a31565b6040516102c0919061440a565b60405180910390f35b3480156102d557600080fd5b506102de610a44565b6040516102eb919061446a565b60405180910390f35b34801561030057600080fd5b5061031b60048036038101906103169190613ed1565b610ad6565b60405161032891906143a3565b60405180910390f35b34801561033d57600080fd5b50610346610b52565b604051610353919061446a565b60405180910390f35b34801561036857600080fd5b50610383600480360381019061037e9190613d64565b610be0565b005b34801561039157600080fd5b506103ac60048036038101906103a79190613e90565b610d21565b005b3480156103ba57600080fd5b506103c3610db7565b6040516103d091906145cc565b60405180910390f35b3480156103e557600080fd5b5061040060048036038101906103fb9190613e15565b610dce565b005b34801561040e57600080fd5b5061042960048036038101906104249190613c5e565b610e67565b005b61044560048036038101906104409190613ed1565b61118c565b005b61044f6112ca565b005b34801561045d57600080fd5b5061047860048036038101906104739190613ed1565b6113cc565b005b34801561048657600080fd5b506104a1600480360381019061049c9190613c5e565b611445565b005b3480156104af57600080fd5b506104b8611465565b6040516104c5919061440a565b60405180910390f35b3480156104da57600080fd5b506104e3611478565b6040516104f0919061446a565b60405180910390f35b34801561050557600080fd5b50610520600480360381019061051b9190613e90565b611506565b005b34801561052e57600080fd5b5061054960048036038101906105449190613ed1565b61159c565b60405161055691906143a3565b60405180910390f35b34801561056b57600080fd5b5061058660048036038101906105819190613da0565b6115ae565b005b34801561059457600080fd5b5061059d6117c3565b6040516105aa919061446a565b60405180910390f35b3480156105bf57600080fd5b506105da60048036038101906105d59190613bf9565b611851565b005b3480156105e857600080fd5b5061060360048036038101906105fe9190613ed1565b611981565b005b34801561061157600080fd5b5061062c60048036038101906106279190613bf9565b611a4c565b60405161063991906145cc565b60405180910390f35b34801561064e57600080fd5b50610657611b05565b005b34801561066557600080fd5b50610680600480360381019061067b9190613e15565b611b8d565b005b34801561068e57600080fd5b50610697611c26565b6040516106a491906143a3565b60405180910390f35b3480156106b957600080fd5b506106d460048036038101906106cf9190613ed1565b611c50565b005b3480156106e257600080fd5b506106eb611cd6565b6040516106f8919061446a565b60405180910390f35b34801561070d57600080fd5b50610716611d68565b60405161072391906145cc565b60405180910390f35b34801561073857600080fd5b50610753600480360381019061074e9190613d28565b611d6e565b005b34801561076157600080fd5b5061076a611ee6565b604051610777919061440a565b60405180910390f35b34801561078c57600080fd5b506107a760048036038101906107a29190613d64565b611ef9565b005b3480156107b557600080fd5b506107d060048036038101906107cb9190613cad565b611fd1565b005b3480156107de57600080fd5b506107f960048036038101906107f49190613efa565b612044565b005b34801561080757600080fd5b50610822600480360381019061081d9190613ed1565b612244565b60405161082f919061446a565b60405180910390f35b34801561084457600080fd5b5061084d6123d8565b60405161085a91906145cc565b60405180910390f35b61087d60048036038101906108789190613f4e565b6123de565b005b34801561088b57600080fd5b506108a660048036038101906108a19190613bf9565b6126c7565b6040516108b3919061440a565b60405180910390f35b3480156108c857600080fd5b506108e360048036038101906108de9190613c22565b6126e7565b6040516108f0919061440a565b60405180910390f35b34801561090557600080fd5b5061090e61277b565b005b34801561091c57600080fd5b5061093760048036038101906109329190613e90565b612823565b005b34801561094557600080fd5b50610960600480360381019061095b9190613bf9565b6128b9565b005b34801561096e57600080fd5b5061098960048036038101906109849190613bf9565b6129b1565b60405161099691906145cc565b60405180910390f35b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109fa57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a2a5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b600c60159054906101000a900460ff1681565b606060028054610a53906148b3565b80601f0160208091040260200160405190810160405280929190818152602001828054610a7f906148b3565b8015610acc5780601f10610aa157610100808354040283529160200191610acc565b820191906000526020600020905b815481529060010190602001808311610aaf57829003601f168201915b5050505050905090565b6000610ae1826129c9565b610b17576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600e8054610b5f906148b3565b80601f0160208091040260200160405190810160405280929190818152602001828054610b8b906148b3565b8015610bd85780601f10610bad57610100808354040283529160200191610bd8565b820191906000526020600020905b815481529060010190602001808311610bbb57829003601f168201915b505050505081565b6000610beb8261159c565b90508073ffffffffffffffffffffffffffffffffffffffff16610c0c612a28565b73ffffffffffffffffffffffffffffffffffffffff1614610c6f57610c3881610c33612a28565b6126e7565b610c6e576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b610d29612a30565b73ffffffffffffffffffffffffffffffffffffffff16610d47611c26565b73ffffffffffffffffffffffffffffffffffffffff1614610d9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d949061458c565b60405180910390fd5b80600f9080519060200190610db3929190613989565b5050565b6000610dc1612a38565b6001546000540303905090565b610dd6612a30565b73ffffffffffffffffffffffffffffffffffffffff16610df4611c26565b73ffffffffffffffffffffffffffffffffffffffff1614610e4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e419061458c565b60405180910390fd5b80600c60146101000a81548160ff02191690831515021790555050565b6000610e7282612a3d565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610ed9576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610ee584612b0b565b91509150610efb8187610ef6612a28565b612b2d565b610f4757610f1086610f0b612a28565b6126e7565b610f46576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415610fae576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610fbb8686866001612b71565b8015610fc657600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001019190508190555061109485611070888887612b77565b7c020000000000000000000000000000000000000000000000000000000017612b9f565b600460008681526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416141561111c57600060018501905060006004600083815260200190815260200160002054141561111a576000548114611119578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46111848686866001612bca565b505050505050565b600260095414156111d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111c9906145ac565b60405180910390fd5b6002600981905550600c60149054906101000a900460ff16611220576040517fb7b2409700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600a548161122c610db7565b61123691906146d1565b111561126e576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600b548161127c9190614758565b3410156112b5576040517fd0afc53400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6112bf3382612bd0565b600160098190555050565b6112d2612a30565b73ffffffffffffffffffffffffffffffffffffffff166112f0611c26565b73ffffffffffffffffffffffffffffffffffffffff1614611346576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133d9061458c565b60405180910390fd5b60004790506000611355611c26565b73ffffffffffffffffffffffffffffffffffffffff168260405161137890614362565b60006040518083038185875af1925050503d80600081146113b5576040519150601f19603f3d011682016040523d82523d6000602084013e6113ba565b606091505b50509050806113c857600080fd5b5050565b6113d58161159c565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611439576040517f30cd747100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61144281612da4565b50565b61146083838360405180602001604052806000815250611fd1565b505050565b600c60169054906101000a900460ff1681565b600f8054611485906148b3565b80601f01602080910402602001604051908101604052809291908181526020018280546114b1906148b3565b80156114fe5780601f106114d3576101008083540402835291602001916114fe565b820191906000526020600020905b8154815290600101906020018083116114e157829003601f168201915b505050505081565b61150e612a30565b73ffffffffffffffffffffffffffffffffffffffff1661152c611c26565b73ffffffffffffffffffffffffffffffffffffffff1614611582576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115799061458c565b60405180910390fd5b80600d9080519060200190611598929190613989565b5050565b60006115a782612a3d565b9050919050565b6115b6612a30565b73ffffffffffffffffffffffffffffffffffffffff166115d4611c26565b73ffffffffffffffffffffffffffffffffffffffff161461162a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116219061458c565b60405180910390fd5b6000611634610db7565b905082829050858590501461167e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116759061450c565b60405180910390fd5b60005b858590508110156117bb57600a54828585848181106116c9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201356116da91906146d1565b1115611712576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6117a886868381811061174e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906117639190613bf9565b85858481811061179c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135612bd0565b80806117b390614916565b915050611681565b505050505050565b600d80546117d0906148b3565b80601f01602080910402602001604051908101604052809291908181526020018280546117fc906148b3565b80156118495780601f1061181e57610100808354040283529160200191611849565b820191906000526020600020905b81548152906001019060200180831161182c57829003601f168201915b505050505081565b611859612a30565b73ffffffffffffffffffffffffffffffffffffffff16611877611c26565b73ffffffffffffffffffffffffffffffffffffffff16146118cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118c49061458c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561193d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119349061454c565b60405180910390fd5b80600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611989612a30565b73ffffffffffffffffffffffffffffffffffffffff166119a7611c26565b73ffffffffffffffffffffffffffffffffffffffff16146119fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119f49061458c565b60405180910390fd5b600a54811115611a42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a39906144cc565b60405180910390fd5b80600a8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ab4576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611b0d612a30565b73ffffffffffffffffffffffffffffffffffffffff16611b2b611c26565b73ffffffffffffffffffffffffffffffffffffffff1614611b81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b789061458c565b60405180910390fd5b611b8b6000612db2565b565b611b95612a30565b73ffffffffffffffffffffffffffffffffffffffff16611bb3611c26565b73ffffffffffffffffffffffffffffffffffffffff1614611c09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c009061458c565b60405180910390fd5b80600c60156101000a81548160ff02191690831515021790555050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611c58612a30565b73ffffffffffffffffffffffffffffffffffffffff16611c76611c26565b73ffffffffffffffffffffffffffffffffffffffff1614611ccc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cc39061458c565b60405180910390fd5b80600b8190555050565b606060038054611ce5906148b3565b80601f0160208091040260200160405190810160405280929190818152602001828054611d11906148b3565b8015611d5e5780601f10611d3357610100808354040283529160200191611d5e565b820191906000526020600020905b815481529060010190602001808311611d4157829003601f168201915b5050505050905090565b600b5481565b611d76612a28565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ddb576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611de8612a28565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611e95612a28565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611eda919061440a565b60405180910390a35050565b600c60149054906101000a900460ff1681565b611f01612a30565b73ffffffffffffffffffffffffffffffffffffffff16611f1f611c26565b73ffffffffffffffffffffffffffffffffffffffff1614611f75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6c9061458c565b60405180910390fd5b600a54611f80610db7565b82611f8b91906146d1565b1115611fc3576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611fcd8282612bd0565b5050565b611fdc848484610e67565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461203e5761200784848484612e78565b61203d576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b60008233604051602001612059929190614377565b604051602081830303815290604052805190602001209050600c60159054906101000a900460ff166120b7576040517fb7b2409700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661210b836120fd84612fd8565b61300890919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff1614612158576040517f584a793800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156121dc576040517f1b4e0c3c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061223f336001612bd0565b505050565b606060001515600c60169054906101000a900460ff16151514156122f457600e805461226f906148b3565b80601f016020809104026020016040519081016040528092919081815260200182805461229b906148b3565b80156122e85780601f106122bd576101008083540402835291602001916122e8565b820191906000526020600020905b8154815290600101906020018083116122cb57829003601f168201915b505050505090506123d3565b6000600d8054612303906148b3565b80601f016020809104026020016040519081016040528092919081815260200182805461232f906148b3565b801561237c5780601f106123515761010080835404028352916020019161237c565b820191906000526020600020905b81548152906001019060200180831161235f57829003601f168201915b5050505050905060008151116123a157604051806020016040528060008152506123cf565b806123ab8461302f565b600f6040516020016123bf9392919061430b565b6040516020818303038152906040525b9150505b919050565b600a5481565b60026009541415612424576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161241b906145ac565b60405180910390fd5b600260098190555060008233604051602001612441929190614377565b604051602081830303815290604052805190602001209050600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166124ad8361249f84612fd8565b61300890919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff16146124fa576040517f584a793800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c60159054906101000a900460ff16612540576040517fb7b2409700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600b548461254e9190614758565b341015612587576040517fd0afc53400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8284601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546125d391906146d1565b111561260b576040517fc3b708de00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600a5484612617610db7565b61262191906146d1565b1115612659576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b83601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126a891906146d1565b925050819055506126b93385612bd0565b506001600981905550505050565b60116020528060005260406000206000915054906101000a900460ff1681565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612783612a30565b73ffffffffffffffffffffffffffffffffffffffff166127a1611c26565b73ffffffffffffffffffffffffffffffffffffffff16146127f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127ee9061458c565b60405180910390fd5b600c60169054906101000a900460ff1615600c60166101000a81548160ff021916908315150217905550565b61282b612a30565b73ffffffffffffffffffffffffffffffffffffffff16612849611c26565b73ffffffffffffffffffffffffffffffffffffffff161461289f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128969061458c565b60405180910390fd5b80600e90805190602001906128b5929190613989565b5050565b6128c1612a30565b73ffffffffffffffffffffffffffffffffffffffff166128df611c26565b73ffffffffffffffffffffffffffffffffffffffff1614612935576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161292c9061458c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156129a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161299c906144ec565b60405180910390fd5b6129ae81612db2565b50565b60106020528060005260406000206000915090505481565b6000816129d4612a38565b111580156129e3575060005482105b8015612a21575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b600033905090565b600090565b60008082905080612a4c612a38565b11612ad457600054811015612ad35760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415612ad1575b6000811415612ac7576004600083600190039350838152602001908152602001600020549050612a9c565b8092505050612b06565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000806000600690508360005280602052604060002092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8612b8e8686846131dc565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612c3d576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000821415612c78576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612c856000848385612b71565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550612cfc83612ced6000866000612b77565b612cf6856131e5565b17612b9f565b60046000838152602001908152602001600020819055506000819050600083830190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210612d2057806000819055505050612d9f6000848385612bca565b505050565b612daf8160006131f5565b50565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612e9e612a28565b8786866040518563ffffffff1660e01b8152600401612ec094939291906143be565b602060405180830381600087803b158015612eda57600080fd5b505af1925050508015612f0b57506040513d601f19601f82011682018060405250810190612f089190613e67565b60015b612f85573d8060008114612f3b576040519150601f19603f3d011682016040523d82523d6000602084013e612f40565b606091505b50600081511415612f7d576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b600081604051602001612feb919061433c565b604051602081830303815290604052805190602001209050919050565b60008060006130178585613449565b91509150613024816134cc565b819250505092915050565b60606000821415613077576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506131d7565b600082905060005b600082146130a957808061309290614916565b915050600a826130a29190614727565b915061307f565b60008167ffffffffffffffff8111156130eb577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561311d5781602001600182028036833780820191505090505b5090505b600085146131d05760018261313691906147b2565b9150600a856131459190614997565b603061315191906146d1565b60f81b81838151811061318d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856131c99190614727565b9450613121565b8093505050505b919050565b60009392505050565b60006001821460e11b9050919050565b600061320083612a3d565b9050600081905060008061321386612b0b565b91509150841561327c5761322f818461322a612a28565b612b2d565b61327b576132448361323f612a28565b6126e7565b61327a576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5b61328a836000886001612b71565b801561329557600082555b600160806001901b03600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555061333d836132fa85600088612b77565b7c02000000000000000000000000000000000000000000000000000000007c01000000000000000000000000000000000000000000000000000000001717612b9f565b600460008881526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000851614156133c55760006001870190506000600460008381526020019081526020016000205414156133c35760005481146133c2578460046000838152602001908152602001600020819055505b5b505b85600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461342f836000886001612bca565b600160008154809291906001019190505550505050505050565b60008060418351141561348b5760008060006020860151925060408601519150606086015160001a905061347f8782858561381d565b945094505050506134c5565b6040835114156134bc5760008060208501519150604085015190506134b186838361392a565b9350935050506134c5565b60006002915091505b9250929050565b60006004811115613506577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b81600481111561353f577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b141561354a5761381a565b60016004811115613584577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156135bd577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156135fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135f59061448c565b60405180910390fd5b60026004811115613638577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115613671577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156136b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136a9906144ac565b60405180910390fd5b600360048111156136ec577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115613725577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415613766576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161375d9061452c565b60405180910390fd5b60048081111561379f577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156137d8577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415613819576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138109061456c565b60405180910390fd5b5b50565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115613858576000600391509150613921565b601b8560ff16141580156138705750601c8560ff1614155b15613882576000600491509150613921565b6000600187878787604051600081526020016040526040516138a79493929190614425565b6020604051602081039080840390855afa1580156138c9573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561391857600060019250925050613921565b80600092509250505b94509492505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c61396d91906146d1565b905061397b8782888561381d565b935093505050935093915050565b828054613995906148b3565b90600052602060002090601f0160209004810192826139b757600085556139fe565b82601f106139d057805160ff19168380011785556139fe565b828001600101855582156139fe579182015b828111156139fd5782518255916020019190600101906139e2565b5b509050613a0b9190613a0f565b5090565b5b80821115613a28576000816000905550600101613a10565b5090565b6000613a3f613a3a8461460c565b6145e7565b905082815260208101848484011115613a5757600080fd5b613a62848285614871565b509392505050565b6000613a7d613a788461463d565b6145e7565b905082815260208101848484011115613a9557600080fd5b613aa0848285614871565b509392505050565b600081359050613ab781614cda565b92915050565b60008083601f840112613acf57600080fd5b8235905067ffffffffffffffff811115613ae857600080fd5b602083019150836020820283011115613b0057600080fd5b9250929050565b60008083601f840112613b1957600080fd5b8235905067ffffffffffffffff811115613b3257600080fd5b602083019150836020820283011115613b4a57600080fd5b9250929050565b600081359050613b6081614cf1565b92915050565b600081359050613b7581614d08565b92915050565b600081519050613b8a81614d08565b92915050565b600082601f830112613ba157600080fd5b8135613bb1848260208601613a2c565b91505092915050565b600082601f830112613bcb57600080fd5b8135613bdb848260208601613a6a565b91505092915050565b600081359050613bf381614d1f565b92915050565b600060208284031215613c0b57600080fd5b6000613c1984828501613aa8565b91505092915050565b60008060408385031215613c3557600080fd5b6000613c4385828601613aa8565b9250506020613c5485828601613aa8565b9150509250929050565b600080600060608486031215613c7357600080fd5b6000613c8186828701613aa8565b9350506020613c9286828701613aa8565b9250506040613ca386828701613be4565b9150509250925092565b60008060008060808587031215613cc357600080fd5b6000613cd187828801613aa8565b9450506020613ce287828801613aa8565b9350506040613cf387828801613be4565b925050606085013567ffffffffffffffff811115613d1057600080fd5b613d1c87828801613b90565b91505092959194509250565b60008060408385031215613d3b57600080fd5b6000613d4985828601613aa8565b9250506020613d5a85828601613b51565b9150509250929050565b60008060408385031215613d7757600080fd5b6000613d8585828601613aa8565b9250506020613d9685828601613be4565b9150509250929050565b60008060008060408587031215613db657600080fd5b600085013567ffffffffffffffff811115613dd057600080fd5b613ddc87828801613abd565b9450945050602085013567ffffffffffffffff811115613dfb57600080fd5b613e0787828801613b07565b925092505092959194509250565b600060208284031215613e2757600080fd5b6000613e3584828501613b51565b91505092915050565b600060208284031215613e5057600080fd5b6000613e5e84828501613b66565b91505092915050565b600060208284031215613e7957600080fd5b6000613e8784828501613b7b565b91505092915050565b600060208284031215613ea257600080fd5b600082013567ffffffffffffffff811115613ebc57600080fd5b613ec884828501613bba565b91505092915050565b600060208284031215613ee357600080fd5b6000613ef184828501613be4565b91505092915050565b60008060408385031215613f0d57600080fd5b6000613f1b85828601613be4565b925050602083013567ffffffffffffffff811115613f3857600080fd5b613f4485828601613b90565b9150509250929050565b600080600060608486031215613f6357600080fd5b6000613f7186828701613be4565b9350506020613f8286828701613be4565b925050604084013567ffffffffffffffff811115613f9f57600080fd5b613fab86828701613b90565b9150509250925092565b613fbe816147e6565b82525050565b613fd5613fd0826147e6565b61495f565b82525050565b613fe4816147f8565b82525050565b613ff381614804565b82525050565b61400a61400582614804565b614971565b82525050565b600061401b82614683565b6140258185614699565b9350614035818560208601614880565b61403e81614a84565b840191505092915050565b60006140548261468e565b61405e81856146b5565b935061406e818560208601614880565b61407781614a84565b840191505092915050565b600061408d8261468e565b61409781856146c6565b93506140a7818560208601614880565b80840191505092915050565b600081546140c0816148b3565b6140ca81866146c6565b945060018216600081146140e557600181146140f657614129565b60ff19831686528186019350614129565b6140ff8561466e565b60005b8381101561412157815481890152600182019150602081019050614102565b838801955050505b50505092915050565b600061413f6018836146b5565b915061414a82614aa2565b602082019050919050565b6000614162601f836146b5565b915061416d82614acb565b602082019050919050565b6000614185601c836146c6565b915061419082614af4565b601c82019050919050565b60006141a86015836146b5565b91506141b382614b1d565b602082019050919050565b60006141cb6026836146b5565b91506141d682614b46565b604082019050919050565b60006141ee6011836146b5565b91506141f982614b95565b602082019050919050565b60006142116022836146b5565b915061421c82614bbe565b604082019050919050565b60006142346013836146b5565b915061423f82614c0d565b602082019050919050565b60006142576022836146b5565b915061426282614c36565b604082019050919050565b600061427a6020836146b5565b915061428582614c85565b602082019050919050565b600061429d6000836146aa565b91506142a882614cae565b600082019050919050565b60006142c0601f836146b5565b91506142cb82614cb1565b602082019050919050565b6142df8161485a565b82525050565b6142f66142f18261485a565b61498d565b82525050565b61430581614864565b82525050565b60006143178286614082565b91506143238285614082565b915061432f82846140b3565b9150819050949350505050565b600061434782614178565b91506143538284613ff9565b60208201915081905092915050565b600061436d82614290565b9150819050919050565b600061438382856142e5565b6020820191506143938284613fc4565b6014820191508190509392505050565b60006020820190506143b86000830184613fb5565b92915050565b60006080820190506143d36000830187613fb5565b6143e06020830186613fb5565b6143ed60408301856142d6565b81810360608301526143ff8184614010565b905095945050505050565b600060208201905061441f6000830184613fdb565b92915050565b600060808201905061443a6000830187613fea565b61444760208301866142fc565b6144546040830185613fea565b6144616060830184613fea565b95945050505050565b600060208201905081810360008301526144848184614049565b905092915050565b600060208201905081810360008301526144a581614132565b9050919050565b600060208201905081810360008301526144c581614155565b9050919050565b600060208201905081810360008301526144e58161419b565b9050919050565b60006020820190508181036000830152614505816141be565b9050919050565b60006020820190508181036000830152614525816141e1565b9050919050565b6000602082019050818103600083015261454581614204565b9050919050565b6000602082019050818103600083015261456581614227565b9050919050565b600060208201905081810360008301526145858161424a565b9050919050565b600060208201905081810360008301526145a58161426d565b9050919050565b600060208201905081810360008301526145c5816142b3565b9050919050565b60006020820190506145e160008301846142d6565b92915050565b60006145f1614602565b90506145fd82826148e5565b919050565b6000604051905090565b600067ffffffffffffffff82111561462757614626614a55565b5b61463082614a84565b9050602081019050919050565b600067ffffffffffffffff82111561465857614657614a55565b5b61466182614a84565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006146dc8261485a565b91506146e78361485a565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561471c5761471b6149c8565b5b828201905092915050565b60006147328261485a565b915061473d8361485a565b92508261474d5761474c6149f7565b5b828204905092915050565b60006147638261485a565b915061476e8361485a565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156147a7576147a66149c8565b5b828202905092915050565b60006147bd8261485a565b91506147c88361485a565b9250828210156147db576147da6149c8565b5b828203905092915050565b60006147f18261483a565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b8381101561489e578082015181840152602081019050614883565b838111156148ad576000848401525b50505050565b600060028204905060018216806148cb57607f821691505b602082108114156148df576148de614a26565b5b50919050565b6148ee82614a84565b810181811067ffffffffffffffff8211171561490d5761490c614a55565b5b80604052505050565b60006149218261485a565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614954576149536149c8565b5b600182019050919050565b600061496a8261497b565b9050919050565b6000819050919050565b600061498682614a95565b9050919050565b6000819050919050565b60006149a28261485a565b91506149ad8361485a565b9250826149bd576149bc6149f7565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b7f43616e277420496e63726561736520537570706c790000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f417272617973204d757374204d61746368000000000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f43414e2754205055542030204144445245535300000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b50565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b614ce3816147e6565b8114614cee57600080fd5b50565b614cfa816147f8565b8114614d0557600080fd5b50565b614d118161480e565b8114614d1c57600080fd5b50565b614d288161485a565b8114614d3357600080fd5b5056fea264697066735822122052a9e37c46b48f6c7c4cffe4dd9aa54f29509b7219040d9946146d6aac84785e64736f6c63430008040033697066733a2f2f516d5057326d583858584472566746347a44325457746d4d5a6e70476b7351763746387a4e6f43555171434653702f
Deployed Bytecode
0x60806040526004361061025c5760003560e01c80636f8b44b011610144578063b88d4fde116100b6578063db78b67c1161007a578063db78b67c1461087f578063e985e9c5146108bc578063ec5a2d45146108f9578063f2c4ce1e14610910578063f2fde38b14610939578063ff501885146109625761025c565b8063b88d4fde146107a9578063c26b21f3146107d2578063c87b56dd146107fb578063d5abeb0114610838578063d63ba149146108635761025c565b806391b7f5ed1161010857806391b7f5ed146106ad57806395d89b41146106d6578063a035b1fe14610701578063a22cb4651461072c578063a2e9147714610755578063add5a4fa146107805761025c565b80636f8b44b0146105dc57806370a0823114610605578063715018a6146106425780638895283f146106595780638da5cb5b146106825761025c565b80632db11544116101dd5780635503a0e8116101a15780635503a0e8146104ce57806355f804b3146104f95780636352211e14610522578063672434821461055f5780636c0360eb146105885780636c19e783146105b35761025c565b80632db115441461042b5780633ccfd60b146104475780633d5efefe1461045157806342842e0e1461047a57806351830227146104a35761025c565b8063095ea7b311610224578063095ea7b31461035c57806316ba10e01461038557806318160ddd146103ae5780631c5b64e2146103d957806323b872dd146104025761025c565b806301ffc9a71461026157806304549d6f1461029e57806306fdde03146102c9578063081812fc146102f4578063081c8c4414610331575b600080fd5b34801561026d57600080fd5b5061028860048036038101906102839190613e3e565b61099f565b604051610295919061440a565b60405180910390f35b3480156102aa57600080fd5b506102b3610a31565b6040516102c0919061440a565b60405180910390f35b3480156102d557600080fd5b506102de610a44565b6040516102eb919061446a565b60405180910390f35b34801561030057600080fd5b5061031b60048036038101906103169190613ed1565b610ad6565b60405161032891906143a3565b60405180910390f35b34801561033d57600080fd5b50610346610b52565b604051610353919061446a565b60405180910390f35b34801561036857600080fd5b50610383600480360381019061037e9190613d64565b610be0565b005b34801561039157600080fd5b506103ac60048036038101906103a79190613e90565b610d21565b005b3480156103ba57600080fd5b506103c3610db7565b6040516103d091906145cc565b60405180910390f35b3480156103e557600080fd5b5061040060048036038101906103fb9190613e15565b610dce565b005b34801561040e57600080fd5b5061042960048036038101906104249190613c5e565b610e67565b005b61044560048036038101906104409190613ed1565b61118c565b005b61044f6112ca565b005b34801561045d57600080fd5b5061047860048036038101906104739190613ed1565b6113cc565b005b34801561048657600080fd5b506104a1600480360381019061049c9190613c5e565b611445565b005b3480156104af57600080fd5b506104b8611465565b6040516104c5919061440a565b60405180910390f35b3480156104da57600080fd5b506104e3611478565b6040516104f0919061446a565b60405180910390f35b34801561050557600080fd5b50610520600480360381019061051b9190613e90565b611506565b005b34801561052e57600080fd5b5061054960048036038101906105449190613ed1565b61159c565b60405161055691906143a3565b60405180910390f35b34801561056b57600080fd5b5061058660048036038101906105819190613da0565b6115ae565b005b34801561059457600080fd5b5061059d6117c3565b6040516105aa919061446a565b60405180910390f35b3480156105bf57600080fd5b506105da60048036038101906105d59190613bf9565b611851565b005b3480156105e857600080fd5b5061060360048036038101906105fe9190613ed1565b611981565b005b34801561061157600080fd5b5061062c60048036038101906106279190613bf9565b611a4c565b60405161063991906145cc565b60405180910390f35b34801561064e57600080fd5b50610657611b05565b005b34801561066557600080fd5b50610680600480360381019061067b9190613e15565b611b8d565b005b34801561068e57600080fd5b50610697611c26565b6040516106a491906143a3565b60405180910390f35b3480156106b957600080fd5b506106d460048036038101906106cf9190613ed1565b611c50565b005b3480156106e257600080fd5b506106eb611cd6565b6040516106f8919061446a565b60405180910390f35b34801561070d57600080fd5b50610716611d68565b60405161072391906145cc565b60405180910390f35b34801561073857600080fd5b50610753600480360381019061074e9190613d28565b611d6e565b005b34801561076157600080fd5b5061076a611ee6565b604051610777919061440a565b60405180910390f35b34801561078c57600080fd5b506107a760048036038101906107a29190613d64565b611ef9565b005b3480156107b557600080fd5b506107d060048036038101906107cb9190613cad565b611fd1565b005b3480156107de57600080fd5b506107f960048036038101906107f49190613efa565b612044565b005b34801561080757600080fd5b50610822600480360381019061081d9190613ed1565b612244565b60405161082f919061446a565b60405180910390f35b34801561084457600080fd5b5061084d6123d8565b60405161085a91906145cc565b60405180910390f35b61087d60048036038101906108789190613f4e565b6123de565b005b34801561088b57600080fd5b506108a660048036038101906108a19190613bf9565b6126c7565b6040516108b3919061440a565b60405180910390f35b3480156108c857600080fd5b506108e360048036038101906108de9190613c22565b6126e7565b6040516108f0919061440a565b60405180910390f35b34801561090557600080fd5b5061090e61277b565b005b34801561091c57600080fd5b5061093760048036038101906109329190613e90565b612823565b005b34801561094557600080fd5b50610960600480360381019061095b9190613bf9565b6128b9565b005b34801561096e57600080fd5b5061098960048036038101906109849190613bf9565b6129b1565b60405161099691906145cc565b60405180910390f35b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109fa57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a2a5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b600c60159054906101000a900460ff1681565b606060028054610a53906148b3565b80601f0160208091040260200160405190810160405280929190818152602001828054610a7f906148b3565b8015610acc5780601f10610aa157610100808354040283529160200191610acc565b820191906000526020600020905b815481529060010190602001808311610aaf57829003601f168201915b5050505050905090565b6000610ae1826129c9565b610b17576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600e8054610b5f906148b3565b80601f0160208091040260200160405190810160405280929190818152602001828054610b8b906148b3565b8015610bd85780601f10610bad57610100808354040283529160200191610bd8565b820191906000526020600020905b815481529060010190602001808311610bbb57829003601f168201915b505050505081565b6000610beb8261159c565b90508073ffffffffffffffffffffffffffffffffffffffff16610c0c612a28565b73ffffffffffffffffffffffffffffffffffffffff1614610c6f57610c3881610c33612a28565b6126e7565b610c6e576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b610d29612a30565b73ffffffffffffffffffffffffffffffffffffffff16610d47611c26565b73ffffffffffffffffffffffffffffffffffffffff1614610d9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d949061458c565b60405180910390fd5b80600f9080519060200190610db3929190613989565b5050565b6000610dc1612a38565b6001546000540303905090565b610dd6612a30565b73ffffffffffffffffffffffffffffffffffffffff16610df4611c26565b73ffffffffffffffffffffffffffffffffffffffff1614610e4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e419061458c565b60405180910390fd5b80600c60146101000a81548160ff02191690831515021790555050565b6000610e7282612a3d565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610ed9576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610ee584612b0b565b91509150610efb8187610ef6612a28565b612b2d565b610f4757610f1086610f0b612a28565b6126e7565b610f46576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415610fae576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610fbb8686866001612b71565b8015610fc657600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001019190508190555061109485611070888887612b77565b7c020000000000000000000000000000000000000000000000000000000017612b9f565b600460008681526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416141561111c57600060018501905060006004600083815260200190815260200160002054141561111a576000548114611119578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46111848686866001612bca565b505050505050565b600260095414156111d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111c9906145ac565b60405180910390fd5b6002600981905550600c60149054906101000a900460ff16611220576040517fb7b2409700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600a548161122c610db7565b61123691906146d1565b111561126e576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600b548161127c9190614758565b3410156112b5576040517fd0afc53400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6112bf3382612bd0565b600160098190555050565b6112d2612a30565b73ffffffffffffffffffffffffffffffffffffffff166112f0611c26565b73ffffffffffffffffffffffffffffffffffffffff1614611346576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133d9061458c565b60405180910390fd5b60004790506000611355611c26565b73ffffffffffffffffffffffffffffffffffffffff168260405161137890614362565b60006040518083038185875af1925050503d80600081146113b5576040519150601f19603f3d011682016040523d82523d6000602084013e6113ba565b606091505b50509050806113c857600080fd5b5050565b6113d58161159c565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611439576040517f30cd747100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61144281612da4565b50565b61146083838360405180602001604052806000815250611fd1565b505050565b600c60169054906101000a900460ff1681565b600f8054611485906148b3565b80601f01602080910402602001604051908101604052809291908181526020018280546114b1906148b3565b80156114fe5780601f106114d3576101008083540402835291602001916114fe565b820191906000526020600020905b8154815290600101906020018083116114e157829003601f168201915b505050505081565b61150e612a30565b73ffffffffffffffffffffffffffffffffffffffff1661152c611c26565b73ffffffffffffffffffffffffffffffffffffffff1614611582576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115799061458c565b60405180910390fd5b80600d9080519060200190611598929190613989565b5050565b60006115a782612a3d565b9050919050565b6115b6612a30565b73ffffffffffffffffffffffffffffffffffffffff166115d4611c26565b73ffffffffffffffffffffffffffffffffffffffff161461162a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116219061458c565b60405180910390fd5b6000611634610db7565b905082829050858590501461167e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116759061450c565b60405180910390fd5b60005b858590508110156117bb57600a54828585848181106116c9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201356116da91906146d1565b1115611712576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6117a886868381811061174e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906117639190613bf9565b85858481811061179c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020135612bd0565b80806117b390614916565b915050611681565b505050505050565b600d80546117d0906148b3565b80601f01602080910402602001604051908101604052809291908181526020018280546117fc906148b3565b80156118495780601f1061181e57610100808354040283529160200191611849565b820191906000526020600020905b81548152906001019060200180831161182c57829003601f168201915b505050505081565b611859612a30565b73ffffffffffffffffffffffffffffffffffffffff16611877611c26565b73ffffffffffffffffffffffffffffffffffffffff16146118cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118c49061458c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561193d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119349061454c565b60405180910390fd5b80600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611989612a30565b73ffffffffffffffffffffffffffffffffffffffff166119a7611c26565b73ffffffffffffffffffffffffffffffffffffffff16146119fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119f49061458c565b60405180910390fd5b600a54811115611a42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a39906144cc565b60405180910390fd5b80600a8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ab4576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611b0d612a30565b73ffffffffffffffffffffffffffffffffffffffff16611b2b611c26565b73ffffffffffffffffffffffffffffffffffffffff1614611b81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b789061458c565b60405180910390fd5b611b8b6000612db2565b565b611b95612a30565b73ffffffffffffffffffffffffffffffffffffffff16611bb3611c26565b73ffffffffffffffffffffffffffffffffffffffff1614611c09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c009061458c565b60405180910390fd5b80600c60156101000a81548160ff02191690831515021790555050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611c58612a30565b73ffffffffffffffffffffffffffffffffffffffff16611c76611c26565b73ffffffffffffffffffffffffffffffffffffffff1614611ccc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cc39061458c565b60405180910390fd5b80600b8190555050565b606060038054611ce5906148b3565b80601f0160208091040260200160405190810160405280929190818152602001828054611d11906148b3565b8015611d5e5780601f10611d3357610100808354040283529160200191611d5e565b820191906000526020600020905b815481529060010190602001808311611d4157829003601f168201915b5050505050905090565b600b5481565b611d76612a28565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611ddb576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611de8612a28565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611e95612a28565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611eda919061440a565b60405180910390a35050565b600c60149054906101000a900460ff1681565b611f01612a30565b73ffffffffffffffffffffffffffffffffffffffff16611f1f611c26565b73ffffffffffffffffffffffffffffffffffffffff1614611f75576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6c9061458c565b60405180910390fd5b600a54611f80610db7565b82611f8b91906146d1565b1115611fc3576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611fcd8282612bd0565b5050565b611fdc848484610e67565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461203e5761200784848484612e78565b61203d576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b60008233604051602001612059929190614377565b604051602081830303815290604052805190602001209050600c60159054906101000a900460ff166120b7576040517fb7b2409700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661210b836120fd84612fd8565b61300890919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff1614612158576040517f584a793800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16156121dc576040517f1b4e0c3c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555061223f336001612bd0565b505050565b606060001515600c60169054906101000a900460ff16151514156122f457600e805461226f906148b3565b80601f016020809104026020016040519081016040528092919081815260200182805461229b906148b3565b80156122e85780601f106122bd576101008083540402835291602001916122e8565b820191906000526020600020905b8154815290600101906020018083116122cb57829003601f168201915b505050505090506123d3565b6000600d8054612303906148b3565b80601f016020809104026020016040519081016040528092919081815260200182805461232f906148b3565b801561237c5780601f106123515761010080835404028352916020019161237c565b820191906000526020600020905b81548152906001019060200180831161235f57829003601f168201915b5050505050905060008151116123a157604051806020016040528060008152506123cf565b806123ab8461302f565b600f6040516020016123bf9392919061430b565b6040516020818303038152906040525b9150505b919050565b600a5481565b60026009541415612424576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161241b906145ac565b60405180910390fd5b600260098190555060008233604051602001612441929190614377565b604051602081830303815290604052805190602001209050600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166124ad8361249f84612fd8565b61300890919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff16146124fa576040517f584a793800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600c60159054906101000a900460ff16612540576040517fb7b2409700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600b548461254e9190614758565b341015612587576040517fd0afc53400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8284601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546125d391906146d1565b111561260b576040517fc3b708de00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600a5484612617610db7565b61262191906146d1565b1115612659576040517f52df9fe500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b83601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126a891906146d1565b925050819055506126b93385612bd0565b506001600981905550505050565b60116020528060005260406000206000915054906101000a900460ff1681565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612783612a30565b73ffffffffffffffffffffffffffffffffffffffff166127a1611c26565b73ffffffffffffffffffffffffffffffffffffffff16146127f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127ee9061458c565b60405180910390fd5b600c60169054906101000a900460ff1615600c60166101000a81548160ff021916908315150217905550565b61282b612a30565b73ffffffffffffffffffffffffffffffffffffffff16612849611c26565b73ffffffffffffffffffffffffffffffffffffffff161461289f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128969061458c565b60405180910390fd5b80600e90805190602001906128b5929190613989565b5050565b6128c1612a30565b73ffffffffffffffffffffffffffffffffffffffff166128df611c26565b73ffffffffffffffffffffffffffffffffffffffff1614612935576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161292c9061458c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156129a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161299c906144ec565b60405180910390fd5b6129ae81612db2565b50565b60106020528060005260406000206000915090505481565b6000816129d4612a38565b111580156129e3575060005482105b8015612a21575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b600033905090565b600090565b60008082905080612a4c612a38565b11612ad457600054811015612ad35760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415612ad1575b6000811415612ac7576004600083600190039350838152602001908152602001600020549050612a9c565b8092505050612b06565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000806000600690508360005280602052604060002092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8612b8e8686846131dc565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612c3d576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000821415612c78576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612c856000848385612b71565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550612cfc83612ced6000866000612b77565b612cf6856131e5565b17612b9f565b60046000838152602001908152602001600020819055506000819050600083830190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210612d2057806000819055505050612d9f6000848385612bca565b505050565b612daf8160006131f5565b50565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612e9e612a28565b8786866040518563ffffffff1660e01b8152600401612ec094939291906143be565b602060405180830381600087803b158015612eda57600080fd5b505af1925050508015612f0b57506040513d601f19601f82011682018060405250810190612f089190613e67565b60015b612f85573d8060008114612f3b576040519150601f19603f3d011682016040523d82523d6000602084013e612f40565b606091505b50600081511415612f7d576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b600081604051602001612feb919061433c565b604051602081830303815290604052805190602001209050919050565b60008060006130178585613449565b91509150613024816134cc565b819250505092915050565b60606000821415613077576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506131d7565b600082905060005b600082146130a957808061309290614916565b915050600a826130a29190614727565b915061307f565b60008167ffffffffffffffff8111156130eb577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561311d5781602001600182028036833780820191505090505b5090505b600085146131d05760018261313691906147b2565b9150600a856131459190614997565b603061315191906146d1565b60f81b81838151811061318d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856131c99190614727565b9450613121565b8093505050505b919050565b60009392505050565b60006001821460e11b9050919050565b600061320083612a3d565b9050600081905060008061321386612b0b565b91509150841561327c5761322f818461322a612a28565b612b2d565b61327b576132448361323f612a28565b6126e7565b61327a576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5b61328a836000886001612b71565b801561329557600082555b600160806001901b03600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555061333d836132fa85600088612b77565b7c02000000000000000000000000000000000000000000000000000000007c01000000000000000000000000000000000000000000000000000000001717612b9f565b600460008881526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000851614156133c55760006001870190506000600460008381526020019081526020016000205414156133c35760005481146133c2578460046000838152602001908152602001600020819055505b5b505b85600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461342f836000886001612bca565b600160008154809291906001019190505550505050505050565b60008060418351141561348b5760008060006020860151925060408601519150606086015160001a905061347f8782858561381d565b945094505050506134c5565b6040835114156134bc5760008060208501519150604085015190506134b186838361392a565b9350935050506134c5565b60006002915091505b9250929050565b60006004811115613506577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b81600481111561353f577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b141561354a5761381a565b60016004811115613584577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156135bd577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156135fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135f59061448c565b60405180910390fd5b60026004811115613638577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115613671577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156136b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136a9906144ac565b60405180910390fd5b600360048111156136ec577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115613725577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415613766576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161375d9061452c565b60405180910390fd5b60048081111561379f577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156137d8577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415613819576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138109061456c565b60405180910390fd5b5b50565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115613858576000600391509150613921565b601b8560ff16141580156138705750601c8560ff1614155b15613882576000600491509150613921565b6000600187878787604051600081526020016040526040516138a79493929190614425565b6020604051602081039080840390855afa1580156138c9573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561391857600060019250925050613921565b80600092509250505b94509492505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c61396d91906146d1565b905061397b8782888561381d565b935093505050935093915050565b828054613995906148b3565b90600052602060002090601f0160209004810192826139b757600085556139fe565b82601f106139d057805160ff19168380011785556139fe565b828001600101855582156139fe579182015b828111156139fd5782518255916020019190600101906139e2565b5b509050613a0b9190613a0f565b5090565b5b80821115613a28576000816000905550600101613a10565b5090565b6000613a3f613a3a8461460c565b6145e7565b905082815260208101848484011115613a5757600080fd5b613a62848285614871565b509392505050565b6000613a7d613a788461463d565b6145e7565b905082815260208101848484011115613a9557600080fd5b613aa0848285614871565b509392505050565b600081359050613ab781614cda565b92915050565b60008083601f840112613acf57600080fd5b8235905067ffffffffffffffff811115613ae857600080fd5b602083019150836020820283011115613b0057600080fd5b9250929050565b60008083601f840112613b1957600080fd5b8235905067ffffffffffffffff811115613b3257600080fd5b602083019150836020820283011115613b4a57600080fd5b9250929050565b600081359050613b6081614cf1565b92915050565b600081359050613b7581614d08565b92915050565b600081519050613b8a81614d08565b92915050565b600082601f830112613ba157600080fd5b8135613bb1848260208601613a2c565b91505092915050565b600082601f830112613bcb57600080fd5b8135613bdb848260208601613a6a565b91505092915050565b600081359050613bf381614d1f565b92915050565b600060208284031215613c0b57600080fd5b6000613c1984828501613aa8565b91505092915050565b60008060408385031215613c3557600080fd5b6000613c4385828601613aa8565b9250506020613c5485828601613aa8565b9150509250929050565b600080600060608486031215613c7357600080fd5b6000613c8186828701613aa8565b9350506020613c9286828701613aa8565b9250506040613ca386828701613be4565b9150509250925092565b60008060008060808587031215613cc357600080fd5b6000613cd187828801613aa8565b9450506020613ce287828801613aa8565b9350506040613cf387828801613be4565b925050606085013567ffffffffffffffff811115613d1057600080fd5b613d1c87828801613b90565b91505092959194509250565b60008060408385031215613d3b57600080fd5b6000613d4985828601613aa8565b9250506020613d5a85828601613b51565b9150509250929050565b60008060408385031215613d7757600080fd5b6000613d8585828601613aa8565b9250506020613d9685828601613be4565b9150509250929050565b60008060008060408587031215613db657600080fd5b600085013567ffffffffffffffff811115613dd057600080fd5b613ddc87828801613abd565b9450945050602085013567ffffffffffffffff811115613dfb57600080fd5b613e0787828801613b07565b925092505092959194509250565b600060208284031215613e2757600080fd5b6000613e3584828501613b51565b91505092915050565b600060208284031215613e5057600080fd5b6000613e5e84828501613b66565b91505092915050565b600060208284031215613e7957600080fd5b6000613e8784828501613b7b565b91505092915050565b600060208284031215613ea257600080fd5b600082013567ffffffffffffffff811115613ebc57600080fd5b613ec884828501613bba565b91505092915050565b600060208284031215613ee357600080fd5b6000613ef184828501613be4565b91505092915050565b60008060408385031215613f0d57600080fd5b6000613f1b85828601613be4565b925050602083013567ffffffffffffffff811115613f3857600080fd5b613f4485828601613b90565b9150509250929050565b600080600060608486031215613f6357600080fd5b6000613f7186828701613be4565b9350506020613f8286828701613be4565b925050604084013567ffffffffffffffff811115613f9f57600080fd5b613fab86828701613b90565b9150509250925092565b613fbe816147e6565b82525050565b613fd5613fd0826147e6565b61495f565b82525050565b613fe4816147f8565b82525050565b613ff381614804565b82525050565b61400a61400582614804565b614971565b82525050565b600061401b82614683565b6140258185614699565b9350614035818560208601614880565b61403e81614a84565b840191505092915050565b60006140548261468e565b61405e81856146b5565b935061406e818560208601614880565b61407781614a84565b840191505092915050565b600061408d8261468e565b61409781856146c6565b93506140a7818560208601614880565b80840191505092915050565b600081546140c0816148b3565b6140ca81866146c6565b945060018216600081146140e557600181146140f657614129565b60ff19831686528186019350614129565b6140ff8561466e565b60005b8381101561412157815481890152600182019150602081019050614102565b838801955050505b50505092915050565b600061413f6018836146b5565b915061414a82614aa2565b602082019050919050565b6000614162601f836146b5565b915061416d82614acb565b602082019050919050565b6000614185601c836146c6565b915061419082614af4565b601c82019050919050565b60006141a86015836146b5565b91506141b382614b1d565b602082019050919050565b60006141cb6026836146b5565b91506141d682614b46565b604082019050919050565b60006141ee6011836146b5565b91506141f982614b95565b602082019050919050565b60006142116022836146b5565b915061421c82614bbe565b604082019050919050565b60006142346013836146b5565b915061423f82614c0d565b602082019050919050565b60006142576022836146b5565b915061426282614c36565b604082019050919050565b600061427a6020836146b5565b915061428582614c85565b602082019050919050565b600061429d6000836146aa565b91506142a882614cae565b600082019050919050565b60006142c0601f836146b5565b91506142cb82614cb1565b602082019050919050565b6142df8161485a565b82525050565b6142f66142f18261485a565b61498d565b82525050565b61430581614864565b82525050565b60006143178286614082565b91506143238285614082565b915061432f82846140b3565b9150819050949350505050565b600061434782614178565b91506143538284613ff9565b60208201915081905092915050565b600061436d82614290565b9150819050919050565b600061438382856142e5565b6020820191506143938284613fc4565b6014820191508190509392505050565b60006020820190506143b86000830184613fb5565b92915050565b60006080820190506143d36000830187613fb5565b6143e06020830186613fb5565b6143ed60408301856142d6565b81810360608301526143ff8184614010565b905095945050505050565b600060208201905061441f6000830184613fdb565b92915050565b600060808201905061443a6000830187613fea565b61444760208301866142fc565b6144546040830185613fea565b6144616060830184613fea565b95945050505050565b600060208201905081810360008301526144848184614049565b905092915050565b600060208201905081810360008301526144a581614132565b9050919050565b600060208201905081810360008301526144c581614155565b9050919050565b600060208201905081810360008301526144e58161419b565b9050919050565b60006020820190508181036000830152614505816141be565b9050919050565b60006020820190508181036000830152614525816141e1565b9050919050565b6000602082019050818103600083015261454581614204565b9050919050565b6000602082019050818103600083015261456581614227565b9050919050565b600060208201905081810360008301526145858161424a565b9050919050565b600060208201905081810360008301526145a58161426d565b9050919050565b600060208201905081810360008301526145c5816142b3565b9050919050565b60006020820190506145e160008301846142d6565b92915050565b60006145f1614602565b90506145fd82826148e5565b919050565b6000604051905090565b600067ffffffffffffffff82111561462757614626614a55565b5b61463082614a84565b9050602081019050919050565b600067ffffffffffffffff82111561465857614657614a55565b5b61466182614a84565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006146dc8261485a565b91506146e78361485a565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561471c5761471b6149c8565b5b828201905092915050565b60006147328261485a565b915061473d8361485a565b92508261474d5761474c6149f7565b5b828204905092915050565b60006147638261485a565b915061476e8361485a565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156147a7576147a66149c8565b5b828202905092915050565b60006147bd8261485a565b91506147c88361485a565b9250828210156147db576147da6149c8565b5b828203905092915050565b60006147f18261483a565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b8381101561489e578082015181840152602081019050614883565b838111156148ad576000848401525b50505050565b600060028204905060018216806148cb57607f821691505b602082108114156148df576148de614a26565b5b50919050565b6148ee82614a84565b810181811067ffffffffffffffff8211171561490d5761490c614a55565b5b80604052505050565b60006149218261485a565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614954576149536149c8565b5b600182019050919050565b600061496a8261497b565b9050919050565b6000819050919050565b600061498682614a95565b9050919050565b6000819050919050565b60006149a28261485a565b91506149ad8361485a565b9250826149bd576149bc6149f7565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b7f43616e277420496e63726561736520537570706c790000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f417272617973204d757374204d61746368000000000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f43414e2754205055542030204144445245535300000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b50565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b614ce3816147e6565b8114614cee57600080fd5b50565b614cfa816147f8565b8114614d0557600080fd5b50565b614d118161480e565b8114614d1c57600080fd5b50565b614d288161485a565b8114614d3357600080fd5b5056fea264697066735822122052a9e37c46b48f6c7c4cffe4dd9aa54f29509b7219040d9946146d6aac84785e64736f6c63430008040033
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.