Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 768 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Set Approval For... | 19088351 | 310 days ago | IN | 0 ETH | 0.00040963 | ||||
Set Approval For... | 19088251 | 310 days ago | IN | 0 ETH | 0.00039902 | ||||
Safe Transfer Fr... | 18702497 | 364 days ago | IN | 0 ETH | 0.00291856 | ||||
Set Approval For... | 18301617 | 420 days ago | IN | 0 ETH | 0.00013027 | ||||
Set Approval For... | 18097053 | 448 days ago | IN | 0 ETH | 0.00041824 | ||||
Set Approval For... | 18063525 | 453 days ago | IN | 0 ETH | 0.00071928 | ||||
Set Approval For... | 18063342 | 453 days ago | IN | 0 ETH | 0.00050631 | ||||
Set Approval For... | 18061620 | 453 days ago | IN | 0 ETH | 0.00055925 | ||||
Set Approval For... | 18061252 | 453 days ago | IN | 0 ETH | 0.00047278 | ||||
Set Approval For... | 18060013 | 454 days ago | IN | 0 ETH | 0.00051027 | ||||
Set Approval For... | 18055461 | 454 days ago | IN | 0 ETH | 0.00056287 | ||||
Set Approval For... | 18055092 | 454 days ago | IN | 0 ETH | 0.00051104 | ||||
Set Approval For... | 18053917 | 454 days ago | IN | 0 ETH | 0.00046901 | ||||
Set Approval For... | 18053537 | 455 days ago | IN | 0 ETH | 0.00048878 | ||||
Set Approval For... | 18050141 | 455 days ago | IN | 0 ETH | 0.00080612 | ||||
Set Approval For... | 18048920 | 455 days ago | IN | 0 ETH | 0.00063917 | ||||
Set Approval For... | 18047730 | 455 days ago | IN | 0 ETH | 0.00048772 | ||||
Set Approval For... | 18038665 | 457 days ago | IN | 0 ETH | 0.00052598 | ||||
Set Approval For... | 17969868 | 466 days ago | IN | 0 ETH | 0.00078389 | ||||
Approve | 17515917 | 530 days ago | IN | 0 ETH | 0.00117685 | ||||
Approve | 17515907 | 530 days ago | IN | 0 ETH | 0.00125223 | ||||
Set Approval For... | 17008915 | 601 days ago | IN | 0 ETH | 0.00051397 | ||||
Safe Transfer Fr... | 17001981 | 602 days ago | IN | 0 ETH | 0.00238092 | ||||
Set Approval For... | 16948067 | 610 days ago | IN | 0 ETH | 0.00186956 | ||||
Set Approval For... | 16704193 | 644 days ago | IN | 0 ETH | 0.00106313 |
Loading...
Loading
Contract Name:
theapesons
Compiler Version
v0.8.7+commit.e28d00a7
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT 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/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, Ownable { 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 theapesons is ERC721A { using Strings for uint256; // ----------------- VARAIBLES ----------------- bytes32 public merkleRootWl; mapping(address => bool) public whitelistClaimed; string private uriPrefix = ''; string private uriSuffix = '.json'; string private hiddenMetadataUri; uint256 public salePrice = 0.0025 ether; uint256 public wlPrice = 0.0025 ether; uint256 public maxPerTx = 10; uint256 public maxPerFree = 2; uint256 public maxTx = 10; uint256 public maxWlTx = 10; uint256 public maxWlSupply = 1000; uint256 public maxSupply = 5000; uint256 public wlMintCount = 0; bool public revealed = true; bool public paused = true; constructor() ERC721A('theapesons', 'aoesons') { setHiddenMetadataUri('ipfs://__CID__/hidden.json'); } /** * @notice Public Mint */ function publicMint(uint256 _quantity) external payable { require(!paused, 'The contract is paused!'); require(totalSupply() + _quantity <= maxSupply, 'Sold out!'); require(_quantity > 0 && _quantity <= maxPerTx, 'Invalid mint amount!'); if (msg.sender != owner()) { require(balanceOf(msg.sender) + _quantity <= maxTx, 'No more!'); require(msg.value >= _quantity * salePrice, 'Please send the exact amount.'); } _safeMint(msg.sender, _quantity); } /** * @notice Whitelist Mint */ function whitelistMint(uint256 _quantity, bytes32[] calldata _merkleProof) external payable { require(!paused, 'The contract is paused!'); require(wlMintCount + _quantity <= maxWlSupply, 'No more!'); require(totalSupply() + _quantity <= maxSupply, 'Sold out!'); require(_quantity > 0 && _quantity <= maxPerTx, 'Invalid mint amount!'); require(isWhitelist(_merkleProof), 'Address is not whitelisted!'); if (msg.sender != owner()) { require(balanceOf(msg.sender) + _quantity <= maxWlTx, 'No more!'); if (!whitelistClaimed[msg.sender]) { if(_quantity <= maxPerFree) { require(msg.value >= 0, 'Please send the exact amount.'); } else { require(msg.value >= (_quantity - maxPerFree) * wlPrice, 'Please send the exact amount.'); } whitelistClaimed[_msgSender()] = true; } else { require(msg.value >= _quantity * wlPrice, 'Please send the exact amount.'); } } wlMintCount = wlMintCount + _quantity; _safeMint(msg.sender, _quantity); } /** * @notice Team Mint */ function teamMint(uint256 _quantity) external onlyOwner { require(!paused, 'The contract is paused!'); require(_quantity > 0, 'Minimum 1 NFT has to be minted per transaction'); require(totalSupply() + _quantity <= maxSupply, 'Sold out'); _safeMint(msg.sender, _quantity); } /** * @notice airdrop */ function airdrop(address _to, uint256 _quantity) external onlyOwner { require(!paused, 'The contract is paused!'); require(_quantity + totalSupply() <= maxSupply, 'Sold out'); _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; } function setRevealed(bool _state) public onlyOwner { revealed = _state; } function setPaused(bool _state) external onlyOwner { paused = _state; } function setWhitelist(bytes32 _merkleRoot) external onlyOwner { merkleRootWl = _merkleRoot; } function setSalePrice(uint256 _newPrice) external onlyOwner { salePrice = _newPrice; } function setWlPrice(uint256 _newPrice) external onlyOwner { wlPrice = _newPrice; } function setMaxPerTx(uint256 _maxPerTx) public onlyOwner { maxPerTx = _maxPerTx; } function setMaxPerFree(uint256 _maxPerFree) public onlyOwner { maxPerFree = _maxPerFree; } function setMaxTx(uint256 _maxTx) public onlyOwner { maxTx = _maxTx; } function setMaxWlTx(uint256 _maxWLTx) public onlyOwner { maxWlTx = _maxWLTx; } function setMaxWhitelistSuplly(uint256 _maxWLSupply) public onlyOwner { maxWlSupply = _maxWLSupply; } 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 setUriSuffix(string memory _uriSuffix) public onlyOwner { uriSuffix = _uriSuffix; } 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 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":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"maxPerFree","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"maxWlSupply","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":[],"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":"_maxPerFree","type":"uint256"}],"name":"setMaxPerFree","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":"_maxWLSupply","type":"uint256"}],"name":"setMaxWhitelistSuplly","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":"string","name":"_uriSuffix","type":"string"}],"name":"setUriSuffix","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":"address","name":"","type":"address"}],"name":"whitelistClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"wlMintCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wlPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040526001805560405180602001604052806000815250600a90805190602001906200002f929190620003bb565b506040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250600b90805190602001906200007d929190620003bb565b506608e1bc9bf04000600d556608e1bc9bf04000600e55600a600f556002601055600a601155600a6012556103e860135561138860145560006015556001601660006101000a81548160ff0219169083151502179055506001601660016101000a81548160ff021916908315150217905550348015620000fc57600080fd5b506040518060400160405280600a81526020017f746865617065736f6e73000000000000000000000000000000000000000000008152506040518060400160405280600781526020017f616f65736f6e7300000000000000000000000000000000000000000000000000815250620001896200017d6200020960201b60201c565b6200021160201b60201c565b8160029080519060200190620001a1929190620003bb565b508060039080519060200190620001ba929190620003bb565b505050620002036040518060400160405280601a81526020017f697066733a2f2f5f5f4349445f5f2f68696464656e2e6a736f6e000000000000815250620002d560201b60201c565b62000553565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620002e56200030160201b60201c565b80600c9080519060200190620002fd929190620003bb565b5050565b620003116200020960201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620003376200039260201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000390576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003879062000492565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b828054620003c990620004c5565b90600052602060002090601f016020900481019282620003ed576000855562000439565b82601f106200040857805160ff191683800117855562000439565b8280016001018555821562000439579182015b82811115620004385782518255916020019190600101906200041b565b5b5090506200044891906200044c565b5090565b5b80821115620004675760008160009055506001016200044d565b5090565b60006200047a602083620004b4565b915062000487826200052a565b602082019050919050565b60006020820190508181036000830152620004ad816200046b565b9050919050565b600082825260208201905092915050565b60006002820490506001821680620004de57607f821691505b60208210811415620004f557620004f4620004fb565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6153f780620005636000396000f3fe60806040526004361061031a5760003560e01c8063715018a6116101ab578063c7c39ffc116100f7578063e945971c11610095578063ef8319cd1161006f578063ef8319cd14610bb0578063f2fde38b14610bdb578063f51f96dd14610c04578063f968adbe14610c2f5761031a565b8063e945971c14610b0d578063e985e9c514610b36578063ed475f6314610b735761031a565b8063d2cab056116100d1578063d2cab05614610a60578063d5abeb0114610a7c578063db4bec4414610aa7578063e0a8085314610ae45761031a565b8063c7c39ffc146109cd578063c7f8d01a146109f8578063c87b56dd14610a235761031a565b80638da5cb5b11610164578063a22cb4651161013e578063a22cb46514610929578063b88d4fde14610952578063bc3371821461097b578063c6f6f216146109a45761031a565b80638da5cb5b146108aa5780638dd07d0f146108d557806395d89b41146108fe5761031a565b8063715018a6146107c2578063720841cf146107d95780637437681e146108045780637ec4a6591461082f57806385f692a0146108585780638ba4cc3c146108815761031a565b80633ccfd60b1161026a5780634fdd43cb116102235780636352211e116101fd5780636352211e146106f657806366f05dda146107335780636f8b44b01461075c57806370a08231146107855761031a565b80634fdd43cb1461067757806351830227146106a05780635c975abb146106cb5761031a565b80633ccfd60b1461056957806342842e0e14610580578063438b6300146105a9578063440bc7f3146105e65780634a2db4871461060f5780634f6ccce71461063a5761031a565b806318160ddd116102d75780632db11544116102b15780632db11544146104bc5780632f745c59146104d85780632fbba11514610515578063324f1d6b1461053e5761031a565b806318160ddd1461043f5780631919fed71461046a57806323b872dd146104935761031a565b806301ffc9a71461031f57806306fdde031461035c578063081812fc14610387578063095ea7b3146103c457806316ba10e0146103ed57806316c38b3c14610416575b600080fd5b34801561032b57600080fd5b5061034660048036038101906103419190613b67565b610c5a565b6040516103539190614372565b60405180910390f35b34801561036857600080fd5b50610371610da4565b60405161037e91906143a8565b60405180910390f35b34801561039357600080fd5b506103ae60048036038101906103a99190613c0a565b610e36565b6040516103bb91906142e9565b60405180910390f35b3480156103d057600080fd5b506103eb60048036038101906103e69190613a80565b610ebb565b005b3480156103f957600080fd5b50610414600480360381019061040f9190613bc1565b610fd4565b005b34801561042257600080fd5b5061043d60048036038101906104389190613b0d565b610ff6565b005b34801561044b57600080fd5b5061045461101b565b604051610461919061474a565b60405180910390f35b34801561047657600080fd5b50610491600480360381019061048c9190613c0a565b611025565b005b34801561049f57600080fd5b506104ba60048036038101906104b5919061396a565b611037565b005b6104d660048036038101906104d19190613c0a565b611047565b005b3480156104e457600080fd5b506104ff60048036038101906104fa9190613a80565b61122f565b60405161050c919061474a565b60405180910390f35b34801561052157600080fd5b5061053c60048036038101906105379190613c0a565b611421565b005b34801561054a57600080fd5b50610553611520565b604051610560919061474a565b60405180910390f35b34801561057557600080fd5b5061057e611526565b005b34801561058c57600080fd5b506105a760048036038101906105a2919061396a565b6115dd565b005b3480156105b557600080fd5b506105d060048036038101906105cb91906138fd565b6115fd565b6040516105dd9190614350565b60405180910390f35b3480156105f257600080fd5b5061060d60048036038101906106089190613b3a565b611708565b005b34801561061b57600080fd5b5061062461171a565b604051610631919061474a565b60405180910390f35b34801561064657600080fd5b50610661600480360381019061065c9190613c0a565b611720565b60405161066e919061474a565b60405180910390f35b34801561068357600080fd5b5061069e60048036038101906106999190613bc1565b611773565b005b3480156106ac57600080fd5b506106b5611795565b6040516106c29190614372565b60405180910390f35b3480156106d757600080fd5b506106e06117a8565b6040516106ed9190614372565b60405180910390f35b34801561070257600080fd5b5061071d60048036038101906107189190613c0a565b6117bb565b60405161072a91906142e9565b60405180910390f35b34801561073f57600080fd5b5061075a60048036038101906107559190613c0a565b6117d1565b005b34801561076857600080fd5b50610783600480360381019061077e9190613c0a565b6117e3565b005b34801561079157600080fd5b506107ac60048036038101906107a791906138fd565b6117f5565b6040516107b9919061474a565b60405180910390f35b3480156107ce57600080fd5b506107d76118de565b005b3480156107e557600080fd5b506107ee6118f2565b6040516107fb919061474a565b60405180910390f35b34801561081057600080fd5b506108196118f8565b604051610826919061474a565b60405180910390f35b34801561083b57600080fd5b5061085660048036038101906108519190613bc1565b6118fe565b005b34801561086457600080fd5b5061087f600480360381019061087a9190613c0a565b611920565b005b34801561088d57600080fd5b506108a860048036038101906108a39190613a80565b611932565b005b3480156108b657600080fd5b506108bf6119ef565b6040516108cc91906142e9565b60405180910390f35b3480156108e157600080fd5b506108fc60048036038101906108f79190613c0a565b611a18565b005b34801561090a57600080fd5b50610913611a2a565b60405161092091906143a8565b60405180910390f35b34801561093557600080fd5b50610950600480360381019061094b9190613a40565b611abc565b005b34801561095e57600080fd5b50610979600480360381019061097491906139bd565b611c3d565b005b34801561098757600080fd5b506109a2600480360381019061099d9190613c0a565b611c99565b005b3480156109b057600080fd5b506109cb60048036038101906109c69190613c0a565b611cab565b005b3480156109d957600080fd5b506109e2611cbd565b6040516109ef919061474a565b60405180910390f35b348015610a0457600080fd5b50610a0d611cc3565b604051610a1a919061474a565b60405180910390f35b348015610a2f57600080fd5b50610a4a6004803603810190610a459190613c0a565b611cc9565b604051610a5791906143a8565b60405180910390f35b610a7a6004803603810190610a759190613c37565b611e22565b005b348015610a8857600080fd5b50610a91612221565b604051610a9e919061474a565b60405180910390f35b348015610ab357600080fd5b50610ace6004803603810190610ac991906138fd565b612227565b604051610adb9190614372565b60405180910390f35b348015610af057600080fd5b50610b0b6004803603810190610b069190613b0d565b612247565b005b348015610b1957600080fd5b50610b346004803603810190610b2f9190613c0a565b61226c565b005b348015610b4257600080fd5b50610b5d6004803603810190610b58919061392a565b61227e565b604051610b6a9190614372565b60405180910390f35b348015610b7f57600080fd5b50610b9a6004803603810190610b959190613ac0565b612312565b604051610ba79190614372565b60405180910390f35b348015610bbc57600080fd5b50610bc56123a7565b604051610bd2919061438d565b60405180910390f35b348015610be757600080fd5b50610c026004803603810190610bfd91906138fd565b6123ad565b005b348015610c1057600080fd5b50610c19612431565b604051610c26919061474a565b60405180910390f35b348015610c3b57600080fd5b50610c44612437565b604051610c51919061474a565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610d2557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610d8d57507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610d9d5750610d9c8261243d565b5b9050919050565b606060028054610db390614a2c565b80601f0160208091040260200160405190810160405280929190818152602001828054610ddf90614a2c565b8015610e2c5780601f10610e0157610100808354040283529160200191610e2c565b820191906000526020600020905b815481529060010190602001808311610e0f57829003601f168201915b5050505050905090565b6000610e41826124a7565b610e80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e779061470a565b60405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ec6826117bb565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610f37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2e9061460a565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610f566124b5565b73ffffffffffffffffffffffffffffffffffffffff161480610f855750610f8481610f7f6124b5565b61227e565b5b610fc4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fbb906144ca565b60405180910390fd5b610fcf8383836124bd565b505050565b610fdc61256f565b80600b9080519060200190610ff292919061366c565b5050565b610ffe61256f565b80601660016101000a81548160ff02191690831515021790555050565b6000600154905090565b61102d61256f565b80600d8190555050565b6110428383836125ed565b505050565b601660019054906101000a900460ff1615611097576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108e9061456a565b60405180910390fd5b601454816110a361101b565b6110ad9190614888565b11156110ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e59061472a565b60405180910390fd5b6000811180156111005750600f548111155b61113f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111369061444a565b60405180910390fd5b6111476119ef565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146112225760115481611186336117f5565b6111909190614888565b11156111d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111c8906144aa565b60405180910390fd5b600d54816111df91906148de565b341015611221576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611218906145ea565b60405180910390fd5b5b61122c3382612b2d565b50565b600061123a836117f5565b821061127b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611272906143ca565b60405180910390fd5b600061128561101b565b905060008060005b838110156113df576000600460008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461137f57806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156113d157868414156113c857819550505050505061141b565b83806001019450505b50808060010191505061128d565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611412906146ca565b60405180910390fd5b92915050565b61142961256f565b601660019054906101000a900460ff1615611479576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114709061456a565b60405180910390fd5b600081116114bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b3906143ea565b60405180910390fd5b601454816114c861101b565b6114d29190614888565b1115611513576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150a9061464a565b60405180910390fd5b61151d3382612b2d565b50565b60125481565b61152e61256f565b60003373ffffffffffffffffffffffffffffffffffffffff1647604051611554906142d4565b60006040518083038185875af1925050503d8060008114611591576040519150601f19603f3d011682016040523d82523d6000602084013e611596565b606091505b50509050806115da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115d19061462a565b60405180910390fd5b50565b6115f883838360405180602001604052806000815250611c3d565b505050565b6060600061160a836117f5565b905060008167ffffffffffffffff81111561162857611627614bb8565b5b6040519080825280602002602001820160405280156116565781602001602082028036833780820191505090505b50905060006001905060005b838110801561167357506014548211155b156116fc576000611683836117bb565b90508673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156116e857828483815181106116cd576116cc614b89565b5b60200260200101818152505081806116e490614a8f565b9250505b82806116f390614a8f565b93505050611662565b82945050505050919050565b61171061256f565b8060088190555050565b60155481565b600061172a61101b565b821061176b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117629061446a565b60405180910390fd5b819050919050565b61177b61256f565b80600c908051906020019061179192919061366c565b5050565b601660009054906101000a900460ff1681565b601660019054906101000a900460ff1681565b60006117c682612b4b565b600001519050919050565b6117d961256f565b8060128190555050565b6117eb61256f565b8060148190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611866576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185d906144ea565b60405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b6118e661256f565b6118f06000612ce5565b565b60135481565b60115481565b61190661256f565b80600a908051906020019061191c92919061366c565b5050565b61192861256f565b8060138190555050565b61193a61256f565b601660019054906101000a900460ff161561198a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119819061456a565b60405180910390fd5b60145461199561101b565b826119a09190614888565b11156119e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d89061464a565b60405180910390fd5b6119eb8282612b2d565b5050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611a2061256f565b80600e8190555050565b606060038054611a3990614a2c565b80601f0160208091040260200160405190810160405280929190818152602001828054611a6590614a2c565b8015611ab25780601f10611a8757610100808354040283529160200191611ab2565b820191906000526020600020905b815481529060010190602001808311611a9557829003601f168201915b5050505050905090565b611ac46124b5565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b29906145aa565b60405180910390fd5b8060076000611b3f6124b5565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611bec6124b5565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611c319190614372565b60405180910390a35050565b611c488484846125ed565b611c5484848484612da9565b611c93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8a9061466a565b60405180910390fd5b50505050565b611ca161256f565b8060118190555050565b611cb361256f565b80600f8190555050565b60105481565b600e5481565b6060611cd4826124a7565b611d13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0a9061458a565b60405180910390fd5b60001515601660009054906101000a900460ff1615151415611dc157600c8054611d3c90614a2c565b80601f0160208091040260200160405190810160405280929190818152602001828054611d6890614a2c565b8015611db55780601f10611d8a57610100808354040283529160200191611db5565b820191906000526020600020905b815481529060010190602001808311611d9857829003601f168201915b50505050509050611e1d565b6000611dcb612f40565b90506000815111611deb5760405180602001604052806000815250611e19565b80611df584612fd2565b600b604051602001611e09939291906142a3565b6040516020818303038152906040525b9150505b919050565b601660019054906101000a900460ff1615611e72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e699061456a565b60405180910390fd5b60135483601554611e839190614888565b1115611ec4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ebb906144aa565b60405180910390fd5b60145483611ed061101b565b611eda9190614888565b1115611f1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f129061472a565b60405180910390fd5b600083118015611f2d5750600f548311155b611f6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f639061444a565b60405180910390fd5b611f768282612312565b611fb5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fac9061450a565b60405180910390fd5b611fbd6119ef565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146121fe5760125483611ffc336117f5565b6120069190614888565b1115612047576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203e906144aa565b60405180910390fd5b600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166121ac5760105483116120ea5760003410156120e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120dc906145ea565b60405180910390fd5b612148565b600e54601054846120fb9190614938565b61210591906148de565b341015612147576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161213e906145ea565b60405180910390fd5b5b6001600960006121566124b5565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506121fd565b600e54836121ba91906148de565b3410156121fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121f3906145ea565b60405180910390fd5b5b5b8260155461220c9190614888565b60158190555061221c3384612b2d565b505050565b60145481565b60096020528060005260406000206000915054906101000a900460ff1681565b61224f61256f565b80601660006101000a81548160ff02191690831515021790555050565b61227461256f565b8060108190555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600080336040516020016123269190614288565b60405160208183030381529060405280519060200120905061238c848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600854836130aa565b1561239b5760019150506123a1565b60009150505b92915050565b60085481565b6123b561256f565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612425576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161241c9061440a565b60405180910390fd5b61242e81612ce5565b50565b600d5481565b600f5481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600060015482109050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6125776124b5565b73ffffffffffffffffffffffffffffffffffffffff166125956119ef565b73ffffffffffffffffffffffffffffffffffffffff16146125eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125e29061454a565b60405180910390fd5b565b60006125f882612b4b565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff1661261f6124b5565b73ffffffffffffffffffffffffffffffffffffffff16148061267b57506126446124b5565b73ffffffffffffffffffffffffffffffffffffffff1661266384610e36565b73ffffffffffffffffffffffffffffffffffffffff16145b80612697575061269682600001516126916124b5565b61227e565b5b9050806126d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126d0906145ca565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff161461274b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127429061452a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156127bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127b29061448a565b60405180910390fd5b6127c885858560016130c1565b6127d860008484600001516124bd565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160392506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550836004600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612abd57612a1c816124a7565b15612abc5782600001516004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612b2685858560016130c7565b5050505050565b612b478282604051806020016040528060008152506130cd565b5050565b612b536136f2565b612b5c826124a7565b612b9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b929061442a565b60405180910390fd5b60008290505b60008110612ca4576000600460008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612c95578092505050612ce0565b50808060019003915050612ba1565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cd7906146ea565b60405180910390fd5b919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000612dca8473ffffffffffffffffffffffffffffffffffffffff166130df565b15612f33578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612df36124b5565b8786866040518563ffffffff1660e01b8152600401612e159493929190614304565b602060405180830381600087803b158015612e2f57600080fd5b505af1925050508015612e6057506040513d601f19601f82011682018060405250810190612e5d9190613b94565b60015b612ee3573d8060008114612e90576040519150601f19603f3d011682016040523d82523d6000602084013e612e95565b606091505b50600081511415612edb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ed29061466a565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612f38565b600190505b949350505050565b6060600a8054612f4f90614a2c565b80601f0160208091040260200160405190810160405280929190818152602001828054612f7b90614a2c565b8015612fc85780601f10612f9d57610100808354040283529160200191612fc8565b820191906000526020600020905b815481529060010190602001808311612fab57829003601f168201915b5050505050905090565b606060006001612fe184613102565b01905060008167ffffffffffffffff81111561300057612fff614bb8565b5b6040519080825280601f01601f1916602001820160405280156130325781602001600182028036833780820191505090505b509050600082602001820190505b60011561309f578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a858161308957613088614b2b565b5b049450600085141561309a5761309f565b613040565b819350505050919050565b6000826130b78584613255565b1490509392505050565b50505050565b50505050565b6130da83838360016132ab565b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310613160577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000838161315657613155614b2b565b5b0492506040810190505b6d04ee2d6d415b85acef8100000000831061319d576d04ee2d6d415b85acef8100000000838161319357613192614b2b565b5b0492506020810190505b662386f26fc1000083106131cc57662386f26fc1000083816131c2576131c1614b2b565b5b0492506010810190505b6305f5e10083106131f5576305f5e10083816131eb576131ea614b2b565b5b0492506008810190505b612710831061321a5761271083816132105761320f614b2b565b5b0492506004810190505b6064831061323d576064838161323357613232614b2b565b5b0492506002810190505b600a831061324c576001810190505b80915050919050565b60008082905060005b84518110156132a05761328b8286838151811061327e5761327d614b89565b5b602002602001015161362a565b9150808061329890614a8f565b91505061325e565b508091505092915050565b60006001549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415613322576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133199061468a565b60405180910390fd5b6000841415613366576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161335d906146aa565b60405180910390fd5b61337360008683876130c1565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160108282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060005b8581101561360d57818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a483156135f8576135b86000888488612da9565b6135f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135ee9061466a565b60405180910390fd5b5b81806001019250508080600101915050613541565b50806001819055505061362360008683876130c7565b5050505050565b60008183106136425761363d8284613655565b61364d565b61364c8383613655565b5b905092915050565b600082600052816020526040600020905092915050565b82805461367890614a2c565b90600052602060002090601f01602090048101928261369a57600085556136e1565b82601f106136b357805160ff19168380011785556136e1565b828001600101855582156136e1579182015b828111156136e05782518255916020019190600101906136c5565b5b5090506136ee919061372c565b5090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b5b8082111561374557600081600090555060010161372d565b5090565b600061375c6137578461478a565b614765565b90508281526020810184848401111561377857613777614bf6565b5b6137838482856149ea565b509392505050565b600061379e613799846147bb565b614765565b9050828152602081018484840111156137ba576137b9614bf6565b5b6137c58482856149ea565b509392505050565b6000813590506137dc8161534e565b92915050565b60008083601f8401126137f8576137f7614bec565b5b8235905067ffffffffffffffff81111561381557613814614be7565b5b60208301915083602082028301111561383157613830614bf1565b5b9250929050565b60008135905061384781615365565b92915050565b60008135905061385c8161537c565b92915050565b60008135905061387181615393565b92915050565b60008151905061388681615393565b92915050565b600082601f8301126138a1576138a0614bec565b5b81356138b1848260208601613749565b91505092915050565b600082601f8301126138cf576138ce614bec565b5b81356138df84826020860161378b565b91505092915050565b6000813590506138f7816153aa565b92915050565b60006020828403121561391357613912614c00565b5b6000613921848285016137cd565b91505092915050565b6000806040838503121561394157613940614c00565b5b600061394f858286016137cd565b9250506020613960858286016137cd565b9150509250929050565b60008060006060848603121561398357613982614c00565b5b6000613991868287016137cd565b93505060206139a2868287016137cd565b92505060406139b3868287016138e8565b9150509250925092565b600080600080608085870312156139d7576139d6614c00565b5b60006139e5878288016137cd565b94505060206139f6878288016137cd565b9350506040613a07878288016138e8565b925050606085013567ffffffffffffffff811115613a2857613a27614bfb565b5b613a348782880161388c565b91505092959194509250565b60008060408385031215613a5757613a56614c00565b5b6000613a65858286016137cd565b9250506020613a7685828601613838565b9150509250929050565b60008060408385031215613a9757613a96614c00565b5b6000613aa5858286016137cd565b9250506020613ab6858286016138e8565b9150509250929050565b60008060208385031215613ad757613ad6614c00565b5b600083013567ffffffffffffffff811115613af557613af4614bfb565b5b613b01858286016137e2565b92509250509250929050565b600060208284031215613b2357613b22614c00565b5b6000613b3184828501613838565b91505092915050565b600060208284031215613b5057613b4f614c00565b5b6000613b5e8482850161384d565b91505092915050565b600060208284031215613b7d57613b7c614c00565b5b6000613b8b84828501613862565b91505092915050565b600060208284031215613baa57613ba9614c00565b5b6000613bb884828501613877565b91505092915050565b600060208284031215613bd757613bd6614c00565b5b600082013567ffffffffffffffff811115613bf557613bf4614bfb565b5b613c01848285016138ba565b91505092915050565b600060208284031215613c2057613c1f614c00565b5b6000613c2e848285016138e8565b91505092915050565b600080600060408486031215613c5057613c4f614c00565b5b6000613c5e868287016138e8565b935050602084013567ffffffffffffffff811115613c7f57613c7e614bfb565b5b613c8b868287016137e2565b92509250509250925092565b6000613ca3838361426a565b60208301905092915050565b613cb88161496c565b82525050565b613ccf613cca8261496c565b614ad8565b82525050565b6000613ce082614811565b613cea818561483f565b9350613cf5836147ec565b8060005b83811015613d26578151613d0d8882613c97565b9750613d1883614832565b925050600181019050613cf9565b5085935050505092915050565b613d3c8161497e565b82525050565b613d4b8161498a565b82525050565b6000613d5c8261481c565b613d668185614850565b9350613d768185602086016149f9565b613d7f81614c05565b840191505092915050565b6000613d9582614827565b613d9f818561486c565b9350613daf8185602086016149f9565b613db881614c05565b840191505092915050565b6000613dce82614827565b613dd8818561487d565b9350613de88185602086016149f9565b80840191505092915050565b60008154613e0181614a2c565b613e0b818661487d565b94506001821660008114613e265760018114613e3757613e6a565b60ff19831686528186019350613e6a565b613e40856147fc565b60005b83811015613e6257815481890152600182019150602081019050613e43565b838801955050505b50505092915050565b6000613e8060228361486c565b9150613e8b82614c23565b604082019050919050565b6000613ea3602e8361486c565b9150613eae82614c72565b604082019050919050565b6000613ec660268361486c565b9150613ed182614cc1565b604082019050919050565b6000613ee9602a8361486c565b9150613ef482614d10565b604082019050919050565b6000613f0c60148361486c565b9150613f1782614d5f565b602082019050919050565b6000613f2f60238361486c565b9150613f3a82614d88565b604082019050919050565b6000613f5260258361486c565b9150613f5d82614dd7565b604082019050919050565b6000613f7560088361486c565b9150613f8082614e26565b602082019050919050565b6000613f9860398361486c565b9150613fa382614e4f565b604082019050919050565b6000613fbb602b8361486c565b9150613fc682614e9e565b604082019050919050565b6000613fde601b8361486c565b9150613fe982614eed565b602082019050919050565b600061400160268361486c565b915061400c82614f16565b604082019050919050565b600061402460208361486c565b915061402f82614f65565b602082019050919050565b600061404760178361486c565b915061405282614f8e565b602082019050919050565b600061406a602f8361486c565b915061407582614fb7565b604082019050919050565b600061408d601a8361486c565b915061409882615006565b602082019050919050565b60006140b060328361486c565b91506140bb8261502f565b604082019050919050565b60006140d3601d8361486c565b91506140de8261507e565b602082019050919050565b60006140f660228361486c565b9150614101826150a7565b604082019050919050565b6000614119600083614861565b9150614124826150f6565b600082019050919050565b600061413c60108361486c565b9150614147826150f9565b602082019050919050565b600061415f60088361486c565b915061416a82615122565b602082019050919050565b600061418260338361486c565b915061418d8261514b565b604082019050919050565b60006141a560218361486c565b91506141b08261519a565b604082019050919050565b60006141c860288361486c565b91506141d3826151e9565b604082019050919050565b60006141eb602e8361486c565b91506141f682615238565b604082019050919050565b600061420e602f8361486c565b915061421982615287565b604082019050919050565b6000614231602d8361486c565b915061423c826152d6565b604082019050919050565b600061425460098361486c565b915061425f82615325565b602082019050919050565b614273816149e0565b82525050565b614282816149e0565b82525050565b60006142948284613cbe565b60148201915081905092915050565b60006142af8286613dc3565b91506142bb8285613dc3565b91506142c78284613df4565b9150819050949350505050565b60006142df8261410c565b9150819050919050565b60006020820190506142fe6000830184613caf565b92915050565b60006080820190506143196000830187613caf565b6143266020830186613caf565b6143336040830185614279565b81810360608301526143458184613d51565b905095945050505050565b6000602082019050818103600083015261436a8184613cd5565b905092915050565b60006020820190506143876000830184613d33565b92915050565b60006020820190506143a26000830184613d42565b92915050565b600060208201905081810360008301526143c28184613d8a565b905092915050565b600060208201905081810360008301526143e381613e73565b9050919050565b6000602082019050818103600083015261440381613e96565b9050919050565b6000602082019050818103600083015261442381613eb9565b9050919050565b6000602082019050818103600083015261444381613edc565b9050919050565b6000602082019050818103600083015261446381613eff565b9050919050565b6000602082019050818103600083015261448381613f22565b9050919050565b600060208201905081810360008301526144a381613f45565b9050919050565b600060208201905081810360008301526144c381613f68565b9050919050565b600060208201905081810360008301526144e381613f8b565b9050919050565b6000602082019050818103600083015261450381613fae565b9050919050565b6000602082019050818103600083015261452381613fd1565b9050919050565b6000602082019050818103600083015261454381613ff4565b9050919050565b6000602082019050818103600083015261456381614017565b9050919050565b600060208201905081810360008301526145838161403a565b9050919050565b600060208201905081810360008301526145a38161405d565b9050919050565b600060208201905081810360008301526145c381614080565b9050919050565b600060208201905081810360008301526145e3816140a3565b9050919050565b60006020820190508181036000830152614603816140c6565b9050919050565b60006020820190508181036000830152614623816140e9565b9050919050565b600060208201905081810360008301526146438161412f565b9050919050565b6000602082019050818103600083015261466381614152565b9050919050565b6000602082019050818103600083015261468381614175565b9050919050565b600060208201905081810360008301526146a381614198565b9050919050565b600060208201905081810360008301526146c3816141bb565b9050919050565b600060208201905081810360008301526146e3816141de565b9050919050565b6000602082019050818103600083015261470381614201565b9050919050565b6000602082019050818103600083015261472381614224565b9050919050565b6000602082019050818103600083015261474381614247565b9050919050565b600060208201905061475f6000830184614279565b92915050565b600061476f614780565b905061477b8282614a5e565b919050565b6000604051905090565b600067ffffffffffffffff8211156147a5576147a4614bb8565b5b6147ae82614c05565b9050602081019050919050565b600067ffffffffffffffff8211156147d6576147d5614bb8565b5b6147df82614c05565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614893826149e0565b915061489e836149e0565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156148d3576148d2614afc565b5b828201905092915050565b60006148e9826149e0565b91506148f4836149e0565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561492d5761492c614afc565b5b828202905092915050565b6000614943826149e0565b915061494e836149e0565b92508282101561496157614960614afc565b5b828203905092915050565b6000614977826149c0565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015614a175780820151818401526020810190506149fc565b83811115614a26576000848401525b50505050565b60006002820490506001821680614a4457607f821691505b60208210811415614a5857614a57614b5a565b5b50919050565b614a6782614c05565b810181811067ffffffffffffffff82111715614a8657614a85614bb8565b5b80604052505050565b6000614a9a826149e0565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614acd57614acc614afc565b5b600182019050919050565b6000614ae382614aea565b9050919050565b6000614af582614c16565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60008201527f6473000000000000000000000000000000000000000000000000000000000000602082015250565b7f4d696e696d756d2031204e46542068617320746f206265206d696e746564207060008201527f6572207472616e73616374696f6e000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a206f776e657220717565727920666f72206e6f6e6578697360008201527f74656e7420746f6b656e00000000000000000000000000000000000000000000602082015250565b7f496e76616c6964206d696e7420616d6f756e7421000000000000000000000000600082015250565b7f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560008201527f6e64730000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f4e6f206d6f726521000000000000000000000000000000000000000000000000600082015250565b7f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000602082015250565b7f455243373231413a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f41646472657373206973206e6f742077686974656c6973746564210000000000600082015250565b7f455243373231413a207472616e736665722066726f6d20696e636f727265637460008201527f206f776e65720000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f54686520636f6e74726163742069732070617573656421000000000000000000600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f455243373231413a20617070726f766520746f2063616c6c6572000000000000600082015250565b7f455243373231413a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f506c656173652073656e642074686520657861637420616d6f756e742e000000600082015250565b7f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b7f536f6c64206f7574000000000000000000000000000000000000000000000000600082015250565b7f455243373231413a207472616e7366657220746f206e6f6e204552433732315260008201527f6563656976657220696d706c656d656e74657200000000000000000000000000602082015250565b7f455243373231413a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a207175616e74697479206d7573742062652067726561746560008201527f72207468616e2030000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060008201527f6f776e657220627920696e646578000000000000000000000000000000000000602082015250565b7f455243373231413a20756e61626c6520746f2064657465726d696e652074686560008201527f206f776e6572206f6620746f6b656e0000000000000000000000000000000000602082015250565b7f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560008201527f78697374656e7420746f6b656e00000000000000000000000000000000000000602082015250565b7f536f6c64206f7574210000000000000000000000000000000000000000000000600082015250565b6153578161496c565b811461536257600080fd5b50565b61536e8161497e565b811461537957600080fd5b50565b6153858161498a565b811461539057600080fd5b50565b61539c81614994565b81146153a757600080fd5b50565b6153b3816149e0565b81146153be57600080fd5b5056fea2646970667358221220a5a55b57917e1ae78ff82da73025784612f2c39b44073e22bf86537ef6fc071b64736f6c63430008070033
Deployed Bytecode
0x60806040526004361061031a5760003560e01c8063715018a6116101ab578063c7c39ffc116100f7578063e945971c11610095578063ef8319cd1161006f578063ef8319cd14610bb0578063f2fde38b14610bdb578063f51f96dd14610c04578063f968adbe14610c2f5761031a565b8063e945971c14610b0d578063e985e9c514610b36578063ed475f6314610b735761031a565b8063d2cab056116100d1578063d2cab05614610a60578063d5abeb0114610a7c578063db4bec4414610aa7578063e0a8085314610ae45761031a565b8063c7c39ffc146109cd578063c7f8d01a146109f8578063c87b56dd14610a235761031a565b80638da5cb5b11610164578063a22cb4651161013e578063a22cb46514610929578063b88d4fde14610952578063bc3371821461097b578063c6f6f216146109a45761031a565b80638da5cb5b146108aa5780638dd07d0f146108d557806395d89b41146108fe5761031a565b8063715018a6146107c2578063720841cf146107d95780637437681e146108045780637ec4a6591461082f57806385f692a0146108585780638ba4cc3c146108815761031a565b80633ccfd60b1161026a5780634fdd43cb116102235780636352211e116101fd5780636352211e146106f657806366f05dda146107335780636f8b44b01461075c57806370a08231146107855761031a565b80634fdd43cb1461067757806351830227146106a05780635c975abb146106cb5761031a565b80633ccfd60b1461056957806342842e0e14610580578063438b6300146105a9578063440bc7f3146105e65780634a2db4871461060f5780634f6ccce71461063a5761031a565b806318160ddd116102d75780632db11544116102b15780632db11544146104bc5780632f745c59146104d85780632fbba11514610515578063324f1d6b1461053e5761031a565b806318160ddd1461043f5780631919fed71461046a57806323b872dd146104935761031a565b806301ffc9a71461031f57806306fdde031461035c578063081812fc14610387578063095ea7b3146103c457806316ba10e0146103ed57806316c38b3c14610416575b600080fd5b34801561032b57600080fd5b5061034660048036038101906103419190613b67565b610c5a565b6040516103539190614372565b60405180910390f35b34801561036857600080fd5b50610371610da4565b60405161037e91906143a8565b60405180910390f35b34801561039357600080fd5b506103ae60048036038101906103a99190613c0a565b610e36565b6040516103bb91906142e9565b60405180910390f35b3480156103d057600080fd5b506103eb60048036038101906103e69190613a80565b610ebb565b005b3480156103f957600080fd5b50610414600480360381019061040f9190613bc1565b610fd4565b005b34801561042257600080fd5b5061043d60048036038101906104389190613b0d565b610ff6565b005b34801561044b57600080fd5b5061045461101b565b604051610461919061474a565b60405180910390f35b34801561047657600080fd5b50610491600480360381019061048c9190613c0a565b611025565b005b34801561049f57600080fd5b506104ba60048036038101906104b5919061396a565b611037565b005b6104d660048036038101906104d19190613c0a565b611047565b005b3480156104e457600080fd5b506104ff60048036038101906104fa9190613a80565b61122f565b60405161050c919061474a565b60405180910390f35b34801561052157600080fd5b5061053c60048036038101906105379190613c0a565b611421565b005b34801561054a57600080fd5b50610553611520565b604051610560919061474a565b60405180910390f35b34801561057557600080fd5b5061057e611526565b005b34801561058c57600080fd5b506105a760048036038101906105a2919061396a565b6115dd565b005b3480156105b557600080fd5b506105d060048036038101906105cb91906138fd565b6115fd565b6040516105dd9190614350565b60405180910390f35b3480156105f257600080fd5b5061060d60048036038101906106089190613b3a565b611708565b005b34801561061b57600080fd5b5061062461171a565b604051610631919061474a565b60405180910390f35b34801561064657600080fd5b50610661600480360381019061065c9190613c0a565b611720565b60405161066e919061474a565b60405180910390f35b34801561068357600080fd5b5061069e60048036038101906106999190613bc1565b611773565b005b3480156106ac57600080fd5b506106b5611795565b6040516106c29190614372565b60405180910390f35b3480156106d757600080fd5b506106e06117a8565b6040516106ed9190614372565b60405180910390f35b34801561070257600080fd5b5061071d60048036038101906107189190613c0a565b6117bb565b60405161072a91906142e9565b60405180910390f35b34801561073f57600080fd5b5061075a60048036038101906107559190613c0a565b6117d1565b005b34801561076857600080fd5b50610783600480360381019061077e9190613c0a565b6117e3565b005b34801561079157600080fd5b506107ac60048036038101906107a791906138fd565b6117f5565b6040516107b9919061474a565b60405180910390f35b3480156107ce57600080fd5b506107d76118de565b005b3480156107e557600080fd5b506107ee6118f2565b6040516107fb919061474a565b60405180910390f35b34801561081057600080fd5b506108196118f8565b604051610826919061474a565b60405180910390f35b34801561083b57600080fd5b5061085660048036038101906108519190613bc1565b6118fe565b005b34801561086457600080fd5b5061087f600480360381019061087a9190613c0a565b611920565b005b34801561088d57600080fd5b506108a860048036038101906108a39190613a80565b611932565b005b3480156108b657600080fd5b506108bf6119ef565b6040516108cc91906142e9565b60405180910390f35b3480156108e157600080fd5b506108fc60048036038101906108f79190613c0a565b611a18565b005b34801561090a57600080fd5b50610913611a2a565b60405161092091906143a8565b60405180910390f35b34801561093557600080fd5b50610950600480360381019061094b9190613a40565b611abc565b005b34801561095e57600080fd5b50610979600480360381019061097491906139bd565b611c3d565b005b34801561098757600080fd5b506109a2600480360381019061099d9190613c0a565b611c99565b005b3480156109b057600080fd5b506109cb60048036038101906109c69190613c0a565b611cab565b005b3480156109d957600080fd5b506109e2611cbd565b6040516109ef919061474a565b60405180910390f35b348015610a0457600080fd5b50610a0d611cc3565b604051610a1a919061474a565b60405180910390f35b348015610a2f57600080fd5b50610a4a6004803603810190610a459190613c0a565b611cc9565b604051610a5791906143a8565b60405180910390f35b610a7a6004803603810190610a759190613c37565b611e22565b005b348015610a8857600080fd5b50610a91612221565b604051610a9e919061474a565b60405180910390f35b348015610ab357600080fd5b50610ace6004803603810190610ac991906138fd565b612227565b604051610adb9190614372565b60405180910390f35b348015610af057600080fd5b50610b0b6004803603810190610b069190613b0d565b612247565b005b348015610b1957600080fd5b50610b346004803603810190610b2f9190613c0a565b61226c565b005b348015610b4257600080fd5b50610b5d6004803603810190610b58919061392a565b61227e565b604051610b6a9190614372565b60405180910390f35b348015610b7f57600080fd5b50610b9a6004803603810190610b959190613ac0565b612312565b604051610ba79190614372565b60405180910390f35b348015610bbc57600080fd5b50610bc56123a7565b604051610bd2919061438d565b60405180910390f35b348015610be757600080fd5b50610c026004803603810190610bfd91906138fd565b6123ad565b005b348015610c1057600080fd5b50610c19612431565b604051610c26919061474a565b60405180910390f35b348015610c3b57600080fd5b50610c44612437565b604051610c51919061474a565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610d2557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610d8d57507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610d9d5750610d9c8261243d565b5b9050919050565b606060028054610db390614a2c565b80601f0160208091040260200160405190810160405280929190818152602001828054610ddf90614a2c565b8015610e2c5780601f10610e0157610100808354040283529160200191610e2c565b820191906000526020600020905b815481529060010190602001808311610e0f57829003601f168201915b5050505050905090565b6000610e41826124a7565b610e80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e779061470a565b60405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ec6826117bb565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610f37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2e9061460a565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610f566124b5565b73ffffffffffffffffffffffffffffffffffffffff161480610f855750610f8481610f7f6124b5565b61227e565b5b610fc4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fbb906144ca565b60405180910390fd5b610fcf8383836124bd565b505050565b610fdc61256f565b80600b9080519060200190610ff292919061366c565b5050565b610ffe61256f565b80601660016101000a81548160ff02191690831515021790555050565b6000600154905090565b61102d61256f565b80600d8190555050565b6110428383836125ed565b505050565b601660019054906101000a900460ff1615611097576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108e9061456a565b60405180910390fd5b601454816110a361101b565b6110ad9190614888565b11156110ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e59061472a565b60405180910390fd5b6000811180156111005750600f548111155b61113f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111369061444a565b60405180910390fd5b6111476119ef565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146112225760115481611186336117f5565b6111909190614888565b11156111d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111c8906144aa565b60405180910390fd5b600d54816111df91906148de565b341015611221576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611218906145ea565b60405180910390fd5b5b61122c3382612b2d565b50565b600061123a836117f5565b821061127b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611272906143ca565b60405180910390fd5b600061128561101b565b905060008060005b838110156113df576000600460008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461137f57806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156113d157868414156113c857819550505050505061141b565b83806001019450505b50808060010191505061128d565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611412906146ca565b60405180910390fd5b92915050565b61142961256f565b601660019054906101000a900460ff1615611479576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114709061456a565b60405180910390fd5b600081116114bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b3906143ea565b60405180910390fd5b601454816114c861101b565b6114d29190614888565b1115611513576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150a9061464a565b60405180910390fd5b61151d3382612b2d565b50565b60125481565b61152e61256f565b60003373ffffffffffffffffffffffffffffffffffffffff1647604051611554906142d4565b60006040518083038185875af1925050503d8060008114611591576040519150601f19603f3d011682016040523d82523d6000602084013e611596565b606091505b50509050806115da576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115d19061462a565b60405180910390fd5b50565b6115f883838360405180602001604052806000815250611c3d565b505050565b6060600061160a836117f5565b905060008167ffffffffffffffff81111561162857611627614bb8565b5b6040519080825280602002602001820160405280156116565781602001602082028036833780820191505090505b50905060006001905060005b838110801561167357506014548211155b156116fc576000611683836117bb565b90508673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156116e857828483815181106116cd576116cc614b89565b5b60200260200101818152505081806116e490614a8f565b9250505b82806116f390614a8f565b93505050611662565b82945050505050919050565b61171061256f565b8060088190555050565b60155481565b600061172a61101b565b821061176b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117629061446a565b60405180910390fd5b819050919050565b61177b61256f565b80600c908051906020019061179192919061366c565b5050565b601660009054906101000a900460ff1681565b601660019054906101000a900460ff1681565b60006117c682612b4b565b600001519050919050565b6117d961256f565b8060128190555050565b6117eb61256f565b8060148190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611866576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185d906144ea565b60405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b6118e661256f565b6118f06000612ce5565b565b60135481565b60115481565b61190661256f565b80600a908051906020019061191c92919061366c565b5050565b61192861256f565b8060138190555050565b61193a61256f565b601660019054906101000a900460ff161561198a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119819061456a565b60405180910390fd5b60145461199561101b565b826119a09190614888565b11156119e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d89061464a565b60405180910390fd5b6119eb8282612b2d565b5050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611a2061256f565b80600e8190555050565b606060038054611a3990614a2c565b80601f0160208091040260200160405190810160405280929190818152602001828054611a6590614a2c565b8015611ab25780601f10611a8757610100808354040283529160200191611ab2565b820191906000526020600020905b815481529060010190602001808311611a9557829003601f168201915b5050505050905090565b611ac46124b5565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b29906145aa565b60405180910390fd5b8060076000611b3f6124b5565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611bec6124b5565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611c319190614372565b60405180910390a35050565b611c488484846125ed565b611c5484848484612da9565b611c93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8a9061466a565b60405180910390fd5b50505050565b611ca161256f565b8060118190555050565b611cb361256f565b80600f8190555050565b60105481565b600e5481565b6060611cd4826124a7565b611d13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0a9061458a565b60405180910390fd5b60001515601660009054906101000a900460ff1615151415611dc157600c8054611d3c90614a2c565b80601f0160208091040260200160405190810160405280929190818152602001828054611d6890614a2c565b8015611db55780601f10611d8a57610100808354040283529160200191611db5565b820191906000526020600020905b815481529060010190602001808311611d9857829003601f168201915b50505050509050611e1d565b6000611dcb612f40565b90506000815111611deb5760405180602001604052806000815250611e19565b80611df584612fd2565b600b604051602001611e09939291906142a3565b6040516020818303038152906040525b9150505b919050565b601660019054906101000a900460ff1615611e72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e699061456a565b60405180910390fd5b60135483601554611e839190614888565b1115611ec4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ebb906144aa565b60405180910390fd5b60145483611ed061101b565b611eda9190614888565b1115611f1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f129061472a565b60405180910390fd5b600083118015611f2d5750600f548311155b611f6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f639061444a565b60405180910390fd5b611f768282612312565b611fb5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fac9061450a565b60405180910390fd5b611fbd6119ef565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146121fe5760125483611ffc336117f5565b6120069190614888565b1115612047576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161203e906144aa565b60405180910390fd5b600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166121ac5760105483116120ea5760003410156120e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120dc906145ea565b60405180910390fd5b612148565b600e54601054846120fb9190614938565b61210591906148de565b341015612147576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161213e906145ea565b60405180910390fd5b5b6001600960006121566124b5565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506121fd565b600e54836121ba91906148de565b3410156121fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121f3906145ea565b60405180910390fd5b5b5b8260155461220c9190614888565b60158190555061221c3384612b2d565b505050565b60145481565b60096020528060005260406000206000915054906101000a900460ff1681565b61224f61256f565b80601660006101000a81548160ff02191690831515021790555050565b61227461256f565b8060108190555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600080336040516020016123269190614288565b60405160208183030381529060405280519060200120905061238c848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600854836130aa565b1561239b5760019150506123a1565b60009150505b92915050565b60085481565b6123b561256f565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612425576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161241c9061440a565b60405180910390fd5b61242e81612ce5565b50565b600d5481565b600f5481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600060015482109050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6125776124b5565b73ffffffffffffffffffffffffffffffffffffffff166125956119ef565b73ffffffffffffffffffffffffffffffffffffffff16146125eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125e29061454a565b60405180910390fd5b565b60006125f882612b4b565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff1661261f6124b5565b73ffffffffffffffffffffffffffffffffffffffff16148061267b57506126446124b5565b73ffffffffffffffffffffffffffffffffffffffff1661266384610e36565b73ffffffffffffffffffffffffffffffffffffffff16145b80612697575061269682600001516126916124b5565b61227e565b5b9050806126d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126d0906145ca565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff161461274b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127429061452a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156127bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127b29061448a565b60405180910390fd5b6127c885858560016130c1565b6127d860008484600001516124bd565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160392506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550836004600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166004600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612abd57612a1c816124a7565b15612abc5782600001516004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612b2685858560016130c7565b5050505050565b612b478282604051806020016040528060008152506130cd565b5050565b612b536136f2565b612b5c826124a7565b612b9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b929061442a565b60405180910390fd5b60008290505b60008110612ca4576000600460008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612c95578092505050612ce0565b50808060019003915050612ba1565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cd7906146ea565b60405180910390fd5b919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000612dca8473ffffffffffffffffffffffffffffffffffffffff166130df565b15612f33578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612df36124b5565b8786866040518563ffffffff1660e01b8152600401612e159493929190614304565b602060405180830381600087803b158015612e2f57600080fd5b505af1925050508015612e6057506040513d601f19601f82011682018060405250810190612e5d9190613b94565b60015b612ee3573d8060008114612e90576040519150601f19603f3d011682016040523d82523d6000602084013e612e95565b606091505b50600081511415612edb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ed29061466a565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612f38565b600190505b949350505050565b6060600a8054612f4f90614a2c565b80601f0160208091040260200160405190810160405280929190818152602001828054612f7b90614a2c565b8015612fc85780601f10612f9d57610100808354040283529160200191612fc8565b820191906000526020600020905b815481529060010190602001808311612fab57829003601f168201915b5050505050905090565b606060006001612fe184613102565b01905060008167ffffffffffffffff81111561300057612fff614bb8565b5b6040519080825280601f01601f1916602001820160405280156130325781602001600182028036833780820191505090505b509050600082602001820190505b60011561309f578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a858161308957613088614b2b565b5b049450600085141561309a5761309f565b613040565b819350505050919050565b6000826130b78584613255565b1490509392505050565b50505050565b50505050565b6130da83838360016132ab565b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310613160577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000838161315657613155614b2b565b5b0492506040810190505b6d04ee2d6d415b85acef8100000000831061319d576d04ee2d6d415b85acef8100000000838161319357613192614b2b565b5b0492506020810190505b662386f26fc1000083106131cc57662386f26fc1000083816131c2576131c1614b2b565b5b0492506010810190505b6305f5e10083106131f5576305f5e10083816131eb576131ea614b2b565b5b0492506008810190505b612710831061321a5761271083816132105761320f614b2b565b5b0492506004810190505b6064831061323d576064838161323357613232614b2b565b5b0492506002810190505b600a831061324c576001810190505b80915050919050565b60008082905060005b84518110156132a05761328b8286838151811061327e5761327d614b89565b5b602002602001015161362a565b9150808061329890614a8f565b91505061325e565b508091505092915050565b60006001549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415613322576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133199061468a565b60405180910390fd5b6000841415613366576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161335d906146aa565b60405180910390fd5b61337360008683876130c1565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160108282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060005b8581101561360d57818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a483156135f8576135b86000888488612da9565b6135f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135ee9061466a565b60405180910390fd5b5b81806001019250508080600101915050613541565b50806001819055505061362360008683876130c7565b5050505050565b60008183106136425761363d8284613655565b61364d565b61364c8383613655565b5b905092915050565b600082600052816020526040600020905092915050565b82805461367890614a2c565b90600052602060002090601f01602090048101928261369a57600085556136e1565b82601f106136b357805160ff19168380011785556136e1565b828001600101855582156136e1579182015b828111156136e05782518255916020019190600101906136c5565b5b5090506136ee919061372c565b5090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b5b8082111561374557600081600090555060010161372d565b5090565b600061375c6137578461478a565b614765565b90508281526020810184848401111561377857613777614bf6565b5b6137838482856149ea565b509392505050565b600061379e613799846147bb565b614765565b9050828152602081018484840111156137ba576137b9614bf6565b5b6137c58482856149ea565b509392505050565b6000813590506137dc8161534e565b92915050565b60008083601f8401126137f8576137f7614bec565b5b8235905067ffffffffffffffff81111561381557613814614be7565b5b60208301915083602082028301111561383157613830614bf1565b5b9250929050565b60008135905061384781615365565b92915050565b60008135905061385c8161537c565b92915050565b60008135905061387181615393565b92915050565b60008151905061388681615393565b92915050565b600082601f8301126138a1576138a0614bec565b5b81356138b1848260208601613749565b91505092915050565b600082601f8301126138cf576138ce614bec565b5b81356138df84826020860161378b565b91505092915050565b6000813590506138f7816153aa565b92915050565b60006020828403121561391357613912614c00565b5b6000613921848285016137cd565b91505092915050565b6000806040838503121561394157613940614c00565b5b600061394f858286016137cd565b9250506020613960858286016137cd565b9150509250929050565b60008060006060848603121561398357613982614c00565b5b6000613991868287016137cd565b93505060206139a2868287016137cd565b92505060406139b3868287016138e8565b9150509250925092565b600080600080608085870312156139d7576139d6614c00565b5b60006139e5878288016137cd565b94505060206139f6878288016137cd565b9350506040613a07878288016138e8565b925050606085013567ffffffffffffffff811115613a2857613a27614bfb565b5b613a348782880161388c565b91505092959194509250565b60008060408385031215613a5757613a56614c00565b5b6000613a65858286016137cd565b9250506020613a7685828601613838565b9150509250929050565b60008060408385031215613a9757613a96614c00565b5b6000613aa5858286016137cd565b9250506020613ab6858286016138e8565b9150509250929050565b60008060208385031215613ad757613ad6614c00565b5b600083013567ffffffffffffffff811115613af557613af4614bfb565b5b613b01858286016137e2565b92509250509250929050565b600060208284031215613b2357613b22614c00565b5b6000613b3184828501613838565b91505092915050565b600060208284031215613b5057613b4f614c00565b5b6000613b5e8482850161384d565b91505092915050565b600060208284031215613b7d57613b7c614c00565b5b6000613b8b84828501613862565b91505092915050565b600060208284031215613baa57613ba9614c00565b5b6000613bb884828501613877565b91505092915050565b600060208284031215613bd757613bd6614c00565b5b600082013567ffffffffffffffff811115613bf557613bf4614bfb565b5b613c01848285016138ba565b91505092915050565b600060208284031215613c2057613c1f614c00565b5b6000613c2e848285016138e8565b91505092915050565b600080600060408486031215613c5057613c4f614c00565b5b6000613c5e868287016138e8565b935050602084013567ffffffffffffffff811115613c7f57613c7e614bfb565b5b613c8b868287016137e2565b92509250509250925092565b6000613ca3838361426a565b60208301905092915050565b613cb88161496c565b82525050565b613ccf613cca8261496c565b614ad8565b82525050565b6000613ce082614811565b613cea818561483f565b9350613cf5836147ec565b8060005b83811015613d26578151613d0d8882613c97565b9750613d1883614832565b925050600181019050613cf9565b5085935050505092915050565b613d3c8161497e565b82525050565b613d4b8161498a565b82525050565b6000613d5c8261481c565b613d668185614850565b9350613d768185602086016149f9565b613d7f81614c05565b840191505092915050565b6000613d9582614827565b613d9f818561486c565b9350613daf8185602086016149f9565b613db881614c05565b840191505092915050565b6000613dce82614827565b613dd8818561487d565b9350613de88185602086016149f9565b80840191505092915050565b60008154613e0181614a2c565b613e0b818661487d565b94506001821660008114613e265760018114613e3757613e6a565b60ff19831686528186019350613e6a565b613e40856147fc565b60005b83811015613e6257815481890152600182019150602081019050613e43565b838801955050505b50505092915050565b6000613e8060228361486c565b9150613e8b82614c23565b604082019050919050565b6000613ea3602e8361486c565b9150613eae82614c72565b604082019050919050565b6000613ec660268361486c565b9150613ed182614cc1565b604082019050919050565b6000613ee9602a8361486c565b9150613ef482614d10565b604082019050919050565b6000613f0c60148361486c565b9150613f1782614d5f565b602082019050919050565b6000613f2f60238361486c565b9150613f3a82614d88565b604082019050919050565b6000613f5260258361486c565b9150613f5d82614dd7565b604082019050919050565b6000613f7560088361486c565b9150613f8082614e26565b602082019050919050565b6000613f9860398361486c565b9150613fa382614e4f565b604082019050919050565b6000613fbb602b8361486c565b9150613fc682614e9e565b604082019050919050565b6000613fde601b8361486c565b9150613fe982614eed565b602082019050919050565b600061400160268361486c565b915061400c82614f16565b604082019050919050565b600061402460208361486c565b915061402f82614f65565b602082019050919050565b600061404760178361486c565b915061405282614f8e565b602082019050919050565b600061406a602f8361486c565b915061407582614fb7565b604082019050919050565b600061408d601a8361486c565b915061409882615006565b602082019050919050565b60006140b060328361486c565b91506140bb8261502f565b604082019050919050565b60006140d3601d8361486c565b91506140de8261507e565b602082019050919050565b60006140f660228361486c565b9150614101826150a7565b604082019050919050565b6000614119600083614861565b9150614124826150f6565b600082019050919050565b600061413c60108361486c565b9150614147826150f9565b602082019050919050565b600061415f60088361486c565b915061416a82615122565b602082019050919050565b600061418260338361486c565b915061418d8261514b565b604082019050919050565b60006141a560218361486c565b91506141b08261519a565b604082019050919050565b60006141c860288361486c565b91506141d3826151e9565b604082019050919050565b60006141eb602e8361486c565b91506141f682615238565b604082019050919050565b600061420e602f8361486c565b915061421982615287565b604082019050919050565b6000614231602d8361486c565b915061423c826152d6565b604082019050919050565b600061425460098361486c565b915061425f82615325565b602082019050919050565b614273816149e0565b82525050565b614282816149e0565b82525050565b60006142948284613cbe565b60148201915081905092915050565b60006142af8286613dc3565b91506142bb8285613dc3565b91506142c78284613df4565b9150819050949350505050565b60006142df8261410c565b9150819050919050565b60006020820190506142fe6000830184613caf565b92915050565b60006080820190506143196000830187613caf565b6143266020830186613caf565b6143336040830185614279565b81810360608301526143458184613d51565b905095945050505050565b6000602082019050818103600083015261436a8184613cd5565b905092915050565b60006020820190506143876000830184613d33565b92915050565b60006020820190506143a26000830184613d42565b92915050565b600060208201905081810360008301526143c28184613d8a565b905092915050565b600060208201905081810360008301526143e381613e73565b9050919050565b6000602082019050818103600083015261440381613e96565b9050919050565b6000602082019050818103600083015261442381613eb9565b9050919050565b6000602082019050818103600083015261444381613edc565b9050919050565b6000602082019050818103600083015261446381613eff565b9050919050565b6000602082019050818103600083015261448381613f22565b9050919050565b600060208201905081810360008301526144a381613f45565b9050919050565b600060208201905081810360008301526144c381613f68565b9050919050565b600060208201905081810360008301526144e381613f8b565b9050919050565b6000602082019050818103600083015261450381613fae565b9050919050565b6000602082019050818103600083015261452381613fd1565b9050919050565b6000602082019050818103600083015261454381613ff4565b9050919050565b6000602082019050818103600083015261456381614017565b9050919050565b600060208201905081810360008301526145838161403a565b9050919050565b600060208201905081810360008301526145a38161405d565b9050919050565b600060208201905081810360008301526145c381614080565b9050919050565b600060208201905081810360008301526145e3816140a3565b9050919050565b60006020820190508181036000830152614603816140c6565b9050919050565b60006020820190508181036000830152614623816140e9565b9050919050565b600060208201905081810360008301526146438161412f565b9050919050565b6000602082019050818103600083015261466381614152565b9050919050565b6000602082019050818103600083015261468381614175565b9050919050565b600060208201905081810360008301526146a381614198565b9050919050565b600060208201905081810360008301526146c3816141bb565b9050919050565b600060208201905081810360008301526146e3816141de565b9050919050565b6000602082019050818103600083015261470381614201565b9050919050565b6000602082019050818103600083015261472381614224565b9050919050565b6000602082019050818103600083015261474381614247565b9050919050565b600060208201905061475f6000830184614279565b92915050565b600061476f614780565b905061477b8282614a5e565b919050565b6000604051905090565b600067ffffffffffffffff8211156147a5576147a4614bb8565b5b6147ae82614c05565b9050602081019050919050565b600067ffffffffffffffff8211156147d6576147d5614bb8565b5b6147df82614c05565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614893826149e0565b915061489e836149e0565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156148d3576148d2614afc565b5b828201905092915050565b60006148e9826149e0565b91506148f4836149e0565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561492d5761492c614afc565b5b828202905092915050565b6000614943826149e0565b915061494e836149e0565b92508282101561496157614960614afc565b5b828203905092915050565b6000614977826149c0565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015614a175780820151818401526020810190506149fc565b83811115614a26576000848401525b50505050565b60006002820490506001821680614a4457607f821691505b60208210811415614a5857614a57614b5a565b5b50919050565b614a6782614c05565b810181811067ffffffffffffffff82111715614a8657614a85614bb8565b5b80604052505050565b6000614a9a826149e0565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614acd57614acc614afc565b5b600182019050919050565b6000614ae382614aea565b9050919050565b6000614af582614c16565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60008201527f6473000000000000000000000000000000000000000000000000000000000000602082015250565b7f4d696e696d756d2031204e46542068617320746f206265206d696e746564207060008201527f6572207472616e73616374696f6e000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a206f776e657220717565727920666f72206e6f6e6578697360008201527f74656e7420746f6b656e00000000000000000000000000000000000000000000602082015250565b7f496e76616c6964206d696e7420616d6f756e7421000000000000000000000000600082015250565b7f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560008201527f6e64730000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f4e6f206d6f726521000000000000000000000000000000000000000000000000600082015250565b7f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000602082015250565b7f455243373231413a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f41646472657373206973206e6f742077686974656c6973746564210000000000600082015250565b7f455243373231413a207472616e736665722066726f6d20696e636f727265637460008201527f206f776e65720000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f54686520636f6e74726163742069732070617573656421000000000000000000600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f455243373231413a20617070726f766520746f2063616c6c6572000000000000600082015250565b7f455243373231413a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f506c656173652073656e642074686520657861637420616d6f756e742e000000600082015250565b7f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b7f536f6c64206f7574000000000000000000000000000000000000000000000000600082015250565b7f455243373231413a207472616e7366657220746f206e6f6e204552433732315260008201527f6563656976657220696d706c656d656e74657200000000000000000000000000602082015250565b7f455243373231413a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a207175616e74697479206d7573742062652067726561746560008201527f72207468616e2030000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060008201527f6f776e657220627920696e646578000000000000000000000000000000000000602082015250565b7f455243373231413a20756e61626c6520746f2064657465726d696e652074686560008201527f206f776e6572206f6620746f6b656e0000000000000000000000000000000000602082015250565b7f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560008201527f78697374656e7420746f6b656e00000000000000000000000000000000000000602082015250565b7f536f6c64206f7574210000000000000000000000000000000000000000000000600082015250565b6153578161496c565b811461536257600080fd5b50565b61536e8161497e565b811461537957600080fd5b50565b6153858161498a565b811461539057600080fd5b50565b61539c81614994565b81146153a757600080fd5b50565b6153b3816149e0565b81146153be57600080fd5b5056fea2646970667358221220a5a55b57917e1ae78ff82da73025784612f2c39b44073e22bf86537ef6fc071b64736f6c63430008070033
Loading...
Loading
Loading...
Loading
OVERVIEW
Inspired by @TheSimpsons and @BoredApeYC. The Apesons was born to combine web2 and web3 by our cool arts with meme vibes.Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.