Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
580 JA
Holders
252
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
3 JALoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
JimmyAss
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import '@openzeppelin/contracts/access/Ownable.sol'; import '@openzeppelin/contracts/utils/Strings.sol'; import '@openzeppelin/contracts/utils/Address.sol'; import '@openzeppelin/contracts/utils/cryptography/MerkleProof.sol'; import '@openzeppelin/contracts/utils/introspection/ERC165.sol'; import '@openzeppelin/contracts/security/ReentrancyGuard.sol'; import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol'; import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol'; import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol'; pragma solidity ^0.8.0; contract ERC721A is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable { using Address for address; using Strings for uint256; struct TokenOwnership { address addr; uint64 startTimestamp; } struct AddressData { uint128 balance; uint128 numberMinted; } uint256 internal currentIndex = 1; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. See ownershipOf implementation for details. mapping(uint256 => TokenOwnership) internal _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return currentIndex; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view override returns (uint256) { require(index < totalSupply(), 'ERC721A: global index out of bounds'); return index; } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first. * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) { require(index < balanceOf(owner), 'ERC721A: owner index out of bounds'); uint256 numMintedSoFar = totalSupply(); uint256 tokenIdsIdx; address currOwnershipAddr; // Counter overflow is impossible as the loop breaks when uint256 i is equal to another uint256 numMintedSoFar. unchecked { for (uint256 i; i < numMintedSoFar; i++) { TokenOwnership memory ownership = _ownerships[i]; if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { if (tokenIdsIdx == index) { return i; } tokenIdsIdx++; } } } revert('ERC721A: unable to get token of owner by index'); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { require(owner != address(0), 'ERC721A: balance query for the zero address'); return uint256(_addressData[owner].balance); } function _numberMinted(address owner) internal view returns (uint256) { require(owner != address(0), 'ERC721A: number minted query for the zero address'); return uint256(_addressData[owner].numberMinted); } /** * 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) { require(_exists(tokenId), 'ERC721A: owner query for nonexistent token'); unchecked { for (uint256 curr = tokenId; curr >= 0; curr--) { TokenOwnership memory ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } } revert('ERC721A: unable to determine the owner of token'); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return ownershipOf(tokenId).addr; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), 'ERC721Metadata: URI query for nonexistent token'); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, tokenId.toString(), '.json')) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ERC721A.ownerOf(tokenId); require(to != owner, 'ERC721A: approval to current owner'); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), 'ERC721A: approve caller is not owner nor approved for all' ); _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { require(_exists(tokenId), 'ERC721A: approved query for nonexistent token'); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public override { require(operator != _msgSender(), 'ERC721A: approve to caller'); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public override { _transfer(from, to, tokenId); require( _checkOnERC721Received(from, to, tokenId, _data), 'ERC721A: transfer to non ERC721Receiver implementer' ); } /** * @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 tokenId < currentIndex; } function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { _mint(to, quantity, _data, true); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _mint( address to, uint256 quantity, bytes memory _data, bool safe ) internal { uint256 startTokenId = currentIndex; require(to != address(0), 'ERC721A: mint to the zero address'); require(quantity != 0, 'ERC721A: quantity must be greater than 0'); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 3.4e38 (2**128) - 1 // updatedIndex overflows if currentIndex + quantity > 1.56e77 (2**256) - 1 unchecked { _addressData[to].balance += uint128(quantity); _addressData[to].numberMinted += uint128(quantity); _ownerships[startTokenId].addr = to; _ownerships[startTokenId].startTimestamp = uint64(block.timestamp); uint256 updatedIndex = startTokenId; for (uint256 i; i < quantity; i++) { emit Transfer(address(0), to, updatedIndex); if (safe) { require( _checkOnERC721Received(address(0), to, updatedIndex, _data), 'ERC721A: transfer to non ERC721Receiver implementer' ); } updatedIndex++; } currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) private { TokenOwnership memory prevOwnership = ownershipOf(tokenId); bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr || getApproved(tokenId) == _msgSender() || isApprovedForAll(prevOwnership.addr, _msgSender())); require(isApprovedOrOwner, 'ERC721A: transfer caller is not owner nor approved'); require(prevOwnership.addr == from, 'ERC721A: transfer from incorrect owner'); require(to != address(0), 'ERC721A: transfer to the zero address'); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { _addressData[from].balance -= 1; _addressData[to].balance += 1; _ownerships[tokenId].addr = to; _ownerships[tokenId].startTimestamp = uint64(block.timestamp); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; if (_ownerships[nextTokenId].addr == address(0)) { if (_exists(nextTokenId)) { _ownerships[nextTokenId].addr = prevOwnership.addr; _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a 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 _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert('ERC721A: transfer to non ERC721Receiver implementer'); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * * 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`. */ 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. * * 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` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} } pragma solidity >=0.8.0 <0.9.0; contract JimmyAss is ERC721A, Ownable, ReentrancyGuard { using Strings for uint256; // ================== VARAIBLES ======================= bytes32 public merkleRootWl; bool public revealed = false; bool public paused = true; string private uriPrefix = ''; string private uriSuffix = '.json'; string private hiddenMetadataUri; uint256 public wlPrice = 0.0074 ether; uint256 public salePrice = 0.0099 ether; uint256 public maxWLTx = 3; uint256 public maxTx = 3; uint256 public maxPerTx = 3; uint256 public maxSupply = 1998; uint256 public WL_MINTED = 0; uint256 public PL_MINTED = 0; mapping(address => uint256) public PL_MINT_COUNT; mapping(address => uint256) public WL_MINT_COUNT; // ================== CONTRUCTOR ======================= constructor() ERC721A('JimmyAss', 'JA') { setHiddenMetadataUri('ipfs://__CID__/hidden.json'); } // ================== MINT FUNCTIONS ======================= /** * @notice Public Mint */ function publicMint(uint256 _quantity) external payable { // Normal requirements require(!paused, 'The contract is paused!'); require(_quantity > 0 && _quantity <= maxPerTx, 'Invalid mint amount!'); require(totalSupply() + _quantity <= maxSupply, 'Sold out!'); if (msg.sender != owner()) { require(PL_MINT_COUNT[msg.sender] + _quantity <= maxTx, 'Max mint per wallet exceeded!'); require(msg.value >= salePrice * _quantity, 'Please send the exact amount.'); } // Mint _safeMint(msg.sender, _quantity); // Mapping update PL_MINT_COUNT[msg.sender] += _quantity; PL_MINTED += _quantity; } /** * @notice Whitelist Mint */ function whitelistMint(uint256 _quantity, bytes32[] calldata _merkleProof) external payable { // Verify wl requirements require(!paused, 'The contract is paused!'); require(isWhitelist(_merkleProof), 'Address is not whitelisted!'); // Normal requirements require(_quantity > 0 && _quantity <= maxPerTx, 'Invalid mint amount!'); require(totalSupply() + _quantity <= maxSupply, 'Sold out!'); require(WL_MINT_COUNT[msg.sender] + _quantity <= maxTx, 'Max mint per wallet exceeded!'); require(msg.value >= wlPrice * _quantity, 'Please send the exact amount.'); // Mint _safeMint(msg.sender, _quantity); // Mapping update WL_MINT_COUNT[msg.sender] += _quantity; WL_MINTED += _quantity; } /** * @notice Team Mint */ function teamMint(uint256 _quantity) external onlyOwner { require(_quantity > 0, 'Minimum 1 NFT has to be minted per transaction'); require(totalSupply() + _quantity <= maxSupply, 'Sold out'); _safeMint(msg.sender, _quantity); } /** * @notice Reserve Tokens */ function reserveTokens(address _to, uint256 _quantity) public onlyOwner { require(_quantity > 0, 'Minimum 1 NFT has to be minted per transaction'); require(totalSupply() + _quantity <= maxSupply, 'Max supply exceeded!'); _safeMint(_to, _quantity); } /** * @notice Check if the address is in the white list or not */ function isWhitelist(bytes32[] calldata _merkleProof) public view returns (bool) { bytes32 leaf = keccak256(abi.encodePacked(msg.sender)); if (MerkleProof.verify(_merkleProof, merkleRootWl, leaf)) { return true; } return false; } // ================== SETUP FUNCTIONS ======================= function setPaused(bool _state) external onlyOwner { paused = _state; } function setRevealed(bool _state) public onlyOwner { revealed = _state; } function setWhitelist(bytes32 _merkleRoot) external onlyOwner { merkleRootWl = _merkleRoot; } function setWlPrice(uint256 _newPrice) external onlyOwner { wlPrice = _newPrice; } function setSalePrice(uint256 _newPrice) external onlyOwner { salePrice = _newPrice; } function setMaxWLTx(uint256 _maxWLTx) public onlyOwner { maxWLTx = _maxWLTx; } function setMaxTx(uint256 _maxTx) public onlyOwner { maxTx = _maxTx; } function setMaxPerTx(uint256 _maxPerTx) public onlyOwner { maxPerTx = _maxPerTx; } function setMaxSupply(uint256 _maxSupply) public onlyOwner { maxSupply = _maxSupply; } function setHiddenMetadataUri(string memory _hiddenMetadataUri) public onlyOwner { hiddenMetadataUri = _hiddenMetadataUri; } function setUriPrefix(string memory _uriPrefix) public onlyOwner { uriPrefix = _uriPrefix; } function _baseURI() internal view virtual override returns (string memory) { return uriPrefix; } function walletOfOwner(address _owner) public view returns (uint256[] memory) { uint256 ownerTokenCount = balanceOf(_owner); uint256[] memory ownedTokenIds = new uint256[](ownerTokenCount); uint256 currentTokenId = 1; uint256 ownedTokenIndex = 0; while (ownedTokenIndex < ownerTokenCount && currentTokenId <= maxSupply) { address currentTokenOwner = ownerOf(currentTokenId); if (currentTokenOwner == _owner) { ownedTokenIds[ownedTokenIndex] = currentTokenId; ownedTokenIndex++; } currentTokenId++; } return ownedTokenIds; } function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) { require(_exists(_tokenId), 'ERC721Metadata: URI query for nonexistent token'); if (revealed == false) { return hiddenMetadataUri; } string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string(abi.encodePacked(currentBaseURI, _tokenId.toString(), uriSuffix)) : ''; } function withdraw() external onlyOwner { (bool success, ) = payable(msg.sender).call{ value: address(this).balance }(''); require(success, 'Transfer failed.'); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (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() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be _NOT_ENTERED require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; } function _nonReentrantAfter() private { // 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 // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Tree proofs. * * The tree and the proofs can be generated using our * https://github.com/OpenZeppelin/merkle-tree[JavaScript library]. * You will find a quickstart guide in the readme. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the merkle tree could be reinterpreted as a leaf value. * OpenZeppelin's JavaScript library generates merkle trees that are safe * against this attack out of the box. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Calldata version of {verify} * * _Available since v4.7._ */ function verifyCalldata( bytes32[] calldata proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProofCalldata(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Calldata version of {processProof} * * _Available since v4.7._ */ function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function multiProofVerify( bytes32[] memory proof, bool[] memory proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProof(proof, proofFlags, leaves) == root; } /** * @dev Calldata version of {multiProofVerify} * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function multiProofVerifyCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProofCalldata(proof, proofFlags, leaves) == root; } /** * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false * respectively. * * CAUTION: Not all merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer). * * _Available since v4.7._ */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Calldata version of {processMultiProof}. * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { /// @solidity memory-safe-assembly assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol) pragma solidity ^0.8.0; import "./math/Math.sol"; /** * @dev String operations. */ library Strings { bytes16 private constant _SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv( uint256 x, uint256 y, uint256 denominator ) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv( uint256 x, uint256 y, uint256 denominator, Rounding rounding ) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10**64) { value /= 10**64; result += 64; } if (value >= 10**32) { value /= 10**32; result += 32; } if (value >= 10**16) { value /= 10**16; result += 16; } if (value >= 10**8) { value /= 10**8; result += 8; } if (value >= 10**4) { value /= 10**4; result += 4; } if (value >= 10**2) { value /= 10**2; result += 2; } if (value >= 10**1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721 * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must * understand this adds an external call which potentially creates a reentrancy vulnerability. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"PL_MINTED","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"PL_MINT_COUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WL_MINTED","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"WL_MINT_COUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"isWhitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWLTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRootWl","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","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":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"reserveTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"salePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_hiddenMetadataUri","type":"string"}],"name":"setHiddenMetadataUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxPerTx","type":"uint256"}],"name":"setMaxPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxTx","type":"uint256"}],"name":"setMaxTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxWLTx","type":"uint256"}],"name":"setMaxWLTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setSalePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriPrefix","type":"string"}],"name":"setUriPrefix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setWlPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"teamMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"wlPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
608060405260016000556000600a60006101000a81548160ff0219169083151502179055506001600a60016101000a81548160ff02191690831515021790555060405180602001604052806000815250600b90816200005f919062000618565b506040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250600c9081620000a6919062000618565b50661a4a42c3568000600e5566232bff5f46c000600f556003601055600360115560036012556107ce60135560006014556000601555348015620000e957600080fd5b506040518060400160405280600881526020017f4a696d6d794173730000000000000000000000000000000000000000000000008152506040518060400160405280600281526020017f4a41000000000000000000000000000000000000000000000000000000000000815250816001908162000167919062000618565b50806002908162000179919062000618565b5050506200019c62000190620001f060201b60201c565b620001f860201b60201c565b6001600881905550620001ea6040518060400160405280601a81526020017f697066733a2f2f5f5f4349445f5f2f68696464656e2e6a736f6e000000000000815250620002be60201b60201c565b62000782565b600033905090565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620002ce620002e360201b60201c565b80600d9081620002df919062000618565b5050565b620002f3620001f060201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620003196200037460201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000372576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003699062000760565b60405180910390fd5b565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200042057607f821691505b602082108103620004365762000435620003d8565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620004a07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000461565b620004ac868362000461565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620004f9620004f3620004ed84620004c4565b620004ce565b620004c4565b9050919050565b6000819050919050565b6200051583620004d8565b6200052d620005248262000500565b8484546200046e565b825550505050565b600090565b6200054462000535565b620005518184846200050a565b505050565b5b8181101562000579576200056d6000826200053a565b60018101905062000557565b5050565b601f821115620005c85762000592816200043c565b6200059d8462000451565b81016020851015620005ad578190505b620005c5620005bc8562000451565b83018262000556565b50505b505050565b600082821c905092915050565b6000620005ed60001984600802620005cd565b1980831691505092915050565b6000620006088383620005da565b9150826002028217905092915050565b62000623826200039e565b67ffffffffffffffff8111156200063f576200063e620003a9565b5b6200064b825462000407565b620006588282856200057d565b600060209050601f8311600181146200069057600084156200067b578287015190505b620006878582620005fa565b865550620006f7565b601f198416620006a0866200043c565b60005b82811015620006ca57848901518255600182019150602085019450602081019050620006a3565b86831015620006ea5784890151620006e6601f891682620005da565b8355505b6001600288020188555050505b505050505050565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600062000748602083620006ff565b9150620007558262000710565b602082019050919050565b600060208201905081810360008301526200077b8162000739565b9050919050565b61537280620007926000396000f3fe6080604052600436106102c95760003560e01c8063715018a611610175578063c7f8d01a116100dc578063e0a8085311610095578063ef8319cd1161006f578063ef8319cd14610af6578063f2fde38b14610b21578063f51f96dd14610b4a578063f968adbe14610b75576102c9565b8063e0a8085314610a53578063e985e9c514610a7c578063ed475f6314610ab9576102c9565b8063c7f8d01a1461093c578063c87b56dd14610967578063cd3d46f2146109a4578063d2cab056146109e1578063d5abeb01146109fd578063de137a4a14610a28576102c9565b80638dd07d0f1161012e5780638dd07d0f1461084457806395d89b411461086d578063a22cb46514610898578063b88d4fde146108c1578063bc337182146108ea578063c6f6f21614610913576102c9565b8063715018a61461075c5780637437681e14610773578063777f01f51461079e57806378cf19e9146107c75780637ec4a659146107f05780638da5cb5b14610819576102c9565b80633ccfd60b116102345780634fdd43cb116101ed5780636352211e116101c75780636352211e1461067c57806366cbf2e2146106b95780636f8b44b0146106f657806370a082311461071f576102c9565b80634fdd43cb146105fd57806351830227146106265780635c975abb14610651576102c9565b80633ccfd60b146104ef5780633f296d491461050657806342842e0e14610531578063438b63001461055a578063440bc7f3146105975780634f6ccce7146105c0576102c9565b806318160ddd1161028657806318160ddd146103f05780631919fed71461041b57806323b872dd146104445780632db115441461046d5780632f745c59146104895780632fbba115146104c6576102c9565b806301ffc9a7146102ce57806306fdde031461030b57806308119f2014610336578063081812fc14610361578063095ea7b31461039e57806316c38b3c146103c7575b600080fd5b3480156102da57600080fd5b506102f560048036038101906102f091906134d0565b610ba0565b6040516103029190613518565b60405180910390f35b34801561031757600080fd5b50610320610cea565b60405161032d91906135c3565b60405180910390f35b34801561034257600080fd5b5061034b610d7c565b60405161035891906135fe565b60405180910390f35b34801561036d57600080fd5b5061038860048036038101906103839190613645565b610d82565b60405161039591906136b3565b60405180910390f35b3480156103aa57600080fd5b506103c560048036038101906103c091906136fa565b610e07565b005b3480156103d357600080fd5b506103ee60048036038101906103e99190613766565b610f1f565b005b3480156103fc57600080fd5b50610405610f44565b60405161041291906135fe565b60405180910390f35b34801561042757600080fd5b50610442600480360381019061043d9190613645565b610f4d565b005b34801561045057600080fd5b5061046b60048036038101906104669190613793565b610f5f565b005b61048760048036038101906104829190613645565b610f6f565b005b34801561049557600080fd5b506104b060048036038101906104ab91906136fa565b6111fd565b6040516104bd91906135fe565b60405180910390f35b3480156104d257600080fd5b506104ed60048036038101906104e89190613645565b6113ed565b005b3480156104fb57600080fd5b5061050461149c565b005b34801561051257600080fd5b5061051b611553565b60405161052891906135fe565b60405180910390f35b34801561053d57600080fd5b5061055860048036038101906105539190613793565b611559565b005b34801561056657600080fd5b50610581600480360381019061057c91906137e6565b611579565b60405161058e91906138d1565b60405180910390f35b3480156105a357600080fd5b506105be60048036038101906105b99190613929565b611683565b005b3480156105cc57600080fd5b506105e760048036038101906105e29190613645565b611695565b6040516105f491906135fe565b60405180910390f35b34801561060957600080fd5b50610624600480360381019061061f9190613a8b565b6116e8565b005b34801561063257600080fd5b5061063b611703565b6040516106489190613518565b60405180910390f35b34801561065d57600080fd5b50610666611716565b6040516106739190613518565b60405180910390f35b34801561068857600080fd5b506106a3600480360381019061069e9190613645565b611729565b6040516106b091906136b3565b60405180910390f35b3480156106c557600080fd5b506106e060048036038101906106db91906137e6565b61173f565b6040516106ed91906135fe565b60405180910390f35b34801561070257600080fd5b5061071d60048036038101906107189190613645565b611757565b005b34801561072b57600080fd5b50610746600480360381019061074191906137e6565b611769565b60405161075391906135fe565b60405180910390f35b34801561076857600080fd5b50610771611851565b005b34801561077f57600080fd5b50610788611865565b60405161079591906135fe565b60405180910390f35b3480156107aa57600080fd5b506107c560048036038101906107c09190613645565b61186b565b005b3480156107d357600080fd5b506107ee60048036038101906107e991906136fa565b61187d565b005b3480156107fc57600080fd5b5061081760048036038101906108129190613a8b565b61192d565b005b34801561082557600080fd5b5061082e611948565b60405161083b91906136b3565b60405180910390f35b34801561085057600080fd5b5061086b60048036038101906108669190613645565b611972565b005b34801561087957600080fd5b50610882611984565b60405161088f91906135c3565b60405180910390f35b3480156108a457600080fd5b506108bf60048036038101906108ba9190613ad4565b611a16565b005b3480156108cd57600080fd5b506108e860048036038101906108e39190613bb5565b611b96565b005b3480156108f657600080fd5b50610911600480360381019061090c9190613645565b611bf2565b005b34801561091f57600080fd5b5061093a60048036038101906109359190613645565b611c04565b005b34801561094857600080fd5b50610951611c16565b60405161095e91906135fe565b60405180910390f35b34801561097357600080fd5b5061098e60048036038101906109899190613645565b611c1c565b60405161099b91906135c3565b60405180910390f35b3480156109b057600080fd5b506109cb60048036038101906109c691906137e6565b611d74565b6040516109d891906135fe565b60405180910390f35b6109fb60048036038101906109f69190613c98565b611d8c565b005b348015610a0957600080fd5b50610a1261202a565b604051610a1f91906135fe565b60405180910390f35b348015610a3457600080fd5b50610a3d612030565b604051610a4a91906135fe565b60405180910390f35b348015610a5f57600080fd5b50610a7a6004803603810190610a759190613766565b612036565b005b348015610a8857600080fd5b50610aa36004803603810190610a9e9190613cf8565b61205b565b604051610ab09190613518565b60405180910390f35b348015610ac557600080fd5b50610ae06004803603810190610adb9190613d38565b6120ef565b604051610aed9190613518565b60405180910390f35b348015610b0257600080fd5b50610b0b612184565b604051610b189190613d94565b60405180910390f35b348015610b2d57600080fd5b50610b486004803603810190610b4391906137e6565b61218a565b005b348015610b5657600080fd5b50610b5f61220d565b604051610b6c91906135fe565b60405180910390f35b348015610b8157600080fd5b50610b8a612213565b604051610b9791906135fe565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610c6b57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610cd357507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610ce35750610ce282612219565b5b9050919050565b606060018054610cf990613dde565b80601f0160208091040260200160405190810160405280929190818152602001828054610d2590613dde565b8015610d725780601f10610d4757610100808354040283529160200191610d72565b820191906000526020600020905b815481529060010190602001808311610d5557829003601f168201915b5050505050905090565b60155481565b6000610d8d82612283565b610dcc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc390613e81565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610e1282611729565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610e82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7990613f13565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610ea1612290565b73ffffffffffffffffffffffffffffffffffffffff161480610ed05750610ecf81610eca612290565b61205b565b5b610f0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0690613fa5565b60405180910390fd5b610f1a838383612298565b505050565b610f2761234a565b80600a60016101000a81548160ff02191690831515021790555050565b60008054905090565b610f5561234a565b80600f8190555050565b610f6a8383836123c8565b505050565b600a60019054906101000a900460ff1615610fbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb690614011565b60405180910390fd5b600081118015610fd157506012548111155b611010576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110079061407d565b60405180910390fd5b6013548161101c610f44565b61102691906140cc565b1115611067576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105e9061414c565b60405180910390fd5b61106f611948565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146111815760115481601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546110ef91906140cc565b1115611130576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611127906141b8565b60405180910390fd5b80600f5461113e91906141d8565b341015611180576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117790614266565b60405180910390fd5b5b61118b3382612906565b80601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546111da91906140cc565b9250508190555080601560008282546111f391906140cc565b9250508190555050565b600061120883611769565b8210611249576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611240906142f8565b60405180910390fd5b6000611253610f44565b905060008060005b838110156113ab576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461134d57806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361139d578684036113945781955050505050506113e7565b83806001019450505b50808060010191505061125b565b506040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113de9061438a565b60405180910390fd5b92915050565b6113f561234a565b60008111611438576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142f9061441c565b60405180910390fd5b60135481611444610f44565b61144e91906140cc565b111561148f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148690614488565b60405180910390fd5b6114993382612906565b50565b6114a461234a565b60003373ffffffffffffffffffffffffffffffffffffffff16476040516114ca906144d9565b60006040518083038185875af1925050503d8060008114611507576040519150601f19603f3d011682016040523d82523d6000602084013e61150c565b606091505b5050905080611550576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115479061453a565b60405180910390fd5b50565b60145481565b61157483838360405180602001604052806000815250611b96565b505050565b6060600061158683611769565b905060008167ffffffffffffffff8111156115a4576115a3613960565b5b6040519080825280602002602001820160405280156115d25781602001602082028036833780820191505090505b50905060006001905060005b83811080156115ef57506013548211155b156116775760006115ff83611729565b90508673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361166357828483815181106116485761164761455a565b5b602002602001018181525050818061165f90614589565b9250505b828061166e90614589565b935050506115de565b82945050505050919050565b61168b61234a565b8060098190555050565b600061169f610f44565b82106116e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d790614643565b60405180910390fd5b819050919050565b6116f061234a565b80600d90816116ff919061480f565b5050565b600a60009054906101000a900460ff1681565b600a60019054906101000a900460ff1681565b600061173482612924565b600001519050919050565b60176020528060005260406000206000915090505481565b61175f61234a565b8060138190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036117d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117d090614953565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b61185961234a565b6118636000612abe565b565b60115481565b61187361234a565b8060108190555050565b61188561234a565b600081116118c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118bf9061441c565b60405180910390fd5b601354816118d4610f44565b6118de91906140cc565b111561191f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611916906149bf565b60405180910390fd5b6119298282612906565b5050565b61193561234a565b80600b9081611944919061480f565b5050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61197a61234a565b80600e8190555050565b60606002805461199390613dde565b80601f01602080910402602001604051908101604052809291908181526020018280546119bf90613dde565b8015611a0c5780601f106119e157610100808354040283529160200191611a0c565b820191906000526020600020905b8154815290600101906020018083116119ef57829003601f168201915b5050505050905090565b611a1e612290565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611a8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8290614a2b565b60405180910390fd5b8060066000611a98612290565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611b45612290565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611b8a9190613518565b60405180910390a35050565b611ba18484846123c8565b611bad84848484612b84565b611bec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611be390614abd565b60405180910390fd5b50505050565b611bfa61234a565b8060118190555050565b611c0c61234a565b8060128190555050565b600e5481565b6060611c2782612283565b611c66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5d90614b4f565b60405180910390fd5b60001515600a60009054906101000a900460ff16151503611d1357600d8054611c8e90613dde565b80601f0160208091040260200160405190810160405280929190818152602001828054611cba90613dde565b8015611d075780601f10611cdc57610100808354040283529160200191611d07565b820191906000526020600020905b815481529060010190602001808311611cea57829003601f168201915b50505050509050611d6f565b6000611d1d612d0b565b90506000815111611d3d5760405180602001604052806000815250611d6b565b80611d4784612d9d565b600c604051602001611d5b93929190614c2e565b6040516020818303038152906040525b9150505b919050565b60166020528060005260406000206000915090505481565b600a60019054906101000a900460ff1615611ddc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dd390614011565b60405180910390fd5b611de682826120ef565b611e25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1c90614cab565b60405180910390fd5b600083118015611e3757506012548311155b611e76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e6d9061407d565b60405180910390fd5b60135483611e82610f44565b611e8c91906140cc565b1115611ecd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ec49061414c565b60405180910390fd5b60115483601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611f1b91906140cc565b1115611f5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f53906141b8565b60405180910390fd5b82600e54611f6a91906141d8565b341015611fac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fa390614266565b60405180910390fd5b611fb63384612906565b82601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461200591906140cc565b92505081905550826014600082825461201e91906140cc565b92505081905550505050565b60135481565b60105481565b61203e61234a565b80600a60006101000a81548160ff02191690831515021790555050565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600080336040516020016121039190614d13565b604051602081830303815290604052805190602001209050612169848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060095483612e6b565b1561217857600191505061217e565b60009150505b92915050565b60095481565b61219261234a565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612201576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121f890614da0565b60405180910390fd5b61220a81612abe565b50565b600f5481565b60125481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000805482109050919050565b600033905090565b826005600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b612352612290565b73ffffffffffffffffffffffffffffffffffffffff16612370611948565b73ffffffffffffffffffffffffffffffffffffffff16146123c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123bd90614e0c565b60405180910390fd5b565b60006123d382612924565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff166123fa612290565b73ffffffffffffffffffffffffffffffffffffffff161480612456575061241f612290565b73ffffffffffffffffffffffffffffffffffffffff1661243e84610d82565b73ffffffffffffffffffffffffffffffffffffffff16145b806124725750612471826000015161246c612290565b61205b565b5b9050806124b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124ab90614e9e565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614612526576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161251d90614f30565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612595576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161258c90614fc2565b60405180910390fd5b6125a28585856001612e82565b6125b26000848460000151612298565b6001600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160392506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550836003600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603612896576127f581612283565b156128955782600001516003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46128ff8585856001612e88565b5050505050565b612920828260405180602001604052806000815250612e8e565b5050565b61292c61342a565b61293582612283565b612974576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161296b90615054565b60405180910390fd5b60008290505b60008110612a7d576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612a6e578092505050612ab9565b5080806001900391505061297a565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ab0906150e6565b60405180910390fd5b919050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000612ba58473ffffffffffffffffffffffffffffffffffffffff16612ea0565b15612cfe578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612bce612290565b8786866040518563ffffffff1660e01b8152600401612bf0949392919061515b565b6020604051808303816000875af1925050508015612c2c57506040513d601f19601f82011682018060405250810190612c2991906151bc565b60015b612cae573d8060008114612c5c576040519150601f19603f3d011682016040523d82523d6000602084013e612c61565b606091505b506000815103612ca6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c9d90614abd565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612d03565b600190505b949350505050565b6060600b8054612d1a90613dde565b80601f0160208091040260200160405190810160405280929190818152602001828054612d4690613dde565b8015612d935780601f10612d6857610100808354040283529160200191612d93565b820191906000526020600020905b815481529060010190602001808311612d7657829003601f168201915b5050505050905090565b606060006001612dac84612ec3565b01905060008167ffffffffffffffff811115612dcb57612dca613960565b5b6040519080825280601f01601f191660200182016040528015612dfd5781602001600182028036833780820191505090505b509050600082602001820190505b600115612e60578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8581612e5457612e536151e9565b5b04945060008503612e0b575b819350505050919050565b600082612e788584613016565b1490509392505050565b50505050565b50505050565b612e9b838383600161306c565b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310612f21577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381612f1757612f166151e9565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310612f5e576d04ee2d6d415b85acef81000000008381612f5457612f536151e9565b5b0492506020810190505b662386f26fc100008310612f8d57662386f26fc100008381612f8357612f826151e9565b5b0492506010810190505b6305f5e1008310612fb6576305f5e1008381612fac57612fab6151e9565b5b0492506008810190505b6127108310612fdb576127108381612fd157612fd06151e9565b5b0492506004810190505b60648310612ffe5760648381612ff457612ff36151e9565b5b0492506002810190505b600a831061300d576001810190505b80915050919050565b60008082905060005b84518110156130615761304c8286838151811061303f5761303e61455a565b5b60200260200101516133e8565b9150808061305990614589565b91505061301f565b508091505092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16036130e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130d89061528a565b60405180910390fd5b60008403613124576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161311b9061531c565b60405180910390fd5b6131316000868387612e82565b83600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555083600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160108282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550846003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060005b858110156133cb57818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a483156133b6576133766000888488612b84565b6133b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133ac90614abd565b60405180910390fd5b5b818060010192505080806001019150506132ff565b5080600081905550506133e16000868387612e88565b5050505050565b6000818310613400576133fb8284613413565b61340b565b61340a8383613413565b5b905092915050565b600082600052816020526040600020905092915050565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6134ad81613478565b81146134b857600080fd5b50565b6000813590506134ca816134a4565b92915050565b6000602082840312156134e6576134e561346e565b5b60006134f4848285016134bb565b91505092915050565b60008115159050919050565b613512816134fd565b82525050565b600060208201905061352d6000830184613509565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561356d578082015181840152602081019050613552565b60008484015250505050565b6000601f19601f8301169050919050565b600061359582613533565b61359f818561353e565b93506135af81856020860161354f565b6135b881613579565b840191505092915050565b600060208201905081810360008301526135dd818461358a565b905092915050565b6000819050919050565b6135f8816135e5565b82525050565b600060208201905061361360008301846135ef565b92915050565b613622816135e5565b811461362d57600080fd5b50565b60008135905061363f81613619565b92915050565b60006020828403121561365b5761365a61346e565b5b600061366984828501613630565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061369d82613672565b9050919050565b6136ad81613692565b82525050565b60006020820190506136c860008301846136a4565b92915050565b6136d781613692565b81146136e257600080fd5b50565b6000813590506136f4816136ce565b92915050565b600080604083850312156137115761371061346e565b5b600061371f858286016136e5565b925050602061373085828601613630565b9150509250929050565b613743816134fd565b811461374e57600080fd5b50565b6000813590506137608161373a565b92915050565b60006020828403121561377c5761377b61346e565b5b600061378a84828501613751565b91505092915050565b6000806000606084860312156137ac576137ab61346e565b5b60006137ba868287016136e5565b93505060206137cb868287016136e5565b92505060406137dc86828701613630565b9150509250925092565b6000602082840312156137fc576137fb61346e565b5b600061380a848285016136e5565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613848816135e5565b82525050565b600061385a838361383f565b60208301905092915050565b6000602082019050919050565b600061387e82613813565b613888818561381e565b93506138938361382f565b8060005b838110156138c45781516138ab888261384e565b97506138b683613866565b925050600181019050613897565b5085935050505092915050565b600060208201905081810360008301526138eb8184613873565b905092915050565b6000819050919050565b613906816138f3565b811461391157600080fd5b50565b600081359050613923816138fd565b92915050565b60006020828403121561393f5761393e61346e565b5b600061394d84828501613914565b91505092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61399882613579565b810181811067ffffffffffffffff821117156139b7576139b6613960565b5b80604052505050565b60006139ca613464565b90506139d6828261398f565b919050565b600067ffffffffffffffff8211156139f6576139f5613960565b5b6139ff82613579565b9050602081019050919050565b82818337600083830152505050565b6000613a2e613a29846139db565b6139c0565b905082815260208101848484011115613a4a57613a4961395b565b5b613a55848285613a0c565b509392505050565b600082601f830112613a7257613a71613956565b5b8135613a82848260208601613a1b565b91505092915050565b600060208284031215613aa157613aa061346e565b5b600082013567ffffffffffffffff811115613abf57613abe613473565b5b613acb84828501613a5d565b91505092915050565b60008060408385031215613aeb57613aea61346e565b5b6000613af9858286016136e5565b9250506020613b0a85828601613751565b9150509250929050565b600067ffffffffffffffff821115613b2f57613b2e613960565b5b613b3882613579565b9050602081019050919050565b6000613b58613b5384613b14565b6139c0565b905082815260208101848484011115613b7457613b7361395b565b5b613b7f848285613a0c565b509392505050565b600082601f830112613b9c57613b9b613956565b5b8135613bac848260208601613b45565b91505092915050565b60008060008060808587031215613bcf57613bce61346e565b5b6000613bdd878288016136e5565b9450506020613bee878288016136e5565b9350506040613bff87828801613630565b925050606085013567ffffffffffffffff811115613c2057613c1f613473565b5b613c2c87828801613b87565b91505092959194509250565b600080fd5b600080fd5b60008083601f840112613c5857613c57613956565b5b8235905067ffffffffffffffff811115613c7557613c74613c38565b5b602083019150836020820283011115613c9157613c90613c3d565b5b9250929050565b600080600060408486031215613cb157613cb061346e565b5b6000613cbf86828701613630565b935050602084013567ffffffffffffffff811115613ce057613cdf613473565b5b613cec86828701613c42565b92509250509250925092565b60008060408385031215613d0f57613d0e61346e565b5b6000613d1d858286016136e5565b9250506020613d2e858286016136e5565b9150509250929050565b60008060208385031215613d4f57613d4e61346e565b5b600083013567ffffffffffffffff811115613d6d57613d6c613473565b5b613d7985828601613c42565b92509250509250929050565b613d8e816138f3565b82525050565b6000602082019050613da96000830184613d85565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613df657607f821691505b602082108103613e0957613e08613daf565b5b50919050565b7f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560008201527f78697374656e7420746f6b656e00000000000000000000000000000000000000602082015250565b6000613e6b602d8361353e565b9150613e7682613e0f565b604082019050919050565b60006020820190508181036000830152613e9a81613e5e565b9050919050565b7f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b6000613efd60228361353e565b9150613f0882613ea1565b604082019050919050565b60006020820190508181036000830152613f2c81613ef0565b9050919050565b7f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000602082015250565b6000613f8f60398361353e565b9150613f9a82613f33565b604082019050919050565b60006020820190508181036000830152613fbe81613f82565b9050919050565b7f54686520636f6e74726163742069732070617573656421000000000000000000600082015250565b6000613ffb60178361353e565b915061400682613fc5565b602082019050919050565b6000602082019050818103600083015261402a81613fee565b9050919050565b7f496e76616c6964206d696e7420616d6f756e7421000000000000000000000000600082015250565b600061406760148361353e565b915061407282614031565b602082019050919050565b600060208201905081810360008301526140968161405a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006140d7826135e5565b91506140e2836135e5565b92508282019050808211156140fa576140f961409d565b5b92915050565b7f536f6c64206f7574210000000000000000000000000000000000000000000000600082015250565b600061413660098361353e565b915061414182614100565b602082019050919050565b6000602082019050818103600083015261416581614129565b9050919050565b7f4d6178206d696e74207065722077616c6c657420657863656564656421000000600082015250565b60006141a2601d8361353e565b91506141ad8261416c565b602082019050919050565b600060208201905081810360008301526141d181614195565b9050919050565b60006141e3826135e5565b91506141ee836135e5565b92508282026141fc816135e5565b915082820484148315176142135761421261409d565b5b5092915050565b7f506c656173652073656e642074686520657861637420616d6f756e742e000000600082015250565b6000614250601d8361353e565b915061425b8261421a565b602082019050919050565b6000602082019050818103600083015261427f81614243565b9050919050565b7f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60008201527f6473000000000000000000000000000000000000000000000000000000000000602082015250565b60006142e260228361353e565b91506142ed82614286565b604082019050919050565b60006020820190508181036000830152614311816142d5565b9050919050565b7f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060008201527f6f776e657220627920696e646578000000000000000000000000000000000000602082015250565b6000614374602e8361353e565b915061437f82614318565b604082019050919050565b600060208201905081810360008301526143a381614367565b9050919050565b7f4d696e696d756d2031204e46542068617320746f206265206d696e746564207060008201527f6572207472616e73616374696f6e000000000000000000000000000000000000602082015250565b6000614406602e8361353e565b9150614411826143aa565b604082019050919050565b60006020820190508181036000830152614435816143f9565b9050919050565b7f536f6c64206f7574000000000000000000000000000000000000000000000000600082015250565b600061447260088361353e565b915061447d8261443c565b602082019050919050565b600060208201905081810360008301526144a181614465565b9050919050565b600081905092915050565b50565b60006144c36000836144a8565b91506144ce826144b3565b600082019050919050565b60006144e4826144b6565b9150819050919050565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b600061452460108361353e565b915061452f826144ee565b602082019050919050565b6000602082019050818103600083015261455381614517565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000614594826135e5565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036145c6576145c561409d565b5b600182019050919050565b7f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560008201527f6e64730000000000000000000000000000000000000000000000000000000000602082015250565b600061462d60238361353e565b9150614638826145d1565b604082019050919050565b6000602082019050818103600083015261465c81614620565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026146c57fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82614688565b6146cf8683614688565b95508019841693508086168417925050509392505050565b6000819050919050565b600061470c614707614702846135e5565b6146e7565b6135e5565b9050919050565b6000819050919050565b614726836146f1565b61473a61473282614713565b848454614695565b825550505050565b600090565b61474f614742565b61475a81848461471d565b505050565b5b8181101561477e57614773600082614747565b600181019050614760565b5050565b601f8211156147c35761479481614663565b61479d84614678565b810160208510156147ac578190505b6147c06147b885614678565b83018261475f565b50505b505050565b600082821c905092915050565b60006147e6600019846008026147c8565b1980831691505092915050565b60006147ff83836147d5565b9150826002028217905092915050565b61481882613533565b67ffffffffffffffff81111561483157614830613960565b5b61483b8254613dde565b614846828285614782565b600060209050601f8311600181146148795760008415614867578287015190505b61487185826147f3565b8655506148d9565b601f19841661488786614663565b60005b828110156148af5784890151825560018201915060208501945060208101905061488a565b868310156148cc57848901516148c8601f8916826147d5565b8355505b6001600288020188555050505b505050505050565b7f455243373231413a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b600061493d602b8361353e565b9150614948826148e1565b604082019050919050565b6000602082019050818103600083015261496c81614930565b9050919050565b7f4d617820737570706c7920657863656564656421000000000000000000000000600082015250565b60006149a960148361353e565b91506149b482614973565b602082019050919050565b600060208201905081810360008301526149d88161499c565b9050919050565b7f455243373231413a20617070726f766520746f2063616c6c6572000000000000600082015250565b6000614a15601a8361353e565b9150614a20826149df565b602082019050919050565b60006020820190508181036000830152614a4481614a08565b9050919050565b7f455243373231413a207472616e7366657220746f206e6f6e204552433732315260008201527f6563656976657220696d706c656d656e74657200000000000000000000000000602082015250565b6000614aa760338361353e565b9150614ab282614a4b565b604082019050919050565b60006020820190508181036000830152614ad681614a9a565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000614b39602f8361353e565b9150614b4482614add565b604082019050919050565b60006020820190508181036000830152614b6881614b2c565b9050919050565b600081905092915050565b6000614b8582613533565b614b8f8185614b6f565b9350614b9f81856020860161354f565b80840191505092915050565b60008154614bb881613dde565b614bc28186614b6f565b94506001821660008114614bdd5760018114614bf257614c25565b60ff1983168652811515820286019350614c25565b614bfb85614663565b60005b83811015614c1d57815481890152600182019150602081019050614bfe565b838801955050505b50505092915050565b6000614c3a8286614b7a565b9150614c468285614b7a565b9150614c528284614bab565b9150819050949350505050565b7f41646472657373206973206e6f742077686974656c6973746564210000000000600082015250565b6000614c95601b8361353e565b9150614ca082614c5f565b602082019050919050565b60006020820190508181036000830152614cc481614c88565b9050919050565b60008160601b9050919050565b6000614ce382614ccb565b9050919050565b6000614cf582614cd8565b9050919050565b614d0d614d0882613692565b614cea565b82525050565b6000614d1f8284614cfc565b60148201915081905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614d8a60268361353e565b9150614d9582614d2e565b604082019050919050565b60006020820190508181036000830152614db981614d7d565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614df660208361353e565b9150614e0182614dc0565b602082019050919050565b60006020820190508181036000830152614e2581614de9565b9050919050565b7f455243373231413a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b6000614e8860328361353e565b9150614e9382614e2c565b604082019050919050565b60006020820190508181036000830152614eb781614e7b565b9050919050565b7f455243373231413a207472616e736665722066726f6d20696e636f727265637460008201527f206f776e65720000000000000000000000000000000000000000000000000000602082015250565b6000614f1a60268361353e565b9150614f2582614ebe565b604082019050919050565b60006020820190508181036000830152614f4981614f0d565b9050919050565b7f455243373231413a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000614fac60258361353e565b9150614fb782614f50565b604082019050919050565b60006020820190508181036000830152614fdb81614f9f565b9050919050565b7f455243373231413a206f776e657220717565727920666f72206e6f6e6578697360008201527f74656e7420746f6b656e00000000000000000000000000000000000000000000602082015250565b600061503e602a8361353e565b915061504982614fe2565b604082019050919050565b6000602082019050818103600083015261506d81615031565b9050919050565b7f455243373231413a20756e61626c6520746f2064657465726d696e652074686560008201527f206f776e6572206f6620746f6b656e0000000000000000000000000000000000602082015250565b60006150d0602f8361353e565b91506150db82615074565b604082019050919050565b600060208201905081810360008301526150ff816150c3565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061512d82615106565b6151378185615111565b935061514781856020860161354f565b61515081613579565b840191505092915050565b600060808201905061517060008301876136a4565b61517d60208301866136a4565b61518a60408301856135ef565b818103606083015261519c8184615122565b905095945050505050565b6000815190506151b6816134a4565b92915050565b6000602082840312156151d2576151d161346e565b5b60006151e0848285016151a7565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f455243373231413a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600061527460218361353e565b915061527f82615218565b604082019050919050565b600060208201905081810360008301526152a381615267565b9050919050565b7f455243373231413a207175616e74697479206d7573742062652067726561746560008201527f72207468616e2030000000000000000000000000000000000000000000000000602082015250565b600061530660288361353e565b9150615311826152aa565b604082019050919050565b60006020820190508181036000830152615335816152f9565b905091905056fea26469706673582212208536b5c16edcf13ee8cbed3b48bd1d28f58e134e7af55fdf6cf7f39200814e9264736f6c63430008110033
Deployed Bytecode
0x6080604052600436106102c95760003560e01c8063715018a611610175578063c7f8d01a116100dc578063e0a8085311610095578063ef8319cd1161006f578063ef8319cd14610af6578063f2fde38b14610b21578063f51f96dd14610b4a578063f968adbe14610b75576102c9565b8063e0a8085314610a53578063e985e9c514610a7c578063ed475f6314610ab9576102c9565b8063c7f8d01a1461093c578063c87b56dd14610967578063cd3d46f2146109a4578063d2cab056146109e1578063d5abeb01146109fd578063de137a4a14610a28576102c9565b80638dd07d0f1161012e5780638dd07d0f1461084457806395d89b411461086d578063a22cb46514610898578063b88d4fde146108c1578063bc337182146108ea578063c6f6f21614610913576102c9565b8063715018a61461075c5780637437681e14610773578063777f01f51461079e57806378cf19e9146107c75780637ec4a659146107f05780638da5cb5b14610819576102c9565b80633ccfd60b116102345780634fdd43cb116101ed5780636352211e116101c75780636352211e1461067c57806366cbf2e2146106b95780636f8b44b0146106f657806370a082311461071f576102c9565b80634fdd43cb146105fd57806351830227146106265780635c975abb14610651576102c9565b80633ccfd60b146104ef5780633f296d491461050657806342842e0e14610531578063438b63001461055a578063440bc7f3146105975780634f6ccce7146105c0576102c9565b806318160ddd1161028657806318160ddd146103f05780631919fed71461041b57806323b872dd146104445780632db115441461046d5780632f745c59146104895780632fbba115146104c6576102c9565b806301ffc9a7146102ce57806306fdde031461030b57806308119f2014610336578063081812fc14610361578063095ea7b31461039e57806316c38b3c146103c7575b600080fd5b3480156102da57600080fd5b506102f560048036038101906102f091906134d0565b610ba0565b6040516103029190613518565b60405180910390f35b34801561031757600080fd5b50610320610cea565b60405161032d91906135c3565b60405180910390f35b34801561034257600080fd5b5061034b610d7c565b60405161035891906135fe565b60405180910390f35b34801561036d57600080fd5b5061038860048036038101906103839190613645565b610d82565b60405161039591906136b3565b60405180910390f35b3480156103aa57600080fd5b506103c560048036038101906103c091906136fa565b610e07565b005b3480156103d357600080fd5b506103ee60048036038101906103e99190613766565b610f1f565b005b3480156103fc57600080fd5b50610405610f44565b60405161041291906135fe565b60405180910390f35b34801561042757600080fd5b50610442600480360381019061043d9190613645565b610f4d565b005b34801561045057600080fd5b5061046b60048036038101906104669190613793565b610f5f565b005b61048760048036038101906104829190613645565b610f6f565b005b34801561049557600080fd5b506104b060048036038101906104ab91906136fa565b6111fd565b6040516104bd91906135fe565b60405180910390f35b3480156104d257600080fd5b506104ed60048036038101906104e89190613645565b6113ed565b005b3480156104fb57600080fd5b5061050461149c565b005b34801561051257600080fd5b5061051b611553565b60405161052891906135fe565b60405180910390f35b34801561053d57600080fd5b5061055860048036038101906105539190613793565b611559565b005b34801561056657600080fd5b50610581600480360381019061057c91906137e6565b611579565b60405161058e91906138d1565b60405180910390f35b3480156105a357600080fd5b506105be60048036038101906105b99190613929565b611683565b005b3480156105cc57600080fd5b506105e760048036038101906105e29190613645565b611695565b6040516105f491906135fe565b60405180910390f35b34801561060957600080fd5b50610624600480360381019061061f9190613a8b565b6116e8565b005b34801561063257600080fd5b5061063b611703565b6040516106489190613518565b60405180910390f35b34801561065d57600080fd5b50610666611716565b6040516106739190613518565b60405180910390f35b34801561068857600080fd5b506106a3600480360381019061069e9190613645565b611729565b6040516106b091906136b3565b60405180910390f35b3480156106c557600080fd5b506106e060048036038101906106db91906137e6565b61173f565b6040516106ed91906135fe565b60405180910390f35b34801561070257600080fd5b5061071d60048036038101906107189190613645565b611757565b005b34801561072b57600080fd5b50610746600480360381019061074191906137e6565b611769565b60405161075391906135fe565b60405180910390f35b34801561076857600080fd5b50610771611851565b005b34801561077f57600080fd5b50610788611865565b60405161079591906135fe565b60405180910390f35b3480156107aa57600080fd5b506107c560048036038101906107c09190613645565b61186b565b005b3480156107d357600080fd5b506107ee60048036038101906107e991906136fa565b61187d565b005b3480156107fc57600080fd5b5061081760048036038101906108129190613a8b565b61192d565b005b34801561082557600080fd5b5061082e611948565b60405161083b91906136b3565b60405180910390f35b34801561085057600080fd5b5061086b60048036038101906108669190613645565b611972565b005b34801561087957600080fd5b50610882611984565b60405161088f91906135c3565b60405180910390f35b3480156108a457600080fd5b506108bf60048036038101906108ba9190613ad4565b611a16565b005b3480156108cd57600080fd5b506108e860048036038101906108e39190613bb5565b611b96565b005b3480156108f657600080fd5b50610911600480360381019061090c9190613645565b611bf2565b005b34801561091f57600080fd5b5061093a60048036038101906109359190613645565b611c04565b005b34801561094857600080fd5b50610951611c16565b60405161095e91906135fe565b60405180910390f35b34801561097357600080fd5b5061098e60048036038101906109899190613645565b611c1c565b60405161099b91906135c3565b60405180910390f35b3480156109b057600080fd5b506109cb60048036038101906109c691906137e6565b611d74565b6040516109d891906135fe565b60405180910390f35b6109fb60048036038101906109f69190613c98565b611d8c565b005b348015610a0957600080fd5b50610a1261202a565b604051610a1f91906135fe565b60405180910390f35b348015610a3457600080fd5b50610a3d612030565b604051610a4a91906135fe565b60405180910390f35b348015610a5f57600080fd5b50610a7a6004803603810190610a759190613766565b612036565b005b348015610a8857600080fd5b50610aa36004803603810190610a9e9190613cf8565b61205b565b604051610ab09190613518565b60405180910390f35b348015610ac557600080fd5b50610ae06004803603810190610adb9190613d38565b6120ef565b604051610aed9190613518565b60405180910390f35b348015610b0257600080fd5b50610b0b612184565b604051610b189190613d94565b60405180910390f35b348015610b2d57600080fd5b50610b486004803603810190610b4391906137e6565b61218a565b005b348015610b5657600080fd5b50610b5f61220d565b604051610b6c91906135fe565b60405180910390f35b348015610b8157600080fd5b50610b8a612213565b604051610b9791906135fe565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610c6b57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610cd357507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610ce35750610ce282612219565b5b9050919050565b606060018054610cf990613dde565b80601f0160208091040260200160405190810160405280929190818152602001828054610d2590613dde565b8015610d725780601f10610d4757610100808354040283529160200191610d72565b820191906000526020600020905b815481529060010190602001808311610d5557829003601f168201915b5050505050905090565b60155481565b6000610d8d82612283565b610dcc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc390613e81565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610e1282611729565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610e82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7990613f13565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610ea1612290565b73ffffffffffffffffffffffffffffffffffffffff161480610ed05750610ecf81610eca612290565b61205b565b5b610f0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0690613fa5565b60405180910390fd5b610f1a838383612298565b505050565b610f2761234a565b80600a60016101000a81548160ff02191690831515021790555050565b60008054905090565b610f5561234a565b80600f8190555050565b610f6a8383836123c8565b505050565b600a60019054906101000a900460ff1615610fbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb690614011565b60405180910390fd5b600081118015610fd157506012548111155b611010576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110079061407d565b60405180910390fd5b6013548161101c610f44565b61102691906140cc565b1115611067576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105e9061414c565b60405180910390fd5b61106f611948565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146111815760115481601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546110ef91906140cc565b1115611130576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611127906141b8565b60405180910390fd5b80600f5461113e91906141d8565b341015611180576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117790614266565b60405180910390fd5b5b61118b3382612906565b80601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546111da91906140cc565b9250508190555080601560008282546111f391906140cc565b9250508190555050565b600061120883611769565b8210611249576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611240906142f8565b60405180910390fd5b6000611253610f44565b905060008060005b838110156113ab576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461134d57806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361139d578684036113945781955050505050506113e7565b83806001019450505b50808060010191505061125b565b506040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113de9061438a565b60405180910390fd5b92915050565b6113f561234a565b60008111611438576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142f9061441c565b60405180910390fd5b60135481611444610f44565b61144e91906140cc565b111561148f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148690614488565b60405180910390fd5b6114993382612906565b50565b6114a461234a565b60003373ffffffffffffffffffffffffffffffffffffffff16476040516114ca906144d9565b60006040518083038185875af1925050503d8060008114611507576040519150601f19603f3d011682016040523d82523d6000602084013e61150c565b606091505b5050905080611550576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115479061453a565b60405180910390fd5b50565b60145481565b61157483838360405180602001604052806000815250611b96565b505050565b6060600061158683611769565b905060008167ffffffffffffffff8111156115a4576115a3613960565b5b6040519080825280602002602001820160405280156115d25781602001602082028036833780820191505090505b50905060006001905060005b83811080156115ef57506013548211155b156116775760006115ff83611729565b90508673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361166357828483815181106116485761164761455a565b5b602002602001018181525050818061165f90614589565b9250505b828061166e90614589565b935050506115de565b82945050505050919050565b61168b61234a565b8060098190555050565b600061169f610f44565b82106116e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d790614643565b60405180910390fd5b819050919050565b6116f061234a565b80600d90816116ff919061480f565b5050565b600a60009054906101000a900460ff1681565b600a60019054906101000a900460ff1681565b600061173482612924565b600001519050919050565b60176020528060005260406000206000915090505481565b61175f61234a565b8060138190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036117d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117d090614953565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b61185961234a565b6118636000612abe565b565b60115481565b61187361234a565b8060108190555050565b61188561234a565b600081116118c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118bf9061441c565b60405180910390fd5b601354816118d4610f44565b6118de91906140cc565b111561191f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611916906149bf565b60405180910390fd5b6119298282612906565b5050565b61193561234a565b80600b9081611944919061480f565b5050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61197a61234a565b80600e8190555050565b60606002805461199390613dde565b80601f01602080910402602001604051908101604052809291908181526020018280546119bf90613dde565b8015611a0c5780601f106119e157610100808354040283529160200191611a0c565b820191906000526020600020905b8154815290600101906020018083116119ef57829003601f168201915b5050505050905090565b611a1e612290565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611a8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8290614a2b565b60405180910390fd5b8060066000611a98612290565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611b45612290565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611b8a9190613518565b60405180910390a35050565b611ba18484846123c8565b611bad84848484612b84565b611bec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611be390614abd565b60405180910390fd5b50505050565b611bfa61234a565b8060118190555050565b611c0c61234a565b8060128190555050565b600e5481565b6060611c2782612283565b611c66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c5d90614b4f565b60405180910390fd5b60001515600a60009054906101000a900460ff16151503611d1357600d8054611c8e90613dde565b80601f0160208091040260200160405190810160405280929190818152602001828054611cba90613dde565b8015611d075780601f10611cdc57610100808354040283529160200191611d07565b820191906000526020600020905b815481529060010190602001808311611cea57829003601f168201915b50505050509050611d6f565b6000611d1d612d0b565b90506000815111611d3d5760405180602001604052806000815250611d6b565b80611d4784612d9d565b600c604051602001611d5b93929190614c2e565b6040516020818303038152906040525b9150505b919050565b60166020528060005260406000206000915090505481565b600a60019054906101000a900460ff1615611ddc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dd390614011565b60405180910390fd5b611de682826120ef565b611e25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1c90614cab565b60405180910390fd5b600083118015611e3757506012548311155b611e76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e6d9061407d565b60405180910390fd5b60135483611e82610f44565b611e8c91906140cc565b1115611ecd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ec49061414c565b60405180910390fd5b60115483601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611f1b91906140cc565b1115611f5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f53906141b8565b60405180910390fd5b82600e54611f6a91906141d8565b341015611fac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fa390614266565b60405180910390fd5b611fb63384612906565b82601760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461200591906140cc565b92505081905550826014600082825461201e91906140cc565b92505081905550505050565b60135481565b60105481565b61203e61234a565b80600a60006101000a81548160ff02191690831515021790555050565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600080336040516020016121039190614d13565b604051602081830303815290604052805190602001209050612169848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060095483612e6b565b1561217857600191505061217e565b60009150505b92915050565b60095481565b61219261234a565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612201576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121f890614da0565b60405180910390fd5b61220a81612abe565b50565b600f5481565b60125481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000805482109050919050565b600033905090565b826005600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b612352612290565b73ffffffffffffffffffffffffffffffffffffffff16612370611948565b73ffffffffffffffffffffffffffffffffffffffff16146123c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123bd90614e0c565b60405180910390fd5b565b60006123d382612924565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff166123fa612290565b73ffffffffffffffffffffffffffffffffffffffff161480612456575061241f612290565b73ffffffffffffffffffffffffffffffffffffffff1661243e84610d82565b73ffffffffffffffffffffffffffffffffffffffff16145b806124725750612471826000015161246c612290565b61205b565b5b9050806124b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124ab90614e9e565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614612526576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161251d90614f30565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612595576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161258c90614fc2565b60405180910390fd5b6125a28585856001612e82565b6125b26000848460000151612298565b6001600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160392506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550836003600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603612896576127f581612283565b156128955782600001516003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46128ff8585856001612e88565b5050505050565b612920828260405180602001604052806000815250612e8e565b5050565b61292c61342a565b61293582612283565b612974576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161296b90615054565b60405180910390fd5b60008290505b60008110612a7d576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612a6e578092505050612ab9565b5080806001900391505061297a565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ab0906150e6565b60405180910390fd5b919050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000612ba58473ffffffffffffffffffffffffffffffffffffffff16612ea0565b15612cfe578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612bce612290565b8786866040518563ffffffff1660e01b8152600401612bf0949392919061515b565b6020604051808303816000875af1925050508015612c2c57506040513d601f19601f82011682018060405250810190612c2991906151bc565b60015b612cae573d8060008114612c5c576040519150601f19603f3d011682016040523d82523d6000602084013e612c61565b606091505b506000815103612ca6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c9d90614abd565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612d03565b600190505b949350505050565b6060600b8054612d1a90613dde565b80601f0160208091040260200160405190810160405280929190818152602001828054612d4690613dde565b8015612d935780601f10612d6857610100808354040283529160200191612d93565b820191906000526020600020905b815481529060010190602001808311612d7657829003601f168201915b5050505050905090565b606060006001612dac84612ec3565b01905060008167ffffffffffffffff811115612dcb57612dca613960565b5b6040519080825280601f01601f191660200182016040528015612dfd5781602001600182028036833780820191505090505b509050600082602001820190505b600115612e60578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8581612e5457612e536151e9565b5b04945060008503612e0b575b819350505050919050565b600082612e788584613016565b1490509392505050565b50505050565b50505050565b612e9b838383600161306c565b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310612f21577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381612f1757612f166151e9565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310612f5e576d04ee2d6d415b85acef81000000008381612f5457612f536151e9565b5b0492506020810190505b662386f26fc100008310612f8d57662386f26fc100008381612f8357612f826151e9565b5b0492506010810190505b6305f5e1008310612fb6576305f5e1008381612fac57612fab6151e9565b5b0492506008810190505b6127108310612fdb576127108381612fd157612fd06151e9565b5b0492506004810190505b60648310612ffe5760648381612ff457612ff36151e9565b5b0492506002810190505b600a831061300d576001810190505b80915050919050565b60008082905060005b84518110156130615761304c8286838151811061303f5761303e61455a565b5b60200260200101516133e8565b9150808061305990614589565b91505061301f565b508091505092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16036130e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130d89061528a565b60405180910390fd5b60008403613124576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161311b9061531c565b60405180910390fd5b6131316000868387612e82565b83600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555083600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160108282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550846003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060005b858110156133cb57818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a483156133b6576133766000888488612b84565b6133b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133ac90614abd565b60405180910390fd5b5b818060010192505080806001019150506132ff565b5080600081905550506133e16000868387612e88565b5050505050565b6000818310613400576133fb8284613413565b61340b565b61340a8383613413565b5b905092915050565b600082600052816020526040600020905092915050565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6134ad81613478565b81146134b857600080fd5b50565b6000813590506134ca816134a4565b92915050565b6000602082840312156134e6576134e561346e565b5b60006134f4848285016134bb565b91505092915050565b60008115159050919050565b613512816134fd565b82525050565b600060208201905061352d6000830184613509565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561356d578082015181840152602081019050613552565b60008484015250505050565b6000601f19601f8301169050919050565b600061359582613533565b61359f818561353e565b93506135af81856020860161354f565b6135b881613579565b840191505092915050565b600060208201905081810360008301526135dd818461358a565b905092915050565b6000819050919050565b6135f8816135e5565b82525050565b600060208201905061361360008301846135ef565b92915050565b613622816135e5565b811461362d57600080fd5b50565b60008135905061363f81613619565b92915050565b60006020828403121561365b5761365a61346e565b5b600061366984828501613630565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061369d82613672565b9050919050565b6136ad81613692565b82525050565b60006020820190506136c860008301846136a4565b92915050565b6136d781613692565b81146136e257600080fd5b50565b6000813590506136f4816136ce565b92915050565b600080604083850312156137115761371061346e565b5b600061371f858286016136e5565b925050602061373085828601613630565b9150509250929050565b613743816134fd565b811461374e57600080fd5b50565b6000813590506137608161373a565b92915050565b60006020828403121561377c5761377b61346e565b5b600061378a84828501613751565b91505092915050565b6000806000606084860312156137ac576137ab61346e565b5b60006137ba868287016136e5565b93505060206137cb868287016136e5565b92505060406137dc86828701613630565b9150509250925092565b6000602082840312156137fc576137fb61346e565b5b600061380a848285016136e5565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613848816135e5565b82525050565b600061385a838361383f565b60208301905092915050565b6000602082019050919050565b600061387e82613813565b613888818561381e565b93506138938361382f565b8060005b838110156138c45781516138ab888261384e565b97506138b683613866565b925050600181019050613897565b5085935050505092915050565b600060208201905081810360008301526138eb8184613873565b905092915050565b6000819050919050565b613906816138f3565b811461391157600080fd5b50565b600081359050613923816138fd565b92915050565b60006020828403121561393f5761393e61346e565b5b600061394d84828501613914565b91505092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61399882613579565b810181811067ffffffffffffffff821117156139b7576139b6613960565b5b80604052505050565b60006139ca613464565b90506139d6828261398f565b919050565b600067ffffffffffffffff8211156139f6576139f5613960565b5b6139ff82613579565b9050602081019050919050565b82818337600083830152505050565b6000613a2e613a29846139db565b6139c0565b905082815260208101848484011115613a4a57613a4961395b565b5b613a55848285613a0c565b509392505050565b600082601f830112613a7257613a71613956565b5b8135613a82848260208601613a1b565b91505092915050565b600060208284031215613aa157613aa061346e565b5b600082013567ffffffffffffffff811115613abf57613abe613473565b5b613acb84828501613a5d565b91505092915050565b60008060408385031215613aeb57613aea61346e565b5b6000613af9858286016136e5565b9250506020613b0a85828601613751565b9150509250929050565b600067ffffffffffffffff821115613b2f57613b2e613960565b5b613b3882613579565b9050602081019050919050565b6000613b58613b5384613b14565b6139c0565b905082815260208101848484011115613b7457613b7361395b565b5b613b7f848285613a0c565b509392505050565b600082601f830112613b9c57613b9b613956565b5b8135613bac848260208601613b45565b91505092915050565b60008060008060808587031215613bcf57613bce61346e565b5b6000613bdd878288016136e5565b9450506020613bee878288016136e5565b9350506040613bff87828801613630565b925050606085013567ffffffffffffffff811115613c2057613c1f613473565b5b613c2c87828801613b87565b91505092959194509250565b600080fd5b600080fd5b60008083601f840112613c5857613c57613956565b5b8235905067ffffffffffffffff811115613c7557613c74613c38565b5b602083019150836020820283011115613c9157613c90613c3d565b5b9250929050565b600080600060408486031215613cb157613cb061346e565b5b6000613cbf86828701613630565b935050602084013567ffffffffffffffff811115613ce057613cdf613473565b5b613cec86828701613c42565b92509250509250925092565b60008060408385031215613d0f57613d0e61346e565b5b6000613d1d858286016136e5565b9250506020613d2e858286016136e5565b9150509250929050565b60008060208385031215613d4f57613d4e61346e565b5b600083013567ffffffffffffffff811115613d6d57613d6c613473565b5b613d7985828601613c42565b92509250509250929050565b613d8e816138f3565b82525050565b6000602082019050613da96000830184613d85565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613df657607f821691505b602082108103613e0957613e08613daf565b5b50919050565b7f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560008201527f78697374656e7420746f6b656e00000000000000000000000000000000000000602082015250565b6000613e6b602d8361353e565b9150613e7682613e0f565b604082019050919050565b60006020820190508181036000830152613e9a81613e5e565b9050919050565b7f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b6000613efd60228361353e565b9150613f0882613ea1565b604082019050919050565b60006020820190508181036000830152613f2c81613ef0565b9050919050565b7f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000602082015250565b6000613f8f60398361353e565b9150613f9a82613f33565b604082019050919050565b60006020820190508181036000830152613fbe81613f82565b9050919050565b7f54686520636f6e74726163742069732070617573656421000000000000000000600082015250565b6000613ffb60178361353e565b915061400682613fc5565b602082019050919050565b6000602082019050818103600083015261402a81613fee565b9050919050565b7f496e76616c6964206d696e7420616d6f756e7421000000000000000000000000600082015250565b600061406760148361353e565b915061407282614031565b602082019050919050565b600060208201905081810360008301526140968161405a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006140d7826135e5565b91506140e2836135e5565b92508282019050808211156140fa576140f961409d565b5b92915050565b7f536f6c64206f7574210000000000000000000000000000000000000000000000600082015250565b600061413660098361353e565b915061414182614100565b602082019050919050565b6000602082019050818103600083015261416581614129565b9050919050565b7f4d6178206d696e74207065722077616c6c657420657863656564656421000000600082015250565b60006141a2601d8361353e565b91506141ad8261416c565b602082019050919050565b600060208201905081810360008301526141d181614195565b9050919050565b60006141e3826135e5565b91506141ee836135e5565b92508282026141fc816135e5565b915082820484148315176142135761421261409d565b5b5092915050565b7f506c656173652073656e642074686520657861637420616d6f756e742e000000600082015250565b6000614250601d8361353e565b915061425b8261421a565b602082019050919050565b6000602082019050818103600083015261427f81614243565b9050919050565b7f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60008201527f6473000000000000000000000000000000000000000000000000000000000000602082015250565b60006142e260228361353e565b91506142ed82614286565b604082019050919050565b60006020820190508181036000830152614311816142d5565b9050919050565b7f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060008201527f6f776e657220627920696e646578000000000000000000000000000000000000602082015250565b6000614374602e8361353e565b915061437f82614318565b604082019050919050565b600060208201905081810360008301526143a381614367565b9050919050565b7f4d696e696d756d2031204e46542068617320746f206265206d696e746564207060008201527f6572207472616e73616374696f6e000000000000000000000000000000000000602082015250565b6000614406602e8361353e565b9150614411826143aa565b604082019050919050565b60006020820190508181036000830152614435816143f9565b9050919050565b7f536f6c64206f7574000000000000000000000000000000000000000000000000600082015250565b600061447260088361353e565b915061447d8261443c565b602082019050919050565b600060208201905081810360008301526144a181614465565b9050919050565b600081905092915050565b50565b60006144c36000836144a8565b91506144ce826144b3565b600082019050919050565b60006144e4826144b6565b9150819050919050565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b600061452460108361353e565b915061452f826144ee565b602082019050919050565b6000602082019050818103600083015261455381614517565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000614594826135e5565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036145c6576145c561409d565b5b600182019050919050565b7f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560008201527f6e64730000000000000000000000000000000000000000000000000000000000602082015250565b600061462d60238361353e565b9150614638826145d1565b604082019050919050565b6000602082019050818103600083015261465c81614620565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026146c57fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82614688565b6146cf8683614688565b95508019841693508086168417925050509392505050565b6000819050919050565b600061470c614707614702846135e5565b6146e7565b6135e5565b9050919050565b6000819050919050565b614726836146f1565b61473a61473282614713565b848454614695565b825550505050565b600090565b61474f614742565b61475a81848461471d565b505050565b5b8181101561477e57614773600082614747565b600181019050614760565b5050565b601f8211156147c35761479481614663565b61479d84614678565b810160208510156147ac578190505b6147c06147b885614678565b83018261475f565b50505b505050565b600082821c905092915050565b60006147e6600019846008026147c8565b1980831691505092915050565b60006147ff83836147d5565b9150826002028217905092915050565b61481882613533565b67ffffffffffffffff81111561483157614830613960565b5b61483b8254613dde565b614846828285614782565b600060209050601f8311600181146148795760008415614867578287015190505b61487185826147f3565b8655506148d9565b601f19841661488786614663565b60005b828110156148af5784890151825560018201915060208501945060208101905061488a565b868310156148cc57848901516148c8601f8916826147d5565b8355505b6001600288020188555050505b505050505050565b7f455243373231413a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b600061493d602b8361353e565b9150614948826148e1565b604082019050919050565b6000602082019050818103600083015261496c81614930565b9050919050565b7f4d617820737570706c7920657863656564656421000000000000000000000000600082015250565b60006149a960148361353e565b91506149b482614973565b602082019050919050565b600060208201905081810360008301526149d88161499c565b9050919050565b7f455243373231413a20617070726f766520746f2063616c6c6572000000000000600082015250565b6000614a15601a8361353e565b9150614a20826149df565b602082019050919050565b60006020820190508181036000830152614a4481614a08565b9050919050565b7f455243373231413a207472616e7366657220746f206e6f6e204552433732315260008201527f6563656976657220696d706c656d656e74657200000000000000000000000000602082015250565b6000614aa760338361353e565b9150614ab282614a4b565b604082019050919050565b60006020820190508181036000830152614ad681614a9a565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000614b39602f8361353e565b9150614b4482614add565b604082019050919050565b60006020820190508181036000830152614b6881614b2c565b9050919050565b600081905092915050565b6000614b8582613533565b614b8f8185614b6f565b9350614b9f81856020860161354f565b80840191505092915050565b60008154614bb881613dde565b614bc28186614b6f565b94506001821660008114614bdd5760018114614bf257614c25565b60ff1983168652811515820286019350614c25565b614bfb85614663565b60005b83811015614c1d57815481890152600182019150602081019050614bfe565b838801955050505b50505092915050565b6000614c3a8286614b7a565b9150614c468285614b7a565b9150614c528284614bab565b9150819050949350505050565b7f41646472657373206973206e6f742077686974656c6973746564210000000000600082015250565b6000614c95601b8361353e565b9150614ca082614c5f565b602082019050919050565b60006020820190508181036000830152614cc481614c88565b9050919050565b60008160601b9050919050565b6000614ce382614ccb565b9050919050565b6000614cf582614cd8565b9050919050565b614d0d614d0882613692565b614cea565b82525050565b6000614d1f8284614cfc565b60148201915081905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614d8a60268361353e565b9150614d9582614d2e565b604082019050919050565b60006020820190508181036000830152614db981614d7d565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614df660208361353e565b9150614e0182614dc0565b602082019050919050565b60006020820190508181036000830152614e2581614de9565b9050919050565b7f455243373231413a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b6000614e8860328361353e565b9150614e9382614e2c565b604082019050919050565b60006020820190508181036000830152614eb781614e7b565b9050919050565b7f455243373231413a207472616e736665722066726f6d20696e636f727265637460008201527f206f776e65720000000000000000000000000000000000000000000000000000602082015250565b6000614f1a60268361353e565b9150614f2582614ebe565b604082019050919050565b60006020820190508181036000830152614f4981614f0d565b9050919050565b7f455243373231413a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000614fac60258361353e565b9150614fb782614f50565b604082019050919050565b60006020820190508181036000830152614fdb81614f9f565b9050919050565b7f455243373231413a206f776e657220717565727920666f72206e6f6e6578697360008201527f74656e7420746f6b656e00000000000000000000000000000000000000000000602082015250565b600061503e602a8361353e565b915061504982614fe2565b604082019050919050565b6000602082019050818103600083015261506d81615031565b9050919050565b7f455243373231413a20756e61626c6520746f2064657465726d696e652074686560008201527f206f776e6572206f6620746f6b656e0000000000000000000000000000000000602082015250565b60006150d0602f8361353e565b91506150db82615074565b604082019050919050565b600060208201905081810360008301526150ff816150c3565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061512d82615106565b6151378185615111565b935061514781856020860161354f565b61515081613579565b840191505092915050565b600060808201905061517060008301876136a4565b61517d60208301866136a4565b61518a60408301856135ef565b818103606083015261519c8184615122565b905095945050505050565b6000815190506151b6816134a4565b92915050565b6000602082840312156151d2576151d161346e565b5b60006151e0848285016151a7565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f455243373231413a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600061527460218361353e565b915061527f82615218565b604082019050919050565b600060208201905081810360008301526152a381615267565b9050919050565b7f455243373231413a207175616e74697479206d7573742062652067726561746560008201527f72207468616e2030000000000000000000000000000000000000000000000000602082015250565b600061530660288361353e565b9150615311826152aa565b604082019050919050565b60006020820190508181036000830152615335816152f9565b905091905056fea26469706673582212208536b5c16edcf13ee8cbed3b48bd1d28f58e134e7af55fdf6cf7f39200814e9264736f6c63430008110033
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.