Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 1,343 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Public Mint | 16809999 | 545 days ago | IN | 0 ETH | 0.00069334 | ||||
Transfer From | 16502371 | 588 days ago | IN | 0 ETH | 0.00077433 | ||||
Transfer From | 16502370 | 588 days ago | IN | 0 ETH | 0.00108298 | ||||
Set Approval For... | 16443980 | 596 days ago | IN | 0 ETH | 0.00082065 | ||||
Set Approval For... | 16405653 | 601 days ago | IN | 0 ETH | 0.00088348 | ||||
Set Approval For... | 16384239 | 604 days ago | IN | 0 ETH | 0.0005057 | ||||
Set Approval For... | 16380007 | 605 days ago | IN | 0 ETH | 0.00108998 | ||||
Set Approval For... | 16378096 | 605 days ago | IN | 0 ETH | 0.00080493 | ||||
Set Approval For... | 16374229 | 606 days ago | IN | 0 ETH | 0.00073607 | ||||
Set Approval For... | 16374222 | 606 days ago | IN | 0 ETH | 0.00075192 | ||||
Set Approval For... | 16374216 | 606 days ago | IN | 0 ETH | 0.000713 | ||||
Safe Transfer Fr... | 16374179 | 606 days ago | IN | 0 ETH | 0.00084138 | ||||
Set Approval For... | 16374007 | 606 days ago | IN | 0 ETH | 0.00069701 | ||||
Set Approval For... | 16373997 | 606 days ago | IN | 0 ETH | 0.00070845 | ||||
Set Approval For... | 16373960 | 606 days ago | IN | 0 ETH | 0.0007708 | ||||
Set Approval For... | 16373957 | 606 days ago | IN | 0 ETH | 0.00078644 | ||||
Set Approval For... | 16373956 | 606 days ago | IN | 0 ETH | 0.00082546 | ||||
Set Approval For... | 16373950 | 606 days ago | IN | 0 ETH | 0.00082217 | ||||
Set Approval For... | 16373950 | 606 days ago | IN | 0 ETH | 0.00082403 | ||||
Set Approval For... | 16373947 | 606 days ago | IN | 0 ETH | 0.00233645 | ||||
Set Approval For... | 16373945 | 606 days ago | IN | 0 ETH | 0.0008746 | ||||
Set Approval For... | 16373944 | 606 days ago | IN | 0 ETH | 0.00090745 | ||||
Set Approval For... | 16373944 | 606 days ago | IN | 0 ETH | 0.00090745 | ||||
Set Approval For... | 16373944 | 606 days ago | IN | 0 ETH | 0.00090745 | ||||
Set Approval For... | 16373943 | 606 days ago | IN | 0 ETH | 0.0008702 |
Latest 1 internal transaction
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
16373896 | 606 days ago | 0.2687 ETH |
Loading...
Loading
Contract Name:
Atsuaki
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/security/ReentrancyGuard.sol'; import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol'; import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol'; import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol'; pragma solidity ^0.8.0; contract ERC721A is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable, Ownable, ReentrancyGuard { 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 Atsuaki is ERC721A { using Strings for uint256; // ================== VARAIBLES ======================= bytes32 public merkleRootWl; bool public paused = true; bool public revealed = false; string private uriPrefix = ''; string private uriSuffix = '.json'; string private hiddenMetadataUri; uint256 public wlPrice = 0.0077 ether; uint256 public salePrice = 0.0099 ether; uint256 public maxWLTx = 2; uint256 public maxTx = 2; uint256 public maxWLSupply = 777; uint256 public maxSupply = 999; uint256 public WL_MINTED = 0; uint256 public PB_MINTED = 0; mapping(address => uint256) public WL_MINT_COUNT; // ================== CONTRUCTOR ======================= constructor() ERC721A('Atsuaki', 'ASK') { setHiddenMetadataUri('ipfs://__CID__/hidden.json'); } // ================== MINT FUNCTIONS ======================= /** * @notice Public Mint */ function publicMint(uint256 _quantity) external payable { // Normal requirements require(!paused, 'The contract is paused!'); require(totalSupply() >= maxWLSupply, 'Wait for public mint!'); require(_quantity > 0, 'Invalid mint amount!'); require(totalSupply() + _quantity <= maxSupply, 'Sold out!'); if (msg.sender != owner()) { require(balanceOf(msg.sender) + _quantity <= maxTx, 'No more!'); require(msg.value >= salePrice * _quantity, 'Please send the exact amount.'); } // Mint _safeMint(msg.sender, _quantity); // Mapping update PB_MINTED += _quantity; } /** * @notice Atsuaki Mint */ function atsuakiMint(uint256 _quantity, bytes32[] calldata _merkleProof) external payable { // Verify wl requirements require(!paused, 'The contract is paused!'); require(isWhitelist(_merkleProof), 'Address is not whitelisted!'); // Normal requirements require(_quantity > 0, 'Invalid mint amount!'); require(totalSupply() + _quantity <= maxSupply, 'Sold out!'); require(WL_MINT_COUNT[msg.sender] + _quantity <= maxWLTx, 'Max mint per wallet exceeded!'); require(msg.value >= wlPrice * _quantity, 'Please send the exact amount.'); // Mint _safeMint(msg.sender, _quantity); // Mapping update WL_MINT_COUNT[msg.sender] += _quantity; WL_MINTED += _quantity; } /** * @notice Team Mint */ function teamMint(uint256 _quantity) external onlyOwner { require(_quantity > 0, 'Minimum 1 NFT has to be minted per transaction'); require(totalSupply() + _quantity <= maxSupply, 'Sold out'); _safeMint(msg.sender, _quantity); } /** * @notice 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; } // ================== SETUP FUNCTIONS ======================= function setRevealed(bool _state) public onlyOwner { revealed = _state; } function setPaused(bool _state) public 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 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 (last updated v4.8.0) (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be _NOT_ENTERED require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Tree proofs. * * The tree and the proofs can be generated using our * https://github.com/OpenZeppelin/merkle-tree[JavaScript library]. * You will find a quickstart guide in the readme. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the merkle tree could be reinterpreted as a leaf value. * OpenZeppelin's JavaScript library generates merkle trees that are safe * against this attack out of the box. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Calldata version of {verify} * * _Available since v4.7._ */ function verifyCalldata( bytes32[] calldata proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProofCalldata(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Calldata version of {processProof} * * _Available since v4.7._ */ function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function multiProofVerify( bytes32[] memory proof, bool[] memory proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProof(proof, proofFlags, leaves) == root; } /** * @dev Calldata version of {multiProofVerify} * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function multiProofVerifyCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProofCalldata(proof, proofFlags, leaves) == root; } /** * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false * respectively. * * CAUTION: Not all merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer). * * _Available since v4.7._ */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Calldata version of {processMultiProof}. * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { /// @solidity memory-safe-assembly assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol) pragma solidity ^0.8.0; import "./math/Math.sol"; /** * @dev String operations. */ library Strings { bytes16 private constant _SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv( uint256 x, uint256 y, uint256 denominator ) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv( uint256 x, uint256 y, uint256 denominator, Rounding rounding ) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10**64) { value /= 10**64; result += 64; } if (value >= 10**32) { value /= 10**32; result += 32; } if (value >= 10**16) { value /= 10**16; result += 16; } if (value >= 10**8) { value /= 10**8; result += 8; } if (value >= 10**4) { value /= 10**4; result += 4; } if (value >= 10**2) { value /= 10**2; result += 2; } if (value >= 10**1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721 * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must * understand this adds an external call which potentially creates a reentrancy vulnerability. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"PB_MINTED","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WL_MINTED","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"WL_MINT_COUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_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":"uint256","name":"_quantity","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"atsuakiMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"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":"_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":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"wlPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
608060405260016002556001600a60006101000a81548160ff0219169083151502179055506000600a60016101000a81548160ff02191690831515021790555060405180602001604052806000815250600b908051906020019062000066929190620003be565b506040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250600c9080519060200190620000b4929190620003be565b50661b5b1bf4c54000600e5566232bff5f46c000600f55600260105560026011556103096012556103e760135560006014556000601555348015620000f857600080fd5b506040518060400160405280600781526020017f41747375616b69000000000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f41534b000000000000000000000000000000000000000000000000000000000081525062000185620001796200020c60201b60201c565b6200021460201b60201c565b600180819055508160039080519060200190620001a4929190620003be565b508060049080519060200190620001bd929190620003be565b505050620002066040518060400160405280601a81526020017f697066733a2f2f5f5f4349445f5f2f68696464656e2e6a736f6e000000000000815250620002d860201b60201c565b62000556565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620002e86200030460201b60201c565b80600d908051906020019062000300929190620003be565b5050565b620003146200020c60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff166200033a6200039560201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000393576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200038a9062000495565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b828054620003cc90620004c8565b90600052602060002090601f016020900481019282620003f057600085556200043c565b82601f106200040b57805160ff19168380011785556200043c565b828001600101855582156200043c579182015b828111156200043b5782518255916020019190600101906200041e565b5b5090506200044b91906200044f565b5090565b5b808211156200046a57600081600090555060010162000450565b5090565b60006200047d602083620004b7565b91506200048a826200052d565b602082019050919050565b60006020820190508181036000830152620004b0816200046e565b9050919050565b600082825260208201905092915050565b60006002820490506001821680620004e157607f821691505b60208210811415620004f857620004f7620004fe565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b61523380620005666000396000f3fe6080604052600436106102c95760003560e01c806366f05dda11610175578063b4dc1315116100dc578063de137a4a11610095578063ed475f631161006f578063ed475f6314610ad0578063ef8319cd14610b0d578063f2fde38b14610b38578063f51f96dd14610b61576102c9565b8063de137a4a14610a3f578063e0a8085314610a6a578063e985e9c514610a93576102c9565b8063b4dc13151461092f578063b88d4fde1461095a578063bc33718214610983578063c7f8d01a146109ac578063c87b56dd146109d7578063d5abeb0114610a14576102c9565b806385f692a01161012e57806385f692a0146108355780638ba4cc3c1461085e5780638da5cb5b146108875780638dd07d0f146108b257806395d89b41146108db578063a22cb46514610906576102c9565b806366f05dda1461073b5780636f8b44b01461076457806370a082311461078d578063715018a6146107ca5780637437681e146107e15780637ec4a6591461080c576102c9565b80633ccfd60b116102345780634f6ccce7116101ed57806351830227116101c7578063518302271461066b5780635c975abb146106965780636352211e146106c157806366cbf2e2146106fe576102c9565b80634f6ccce7146105da5780634fdd43cb14610617578063515dc32714610640576102c9565b80633ccfd60b146104ed5780633d5652ff146105045780633f296d491461052057806342842e0e1461054b578063438b630014610574578063440bc7f3146105b1576102c9565b806318160ddd1161028657806318160ddd146103ee5780631919fed71461041957806323b872dd146104425780632db115441461046b5780632f745c59146104875780632fbba115146104c4576102c9565b806301ffc9a7146102ce57806306fdde031461030b578063081812fc14610336578063095ea7b31461037357806316ba10e01461039c57806316c38b3c146103c5575b600080fd5b3480156102da57600080fd5b506102f560048036038101906102f091906138ff565b610b8c565b6040516103029190614150565b60405180910390f35b34801561031757600080fd5b50610320610cd6565b60405161032d9190614186565b60405180910390f35b34801561034257600080fd5b5061035d600480360381019061035891906139a2565b610d68565b60405161036a91906140c7565b60405180910390f35b34801561037f57600080fd5b5061039a60048036038101906103959190613818565b610ded565b005b3480156103a857600080fd5b506103c360048036038101906103be9190613959565b610f06565b005b3480156103d157600080fd5b506103ec60048036038101906103e791906138a5565b610f28565b005b3480156103fa57600080fd5b50610403610f4d565b6040516104109190614568565b60405180910390f35b34801561042557600080fd5b50610440600480360381019061043b91906139a2565b610f57565b005b34801561044e57600080fd5b5061046960048036038101906104649190613702565b610f69565b005b610485600480360381019061048091906139a2565b610f79565b005b34801561049357600080fd5b506104ae60048036038101906104a99190613818565b6111b8565b6040516104bb9190614568565b60405180910390f35b3480156104d057600080fd5b506104eb60048036038101906104e691906139a2565b6113aa565b005b3480156104f957600080fd5b50610502611459565b005b61051e600480360381019061051991906139cf565b611510565b005b34801561052c57600080fd5b506105356117a0565b6040516105429190614568565b60405180910390f35b34801561055757600080fd5b50610572600480360381019061056d9190613702565b6117a6565b005b34801561058057600080fd5b5061059b60048036038101906105969190613695565b6117c6565b6040516105a8919061412e565b60405180910390f35b3480156105bd57600080fd5b506105d860048036038101906105d391906138d2565b6118d1565b005b3480156105e657600080fd5b5061060160048036038101906105fc91906139a2565b6118e3565b60405161060e9190614568565b60405180910390f35b34801561062357600080fd5b5061063e60048036038101906106399190613959565b611936565b005b34801561064c57600080fd5b50610655611958565b6040516106629190614568565b60405180910390f35b34801561067757600080fd5b5061068061195e565b60405161068d9190614150565b60405180910390f35b3480156106a257600080fd5b506106ab611971565b6040516106b89190614150565b60405180910390f35b3480156106cd57600080fd5b506106e860048036038101906106e391906139a2565b611984565b6040516106f591906140c7565b60405180910390f35b34801561070a57600080fd5b5061072560048036038101906107209190613695565b61199a565b6040516107329190614568565b60405180910390f35b34801561074757600080fd5b50610762600480360381019061075d91906139a2565b6119b2565b005b34801561077057600080fd5b5061078b600480360381019061078691906139a2565b6119c4565b005b34801561079957600080fd5b506107b460048036038101906107af9190613695565b6119d6565b6040516107c19190614568565b60405180910390f35b3480156107d657600080fd5b506107df611abf565b005b3480156107ed57600080fd5b506107f6611ad3565b6040516108039190614568565b60405180910390f35b34801561081857600080fd5b50610833600480360381019061082e9190613959565b611ad9565b005b34801561084157600080fd5b5061085c600480360381019061085791906139a2565b611afb565b005b34801561086a57600080fd5b5061088560048036038101906108809190613818565b611b0d565b005b34801561089357600080fd5b5061089c611bca565b6040516108a991906140c7565b60405180910390f35b3480156108be57600080fd5b506108d960048036038101906108d491906139a2565b611bf3565b005b3480156108e757600080fd5b506108f0611c05565b6040516108fd9190614186565b60405180910390f35b34801561091257600080fd5b5061092d600480360381019061092891906137d8565b611c97565b005b34801561093b57600080fd5b50610944611e18565b6040516109519190614568565b60405180910390f35b34801561096657600080fd5b50610981600480360381019061097c9190613755565b611e1e565b005b34801561098f57600080fd5b506109aa60048036038101906109a591906139a2565b611e7a565b005b3480156109b857600080fd5b506109c1611e8c565b6040516109ce9190614568565b60405180910390f35b3480156109e357600080fd5b506109fe60048036038101906109f991906139a2565b611e92565b604051610a0b9190614186565b60405180910390f35b348015610a2057600080fd5b50610a29611feb565b604051610a369190614568565b60405180910390f35b348015610a4b57600080fd5b50610a54611ff1565b604051610a619190614568565b60405180910390f35b348015610a7657600080fd5b50610a916004803603810190610a8c91906138a5565b611ff7565b005b348015610a9f57600080fd5b50610aba6004803603810190610ab591906136c2565b61201c565b604051610ac79190614150565b60405180910390f35b348015610adc57600080fd5b50610af76004803603810190610af29190613858565b6120b0565b604051610b049190614150565b60405180910390f35b348015610b1957600080fd5b50610b22612145565b604051610b2f919061416b565b60405180910390f35b348015610b4457600080fd5b50610b5f6004803603810190610b5a9190613695565b61214b565b005b348015610b6d57600080fd5b50610b766121cf565b604051610b839190614568565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610c5757507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610cbf57507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610ccf5750610cce826121d5565b5b9050919050565b606060038054610ce590614816565b80601f0160208091040260200160405190810160405280929190818152602001828054610d1190614816565b8015610d5e5780601f10610d3357610100808354040283529160200191610d5e565b820191906000526020600020905b815481529060010190602001808311610d4157829003601f168201915b5050505050905090565b6000610d738261223f565b610db2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da990614528565b60405180910390fd5b6007600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610df882611984565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610e69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6090614408565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610e8861224d565b73ffffffffffffffffffffffffffffffffffffffff161480610eb75750610eb681610eb161224d565b61201c565b5b610ef6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eed906142c8565b60405180910390fd5b610f01838383612255565b505050565b610f0e612307565b80600c9080519060200190610f24929190613404565b5050565b610f30612307565b80600a60006101000a81548160ff02191690831515021790555050565b6000600254905090565b610f5f612307565b80600f8190555050565b610f74838383612385565b505050565b600a60009054906101000a900460ff1615610fc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc090614368565b60405180910390fd5b601254610fd4610f4d565b1015611015576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100c90614428565b60405180910390fd5b60008111611058576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104f90614228565b60405180910390fd5b60135481611064610f4d565b61106e91906146a6565b11156110af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a690614548565b60405180910390fd5b6110b7611bca565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461119257601154816110f6336119d6565b61110091906146a6565b1115611141576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113890614288565b60405180910390fd5b80600f5461114f91906146fc565b341015611191576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611188906143e8565b60405180910390fd5b5b61119c33826128c5565b80601560008282546111ae91906146a6565b9250508190555050565b60006111c3836119d6565b8210611204576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111fb906141a8565b60405180910390fd5b600061120e610f4d565b905060008060005b83811015611368576000600560008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461130857806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561135a57868414156113515781955050505050506113a4565b83806001019450505b508080600101915050611216565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139b906144e8565b60405180910390fd5b92915050565b6113b2612307565b600081116113f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ec906141c8565b60405180910390fd5b60135481611401610f4d565b61140b91906146a6565b111561144c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144390614468565b60405180910390fd5b61145633826128c5565b50565b611461612307565b60003373ffffffffffffffffffffffffffffffffffffffff1647604051611487906140b2565b60006040518083038185875af1925050503d80600081146114c4576040519150601f19603f3d011682016040523d82523d6000602084013e6114c9565b606091505b505090508061150d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150490614448565b60405180910390fd5b50565b600a60009054906101000a900460ff1615611560576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155790614368565b60405180910390fd5b61156a82826120b0565b6115a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a090614308565b60405180910390fd5b600083116115ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e390614228565b60405180910390fd5b601354836115f8610f4d565b61160291906146a6565b1115611643576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163a90614548565b60405180910390fd5b60105483601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461169191906146a6565b11156116d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c9906142a8565b60405180910390fd5b82600e546116e091906146fc565b341015611722576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611719906143e8565b60405180910390fd5b61172c33846128c5565b82601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461177b91906146a6565b92505081905550826014600082825461179491906146a6565b92505081905550505050565b60145481565b6117c183838360405180602001604052806000815250611e1e565b505050565b606060006117d3836119d6565b905060008167ffffffffffffffff8111156117f1576117f06149a2565b5b60405190808252806020026020018201604052801561181f5781602001602082028036833780820191505090505b50905060006001905060005b838110801561183c57506013548211155b156118c557600061184c83611984565b90508673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156118b1578284838151811061189657611895614973565b5b60200260200101818152505081806118ad90614879565b9250505b82806118bc90614879565b9350505061182b565b82945050505050919050565b6118d9612307565b8060098190555050565b60006118ed610f4d565b821061192e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192590614248565b60405180910390fd5b819050919050565b61193e612307565b80600d9080519060200190611954929190613404565b5050565b60125481565b600a60019054906101000a900460ff1681565b600a60009054906101000a900460ff1681565b600061198f826128e3565b600001519050919050565b60166020528060005260406000206000915090505481565b6119ba612307565b8060108190555050565b6119cc612307565b8060138190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3e906142e8565b60405180910390fd5b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b611ac7612307565b611ad16000612a7d565b565b60115481565b611ae1612307565b80600b9080519060200190611af7929190613404565b5050565b611b03612307565b8060128190555050565b611b15612307565b600a60009054906101000a900460ff1615611b65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5c90614368565b60405180910390fd5b601354611b70610f4d565b82611b7b91906146a6565b1115611bbc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb390614468565b60405180910390fd5b611bc682826128c5565b5050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611bfb612307565b80600e8190555050565b606060048054611c1490614816565b80601f0160208091040260200160405190810160405280929190818152602001828054611c4090614816565b8015611c8d5780601f10611c6257610100808354040283529160200191611c8d565b820191906000526020600020905b815481529060010190602001808311611c7057829003601f168201915b5050505050905090565b611c9f61224d565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d04906143a8565b60405180910390fd5b8060086000611d1a61224d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611dc761224d565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611e0c9190614150565b60405180910390a35050565b60155481565b611e29848484612385565b611e3584848484612b41565b611e74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e6b90614488565b60405180910390fd5b50505050565b611e82612307565b8060118190555050565b600e5481565b6060611e9d8261223f565b611edc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ed390614388565b60405180910390fd5b60001515600a60019054906101000a900460ff1615151415611f8a57600d8054611f0590614816565b80601f0160208091040260200160405190810160405280929190818152602001828054611f3190614816565b8015611f7e5780601f10611f5357610100808354040283529160200191611f7e565b820191906000526020600020905b815481529060010190602001808311611f6157829003601f168201915b50505050509050611fe6565b6000611f94612cd8565b90506000815111611fb45760405180602001604052806000815250611fe2565b80611fbe84612d6a565b600c604051602001611fd293929190614081565b6040516020818303038152906040525b9150505b919050565b60135481565b60105481565b611fff612307565b80600a60016101000a81548160ff02191690831515021790555050565b6000600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600080336040516020016120c49190614066565b60405160208183030381529060405280519060200120905061212a848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060095483612e42565b1561213957600191505061213f565b60009150505b92915050565b60095481565b612153612307565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156121c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ba906141e8565b60405180910390fd5b6121cc81612a7d565b50565b600f5481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600060025482109050919050565b600033905090565b826007600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b61230f61224d565b73ffffffffffffffffffffffffffffffffffffffff1661232d611bca565b73ffffffffffffffffffffffffffffffffffffffff1614612383576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161237a90614348565b60405180910390fd5b565b6000612390826128e3565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff166123b761224d565b73ffffffffffffffffffffffffffffffffffffffff16148061241357506123dc61224d565b73ffffffffffffffffffffffffffffffffffffffff166123fb84610d68565b73ffffffffffffffffffffffffffffffffffffffff16145b8061242f575061242e826000015161242961224d565b61201c565b5b905080612471576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612468906143c8565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff16146124e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124da90614328565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612553576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161254a90614268565b60405180910390fd5b6125608585856001612e59565b6125706000848460000151612255565b6001600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160392506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550836005600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426005600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166005600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612855576127b48161223f565b156128545782600001516005600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516005600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46128be8585856001612e5f565b5050505050565b6128df828260405180602001604052806000815250612e65565b5050565b6128eb61348a565b6128f48261223f565b612933576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161292a90614208565b60405180910390fd5b60008290505b60008110612a3c576000600560008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612a2d578092505050612a78565b50808060019003915050612939565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a6f90614508565b60405180910390fd5b919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000612b628473ffffffffffffffffffffffffffffffffffffffff16612e77565b15612ccb578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612b8b61224d565b8786866040518563ffffffff1660e01b8152600401612bad94939291906140e2565b602060405180830381600087803b158015612bc757600080fd5b505af1925050508015612bf857506040513d601f19601f82011682018060405250810190612bf5919061392c565b60015b612c7b573d8060008114612c28576040519150601f19603f3d011682016040523d82523d6000602084013e612c2d565b606091505b50600081511415612c73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c6a90614488565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612cd0565b600190505b949350505050565b6060600b8054612ce790614816565b80601f0160208091040260200160405190810160405280929190818152602001828054612d1390614816565b8015612d605780601f10612d3557610100808354040283529160200191612d60565b820191906000526020600020905b815481529060010190602001808311612d4357829003601f168201915b5050505050905090565b606060006001612d7984612e9a565b01905060008167ffffffffffffffff811115612d9857612d976149a2565b5b6040519080825280601f01601f191660200182016040528015612dca5781602001600182028036833780820191505090505b509050600082602001820190505b600115612e37578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8581612e2157612e20614915565b5b0494506000851415612e3257612e37565b612dd8565b819350505050919050565b600082612e4f8584612fed565b1490509392505050565b50505050565b50505050565b612e728383836001613043565b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310612ef8577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381612eee57612eed614915565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310612f35576d04ee2d6d415b85acef81000000008381612f2b57612f2a614915565b5b0492506020810190505b662386f26fc100008310612f6457662386f26fc100008381612f5a57612f59614915565b5b0492506010810190505b6305f5e1008310612f8d576305f5e1008381612f8357612f82614915565b5b0492506008810190505b6127108310612fb2576127108381612fa857612fa7614915565b5b0492506004810190505b60648310612fd55760648381612fcb57612fca614915565b5b0492506002810190505b600a8310612fe4576001810190505b80915050919050565b60008082905060005b8451811015613038576130238286838151811061301657613015614973565b5b60200260200101516133c2565b9150808061303090614879565b915050612ff6565b508091505092915050565b60006002549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156130ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130b1906144a8565b60405180910390fd5b60008414156130fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130f5906144c8565b60405180910390fd5b61310b6000868387612e59565b83600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555083600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160108282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550846005600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426005600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060005b858110156133a557818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48315613390576133506000888488612b41565b61338f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161338690614488565b60405180910390fd5b5b818060010192505080806001019150506132d9565b5080600281905550506133bb6000868387612e5f565b5050505050565b60008183106133da576133d582846133ed565b6133e5565b6133e483836133ed565b5b905092915050565b600082600052816020526040600020905092915050565b82805461341090614816565b90600052602060002090601f0160209004810192826134325760008555613479565b82601f1061344b57805160ff1916838001178555613479565b82800160010185558215613479579182015b8281111561347857825182559160200191906001019061345d565b5b50905061348691906134c4565b5090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b5b808211156134dd5760008160009055506001016134c5565b5090565b60006134f46134ef846145a8565b614583565b9050828152602081018484840111156135105761350f6149e0565b5b61351b8482856147d4565b509392505050565b6000613536613531846145d9565b614583565b905082815260208101848484011115613552576135516149e0565b5b61355d8482856147d4565b509392505050565b6000813590506135748161518a565b92915050565b60008083601f8401126135905761358f6149d6565b5b8235905067ffffffffffffffff8111156135ad576135ac6149d1565b5b6020830191508360208202830111156135c9576135c86149db565b5b9250929050565b6000813590506135df816151a1565b92915050565b6000813590506135f4816151b8565b92915050565b600081359050613609816151cf565b92915050565b60008151905061361e816151cf565b92915050565b600082601f830112613639576136386149d6565b5b81356136498482602086016134e1565b91505092915050565b600082601f830112613667576136666149d6565b5b8135613677848260208601613523565b91505092915050565b60008135905061368f816151e6565b92915050565b6000602082840312156136ab576136aa6149ea565b5b60006136b984828501613565565b91505092915050565b600080604083850312156136d9576136d86149ea565b5b60006136e785828601613565565b92505060206136f885828601613565565b9150509250929050565b60008060006060848603121561371b5761371a6149ea565b5b600061372986828701613565565b935050602061373a86828701613565565b925050604061374b86828701613680565b9150509250925092565b6000806000806080858703121561376f5761376e6149ea565b5b600061377d87828801613565565b945050602061378e87828801613565565b935050604061379f87828801613680565b925050606085013567ffffffffffffffff8111156137c0576137bf6149e5565b5b6137cc87828801613624565b91505092959194509250565b600080604083850312156137ef576137ee6149ea565b5b60006137fd85828601613565565b925050602061380e858286016135d0565b9150509250929050565b6000806040838503121561382f5761382e6149ea565b5b600061383d85828601613565565b925050602061384e85828601613680565b9150509250929050565b6000806020838503121561386f5761386e6149ea565b5b600083013567ffffffffffffffff81111561388d5761388c6149e5565b5b6138998582860161357a565b92509250509250929050565b6000602082840312156138bb576138ba6149ea565b5b60006138c9848285016135d0565b91505092915050565b6000602082840312156138e8576138e76149ea565b5b60006138f6848285016135e5565b91505092915050565b600060208284031215613915576139146149ea565b5b6000613923848285016135fa565b91505092915050565b600060208284031215613942576139416149ea565b5b60006139508482850161360f565b91505092915050565b60006020828403121561396f5761396e6149ea565b5b600082013567ffffffffffffffff81111561398d5761398c6149e5565b5b61399984828501613652565b91505092915050565b6000602082840312156139b8576139b76149ea565b5b60006139c684828501613680565b91505092915050565b6000806000604084860312156139e8576139e76149ea565b5b60006139f686828701613680565b935050602084013567ffffffffffffffff811115613a1757613a166149e5565b5b613a238682870161357a565b92509250509250925092565b6000613a3b8383614048565b60208301905092915050565b613a5081614756565b82525050565b613a67613a6282614756565b6148c2565b82525050565b6000613a788261462f565b613a82818561465d565b9350613a8d8361460a565b8060005b83811015613abe578151613aa58882613a2f565b9750613ab083614650565b925050600181019050613a91565b5085935050505092915050565b613ad481614768565b82525050565b613ae381614774565b82525050565b6000613af48261463a565b613afe818561466e565b9350613b0e8185602086016147e3565b613b17816149ef565b840191505092915050565b6000613b2d82614645565b613b37818561468a565b9350613b478185602086016147e3565b613b50816149ef565b840191505092915050565b6000613b6682614645565b613b70818561469b565b9350613b808185602086016147e3565b80840191505092915050565b60008154613b9981614816565b613ba3818661469b565b94506001821660008114613bbe5760018114613bcf57613c02565b60ff19831686528186019350613c02565b613bd88561461a565b60005b83811015613bfa57815481890152600182019150602081019050613bdb565b838801955050505b50505092915050565b6000613c1860228361468a565b9150613c2382614a0d565b604082019050919050565b6000613c3b602e8361468a565b9150613c4682614a5c565b604082019050919050565b6000613c5e60268361468a565b9150613c6982614aab565b604082019050919050565b6000613c81602a8361468a565b9150613c8c82614afa565b604082019050919050565b6000613ca460148361468a565b9150613caf82614b49565b602082019050919050565b6000613cc760238361468a565b9150613cd282614b72565b604082019050919050565b6000613cea60258361468a565b9150613cf582614bc1565b604082019050919050565b6000613d0d60088361468a565b9150613d1882614c10565b602082019050919050565b6000613d30601d8361468a565b9150613d3b82614c39565b602082019050919050565b6000613d5360398361468a565b9150613d5e82614c62565b604082019050919050565b6000613d76602b8361468a565b9150613d8182614cb1565b604082019050919050565b6000613d99601b8361468a565b9150613da482614d00565b602082019050919050565b6000613dbc60268361468a565b9150613dc782614d29565b604082019050919050565b6000613ddf60208361468a565b9150613dea82614d78565b602082019050919050565b6000613e0260178361468a565b9150613e0d82614da1565b602082019050919050565b6000613e25602f8361468a565b9150613e3082614dca565b604082019050919050565b6000613e48601a8361468a565b9150613e5382614e19565b602082019050919050565b6000613e6b60328361468a565b9150613e7682614e42565b604082019050919050565b6000613e8e601d8361468a565b9150613e9982614e91565b602082019050919050565b6000613eb160228361468a565b9150613ebc82614eba565b604082019050919050565b6000613ed460008361467f565b9150613edf82614f09565b600082019050919050565b6000613ef760158361468a565b9150613f0282614f0c565b602082019050919050565b6000613f1a60108361468a565b9150613f2582614f35565b602082019050919050565b6000613f3d60088361468a565b9150613f4882614f5e565b602082019050919050565b6000613f6060338361468a565b9150613f6b82614f87565b604082019050919050565b6000613f8360218361468a565b9150613f8e82614fd6565b604082019050919050565b6000613fa660288361468a565b9150613fb182615025565b604082019050919050565b6000613fc9602e8361468a565b9150613fd482615074565b604082019050919050565b6000613fec602f8361468a565b9150613ff7826150c3565b604082019050919050565b600061400f602d8361468a565b915061401a82615112565b604082019050919050565b600061403260098361468a565b915061403d82615161565b602082019050919050565b614051816147ca565b82525050565b614060816147ca565b82525050565b60006140728284613a56565b60148201915081905092915050565b600061408d8286613b5b565b91506140998285613b5b565b91506140a58284613b8c565b9150819050949350505050565b60006140bd82613ec7565b9150819050919050565b60006020820190506140dc6000830184613a47565b92915050565b60006080820190506140f76000830187613a47565b6141046020830186613a47565b6141116040830185614057565b81810360608301526141238184613ae9565b905095945050505050565b600060208201905081810360008301526141488184613a6d565b905092915050565b60006020820190506141656000830184613acb565b92915050565b60006020820190506141806000830184613ada565b92915050565b600060208201905081810360008301526141a08184613b22565b905092915050565b600060208201905081810360008301526141c181613c0b565b9050919050565b600060208201905081810360008301526141e181613c2e565b9050919050565b6000602082019050818103600083015261420181613c51565b9050919050565b6000602082019050818103600083015261422181613c74565b9050919050565b6000602082019050818103600083015261424181613c97565b9050919050565b6000602082019050818103600083015261426181613cba565b9050919050565b6000602082019050818103600083015261428181613cdd565b9050919050565b600060208201905081810360008301526142a181613d00565b9050919050565b600060208201905081810360008301526142c181613d23565b9050919050565b600060208201905081810360008301526142e181613d46565b9050919050565b6000602082019050818103600083015261430181613d69565b9050919050565b6000602082019050818103600083015261432181613d8c565b9050919050565b6000602082019050818103600083015261434181613daf565b9050919050565b6000602082019050818103600083015261436181613dd2565b9050919050565b6000602082019050818103600083015261438181613df5565b9050919050565b600060208201905081810360008301526143a181613e18565b9050919050565b600060208201905081810360008301526143c181613e3b565b9050919050565b600060208201905081810360008301526143e181613e5e565b9050919050565b6000602082019050818103600083015261440181613e81565b9050919050565b6000602082019050818103600083015261442181613ea4565b9050919050565b6000602082019050818103600083015261444181613eea565b9050919050565b6000602082019050818103600083015261446181613f0d565b9050919050565b6000602082019050818103600083015261448181613f30565b9050919050565b600060208201905081810360008301526144a181613f53565b9050919050565b600060208201905081810360008301526144c181613f76565b9050919050565b600060208201905081810360008301526144e181613f99565b9050919050565b6000602082019050818103600083015261450181613fbc565b9050919050565b6000602082019050818103600083015261452181613fdf565b9050919050565b6000602082019050818103600083015261454181614002565b9050919050565b6000602082019050818103600083015261456181614025565b9050919050565b600060208201905061457d6000830184614057565b92915050565b600061458d61459e565b90506145998282614848565b919050565b6000604051905090565b600067ffffffffffffffff8211156145c3576145c26149a2565b5b6145cc826149ef565b9050602081019050919050565b600067ffffffffffffffff8211156145f4576145f36149a2565b5b6145fd826149ef565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006146b1826147ca565b91506146bc836147ca565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156146f1576146f06148e6565b5b828201905092915050565b6000614707826147ca565b9150614712836147ca565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561474b5761474a6148e6565b5b828202905092915050565b6000614761826147aa565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156148015780820151818401526020810190506147e6565b83811115614810576000848401525b50505050565b6000600282049050600182168061482e57607f821691505b6020821081141561484257614841614944565b5b50919050565b614851826149ef565b810181811067ffffffffffffffff821117156148705761486f6149a2565b5b80604052505050565b6000614884826147ca565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156148b7576148b66148e6565b5b600182019050919050565b60006148cd826148d4565b9050919050565b60006148df82614a00565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60008201527f6473000000000000000000000000000000000000000000000000000000000000602082015250565b7f4d696e696d756d2031204e46542068617320746f206265206d696e746564207060008201527f6572207472616e73616374696f6e000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a206f776e657220717565727920666f72206e6f6e6578697360008201527f74656e7420746f6b656e00000000000000000000000000000000000000000000602082015250565b7f496e76616c6964206d696e7420616d6f756e7421000000000000000000000000600082015250565b7f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560008201527f6e64730000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f4e6f206d6f726521000000000000000000000000000000000000000000000000600082015250565b7f4d6178206d696e74207065722077616c6c657420657863656564656421000000600082015250565b7f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000602082015250565b7f455243373231413a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f41646472657373206973206e6f742077686974656c6973746564210000000000600082015250565b7f455243373231413a207472616e736665722066726f6d20696e636f727265637460008201527f206f776e65720000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f54686520636f6e74726163742069732070617573656421000000000000000000600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f455243373231413a20617070726f766520746f2063616c6c6572000000000000600082015250565b7f455243373231413a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f506c656173652073656e642074686520657861637420616d6f756e742e000000600082015250565b7f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f5761697420666f72207075626c6963206d696e74210000000000000000000000600082015250565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b7f536f6c64206f7574000000000000000000000000000000000000000000000000600082015250565b7f455243373231413a207472616e7366657220746f206e6f6e204552433732315260008201527f6563656976657220696d706c656d656e74657200000000000000000000000000602082015250565b7f455243373231413a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a207175616e74697479206d7573742062652067726561746560008201527f72207468616e2030000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060008201527f6f776e657220627920696e646578000000000000000000000000000000000000602082015250565b7f455243373231413a20756e61626c6520746f2064657465726d696e652074686560008201527f206f776e6572206f6620746f6b656e0000000000000000000000000000000000602082015250565b7f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560008201527f78697374656e7420746f6b656e00000000000000000000000000000000000000602082015250565b7f536f6c64206f7574210000000000000000000000000000000000000000000000600082015250565b61519381614756565b811461519e57600080fd5b50565b6151aa81614768565b81146151b557600080fd5b50565b6151c181614774565b81146151cc57600080fd5b50565b6151d88161477e565b81146151e357600080fd5b50565b6151ef816147ca565b81146151fa57600080fd5b5056fea2646970667358221220c1a918b0305d9538178d8e27ec350cc442dc5a4161685f7501ffad9ccaee775564736f6c63430008070033
Deployed Bytecode
0x6080604052600436106102c95760003560e01c806366f05dda11610175578063b4dc1315116100dc578063de137a4a11610095578063ed475f631161006f578063ed475f6314610ad0578063ef8319cd14610b0d578063f2fde38b14610b38578063f51f96dd14610b61576102c9565b8063de137a4a14610a3f578063e0a8085314610a6a578063e985e9c514610a93576102c9565b8063b4dc13151461092f578063b88d4fde1461095a578063bc33718214610983578063c7f8d01a146109ac578063c87b56dd146109d7578063d5abeb0114610a14576102c9565b806385f692a01161012e57806385f692a0146108355780638ba4cc3c1461085e5780638da5cb5b146108875780638dd07d0f146108b257806395d89b41146108db578063a22cb46514610906576102c9565b806366f05dda1461073b5780636f8b44b01461076457806370a082311461078d578063715018a6146107ca5780637437681e146107e15780637ec4a6591461080c576102c9565b80633ccfd60b116102345780634f6ccce7116101ed57806351830227116101c7578063518302271461066b5780635c975abb146106965780636352211e146106c157806366cbf2e2146106fe576102c9565b80634f6ccce7146105da5780634fdd43cb14610617578063515dc32714610640576102c9565b80633ccfd60b146104ed5780633d5652ff146105045780633f296d491461052057806342842e0e1461054b578063438b630014610574578063440bc7f3146105b1576102c9565b806318160ddd1161028657806318160ddd146103ee5780631919fed71461041957806323b872dd146104425780632db115441461046b5780632f745c59146104875780632fbba115146104c4576102c9565b806301ffc9a7146102ce57806306fdde031461030b578063081812fc14610336578063095ea7b31461037357806316ba10e01461039c57806316c38b3c146103c5575b600080fd5b3480156102da57600080fd5b506102f560048036038101906102f091906138ff565b610b8c565b6040516103029190614150565b60405180910390f35b34801561031757600080fd5b50610320610cd6565b60405161032d9190614186565b60405180910390f35b34801561034257600080fd5b5061035d600480360381019061035891906139a2565b610d68565b60405161036a91906140c7565b60405180910390f35b34801561037f57600080fd5b5061039a60048036038101906103959190613818565b610ded565b005b3480156103a857600080fd5b506103c360048036038101906103be9190613959565b610f06565b005b3480156103d157600080fd5b506103ec60048036038101906103e791906138a5565b610f28565b005b3480156103fa57600080fd5b50610403610f4d565b6040516104109190614568565b60405180910390f35b34801561042557600080fd5b50610440600480360381019061043b91906139a2565b610f57565b005b34801561044e57600080fd5b5061046960048036038101906104649190613702565b610f69565b005b610485600480360381019061048091906139a2565b610f79565b005b34801561049357600080fd5b506104ae60048036038101906104a99190613818565b6111b8565b6040516104bb9190614568565b60405180910390f35b3480156104d057600080fd5b506104eb60048036038101906104e691906139a2565b6113aa565b005b3480156104f957600080fd5b50610502611459565b005b61051e600480360381019061051991906139cf565b611510565b005b34801561052c57600080fd5b506105356117a0565b6040516105429190614568565b60405180910390f35b34801561055757600080fd5b50610572600480360381019061056d9190613702565b6117a6565b005b34801561058057600080fd5b5061059b60048036038101906105969190613695565b6117c6565b6040516105a8919061412e565b60405180910390f35b3480156105bd57600080fd5b506105d860048036038101906105d391906138d2565b6118d1565b005b3480156105e657600080fd5b5061060160048036038101906105fc91906139a2565b6118e3565b60405161060e9190614568565b60405180910390f35b34801561062357600080fd5b5061063e60048036038101906106399190613959565b611936565b005b34801561064c57600080fd5b50610655611958565b6040516106629190614568565b60405180910390f35b34801561067757600080fd5b5061068061195e565b60405161068d9190614150565b60405180910390f35b3480156106a257600080fd5b506106ab611971565b6040516106b89190614150565b60405180910390f35b3480156106cd57600080fd5b506106e860048036038101906106e391906139a2565b611984565b6040516106f591906140c7565b60405180910390f35b34801561070a57600080fd5b5061072560048036038101906107209190613695565b61199a565b6040516107329190614568565b60405180910390f35b34801561074757600080fd5b50610762600480360381019061075d91906139a2565b6119b2565b005b34801561077057600080fd5b5061078b600480360381019061078691906139a2565b6119c4565b005b34801561079957600080fd5b506107b460048036038101906107af9190613695565b6119d6565b6040516107c19190614568565b60405180910390f35b3480156107d657600080fd5b506107df611abf565b005b3480156107ed57600080fd5b506107f6611ad3565b6040516108039190614568565b60405180910390f35b34801561081857600080fd5b50610833600480360381019061082e9190613959565b611ad9565b005b34801561084157600080fd5b5061085c600480360381019061085791906139a2565b611afb565b005b34801561086a57600080fd5b5061088560048036038101906108809190613818565b611b0d565b005b34801561089357600080fd5b5061089c611bca565b6040516108a991906140c7565b60405180910390f35b3480156108be57600080fd5b506108d960048036038101906108d491906139a2565b611bf3565b005b3480156108e757600080fd5b506108f0611c05565b6040516108fd9190614186565b60405180910390f35b34801561091257600080fd5b5061092d600480360381019061092891906137d8565b611c97565b005b34801561093b57600080fd5b50610944611e18565b6040516109519190614568565b60405180910390f35b34801561096657600080fd5b50610981600480360381019061097c9190613755565b611e1e565b005b34801561098f57600080fd5b506109aa60048036038101906109a591906139a2565b611e7a565b005b3480156109b857600080fd5b506109c1611e8c565b6040516109ce9190614568565b60405180910390f35b3480156109e357600080fd5b506109fe60048036038101906109f991906139a2565b611e92565b604051610a0b9190614186565b60405180910390f35b348015610a2057600080fd5b50610a29611feb565b604051610a369190614568565b60405180910390f35b348015610a4b57600080fd5b50610a54611ff1565b604051610a619190614568565b60405180910390f35b348015610a7657600080fd5b50610a916004803603810190610a8c91906138a5565b611ff7565b005b348015610a9f57600080fd5b50610aba6004803603810190610ab591906136c2565b61201c565b604051610ac79190614150565b60405180910390f35b348015610adc57600080fd5b50610af76004803603810190610af29190613858565b6120b0565b604051610b049190614150565b60405180910390f35b348015610b1957600080fd5b50610b22612145565b604051610b2f919061416b565b60405180910390f35b348015610b4457600080fd5b50610b5f6004803603810190610b5a9190613695565b61214b565b005b348015610b6d57600080fd5b50610b766121cf565b604051610b839190614568565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610c5757507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610cbf57507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610ccf5750610cce826121d5565b5b9050919050565b606060038054610ce590614816565b80601f0160208091040260200160405190810160405280929190818152602001828054610d1190614816565b8015610d5e5780601f10610d3357610100808354040283529160200191610d5e565b820191906000526020600020905b815481529060010190602001808311610d4157829003601f168201915b5050505050905090565b6000610d738261223f565b610db2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da990614528565b60405180910390fd5b6007600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610df882611984565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610e69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6090614408565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610e8861224d565b73ffffffffffffffffffffffffffffffffffffffff161480610eb75750610eb681610eb161224d565b61201c565b5b610ef6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eed906142c8565b60405180910390fd5b610f01838383612255565b505050565b610f0e612307565b80600c9080519060200190610f24929190613404565b5050565b610f30612307565b80600a60006101000a81548160ff02191690831515021790555050565b6000600254905090565b610f5f612307565b80600f8190555050565b610f74838383612385565b505050565b600a60009054906101000a900460ff1615610fc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc090614368565b60405180910390fd5b601254610fd4610f4d565b1015611015576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100c90614428565b60405180910390fd5b60008111611058576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104f90614228565b60405180910390fd5b60135481611064610f4d565b61106e91906146a6565b11156110af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a690614548565b60405180910390fd5b6110b7611bca565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461119257601154816110f6336119d6565b61110091906146a6565b1115611141576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113890614288565b60405180910390fd5b80600f5461114f91906146fc565b341015611191576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611188906143e8565b60405180910390fd5b5b61119c33826128c5565b80601560008282546111ae91906146a6565b9250508190555050565b60006111c3836119d6565b8210611204576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111fb906141a8565b60405180910390fd5b600061120e610f4d565b905060008060005b83811015611368576000600560008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461130857806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561135a57868414156113515781955050505050506113a4565b83806001019450505b508080600101915050611216565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139b906144e8565b60405180910390fd5b92915050565b6113b2612307565b600081116113f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ec906141c8565b60405180910390fd5b60135481611401610f4d565b61140b91906146a6565b111561144c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144390614468565b60405180910390fd5b61145633826128c5565b50565b611461612307565b60003373ffffffffffffffffffffffffffffffffffffffff1647604051611487906140b2565b60006040518083038185875af1925050503d80600081146114c4576040519150601f19603f3d011682016040523d82523d6000602084013e6114c9565b606091505b505090508061150d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150490614448565b60405180910390fd5b50565b600a60009054906101000a900460ff1615611560576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155790614368565b60405180910390fd5b61156a82826120b0565b6115a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a090614308565b60405180910390fd5b600083116115ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e390614228565b60405180910390fd5b601354836115f8610f4d565b61160291906146a6565b1115611643576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161163a90614548565b60405180910390fd5b60105483601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461169191906146a6565b11156116d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c9906142a8565b60405180910390fd5b82600e546116e091906146fc565b341015611722576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611719906143e8565b60405180910390fd5b61172c33846128c5565b82601660003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461177b91906146a6565b92505081905550826014600082825461179491906146a6565b92505081905550505050565b60145481565b6117c183838360405180602001604052806000815250611e1e565b505050565b606060006117d3836119d6565b905060008167ffffffffffffffff8111156117f1576117f06149a2565b5b60405190808252806020026020018201604052801561181f5781602001602082028036833780820191505090505b50905060006001905060005b838110801561183c57506013548211155b156118c557600061184c83611984565b90508673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156118b1578284838151811061189657611895614973565b5b60200260200101818152505081806118ad90614879565b9250505b82806118bc90614879565b9350505061182b565b82945050505050919050565b6118d9612307565b8060098190555050565b60006118ed610f4d565b821061192e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192590614248565b60405180910390fd5b819050919050565b61193e612307565b80600d9080519060200190611954929190613404565b5050565b60125481565b600a60019054906101000a900460ff1681565b600a60009054906101000a900460ff1681565b600061198f826128e3565b600001519050919050565b60166020528060005260406000206000915090505481565b6119ba612307565b8060108190555050565b6119cc612307565b8060138190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a3e906142e8565b60405180910390fd5b600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b611ac7612307565b611ad16000612a7d565b565b60115481565b611ae1612307565b80600b9080519060200190611af7929190613404565b5050565b611b03612307565b8060128190555050565b611b15612307565b600a60009054906101000a900460ff1615611b65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5c90614368565b60405180910390fd5b601354611b70610f4d565b82611b7b91906146a6565b1115611bbc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb390614468565b60405180910390fd5b611bc682826128c5565b5050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611bfb612307565b80600e8190555050565b606060048054611c1490614816565b80601f0160208091040260200160405190810160405280929190818152602001828054611c4090614816565b8015611c8d5780601f10611c6257610100808354040283529160200191611c8d565b820191906000526020600020905b815481529060010190602001808311611c7057829003601f168201915b5050505050905090565b611c9f61224d565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d04906143a8565b60405180910390fd5b8060086000611d1a61224d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611dc761224d565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611e0c9190614150565b60405180910390a35050565b60155481565b611e29848484612385565b611e3584848484612b41565b611e74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e6b90614488565b60405180910390fd5b50505050565b611e82612307565b8060118190555050565b600e5481565b6060611e9d8261223f565b611edc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ed390614388565b60405180910390fd5b60001515600a60019054906101000a900460ff1615151415611f8a57600d8054611f0590614816565b80601f0160208091040260200160405190810160405280929190818152602001828054611f3190614816565b8015611f7e5780601f10611f5357610100808354040283529160200191611f7e565b820191906000526020600020905b815481529060010190602001808311611f6157829003601f168201915b50505050509050611fe6565b6000611f94612cd8565b90506000815111611fb45760405180602001604052806000815250611fe2565b80611fbe84612d6a565b600c604051602001611fd293929190614081565b6040516020818303038152906040525b9150505b919050565b60135481565b60105481565b611fff612307565b80600a60016101000a81548160ff02191690831515021790555050565b6000600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600080336040516020016120c49190614066565b60405160208183030381529060405280519060200120905061212a848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505060095483612e42565b1561213957600191505061213f565b60009150505b92915050565b60095481565b612153612307565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156121c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ba906141e8565b60405180910390fd5b6121cc81612a7d565b50565b600f5481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600060025482109050919050565b600033905090565b826007600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b61230f61224d565b73ffffffffffffffffffffffffffffffffffffffff1661232d611bca565b73ffffffffffffffffffffffffffffffffffffffff1614612383576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161237a90614348565b60405180910390fd5b565b6000612390826128e3565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff166123b761224d565b73ffffffffffffffffffffffffffffffffffffffff16148061241357506123dc61224d565b73ffffffffffffffffffffffffffffffffffffffff166123fb84610d68565b73ffffffffffffffffffffffffffffffffffffffff16145b8061242f575061242e826000015161242961224d565b61201c565b5b905080612471576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612468906143c8565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff16146124e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124da90614328565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612553576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161254a90614268565b60405180910390fd5b6125608585856001612e59565b6125706000848460000151612255565b6001600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160392506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550836005600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426005600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166005600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612855576127b48161223f565b156128545782600001516005600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516005600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46128be8585856001612e5f565b5050505050565b6128df828260405180602001604052806000815250612e65565b5050565b6128eb61348a565b6128f48261223f565b612933576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161292a90614208565b60405180910390fd5b60008290505b60008110612a3c576000600560008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612a2d578092505050612a78565b50808060019003915050612939565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a6f90614508565b60405180910390fd5b919050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000612b628473ffffffffffffffffffffffffffffffffffffffff16612e77565b15612ccb578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612b8b61224d565b8786866040518563ffffffff1660e01b8152600401612bad94939291906140e2565b602060405180830381600087803b158015612bc757600080fd5b505af1925050508015612bf857506040513d601f19601f82011682018060405250810190612bf5919061392c565b60015b612c7b573d8060008114612c28576040519150601f19603f3d011682016040523d82523d6000602084013e612c2d565b606091505b50600081511415612c73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c6a90614488565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612cd0565b600190505b949350505050565b6060600b8054612ce790614816565b80601f0160208091040260200160405190810160405280929190818152602001828054612d1390614816565b8015612d605780601f10612d3557610100808354040283529160200191612d60565b820191906000526020600020905b815481529060010190602001808311612d4357829003601f168201915b5050505050905090565b606060006001612d7984612e9a565b01905060008167ffffffffffffffff811115612d9857612d976149a2565b5b6040519080825280601f01601f191660200182016040528015612dca5781602001600182028036833780820191505090505b509050600082602001820190505b600115612e37578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a8581612e2157612e20614915565b5b0494506000851415612e3257612e37565b612dd8565b819350505050919050565b600082612e4f8584612fed565b1490509392505050565b50505050565b50505050565b612e728383836001613043565b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310612ef8577a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008381612eee57612eed614915565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310612f35576d04ee2d6d415b85acef81000000008381612f2b57612f2a614915565b5b0492506020810190505b662386f26fc100008310612f6457662386f26fc100008381612f5a57612f59614915565b5b0492506010810190505b6305f5e1008310612f8d576305f5e1008381612f8357612f82614915565b5b0492506008810190505b6127108310612fb2576127108381612fa857612fa7614915565b5b0492506004810190505b60648310612fd55760648381612fcb57612fca614915565b5b0492506002810190505b600a8310612fe4576001810190505b80915050919050565b60008082905060005b8451811015613038576130238286838151811061301657613015614973565b5b60200260200101516133c2565b9150808061303090614879565b915050612ff6565b508091505092915050565b60006002549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156130ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130b1906144a8565b60405180910390fd5b60008414156130fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130f5906144c8565b60405180910390fd5b61310b6000868387612e59565b83600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555083600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160108282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550846005600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426005600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060005b858110156133a557818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48315613390576133506000888488612b41565b61338f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161338690614488565b60405180910390fd5b5b818060010192505080806001019150506132d9565b5080600281905550506133bb6000868387612e5f565b5050505050565b60008183106133da576133d582846133ed565b6133e5565b6133e483836133ed565b5b905092915050565b600082600052816020526040600020905092915050565b82805461341090614816565b90600052602060002090601f0160209004810192826134325760008555613479565b82601f1061344b57805160ff1916838001178555613479565b82800160010185558215613479579182015b8281111561347857825182559160200191906001019061345d565b5b50905061348691906134c4565b5090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b5b808211156134dd5760008160009055506001016134c5565b5090565b60006134f46134ef846145a8565b614583565b9050828152602081018484840111156135105761350f6149e0565b5b61351b8482856147d4565b509392505050565b6000613536613531846145d9565b614583565b905082815260208101848484011115613552576135516149e0565b5b61355d8482856147d4565b509392505050565b6000813590506135748161518a565b92915050565b60008083601f8401126135905761358f6149d6565b5b8235905067ffffffffffffffff8111156135ad576135ac6149d1565b5b6020830191508360208202830111156135c9576135c86149db565b5b9250929050565b6000813590506135df816151a1565b92915050565b6000813590506135f4816151b8565b92915050565b600081359050613609816151cf565b92915050565b60008151905061361e816151cf565b92915050565b600082601f830112613639576136386149d6565b5b81356136498482602086016134e1565b91505092915050565b600082601f830112613667576136666149d6565b5b8135613677848260208601613523565b91505092915050565b60008135905061368f816151e6565b92915050565b6000602082840312156136ab576136aa6149ea565b5b60006136b984828501613565565b91505092915050565b600080604083850312156136d9576136d86149ea565b5b60006136e785828601613565565b92505060206136f885828601613565565b9150509250929050565b60008060006060848603121561371b5761371a6149ea565b5b600061372986828701613565565b935050602061373a86828701613565565b925050604061374b86828701613680565b9150509250925092565b6000806000806080858703121561376f5761376e6149ea565b5b600061377d87828801613565565b945050602061378e87828801613565565b935050604061379f87828801613680565b925050606085013567ffffffffffffffff8111156137c0576137bf6149e5565b5b6137cc87828801613624565b91505092959194509250565b600080604083850312156137ef576137ee6149ea565b5b60006137fd85828601613565565b925050602061380e858286016135d0565b9150509250929050565b6000806040838503121561382f5761382e6149ea565b5b600061383d85828601613565565b925050602061384e85828601613680565b9150509250929050565b6000806020838503121561386f5761386e6149ea565b5b600083013567ffffffffffffffff81111561388d5761388c6149e5565b5b6138998582860161357a565b92509250509250929050565b6000602082840312156138bb576138ba6149ea565b5b60006138c9848285016135d0565b91505092915050565b6000602082840312156138e8576138e76149ea565b5b60006138f6848285016135e5565b91505092915050565b600060208284031215613915576139146149ea565b5b6000613923848285016135fa565b91505092915050565b600060208284031215613942576139416149ea565b5b60006139508482850161360f565b91505092915050565b60006020828403121561396f5761396e6149ea565b5b600082013567ffffffffffffffff81111561398d5761398c6149e5565b5b61399984828501613652565b91505092915050565b6000602082840312156139b8576139b76149ea565b5b60006139c684828501613680565b91505092915050565b6000806000604084860312156139e8576139e76149ea565b5b60006139f686828701613680565b935050602084013567ffffffffffffffff811115613a1757613a166149e5565b5b613a238682870161357a565b92509250509250925092565b6000613a3b8383614048565b60208301905092915050565b613a5081614756565b82525050565b613a67613a6282614756565b6148c2565b82525050565b6000613a788261462f565b613a82818561465d565b9350613a8d8361460a565b8060005b83811015613abe578151613aa58882613a2f565b9750613ab083614650565b925050600181019050613a91565b5085935050505092915050565b613ad481614768565b82525050565b613ae381614774565b82525050565b6000613af48261463a565b613afe818561466e565b9350613b0e8185602086016147e3565b613b17816149ef565b840191505092915050565b6000613b2d82614645565b613b37818561468a565b9350613b478185602086016147e3565b613b50816149ef565b840191505092915050565b6000613b6682614645565b613b70818561469b565b9350613b808185602086016147e3565b80840191505092915050565b60008154613b9981614816565b613ba3818661469b565b94506001821660008114613bbe5760018114613bcf57613c02565b60ff19831686528186019350613c02565b613bd88561461a565b60005b83811015613bfa57815481890152600182019150602081019050613bdb565b838801955050505b50505092915050565b6000613c1860228361468a565b9150613c2382614a0d565b604082019050919050565b6000613c3b602e8361468a565b9150613c4682614a5c565b604082019050919050565b6000613c5e60268361468a565b9150613c6982614aab565b604082019050919050565b6000613c81602a8361468a565b9150613c8c82614afa565b604082019050919050565b6000613ca460148361468a565b9150613caf82614b49565b602082019050919050565b6000613cc760238361468a565b9150613cd282614b72565b604082019050919050565b6000613cea60258361468a565b9150613cf582614bc1565b604082019050919050565b6000613d0d60088361468a565b9150613d1882614c10565b602082019050919050565b6000613d30601d8361468a565b9150613d3b82614c39565b602082019050919050565b6000613d5360398361468a565b9150613d5e82614c62565b604082019050919050565b6000613d76602b8361468a565b9150613d8182614cb1565b604082019050919050565b6000613d99601b8361468a565b9150613da482614d00565b602082019050919050565b6000613dbc60268361468a565b9150613dc782614d29565b604082019050919050565b6000613ddf60208361468a565b9150613dea82614d78565b602082019050919050565b6000613e0260178361468a565b9150613e0d82614da1565b602082019050919050565b6000613e25602f8361468a565b9150613e3082614dca565b604082019050919050565b6000613e48601a8361468a565b9150613e5382614e19565b602082019050919050565b6000613e6b60328361468a565b9150613e7682614e42565b604082019050919050565b6000613e8e601d8361468a565b9150613e9982614e91565b602082019050919050565b6000613eb160228361468a565b9150613ebc82614eba565b604082019050919050565b6000613ed460008361467f565b9150613edf82614f09565b600082019050919050565b6000613ef760158361468a565b9150613f0282614f0c565b602082019050919050565b6000613f1a60108361468a565b9150613f2582614f35565b602082019050919050565b6000613f3d60088361468a565b9150613f4882614f5e565b602082019050919050565b6000613f6060338361468a565b9150613f6b82614f87565b604082019050919050565b6000613f8360218361468a565b9150613f8e82614fd6565b604082019050919050565b6000613fa660288361468a565b9150613fb182615025565b604082019050919050565b6000613fc9602e8361468a565b9150613fd482615074565b604082019050919050565b6000613fec602f8361468a565b9150613ff7826150c3565b604082019050919050565b600061400f602d8361468a565b915061401a82615112565b604082019050919050565b600061403260098361468a565b915061403d82615161565b602082019050919050565b614051816147ca565b82525050565b614060816147ca565b82525050565b60006140728284613a56565b60148201915081905092915050565b600061408d8286613b5b565b91506140998285613b5b565b91506140a58284613b8c565b9150819050949350505050565b60006140bd82613ec7565b9150819050919050565b60006020820190506140dc6000830184613a47565b92915050565b60006080820190506140f76000830187613a47565b6141046020830186613a47565b6141116040830185614057565b81810360608301526141238184613ae9565b905095945050505050565b600060208201905081810360008301526141488184613a6d565b905092915050565b60006020820190506141656000830184613acb565b92915050565b60006020820190506141806000830184613ada565b92915050565b600060208201905081810360008301526141a08184613b22565b905092915050565b600060208201905081810360008301526141c181613c0b565b9050919050565b600060208201905081810360008301526141e181613c2e565b9050919050565b6000602082019050818103600083015261420181613c51565b9050919050565b6000602082019050818103600083015261422181613c74565b9050919050565b6000602082019050818103600083015261424181613c97565b9050919050565b6000602082019050818103600083015261426181613cba565b9050919050565b6000602082019050818103600083015261428181613cdd565b9050919050565b600060208201905081810360008301526142a181613d00565b9050919050565b600060208201905081810360008301526142c181613d23565b9050919050565b600060208201905081810360008301526142e181613d46565b9050919050565b6000602082019050818103600083015261430181613d69565b9050919050565b6000602082019050818103600083015261432181613d8c565b9050919050565b6000602082019050818103600083015261434181613daf565b9050919050565b6000602082019050818103600083015261436181613dd2565b9050919050565b6000602082019050818103600083015261438181613df5565b9050919050565b600060208201905081810360008301526143a181613e18565b9050919050565b600060208201905081810360008301526143c181613e3b565b9050919050565b600060208201905081810360008301526143e181613e5e565b9050919050565b6000602082019050818103600083015261440181613e81565b9050919050565b6000602082019050818103600083015261442181613ea4565b9050919050565b6000602082019050818103600083015261444181613eea565b9050919050565b6000602082019050818103600083015261446181613f0d565b9050919050565b6000602082019050818103600083015261448181613f30565b9050919050565b600060208201905081810360008301526144a181613f53565b9050919050565b600060208201905081810360008301526144c181613f76565b9050919050565b600060208201905081810360008301526144e181613f99565b9050919050565b6000602082019050818103600083015261450181613fbc565b9050919050565b6000602082019050818103600083015261452181613fdf565b9050919050565b6000602082019050818103600083015261454181614002565b9050919050565b6000602082019050818103600083015261456181614025565b9050919050565b600060208201905061457d6000830184614057565b92915050565b600061458d61459e565b90506145998282614848565b919050565b6000604051905090565b600067ffffffffffffffff8211156145c3576145c26149a2565b5b6145cc826149ef565b9050602081019050919050565b600067ffffffffffffffff8211156145f4576145f36149a2565b5b6145fd826149ef565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006146b1826147ca565b91506146bc836147ca565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156146f1576146f06148e6565b5b828201905092915050565b6000614707826147ca565b9150614712836147ca565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561474b5761474a6148e6565b5b828202905092915050565b6000614761826147aa565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156148015780820151818401526020810190506147e6565b83811115614810576000848401525b50505050565b6000600282049050600182168061482e57607f821691505b6020821081141561484257614841614944565b5b50919050565b614851826149ef565b810181811067ffffffffffffffff821117156148705761486f6149a2565b5b80604052505050565b6000614884826147ca565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156148b7576148b66148e6565b5b600182019050919050565b60006148cd826148d4565b9050919050565b60006148df82614a00565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60008201527f6473000000000000000000000000000000000000000000000000000000000000602082015250565b7f4d696e696d756d2031204e46542068617320746f206265206d696e746564207060008201527f6572207472616e73616374696f6e000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a206f776e657220717565727920666f72206e6f6e6578697360008201527f74656e7420746f6b656e00000000000000000000000000000000000000000000602082015250565b7f496e76616c6964206d696e7420616d6f756e7421000000000000000000000000600082015250565b7f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560008201527f6e64730000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f4e6f206d6f726521000000000000000000000000000000000000000000000000600082015250565b7f4d6178206d696e74207065722077616c6c657420657863656564656421000000600082015250565b7f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000602082015250565b7f455243373231413a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f41646472657373206973206e6f742077686974656c6973746564210000000000600082015250565b7f455243373231413a207472616e736665722066726f6d20696e636f727265637460008201527f206f776e65720000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f54686520636f6e74726163742069732070617573656421000000000000000000600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f455243373231413a20617070726f766520746f2063616c6c6572000000000000600082015250565b7f455243373231413a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f506c656173652073656e642074686520657861637420616d6f756e742e000000600082015250565b7f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f5761697420666f72207075626c6963206d696e74210000000000000000000000600082015250565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b7f536f6c64206f7574000000000000000000000000000000000000000000000000600082015250565b7f455243373231413a207472616e7366657220746f206e6f6e204552433732315260008201527f6563656976657220696d706c656d656e74657200000000000000000000000000602082015250565b7f455243373231413a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a207175616e74697479206d7573742062652067726561746560008201527f72207468616e2030000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060008201527f6f776e657220627920696e646578000000000000000000000000000000000000602082015250565b7f455243373231413a20756e61626c6520746f2064657465726d696e652074686560008201527f206f776e6572206f6620746f6b656e0000000000000000000000000000000000602082015250565b7f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560008201527f78697374656e7420746f6b656e00000000000000000000000000000000000000602082015250565b7f536f6c64206f7574210000000000000000000000000000000000000000000000600082015250565b61519381614756565b811461519e57600080fd5b50565b6151aa81614768565b81146151b557600080fd5b50565b6151c181614774565b81146151cc57600080fd5b50565b6151d88161477e565b81146151e357600080fd5b50565b6151ef816147ca565b81146151fa57600080fd5b5056fea2646970667358221220c1a918b0305d9538178d8e27ec350cc442dc5a4161685f7501ffad9ccaee775564736f6c63430008070033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 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.