ERC-721
Overview
Max Total Supply
352 REV3AL
Holders
95
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
4 REV3ALLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
REV3AL
Compiler Version
v0.8.13+commit.abaa5c0e
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 "erc721a/contracts/ERC721A.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; contract REV3AL is ERC721A, Ownable, ReentrancyGuard { uint256 public immutable maxSupply = 7000; uint256 public reservedSize = 200; uint64 private immutable maxBatchSize = 50; struct MintInfo { bytes32 Root; uint256 Price; uint64 Max; uint256 Supply; bool Paused; } mapping(uint64 => MintInfo) public MintList; mapping(address => uint256) public MintHistory; mapping(address => uint256) public WhiteListMintHistory; mapping(address => uint256) public GoldListMintHistory; mapping(address => uint256) public CoinMintHistory; address[] public TeamList; uint256[] public ShareList; bool private teamListDone = false; bool private mintStatus = false; bool private teamMint; bool private isRevealed = false; address public constant teamWallet = 0x449E0945C21A951DAb3ae6136Af00ACeaE092bB4; IERC20 public revCoinContract = IERC20(0x01c44267AECC20E239B21E1ef3Ce09Dd41013F3f); string public _baseTokenURI = "ipfs://QmP41vRaid59VccXgQ41WVGe753dZjRCdzWwNHY4pbgy5A/hidden.json"; constructor() ERC721A("REV3AL", "REV3AL") { MintList[1] = MintInfo(0,0.1 ether,2,5800,true); MintList[2] = MintInfo(0xf8e96cd4b1e33599c015b788ce4eb352bb976eaf99a43eb943b5d0b40fa8ac9e,0.08 ether,2,4000,true); MintList[3] = MintInfo(0x8318d031b9c2dd94098c00e9d553beb8200abfe4e2b033165f7a84338a98a39a,0.06 ether,3,400,true); MintList[4] = MintInfo(0,100 ether,5,1000,true); } function _onlySender() private view { require(msg.sender == tx.origin); } modifier onlySender { _onlySender(); _; } function _revMint(address to, uint256 amount) internal { require((totalSupply() + amount) <= maxSupply, "Sold out!"); _safeMint(to, amount); } function devMintBulk(uint256 amount) external onlyOwner { require(amount <= reservedSize, "Minting amount exceeds reserved size"); require((totalSupply() + amount) <= maxSupply, "Sold out!"); require(amount % maxBatchSize == 0,"Can only mint a multiple of the maxBatchSize"); uint256 numChunks = amount / maxBatchSize; for (uint256 i = 0; i < numChunks; i++) { _safeMint(teamWallet, maxBatchSize); } } function devMint(uint256 amount) external onlyOwner { require(amount <= reservedSize, "Minting amount exceeds reserved size"); require((totalSupply() + amount) <= maxSupply, "Sold out!"); _safeMint(teamWallet, amount); } function isAddressGoldlisted(bytes32[] memory proof, bytes32 _leaf) public view returns (bool) { return checkMerkleRoot(MintList[3].Root, proof, _leaf); } function isAddressWhitelisted(bytes32[] memory proof, bytes32 _leaf) public view returns (bool) { return checkMerkleRoot(MintList[2].Root, proof, _leaf); } function checkMerkleRoot(bytes32 merkleRoot,bytes32[] memory proof,bytes32 _leaf) internal pure returns (bool) { return MerkleProof.verify(proof,merkleRoot, _leaf); } function setRootOps(bytes32 _goldRoot,bytes32 _wlRoot,uint256 _coinUnit) external onlyOwner { MintList[3].Root = _goldRoot; MintList[2].Root = _wlRoot; MintList[4].Price = _coinUnit; } function setOptions(bool _publicSaleStatus, bool _presaleStatus, bool _coinStatus, bool _mintStatus, bool _revealed) external onlyOwner { MintList[1].Paused = _publicSaleStatus; MintList[2].Paused = _presaleStatus; MintList[3].Paused = _presaleStatus; MintList[4].Paused = _coinStatus; mintStatus = _mintStatus; isRevealed = _revealed; } function setTeamData(address[] calldata _teamAddressList, uint256[] calldata _shareList) external onlyOwner { require(!teamListDone); delete TeamList; delete ShareList; for(uint256 i = 0;i < _teamAddressList.length;i++) { TeamList.push(_teamAddressList[i]); ShareList.push(_shareList[i]); } teamListDone = true; } function GoldListMint(bytes32[] memory proof, uint256 amount) external payable onlySender nonReentrant { bytes32 leaf = keccak256(abi.encodePacked(msg.sender)); require(!MintList[3].Paused, "Goldlist mint is paused"); require(isAddressGoldlisted(proof,leaf),"You are not eligible for a gold list mint"); require(msg.value >= MintList[3].Price * amount, "Value is not correct"); require(GoldListMintHistory[msg.sender] + amount <= MintList[3].Max,"Minting amount exceeds allowance per wallet"); require(MintList[3].Supply >= amount, "Gold list mint is sold out"); MintList[3].Supply = MintList[3].Supply - amount; GoldListMintHistory[msg.sender] += amount; _revMint(msg.sender, amount); } function WhiteListMint(bytes32[] memory proof, uint256 amount) external payable onlySender nonReentrant { bytes32 leaf = keccak256(abi.encodePacked(msg.sender)); require(!MintList[2].Paused, "Whitelist mint is paused"); require(isAddressWhitelisted(proof,leaf),"You are not eligible for a whitelist mint"); require(msg.value >= MintList[2].Price * amount , "Value is not correct"); require(WhiteListMintHistory[msg.sender] + amount <= MintList[2].Max,"Minting amount exceeds allowance per wallet"); require(MintList[2].Supply >= amount, "Whitelist mint is sold out"); MintList[2].Supply = MintList[2].Supply - amount; WhiteListMintHistory[msg.sender] += amount; _revMint(msg.sender, amount); } function publicMint(uint256 amount) external payable onlySender nonReentrant { require(msg.value >= MintList[1].Price * amount , "Value is not correct"); require(!MintList[1].Paused, "Public mint is paused"); require(MintHistory[msg.sender] + amount <= MintList[1].Max,"Minting amount exceeds allowance per wallet"); MintList[1].Supply = MintList[1].Supply - amount; MintHistory[msg.sender] += amount; _revMint(msg.sender, amount); } function revCoinMint(uint256 amount) external payable onlySender nonReentrant{ require(revCoinContract.balanceOf(msg.sender) * amount >= MintList[4].Price * amount, "Not enought coin for mint"); require(!MintList[4].Paused, "Coin mint is paused"); require(CoinMintHistory[msg.sender] + amount <= MintList[4].Max,"Minting amount exceeds allowance per wallet"); revCoinContract.transferFrom(_msgSender(), address(revCoinContract), MintList[4].Price * amount); MintList[4].Supply = MintList[4].Supply - amount; CoinMintHistory[msg.sender] += amount; _revMint(msg.sender, amount); } function withdraw() public onlyOwner nonReentrant { require(mintStatus,"Invalid status for withdraw"); uint256 total = address(this).balance; for(uint256 i = 0;i<TeamList.length;i++) { uint256 share = total * ShareList[i] / 100; (bool success, ) = payable(TeamList[i]).call{value: share}(""); require(success, "Transfer failed.."); } } function _baseURI() internal view virtual override returns (string memory) { return _baseTokenURI; } function setBaseURI(string calldata baseURI) external onlyOwner { _baseTokenURI = baseURI; } function tokenURI(uint256 tokenId) public view override(ERC721A) returns (string memory) { if(isRevealed) { return string(abi.encodePacked(_baseTokenURI, Strings.toString(tokenId),".json")); } else { return string(_baseTokenURI); } } function walletOfOwner(address address_) public virtual view returns (uint256[] memory) { uint256 _balance = balanceOf(address_); uint256[] memory _tokens = new uint256[] (_balance); uint256 _index; uint256 _loopThrough = totalSupply(); for (uint256 i = 0; i < _loopThrough; i++) { bool _exists = _exists(i); if (_exists) { if (ownerOf(i) == address_) { _tokens[_index] = i; _index++; } } else if (!_exists && _tokens[_balance - 1] == 0) { _loopThrough++; } } return _tokens; } }
// SPDX-License-Identifier: MIT // Creator: Chiru Labs pragma solidity ^0.8.4; import '@openzeppelin/contracts/token/ERC721/IERC721.sol'; import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol'; import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol'; import '@openzeppelin/contracts/utils/Address.sol'; import '@openzeppelin/contracts/utils/Context.sol'; import '@openzeppelin/contracts/utils/Strings.sol'; import '@openzeppelin/contracts/utils/introspection/ERC165.sol'; error ApprovalCallerNotOwnerNorApproved(); error ApprovalQueryForNonexistentToken(); error ApproveToCaller(); error ApprovalToCurrentOwner(); error BalanceQueryForZeroAddress(); error MintToZeroAddress(); error MintZeroQuantity(); error OwnerQueryForNonexistentToken(); error TransferCallerNotOwnerNorApproved(); error TransferFromIncorrectOwner(); error TransferToNonERC721ReceiverImplementer(); error TransferToZeroAddress(); error URIQueryForNonexistentToken(); /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Compiler will pack this into a single 256bit word. struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; } // Compiler will pack this into a single 256bit word. struct AddressData { // Realistically, 2**64-1 is more than enough. uint64 balance; // Keeps track of mint count with minimal overhead for tokenomics. uint64 numberMinted; // Keeps track of burn count with minimal overhead for tokenomics. uint64 numberBurned; // For miscellaneous variable(s) pertaining to the address // (e.g. number of whitelist mint slots used). // If there are multiple variables, please pack them into a uint64. uint64 aux; } // The tokenId of the next token to be minted. uint256 internal _currentIndex; // The number of tokens burned. uint256 internal _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. See _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_; _currentIndex = _startTokenId(); } /** * To change the starting tokenId, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens. */ function totalSupply() public view returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than _currentIndex - _startTokenId() times unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to _startTokenId() unchecked { return _currentIndex - _startTokenId(); } } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return uint256(_addressData[owner].balance); } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberMinted); } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberBurned); } /** * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return _addressData[owner].aux; } /** * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal { _addressData[owner].aux = aux; } /** * 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) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr && curr < _currentIndex) { TokenOwnership memory ownership = _ownerships[curr]; if (!ownership.burned) { if (ownership.addr != address(0)) { return ownership; } // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. while (true) { curr--; ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } } } } revert OwnerQueryForNonexistentToken(); } /** * @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) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ''; } /** * @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); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) { revert ApprovalCallerNotOwnerNorApproved(); } _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSender()) revert ApproveToCaller(); _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 virtual override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { _transfer(from, to, tokenId); if (to.isContract() && !_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && !_ownerships[tokenId].burned; } 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; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { _addressData[to].balance += uint64(quantity); _addressData[to].numberMinted += uint64(quantity); _ownerships[startTokenId].addr = to; _ownerships[startTokenId].startTimestamp = uint64(block.timestamp); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; if (safe && to.isContract()) { do { emit Transfer(address(0), to, updatedIndex); if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (updatedIndex != end); // Reentrancy protection if (_currentIndex != startTokenId) revert(); } else { do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex != end); } _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); if (prevOwnership.addr != from) revert TransferFromIncorrectOwner(); bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // 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; TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = to; currSlot.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; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev This is equivalent to _burn(tokenId, false) */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); address from = prevOwnership.addr; if (approvalCheck) { bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // 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 storage addressData = _addressData[from]; addressData.balance -= 1; addressData.numberBurned += 1; // Keep track of who burned the token, and the timestamp of burning. TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = from; currSlot.startTimestamp = uint64(block.timestamp); currSlot.burned = true; // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev 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 contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try 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 TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * And also called before burning one token. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. */ 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 Returns the rebuilt hash obtained by traversing a Merklee 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++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = _efficientHash(computedHash, proofElement); } else { // Hash(current element of the proof + current computed hash) computedHash = _efficientHash(proofElement, computedHash); } } return computedHash; } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.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 functionCall(target, data, "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"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(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) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(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) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason 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 { // 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 assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @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 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); /** * @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; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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 `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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 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; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/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 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); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"CoinMintHistory","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"GoldListMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"GoldListMintHistory","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"MintHistory","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint64","name":"","type":"uint64"}],"name":"MintList","outputs":[{"internalType":"bytes32","name":"Root","type":"bytes32"},{"internalType":"uint256","name":"Price","type":"uint256"},{"internalType":"uint64","name":"Max","type":"uint64"},{"internalType":"uint256","name":"Supply","type":"uint256"},{"internalType":"bool","name":"Paused","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"ShareList","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"TeamList","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"WhiteListMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"WhiteListMintHistory","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"devMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"devMintBulk","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"bytes32","name":"_leaf","type":"bytes32"}],"name":"isAddressGoldlisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"bytes32","name":"_leaf","type":"bytes32"}],"name":"isAddressWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reservedSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"revCoinContract","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"revCoinMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_publicSaleStatus","type":"bool"},{"internalType":"bool","name":"_presaleStatus","type":"bool"},{"internalType":"bool","name":"_coinStatus","type":"bool"},{"internalType":"bool","name":"_mintStatus","type":"bool"},{"internalType":"bool","name":"_revealed","type":"bool"}],"name":"setOptions","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_goldRoot","type":"bytes32"},{"internalType":"bytes32","name":"_wlRoot","type":"bytes32"},{"internalType":"uint256","name":"_coinUnit","type":"uint256"}],"name":"setRootOps","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_teamAddressList","type":"address[]"},{"internalType":"uint256[]","name":"_shareList","type":"uint256[]"}],"name":"setTeamData","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":[],"name":"teamWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"address_","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60c0604052611b5860809081525060c8600a55603267ffffffffffffffff1660a09067ffffffffffffffff168152506000601260006101000a81548160ff0219169083151502179055506000601260016101000a81548160ff0219169083151502179055506000601260036101000a81548160ff0219169083151502179055507301c44267aecc20e239b21e1ef3ce09dd41013f3f601260046101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506040518060800160405280604181526020016200673e6041913960139080519060200190620001059291906200064b565b503480156200011357600080fd5b506040518060400160405280600681526020017f52455633414c00000000000000000000000000000000000000000000000000008152506040518060400160405280600681526020017f52455633414c00000000000000000000000000000000000000000000000000008152508160029080519060200190620001989291906200064b565b508060039080519060200190620001b19291906200064b565b50620001c26200057860201b60201c565b6000819055505050620001ea620001de6200057d60201b60201c565b6200058560201b60201c565b60016009819055506040518060a001604052806000801b815260200167016345785d8a00008152602001600267ffffffffffffffff1681526020016116a8815260200160011515815250600b6000600167ffffffffffffffff168152602001908152602001600020600082015181600001556020820151816001015560408201518160020160006101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506060820151816003015560808201518160040160006101000a81548160ff0219169083151502179055509050506040518060a001604052807ff8e96cd4b1e33599c015b788ce4eb352bb976eaf99a43eb943b5d0b40fa8ac9e60001b815260200167011c37937e0800008152602001600267ffffffffffffffff168152602001610fa0815260200160011515815250600b6000600267ffffffffffffffff168152602001908152602001600020600082015181600001556020820151816001015560408201518160020160006101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506060820151816003015560808201518160040160006101000a81548160ff0219169083151502179055509050506040518060a001604052807f8318d031b9c2dd94098c00e9d553beb8200abfe4e2b033165f7a84338a98a39a60001b815260200166d529ae9e8600008152602001600367ffffffffffffffff168152602001610190815260200160011515815250600b6000600367ffffffffffffffff168152602001908152602001600020600082015181600001556020820151816001015560408201518160020160006101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506060820151816003015560808201518160040160006101000a81548160ff0219169083151502179055509050506040518060a001604052806000801b815260200168056bc75e2d631000008152602001600567ffffffffffffffff1681526020016103e8815260200160011515815250600b6000600467ffffffffffffffff168152602001908152602001600020600082015181600001556020820151816001015560408201518160020160006101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506060820151816003015560808201518160040160006101000a81548160ff0219169083151502179055509050506200075f565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b82805462000659906200072a565b90600052602060002090601f0160209004810192826200067d5760008555620006c9565b82601f106200069857805160ff1916838001178555620006c9565b82800160010185558215620006c9579182015b82811115620006c8578251825591602001919060010190620006ab565b5b509050620006d89190620006dc565b5090565b5b80821115620006f7576000816000905550600101620006dd565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200074357607f821691505b602082108103620007595762000758620006fb565b5b50919050565b60805160a051615f96620007a860003960008181612b0501528181612b7d0152612bd80152600081816112eb015281816128d901528181612a8e01526137870152615f966000f3fe60806040526004361061025b5760003560e01c806373cc02b211610144578063cfc86f7b116100b6578063e985e9c51161007a578063e985e9c51461091c578063ef24bc2014610959578063f2fde38b14610982578063f5401ca8146109ab578063f597e53d146109e8578063fb4a9be014610a255761025b565b8063cfc86f7b1461080f578063d232ef7e1461083a578063d5abeb0114610877578063d779cdba146108a2578063df381f04146108df5761025b565b806396944e7b1161010857806396944e7b146106fe578063a22cb4651461073b578063adb1dc1c14610764578063b88d4fde14610780578063c87b56dd146107a9578063c9f5068a146107e65761025b565b806373cc02b21461061557806379e1587a146106405780638afcf3ea1461066b5780638da5cb5b146106a857806395d89b41146106d35761025b565b8063375a069a116101dd57806359927044116101a157806359927044146105145780636352211e1461053f5780636755eb1b1461057c5780636fe571321461059857806370a08231146105c1578063715018a6146105fe5761025b565b8063375a069a146104455780633ccfd60b1461046e57806342842e0e14610485578063438b6300146104ae57806355f804b3146104eb5761025b565b8063095ea7b311610224578063095ea7b31461036b5780630cd694e61461039457806318160ddd146103d557806323b872dd146104005780632db11544146104295761025b565b8062c7e0e01461026057806301ffc9a71461028957806303f046bb146102c657806306fdde0314610303578063081812fc1461032e575b600080fd5b34801561026c57600080fd5b5061028760048036038101906102829190614463565b610a41565b005b34801561029557600080fd5b506102b060048036038101906102ab9190614536565b610bdc565b6040516102bd9190614572565b60405180910390f35b3480156102d257600080fd5b506102ed60048036038101906102e891906145eb565b610cbe565b6040516102fa9190614631565b60405180910390f35b34801561030f57600080fd5b50610318610cd6565b60405161032591906146e5565b60405180910390f35b34801561033a57600080fd5b5061035560048036038101906103509190614733565b610d68565b604051610362919061476f565b60405180910390f35b34801561037757600080fd5b50610392600480360381019061038d919061478a565b610de4565b005b3480156103a057600080fd5b506103bb60048036038101906103b6919061480a565b610eee565b6040516103cc95949392919061485f565b60405180910390f35b3480156103e157600080fd5b506103ea610f45565b6040516103f79190614631565b60405180910390f35b34801561040c57600080fd5b50610427600480360381019061042291906148b2565b610f5c565b005b610443600480360381019061043e9190614733565b610f6c565b005b34801561045157600080fd5b5061046c60048036038101906104679190614733565b611228565b005b34801561047a57600080fd5b5061048361137f565b005b34801561049157600080fd5b506104ac60048036038101906104a791906148b2565b6115f1565b005b3480156104ba57600080fd5b506104d560048036038101906104d091906145eb565b611611565b6040516104e291906149c3565b60405180910390f35b3480156104f757600080fd5b50610512600480360381019061050d9190614a4a565b611771565b005b34801561052057600080fd5b50610529611803565b604051610536919061476f565b60405180910390f35b34801561054b57600080fd5b5061056660048036038101906105619190614733565b61181b565b604051610573919061476f565b60405180910390f35b61059660048036038101906105919190614733565b611831565b005b3480156105a457600080fd5b506105bf60048036038101906105ba9190614b43565b611c8b565b005b3480156105cd57600080fd5b506105e860048036038101906105e391906145eb565b611e4c565b6040516105f59190614631565b60405180910390f35b34801561060a57600080fd5b50610613611f1b565b005b34801561062157600080fd5b5061062a611fa3565b6040516106379190614c23565b60405180910390f35b34801561064c57600080fd5b50610655611fc9565b6040516106629190614631565b60405180910390f35b34801561067757600080fd5b50610692600480360381019061068d91906145eb565b611fcf565b60405161069f9190614631565b60405180910390f35b3480156106b457600080fd5b506106bd611fe7565b6040516106ca919061476f565b60405180910390f35b3480156106df57600080fd5b506106e8612011565b6040516106f591906146e5565b60405180910390f35b34801561070a57600080fd5b5061072560048036038101906107209190614da8565b6120a3565b6040516107329190614572565b60405180910390f35b34801561074757600080fd5b50610762600480360381019061075d9190614e04565b6120d9565b005b61077e60048036038101906107799190614e44565b612250565b005b34801561078c57600080fd5b506107a760048036038101906107a29190614f55565b6125e6565b005b3480156107b557600080fd5b506107d060048036038101906107cb9190614733565b612662565b6040516107dd91906146e5565b60405180910390f35b3480156107f257600080fd5b5061080d60048036038101906108089190614fd8565b61273e565b005b34801561081b57600080fd5b50610824612831565b60405161083191906146e5565b60405180910390f35b34801561084657600080fd5b50610861600480360381019061085c91906145eb565b6128bf565b60405161086e9190614631565b60405180910390f35b34801561088357600080fd5b5061088c6128d7565b6040516108999190614631565b60405180910390f35b3480156108ae57600080fd5b506108c960048036038101906108c49190614733565b6128fb565b6040516108d69190614631565b60405180910390f35b3480156108eb57600080fd5b50610906600480360381019061090191906145eb565b61291f565b6040516109139190614631565b60405180910390f35b34801561092857600080fd5b50610943600480360381019061093e919061502b565b612937565b6040516109509190614572565b60405180910390f35b34801561096557600080fd5b50610980600480360381019061097b9190614733565b6129cb565b005b34801561098e57600080fd5b506109a960048036038101906109a491906145eb565b612c1e565b005b3480156109b757600080fd5b506109d260048036038101906109cd9190614733565b612d15565b6040516109df919061476f565b60405180910390f35b3480156109f457600080fd5b50610a0f6004803603810190610a0a9190614da8565b612d54565b604051610a1c9190614572565b60405180910390f35b610a3f6004803603810190610a3a9190614e44565b612d8a565b005b610a49613120565b73ffffffffffffffffffffffffffffffffffffffff16610a67611fe7565b73ffffffffffffffffffffffffffffffffffffffff1614610abd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ab4906150b7565b60405180910390fd5b84600b6000600167ffffffffffffffff16815260200190815260200160002060040160006101000a81548160ff02191690831515021790555083600b6000600267ffffffffffffffff16815260200190815260200160002060040160006101000a81548160ff02191690831515021790555083600b6000600367ffffffffffffffff16815260200190815260200160002060040160006101000a81548160ff02191690831515021790555082600b6000600467ffffffffffffffff16815260200190815260200160002060040160006101000a81548160ff02191690831515021790555081601260016101000a81548160ff02191690831515021790555080601260036101000a81548160ff0219169083151502179055505050505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610ca757507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610cb75750610cb682613128565b5b9050919050565b600f6020528060005260406000206000915090505481565b606060028054610ce590615106565b80601f0160208091040260200160405190810160405280929190818152602001828054610d1190615106565b8015610d5e5780601f10610d3357610100808354040283529160200191610d5e565b820191906000526020600020905b815481529060010190602001808311610d4157829003601f168201915b5050505050905090565b6000610d7382613192565b610da9576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610def8261181b565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610e56576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610e75613120565b73ffffffffffffffffffffffffffffffffffffffff1614158015610ea75750610ea581610ea0613120565b612937565b155b15610ede576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610ee98383836131e0565b505050565b600b6020528060005260406000206000915090508060000154908060010154908060020160009054906101000a900467ffffffffffffffff16908060030154908060040160009054906101000a900460ff16905085565b6000610f4f613292565b6001546000540303905090565b610f67838383613297565b505050565b610f7461374b565b600260095403610fb9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb090615183565b60405180910390fd5b600260098190555080600b6000600167ffffffffffffffff16815260200190815260200160002060010154610fee91906151d2565b341015611030576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102790615278565b60405180910390fd5b600b6000600167ffffffffffffffff16815260200190815260200160002060040160009054906101000a900460ff161561109f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611096906152e4565b60405180910390fd5b600b6000600167ffffffffffffffff16815260200190815260200160002060020160009054906101000a900467ffffffffffffffff1667ffffffffffffffff1681600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461112a9190615304565b111561116b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611162906153cc565b60405180910390fd5b80600b6000600167ffffffffffffffff1681526020019081526020016000206003015461119891906153ec565b600b6000600167ffffffffffffffff1681526020019081526020016000206003018190555080600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461120c9190615304565b9250508190555061121d3382613785565b600160098190555050565b611230613120565b73ffffffffffffffffffffffffffffffffffffffff1661124e611fe7565b73ffffffffffffffffffffffffffffffffffffffff16146112a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129b906150b7565b60405180910390fd5b600a548111156112e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e090615492565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000081611313610f45565b61131d9190615304565b111561135e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611355906154fe565b60405180910390fd5b61137c73449e0945c21a951dab3ae6136af00aceae092bb482613808565b50565b611387613120565b73ffffffffffffffffffffffffffffffffffffffff166113a5611fe7565b73ffffffffffffffffffffffffffffffffffffffff16146113fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f2906150b7565b60405180910390fd5b600260095403611440576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143790615183565b60405180910390fd5b6002600981905550601260019054906101000a900460ff16611497576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148e9061556a565b60405180910390fd5b600047905060005b6010805490508110156115e55760006064601183815481106114c4576114c361558a565b5b9060005260206000200154846114da91906151d2565b6114e491906155e8565b90506000601083815481106114fc576114fb61558a565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168260405161154a9061564a565b60006040518083038185875af1925050503d8060008114611587576040519150601f19603f3d011682016040523d82523d6000602084013e61158c565b606091505b50509050806115d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115c7906156ab565b60405180910390fd5b505080806115dd906156cb565b91505061149f565b50506001600981905550565b61160c838383604051806020016040528060008152506125e6565b505050565b6060600061161e83611e4c565b905060008167ffffffffffffffff81111561163c5761163b614c3e565b5b60405190808252806020026020018201604052801561166a5781602001602082028036833780820191505090505b509050600080611678610f45565b905060005b8181101561176457600061169082613192565b90508015611707578773ffffffffffffffffffffffffffffffffffffffff166116b88361181b565b73ffffffffffffffffffffffffffffffffffffffff160361170257818585815181106116e7576116e661558a565b5b60200260200101818152505083806116fe906156cb565b9450505b611750565b8015801561173b575060008560018861172091906153ec565b815181106117315761173061558a565b5b6020026020010151145b1561174f57828061174b906156cb565b9350505b5b50808061175c906156cb565b91505061167d565b5082945050505050919050565b611779613120565b73ffffffffffffffffffffffffffffffffffffffff16611797611fe7565b73ffffffffffffffffffffffffffffffffffffffff16146117ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117e4906150b7565b60405180910390fd5b8181601391906117fe9291906142ef565b505050565b73449e0945c21a951dab3ae6136af00aceae092bb481565b600061182682613826565b600001519050919050565b61183961374b565b60026009540361187e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187590615183565b60405180910390fd5b600260098190555080600b6000600467ffffffffffffffff168152602001908152602001600020600101546118b391906151d2565b81601260049054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b815260040161190f919061476f565b602060405180830381865afa15801561192c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119509190615728565b61195a91906151d2565b101561199b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611992906157a1565b60405180910390fd5b600b6000600467ffffffffffffffff16815260200190815260200160002060040160009054906101000a900460ff1615611a0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a019061580d565b60405180910390fd5b600b6000600467ffffffffffffffff16815260200190815260200160002060020160009054906101000a900467ffffffffffffffff1667ffffffffffffffff1681600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611a959190615304565b1115611ad6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611acd906153cc565b60405180910390fd5b601260049054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd611b1c613120565b601260049054906101000a900473ffffffffffffffffffffffffffffffffffffffff1684600b6000600467ffffffffffffffff16815260200190815260200160002060010154611b6c91906151d2565b6040518463ffffffff1660e01b8152600401611b8a9392919061582d565b6020604051808303816000875af1158015611ba9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bcd9190615879565b5080600b6000600467ffffffffffffffff16815260200190815260200160002060030154611bfb91906153ec565b600b6000600467ffffffffffffffff1681526020019081526020016000206003018190555080600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611c6f9190615304565b92505081905550611c803382613785565b600160098190555050565b611c93613120565b73ffffffffffffffffffffffffffffffffffffffff16611cb1611fe7565b73ffffffffffffffffffffffffffffffffffffffff1614611d07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cfe906150b7565b60405180910390fd5b601260009054906101000a900460ff1615611d2157600080fd5b60106000611d2f9190614375565b60116000611d3d9190614396565b60005b84849050811015611e2a576010858583818110611d6057611d5f61558a565b5b9050602002016020810190611d7591906145eb565b9080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506011838383818110611dea57611de961558a565b5b9050602002013590806001815401808255809150506001900390600052602060002001600090919091909150558080611e22906156cb565b915050611d40565b506001601260006101000a81548160ff02191690831515021790555050505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611eb3576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b611f23613120565b73ffffffffffffffffffffffffffffffffffffffff16611f41611fe7565b73ffffffffffffffffffffffffffffffffffffffff1614611f97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f8e906150b7565b60405180910390fd5b611fa16000613ab5565b565b601260049054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600a5481565b600e6020528060005260406000206000915090505481565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606003805461202090615106565b80601f016020809104026020016040519081016040528092919081815260200182805461204c90615106565b80156120995780601f1061206e57610100808354040283529160200191612099565b820191906000526020600020905b81548152906001019060200180831161207c57829003601f168201915b5050505050905090565b60006120d1600b6000600267ffffffffffffffff168152602001908152602001600020600001548484613b7b565b905092915050565b6120e1613120565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612145576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000612152613120565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166121ff613120565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516122449190614572565b60405180910390a35050565b61225861374b565b60026009540361229d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161229490615183565b60405180910390fd5b60026009819055506000336040516020016122b891906158ee565b604051602081830303815290604052805190602001209050600b6000600367ffffffffffffffff16815260200190815260200160002060040160009054906101000a900460ff161561233f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233690615955565b60405180910390fd5b6123498382612d54565b612388576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161237f906159e7565b60405180910390fd5b81600b6000600367ffffffffffffffff168152602001908152602001600020600101546123b591906151d2565b3410156123f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123ee90615278565b60405180910390fd5b600b6000600367ffffffffffffffff16815260200190815260200160002060020160009054906101000a900467ffffffffffffffff1667ffffffffffffffff1682600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546124829190615304565b11156124c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124ba906153cc565b60405180910390fd5b81600b6000600367ffffffffffffffff168152602001908152602001600020600301541015612527576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161251e90615a53565b60405180910390fd5b81600b6000600367ffffffffffffffff1681526020019081526020016000206003015461255491906153ec565b600b6000600367ffffffffffffffff1681526020019081526020016000206003018190555081600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546125c89190615304565b925050819055506125d93383613785565b5060016009819055505050565b6125f1848484613297565b6126108373ffffffffffffffffffffffffffffffffffffffff16613b91565b8015612625575061262384848484613bb4565b155b1561265c576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b6060601260039054906101000a900460ff16156126ab57601361268483613d04565b604051602001612695929190615b8f565b6040516020818303038152906040529050612739565b601380546126b890615106565b80601f01602080910402602001604051908101604052809291908181526020018280546126e490615106565b80156127315780601f1061270657610100808354040283529160200191612731565b820191906000526020600020905b81548152906001019060200180831161271457829003601f168201915b505050505090505b919050565b612746613120565b73ffffffffffffffffffffffffffffffffffffffff16612764611fe7565b73ffffffffffffffffffffffffffffffffffffffff16146127ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127b1906150b7565b60405180910390fd5b82600b6000600367ffffffffffffffff1681526020019081526020016000206000018190555081600b6000600267ffffffffffffffff1681526020019081526020016000206000018190555080600b6000600467ffffffffffffffff16815260200190815260200160002060010181905550505050565b6013805461283e90615106565b80601f016020809104026020016040519081016040528092919081815260200182805461286a90615106565b80156128b75780601f1061288c576101008083540402835291602001916128b7565b820191906000526020600020905b81548152906001019060200180831161289a57829003601f168201915b505050505081565b600d6020528060005260406000206000915090505481565b7f000000000000000000000000000000000000000000000000000000000000000081565b6011818154811061290b57600080fd5b906000526020600020016000915090505481565b600c6020528060005260406000206000915090505481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6129d3613120565b73ffffffffffffffffffffffffffffffffffffffff166129f1611fe7565b73ffffffffffffffffffffffffffffffffffffffff1614612a47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a3e906150b7565b60405180910390fd5b600a54811115612a8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a8390615492565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000081612ab6610f45565b612ac09190615304565b1115612b01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612af8906154fe565b60405180910390fd5b60007f000000000000000000000000000000000000000000000000000000000000000067ffffffffffffffff1682612b399190615bbe565b14612b79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b7090615c61565b60405180910390fd5b60007f000000000000000000000000000000000000000000000000000000000000000067ffffffffffffffff1682612bb191906155e8565b905060005b81811015612c1957612c0673449e0945c21a951dab3ae6136af00aceae092bb47f000000000000000000000000000000000000000000000000000000000000000067ffffffffffffffff16613808565b8080612c11906156cb565b915050612bb6565b505050565b612c26613120565b73ffffffffffffffffffffffffffffffffffffffff16612c44611fe7565b73ffffffffffffffffffffffffffffffffffffffff1614612c9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c91906150b7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612d09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d0090615cf3565b60405180910390fd5b612d1281613ab5565b50565b60108181548110612d2557600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000612d82600b6000600367ffffffffffffffff168152602001908152602001600020600001548484613b7b565b905092915050565b612d9261374b565b600260095403612dd7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dce90615183565b60405180910390fd5b6002600981905550600033604051602001612df291906158ee565b604051602081830303815290604052805190602001209050600b6000600267ffffffffffffffff16815260200190815260200160002060040160009054906101000a900460ff1615612e79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e7090615d5f565b60405180910390fd5b612e8383826120a3565b612ec2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612eb990615df1565b60405180910390fd5b81600b6000600267ffffffffffffffff16815260200190815260200160002060010154612eef91906151d2565b341015612f31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f2890615278565b60405180910390fd5b600b6000600267ffffffffffffffff16815260200190815260200160002060020160009054906101000a900467ffffffffffffffff1667ffffffffffffffff1682600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612fbc9190615304565b1115612ffd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ff4906153cc565b60405180910390fd5b81600b6000600267ffffffffffffffff168152602001908152602001600020600301541015613061576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161305890615e5d565b60405180910390fd5b81600b6000600267ffffffffffffffff1681526020019081526020016000206003015461308e91906153ec565b600b6000600267ffffffffffffffff1681526020019081526020016000206003018190555081600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546131029190615304565b925050819055506131133383613785565b5060016009819055505050565b600033905090565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008161319d613292565b111580156131ac575060005482105b80156131d9575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600090565b60006132a282613826565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461330d576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff1661332e613120565b73ffffffffffffffffffffffffffffffffffffffff16148061335d575061335c85613357613120565b612937565b5b806133a2575061336b613120565b73ffffffffffffffffffffffffffffffffffffffff1661338a84610d68565b73ffffffffffffffffffffffffffffffffffffffff16145b9050806133db576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603613441576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61344e8585856001613e64565b61345a600084876131e0565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16036136d95760005482146136d857878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46137448585856001613e6a565b5050505050565b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461378357600080fd5b565b7f0000000000000000000000000000000000000000000000000000000000000000816137af610f45565b6137b99190615304565b11156137fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137f1906154fe565b60405180910390fd5b6138048282613808565b5050565b613822828260405180602001604052806000815250613e70565b5050565b61382e6143b7565b60008290508061383c613292565b1115801561384b575060005481105b15613a7e576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151613a7c57600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614613960578092505050613ab0565b5b600115613a7b57818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614613a76578092505050613ab0565b613961565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000613b88838584613e82565b90509392505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613bda613120565b8786866040518563ffffffff1660e01b8152600401613bfc9493929190615ed2565b6020604051808303816000875af1925050508015613c3857506040513d601f19601f82011682018060405250810190613c359190615f33565b60015b613cb1573d8060008114613c68576040519150601f19603f3d011682016040523d82523d6000602084013e613c6d565b606091505b506000815103613ca9576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060008203613d4b576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613e5f565b600082905060005b60008214613d7d578080613d66906156cb565b915050600a82613d7691906155e8565b9150613d53565b60008167ffffffffffffffff811115613d9957613d98614c3e565b5b6040519080825280601f01601f191660200182016040528015613dcb5781602001600182028036833780820191505090505b5090505b60008514613e5857600182613de491906153ec565b9150600a85613df39190615bbe565b6030613dff9190615304565b60f81b818381518110613e1557613e1461558a565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613e5191906155e8565b9450613dcf565b8093505050505b919050565b50505050565b50505050565b613e7d8383836001613e99565b505050565b600082613e8f8584614263565b1490509392505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603613f05576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008403613f3f576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b613f4c6000868387613e64565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060008190506000858201905083801561411657506141158773ffffffffffffffffffffffffffffffffffffffff16613b91565b5b156141db575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461418b6000888480600101955088613bb4565b6141c1576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80820361411c5782600054146141d657600080fd5b614246565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082036141dc575b81600081905550505061425c6000868387613e6a565b5050505050565b60008082905060005b84518110156142cd57600085828151811061428a5761428961558a565b5b602002602001015190508083116142ac576142a583826142d8565b92506142b9565b6142b681846142d8565b92505b5080806142c5906156cb565b91505061426c565b508091505092915050565b600082600052816020526040600020905092915050565b8280546142fb90615106565b90600052602060002090601f01602090048101928261431d5760008555614364565b82601f1061433657803560ff1916838001178555614364565b82800160010185558215614364579182015b82811115614363578235825591602001919060010190614348565b5b50905061437191906143fa565b5090565b508054600082559060005260206000209081019061439391906143fa565b50565b50805460008255906000526020600020908101906143b491906143fa565b50565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b808211156144135760008160009055506001016143fb565b5090565b6000604051905090565b600080fd5b600080fd5b60008115159050919050565b6144408161442b565b811461444b57600080fd5b50565b60008135905061445d81614437565b92915050565b600080600080600060a0868803121561447f5761447e614421565b5b600061448d8882890161444e565b955050602061449e8882890161444e565b94505060406144af8882890161444e565b93505060606144c08882890161444e565b92505060806144d18882890161444e565b9150509295509295909350565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b614513816144de565b811461451e57600080fd5b50565b6000813590506145308161450a565b92915050565b60006020828403121561454c5761454b614421565b5b600061455a84828501614521565b91505092915050565b61456c8161442b565b82525050565b60006020820190506145876000830184614563565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006145b88261458d565b9050919050565b6145c8816145ad565b81146145d357600080fd5b50565b6000813590506145e5816145bf565b92915050565b60006020828403121561460157614600614421565b5b600061460f848285016145d6565b91505092915050565b6000819050919050565b61462b81614618565b82525050565b60006020820190506146466000830184614622565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561468657808201518184015260208101905061466b565b83811115614695576000848401525b50505050565b6000601f19601f8301169050919050565b60006146b78261464c565b6146c18185614657565b93506146d1818560208601614668565b6146da8161469b565b840191505092915050565b600060208201905081810360008301526146ff81846146ac565b905092915050565b61471081614618565b811461471b57600080fd5b50565b60008135905061472d81614707565b92915050565b60006020828403121561474957614748614421565b5b60006147578482850161471e565b91505092915050565b614769816145ad565b82525050565b60006020820190506147846000830184614760565b92915050565b600080604083850312156147a1576147a0614421565b5b60006147af858286016145d6565b92505060206147c08582860161471e565b9150509250929050565b600067ffffffffffffffff82169050919050565b6147e7816147ca565b81146147f257600080fd5b50565b600081359050614804816147de565b92915050565b6000602082840312156148205761481f614421565b5b600061482e848285016147f5565b91505092915050565b6000819050919050565b61484a81614837565b82525050565b614859816147ca565b82525050565b600060a0820190506148746000830188614841565b6148816020830187614622565b61488e6040830186614850565b61489b6060830185614622565b6148a86080830184614563565b9695505050505050565b6000806000606084860312156148cb576148ca614421565b5b60006148d9868287016145d6565b93505060206148ea868287016145d6565b92505060406148fb8682870161471e565b9150509250925092565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61493a81614618565b82525050565b600061494c8383614931565b60208301905092915050565b6000602082019050919050565b600061497082614905565b61497a8185614910565b935061498583614921565b8060005b838110156149b657815161499d8882614940565b97506149a883614958565b925050600181019050614989565b5085935050505092915050565b600060208201905081810360008301526149dd8184614965565b905092915050565b600080fd5b600080fd5b600080fd5b60008083601f840112614a0a57614a096149e5565b5b8235905067ffffffffffffffff811115614a2757614a266149ea565b5b602083019150836001820283011115614a4357614a426149ef565b5b9250929050565b60008060208385031215614a6157614a60614421565b5b600083013567ffffffffffffffff811115614a7f57614a7e614426565b5b614a8b858286016149f4565b92509250509250929050565b60008083601f840112614aad57614aac6149e5565b5b8235905067ffffffffffffffff811115614aca57614ac96149ea565b5b602083019150836020820283011115614ae657614ae56149ef565b5b9250929050565b60008083601f840112614b0357614b026149e5565b5b8235905067ffffffffffffffff811115614b2057614b1f6149ea565b5b602083019150836020820283011115614b3c57614b3b6149ef565b5b9250929050565b60008060008060408587031215614b5d57614b5c614421565b5b600085013567ffffffffffffffff811115614b7b57614b7a614426565b5b614b8787828801614a97565b9450945050602085013567ffffffffffffffff811115614baa57614ba9614426565b5b614bb687828801614aed565b925092505092959194509250565b6000819050919050565b6000614be9614be4614bdf8461458d565b614bc4565b61458d565b9050919050565b6000614bfb82614bce565b9050919050565b6000614c0d82614bf0565b9050919050565b614c1d81614c02565b82525050565b6000602082019050614c386000830184614c14565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b614c768261469b565b810181811067ffffffffffffffff82111715614c9557614c94614c3e565b5b80604052505050565b6000614ca8614417565b9050614cb48282614c6d565b919050565b600067ffffffffffffffff821115614cd457614cd3614c3e565b5b602082029050602081019050919050565b614cee81614837565b8114614cf957600080fd5b50565b600081359050614d0b81614ce5565b92915050565b6000614d24614d1f84614cb9565b614c9e565b90508083825260208201905060208402830185811115614d4757614d466149ef565b5b835b81811015614d705780614d5c8882614cfc565b845260208401935050602081019050614d49565b5050509392505050565b600082601f830112614d8f57614d8e6149e5565b5b8135614d9f848260208601614d11565b91505092915050565b60008060408385031215614dbf57614dbe614421565b5b600083013567ffffffffffffffff811115614ddd57614ddc614426565b5b614de985828601614d7a565b9250506020614dfa85828601614cfc565b9150509250929050565b60008060408385031215614e1b57614e1a614421565b5b6000614e29858286016145d6565b9250506020614e3a8582860161444e565b9150509250929050565b60008060408385031215614e5b57614e5a614421565b5b600083013567ffffffffffffffff811115614e7957614e78614426565b5b614e8585828601614d7a565b9250506020614e968582860161471e565b9150509250929050565b600080fd5b600067ffffffffffffffff821115614ec057614ebf614c3e565b5b614ec98261469b565b9050602081019050919050565b82818337600083830152505050565b6000614ef8614ef384614ea5565b614c9e565b905082815260208101848484011115614f1457614f13614ea0565b5b614f1f848285614ed6565b509392505050565b600082601f830112614f3c57614f3b6149e5565b5b8135614f4c848260208601614ee5565b91505092915050565b60008060008060808587031215614f6f57614f6e614421565b5b6000614f7d878288016145d6565b9450506020614f8e878288016145d6565b9350506040614f9f8782880161471e565b925050606085013567ffffffffffffffff811115614fc057614fbf614426565b5b614fcc87828801614f27565b91505092959194509250565b600080600060608486031215614ff157614ff0614421565b5b6000614fff86828701614cfc565b935050602061501086828701614cfc565b92505060406150218682870161471e565b9150509250925092565b6000806040838503121561504257615041614421565b5b6000615050858286016145d6565b9250506020615061858286016145d6565b9150509250929050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006150a1602083614657565b91506150ac8261506b565b602082019050919050565b600060208201905081810360008301526150d081615094565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061511e57607f821691505b602082108103615131576151306150d7565b5b50919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b600061516d601f83614657565b915061517882615137565b602082019050919050565b6000602082019050818103600083015261519c81615160565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006151dd82614618565b91506151e883614618565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615615221576152206151a3565b5b828202905092915050565b7f56616c7565206973206e6f7420636f7272656374000000000000000000000000600082015250565b6000615262601483614657565b915061526d8261522c565b602082019050919050565b6000602082019050818103600083015261529181615255565b9050919050565b7f5075626c6963206d696e74206973207061757365640000000000000000000000600082015250565b60006152ce601583614657565b91506152d982615298565b602082019050919050565b600060208201905081810360008301526152fd816152c1565b9050919050565b600061530f82614618565b915061531a83614618565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561534f5761534e6151a3565b5b828201905092915050565b7f4d696e74696e6720616d6f756e74206578636565647320616c6c6f77616e636560008201527f207065722077616c6c6574000000000000000000000000000000000000000000602082015250565b60006153b6602b83614657565b91506153c18261535a565b604082019050919050565b600060208201905081810360008301526153e5816153a9565b9050919050565b60006153f782614618565b915061540283614618565b925082821015615415576154146151a3565b5b828203905092915050565b7f4d696e74696e6720616d6f756e7420657863656564732072657365727665642060008201527f73697a6500000000000000000000000000000000000000000000000000000000602082015250565b600061547c602483614657565b915061548782615420565b604082019050919050565b600060208201905081810360008301526154ab8161546f565b9050919050565b7f536f6c64206f7574210000000000000000000000000000000000000000000000600082015250565b60006154e8600983614657565b91506154f3826154b2565b602082019050919050565b60006020820190508181036000830152615517816154db565b9050919050565b7f496e76616c69642073746174757320666f722077697468647261770000000000600082015250565b6000615554601b83614657565b915061555f8261551e565b602082019050919050565b6000602082019050818103600083015261558381615547565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006155f382614618565b91506155fe83614618565b92508261560e5761560d6155b9565b5b828204905092915050565b600081905092915050565b50565b6000615634600083615619565b915061563f82615624565b600082019050919050565b600061565582615627565b9150819050919050565b7f5472616e73666572206661696c65642e2e000000000000000000000000000000600082015250565b6000615695601183614657565b91506156a08261565f565b602082019050919050565b600060208201905081810360008301526156c481615688565b9050919050565b60006156d682614618565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203615708576157076151a3565b5b600182019050919050565b60008151905061572281614707565b92915050565b60006020828403121561573e5761573d614421565b5b600061574c84828501615713565b91505092915050565b7f4e6f7420656e6f7567687420636f696e20666f72206d696e7400000000000000600082015250565b600061578b601983614657565b915061579682615755565b602082019050919050565b600060208201905081810360008301526157ba8161577e565b9050919050565b7f436f696e206d696e742069732070617573656400000000000000000000000000600082015250565b60006157f7601383614657565b9150615802826157c1565b602082019050919050565b60006020820190508181036000830152615826816157ea565b9050919050565b60006060820190506158426000830186614760565b61584f6020830185614760565b61585c6040830184614622565b949350505050565b60008151905061587381614437565b92915050565b60006020828403121561588f5761588e614421565b5b600061589d84828501615864565b91505092915050565b60008160601b9050919050565b60006158be826158a6565b9050919050565b60006158d0826158b3565b9050919050565b6158e86158e3826145ad565b6158c5565b82525050565b60006158fa82846158d7565b60148201915081905092915050565b7f476f6c646c697374206d696e7420697320706175736564000000000000000000600082015250565b600061593f601783614657565b915061594a82615909565b602082019050919050565b6000602082019050818103600083015261596e81615932565b9050919050565b7f596f7520617265206e6f7420656c696769626c6520666f72206120676f6c642060008201527f6c697374206d696e740000000000000000000000000000000000000000000000602082015250565b60006159d1602983614657565b91506159dc82615975565b604082019050919050565b60006020820190508181036000830152615a00816159c4565b9050919050565b7f476f6c64206c697374206d696e7420697320736f6c64206f7574000000000000600082015250565b6000615a3d601a83614657565b9150615a4882615a07565b602082019050919050565b60006020820190508181036000830152615a6c81615a30565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b60008154615aa081615106565b615aaa8186615a73565b94506001821660008114615ac55760018114615ad657615b09565b60ff19831686528186019350615b09565b615adf85615a7e565b60005b83811015615b0157815481890152600182019150602081019050615ae2565b838801955050505b50505092915050565b6000615b1d8261464c565b615b278185615a73565b9350615b37818560208601614668565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000615b79600583615a73565b9150615b8482615b43565b600582019050919050565b6000615b9b8285615a93565b9150615ba78284615b12565b9150615bb282615b6c565b91508190509392505050565b6000615bc982614618565b9150615bd483614618565b925082615be457615be36155b9565b5b828206905092915050565b7f43616e206f6e6c79206d696e742061206d756c7469706c65206f66207468652060008201527f6d6178426174636853697a650000000000000000000000000000000000000000602082015250565b6000615c4b602c83614657565b9150615c5682615bef565b604082019050919050565b60006020820190508181036000830152615c7a81615c3e565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000615cdd602683614657565b9150615ce882615c81565b604082019050919050565b60006020820190508181036000830152615d0c81615cd0565b9050919050565b7f57686974656c697374206d696e74206973207061757365640000000000000000600082015250565b6000615d49601883614657565b9150615d5482615d13565b602082019050919050565b60006020820190508181036000830152615d7881615d3c565b9050919050565b7f596f7520617265206e6f7420656c696769626c6520666f72206120776869746560008201527f6c697374206d696e740000000000000000000000000000000000000000000000602082015250565b6000615ddb602983614657565b9150615de682615d7f565b604082019050919050565b60006020820190508181036000830152615e0a81615dce565b9050919050565b7f57686974656c697374206d696e7420697320736f6c64206f7574000000000000600082015250565b6000615e47601a83614657565b9150615e5282615e11565b602082019050919050565b60006020820190508181036000830152615e7681615e3a565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000615ea482615e7d565b615eae8185615e88565b9350615ebe818560208601614668565b615ec78161469b565b840191505092915050565b6000608082019050615ee76000830187614760565b615ef46020830186614760565b615f016040830185614622565b8181036060830152615f138184615e99565b905095945050505050565b600081519050615f2d8161450a565b92915050565b600060208284031215615f4957615f48614421565b5b6000615f5784828501615f1e565b9150509291505056fea2646970667358221220911c10e2cd60a0a0f9a75c02089b0ff0a15c10225decb2465e55014abd7a97f764736f6c634300080d0033697066733a2f2f516d50343176526169643539566363586751343157564765373533645a6a5243647a57774e4859347062677935412f68696464656e2e6a736f6e
Deployed Bytecode
0x60806040526004361061025b5760003560e01c806373cc02b211610144578063cfc86f7b116100b6578063e985e9c51161007a578063e985e9c51461091c578063ef24bc2014610959578063f2fde38b14610982578063f5401ca8146109ab578063f597e53d146109e8578063fb4a9be014610a255761025b565b8063cfc86f7b1461080f578063d232ef7e1461083a578063d5abeb0114610877578063d779cdba146108a2578063df381f04146108df5761025b565b806396944e7b1161010857806396944e7b146106fe578063a22cb4651461073b578063adb1dc1c14610764578063b88d4fde14610780578063c87b56dd146107a9578063c9f5068a146107e65761025b565b806373cc02b21461061557806379e1587a146106405780638afcf3ea1461066b5780638da5cb5b146106a857806395d89b41146106d35761025b565b8063375a069a116101dd57806359927044116101a157806359927044146105145780636352211e1461053f5780636755eb1b1461057c5780636fe571321461059857806370a08231146105c1578063715018a6146105fe5761025b565b8063375a069a146104455780633ccfd60b1461046e57806342842e0e14610485578063438b6300146104ae57806355f804b3146104eb5761025b565b8063095ea7b311610224578063095ea7b31461036b5780630cd694e61461039457806318160ddd146103d557806323b872dd146104005780632db11544146104295761025b565b8062c7e0e01461026057806301ffc9a71461028957806303f046bb146102c657806306fdde0314610303578063081812fc1461032e575b600080fd5b34801561026c57600080fd5b5061028760048036038101906102829190614463565b610a41565b005b34801561029557600080fd5b506102b060048036038101906102ab9190614536565b610bdc565b6040516102bd9190614572565b60405180910390f35b3480156102d257600080fd5b506102ed60048036038101906102e891906145eb565b610cbe565b6040516102fa9190614631565b60405180910390f35b34801561030f57600080fd5b50610318610cd6565b60405161032591906146e5565b60405180910390f35b34801561033a57600080fd5b5061035560048036038101906103509190614733565b610d68565b604051610362919061476f565b60405180910390f35b34801561037757600080fd5b50610392600480360381019061038d919061478a565b610de4565b005b3480156103a057600080fd5b506103bb60048036038101906103b6919061480a565b610eee565b6040516103cc95949392919061485f565b60405180910390f35b3480156103e157600080fd5b506103ea610f45565b6040516103f79190614631565b60405180910390f35b34801561040c57600080fd5b50610427600480360381019061042291906148b2565b610f5c565b005b610443600480360381019061043e9190614733565b610f6c565b005b34801561045157600080fd5b5061046c60048036038101906104679190614733565b611228565b005b34801561047a57600080fd5b5061048361137f565b005b34801561049157600080fd5b506104ac60048036038101906104a791906148b2565b6115f1565b005b3480156104ba57600080fd5b506104d560048036038101906104d091906145eb565b611611565b6040516104e291906149c3565b60405180910390f35b3480156104f757600080fd5b50610512600480360381019061050d9190614a4a565b611771565b005b34801561052057600080fd5b50610529611803565b604051610536919061476f565b60405180910390f35b34801561054b57600080fd5b5061056660048036038101906105619190614733565b61181b565b604051610573919061476f565b60405180910390f35b61059660048036038101906105919190614733565b611831565b005b3480156105a457600080fd5b506105bf60048036038101906105ba9190614b43565b611c8b565b005b3480156105cd57600080fd5b506105e860048036038101906105e391906145eb565b611e4c565b6040516105f59190614631565b60405180910390f35b34801561060a57600080fd5b50610613611f1b565b005b34801561062157600080fd5b5061062a611fa3565b6040516106379190614c23565b60405180910390f35b34801561064c57600080fd5b50610655611fc9565b6040516106629190614631565b60405180910390f35b34801561067757600080fd5b50610692600480360381019061068d91906145eb565b611fcf565b60405161069f9190614631565b60405180910390f35b3480156106b457600080fd5b506106bd611fe7565b6040516106ca919061476f565b60405180910390f35b3480156106df57600080fd5b506106e8612011565b6040516106f591906146e5565b60405180910390f35b34801561070a57600080fd5b5061072560048036038101906107209190614da8565b6120a3565b6040516107329190614572565b60405180910390f35b34801561074757600080fd5b50610762600480360381019061075d9190614e04565b6120d9565b005b61077e60048036038101906107799190614e44565b612250565b005b34801561078c57600080fd5b506107a760048036038101906107a29190614f55565b6125e6565b005b3480156107b557600080fd5b506107d060048036038101906107cb9190614733565b612662565b6040516107dd91906146e5565b60405180910390f35b3480156107f257600080fd5b5061080d60048036038101906108089190614fd8565b61273e565b005b34801561081b57600080fd5b50610824612831565b60405161083191906146e5565b60405180910390f35b34801561084657600080fd5b50610861600480360381019061085c91906145eb565b6128bf565b60405161086e9190614631565b60405180910390f35b34801561088357600080fd5b5061088c6128d7565b6040516108999190614631565b60405180910390f35b3480156108ae57600080fd5b506108c960048036038101906108c49190614733565b6128fb565b6040516108d69190614631565b60405180910390f35b3480156108eb57600080fd5b50610906600480360381019061090191906145eb565b61291f565b6040516109139190614631565b60405180910390f35b34801561092857600080fd5b50610943600480360381019061093e919061502b565b612937565b6040516109509190614572565b60405180910390f35b34801561096557600080fd5b50610980600480360381019061097b9190614733565b6129cb565b005b34801561098e57600080fd5b506109a960048036038101906109a491906145eb565b612c1e565b005b3480156109b757600080fd5b506109d260048036038101906109cd9190614733565b612d15565b6040516109df919061476f565b60405180910390f35b3480156109f457600080fd5b50610a0f6004803603810190610a0a9190614da8565b612d54565b604051610a1c9190614572565b60405180910390f35b610a3f6004803603810190610a3a9190614e44565b612d8a565b005b610a49613120565b73ffffffffffffffffffffffffffffffffffffffff16610a67611fe7565b73ffffffffffffffffffffffffffffffffffffffff1614610abd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ab4906150b7565b60405180910390fd5b84600b6000600167ffffffffffffffff16815260200190815260200160002060040160006101000a81548160ff02191690831515021790555083600b6000600267ffffffffffffffff16815260200190815260200160002060040160006101000a81548160ff02191690831515021790555083600b6000600367ffffffffffffffff16815260200190815260200160002060040160006101000a81548160ff02191690831515021790555082600b6000600467ffffffffffffffff16815260200190815260200160002060040160006101000a81548160ff02191690831515021790555081601260016101000a81548160ff02191690831515021790555080601260036101000a81548160ff0219169083151502179055505050505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610ca757507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610cb75750610cb682613128565b5b9050919050565b600f6020528060005260406000206000915090505481565b606060028054610ce590615106565b80601f0160208091040260200160405190810160405280929190818152602001828054610d1190615106565b8015610d5e5780601f10610d3357610100808354040283529160200191610d5e565b820191906000526020600020905b815481529060010190602001808311610d4157829003601f168201915b5050505050905090565b6000610d7382613192565b610da9576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610def8261181b565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610e56576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610e75613120565b73ffffffffffffffffffffffffffffffffffffffff1614158015610ea75750610ea581610ea0613120565b612937565b155b15610ede576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610ee98383836131e0565b505050565b600b6020528060005260406000206000915090508060000154908060010154908060020160009054906101000a900467ffffffffffffffff16908060030154908060040160009054906101000a900460ff16905085565b6000610f4f613292565b6001546000540303905090565b610f67838383613297565b505050565b610f7461374b565b600260095403610fb9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb090615183565b60405180910390fd5b600260098190555080600b6000600167ffffffffffffffff16815260200190815260200160002060010154610fee91906151d2565b341015611030576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102790615278565b60405180910390fd5b600b6000600167ffffffffffffffff16815260200190815260200160002060040160009054906101000a900460ff161561109f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611096906152e4565b60405180910390fd5b600b6000600167ffffffffffffffff16815260200190815260200160002060020160009054906101000a900467ffffffffffffffff1667ffffffffffffffff1681600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461112a9190615304565b111561116b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611162906153cc565b60405180910390fd5b80600b6000600167ffffffffffffffff1681526020019081526020016000206003015461119891906153ec565b600b6000600167ffffffffffffffff1681526020019081526020016000206003018190555080600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461120c9190615304565b9250508190555061121d3382613785565b600160098190555050565b611230613120565b73ffffffffffffffffffffffffffffffffffffffff1661124e611fe7565b73ffffffffffffffffffffffffffffffffffffffff16146112a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161129b906150b7565b60405180910390fd5b600a548111156112e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e090615492565b60405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000001b5881611313610f45565b61131d9190615304565b111561135e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611355906154fe565b60405180910390fd5b61137c73449e0945c21a951dab3ae6136af00aceae092bb482613808565b50565b611387613120565b73ffffffffffffffffffffffffffffffffffffffff166113a5611fe7565b73ffffffffffffffffffffffffffffffffffffffff16146113fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113f2906150b7565b60405180910390fd5b600260095403611440576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143790615183565b60405180910390fd5b6002600981905550601260019054906101000a900460ff16611497576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148e9061556a565b60405180910390fd5b600047905060005b6010805490508110156115e55760006064601183815481106114c4576114c361558a565b5b9060005260206000200154846114da91906151d2565b6114e491906155e8565b90506000601083815481106114fc576114fb61558a565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168260405161154a9061564a565b60006040518083038185875af1925050503d8060008114611587576040519150601f19603f3d011682016040523d82523d6000602084013e61158c565b606091505b50509050806115d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115c7906156ab565b60405180910390fd5b505080806115dd906156cb565b91505061149f565b50506001600981905550565b61160c838383604051806020016040528060008152506125e6565b505050565b6060600061161e83611e4c565b905060008167ffffffffffffffff81111561163c5761163b614c3e565b5b60405190808252806020026020018201604052801561166a5781602001602082028036833780820191505090505b509050600080611678610f45565b905060005b8181101561176457600061169082613192565b90508015611707578773ffffffffffffffffffffffffffffffffffffffff166116b88361181b565b73ffffffffffffffffffffffffffffffffffffffff160361170257818585815181106116e7576116e661558a565b5b60200260200101818152505083806116fe906156cb565b9450505b611750565b8015801561173b575060008560018861172091906153ec565b815181106117315761173061558a565b5b6020026020010151145b1561174f57828061174b906156cb565b9350505b5b50808061175c906156cb565b91505061167d565b5082945050505050919050565b611779613120565b73ffffffffffffffffffffffffffffffffffffffff16611797611fe7565b73ffffffffffffffffffffffffffffffffffffffff16146117ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117e4906150b7565b60405180910390fd5b8181601391906117fe9291906142ef565b505050565b73449e0945c21a951dab3ae6136af00aceae092bb481565b600061182682613826565b600001519050919050565b61183961374b565b60026009540361187e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187590615183565b60405180910390fd5b600260098190555080600b6000600467ffffffffffffffff168152602001908152602001600020600101546118b391906151d2565b81601260049054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b815260040161190f919061476f565b602060405180830381865afa15801561192c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119509190615728565b61195a91906151d2565b101561199b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611992906157a1565b60405180910390fd5b600b6000600467ffffffffffffffff16815260200190815260200160002060040160009054906101000a900460ff1615611a0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a019061580d565b60405180910390fd5b600b6000600467ffffffffffffffff16815260200190815260200160002060020160009054906101000a900467ffffffffffffffff1667ffffffffffffffff1681600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611a959190615304565b1115611ad6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611acd906153cc565b60405180910390fd5b601260049054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166323b872dd611b1c613120565b601260049054906101000a900473ffffffffffffffffffffffffffffffffffffffff1684600b6000600467ffffffffffffffff16815260200190815260200160002060010154611b6c91906151d2565b6040518463ffffffff1660e01b8152600401611b8a9392919061582d565b6020604051808303816000875af1158015611ba9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bcd9190615879565b5080600b6000600467ffffffffffffffff16815260200190815260200160002060030154611bfb91906153ec565b600b6000600467ffffffffffffffff1681526020019081526020016000206003018190555080600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611c6f9190615304565b92505081905550611c803382613785565b600160098190555050565b611c93613120565b73ffffffffffffffffffffffffffffffffffffffff16611cb1611fe7565b73ffffffffffffffffffffffffffffffffffffffff1614611d07576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cfe906150b7565b60405180910390fd5b601260009054906101000a900460ff1615611d2157600080fd5b60106000611d2f9190614375565b60116000611d3d9190614396565b60005b84849050811015611e2a576010858583818110611d6057611d5f61558a565b5b9050602002016020810190611d7591906145eb565b9080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506011838383818110611dea57611de961558a565b5b9050602002013590806001815401808255809150506001900390600052602060002001600090919091909150558080611e22906156cb565b915050611d40565b506001601260006101000a81548160ff02191690831515021790555050505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611eb3576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b611f23613120565b73ffffffffffffffffffffffffffffffffffffffff16611f41611fe7565b73ffffffffffffffffffffffffffffffffffffffff1614611f97576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f8e906150b7565b60405180910390fd5b611fa16000613ab5565b565b601260049054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600a5481565b600e6020528060005260406000206000915090505481565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606003805461202090615106565b80601f016020809104026020016040519081016040528092919081815260200182805461204c90615106565b80156120995780601f1061206e57610100808354040283529160200191612099565b820191906000526020600020905b81548152906001019060200180831161207c57829003601f168201915b5050505050905090565b60006120d1600b6000600267ffffffffffffffff168152602001908152602001600020600001548484613b7b565b905092915050565b6120e1613120565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612145576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000612152613120565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166121ff613120565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516122449190614572565b60405180910390a35050565b61225861374b565b60026009540361229d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161229490615183565b60405180910390fd5b60026009819055506000336040516020016122b891906158ee565b604051602081830303815290604052805190602001209050600b6000600367ffffffffffffffff16815260200190815260200160002060040160009054906101000a900460ff161561233f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161233690615955565b60405180910390fd5b6123498382612d54565b612388576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161237f906159e7565b60405180910390fd5b81600b6000600367ffffffffffffffff168152602001908152602001600020600101546123b591906151d2565b3410156123f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123ee90615278565b60405180910390fd5b600b6000600367ffffffffffffffff16815260200190815260200160002060020160009054906101000a900467ffffffffffffffff1667ffffffffffffffff1682600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546124829190615304565b11156124c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124ba906153cc565b60405180910390fd5b81600b6000600367ffffffffffffffff168152602001908152602001600020600301541015612527576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161251e90615a53565b60405180910390fd5b81600b6000600367ffffffffffffffff1681526020019081526020016000206003015461255491906153ec565b600b6000600367ffffffffffffffff1681526020019081526020016000206003018190555081600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546125c89190615304565b925050819055506125d93383613785565b5060016009819055505050565b6125f1848484613297565b6126108373ffffffffffffffffffffffffffffffffffffffff16613b91565b8015612625575061262384848484613bb4565b155b1561265c576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b6060601260039054906101000a900460ff16156126ab57601361268483613d04565b604051602001612695929190615b8f565b6040516020818303038152906040529050612739565b601380546126b890615106565b80601f01602080910402602001604051908101604052809291908181526020018280546126e490615106565b80156127315780601f1061270657610100808354040283529160200191612731565b820191906000526020600020905b81548152906001019060200180831161271457829003601f168201915b505050505090505b919050565b612746613120565b73ffffffffffffffffffffffffffffffffffffffff16612764611fe7565b73ffffffffffffffffffffffffffffffffffffffff16146127ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127b1906150b7565b60405180910390fd5b82600b6000600367ffffffffffffffff1681526020019081526020016000206000018190555081600b6000600267ffffffffffffffff1681526020019081526020016000206000018190555080600b6000600467ffffffffffffffff16815260200190815260200160002060010181905550505050565b6013805461283e90615106565b80601f016020809104026020016040519081016040528092919081815260200182805461286a90615106565b80156128b75780601f1061288c576101008083540402835291602001916128b7565b820191906000526020600020905b81548152906001019060200180831161289a57829003601f168201915b505050505081565b600d6020528060005260406000206000915090505481565b7f0000000000000000000000000000000000000000000000000000000000001b5881565b6011818154811061290b57600080fd5b906000526020600020016000915090505481565b600c6020528060005260406000206000915090505481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6129d3613120565b73ffffffffffffffffffffffffffffffffffffffff166129f1611fe7565b73ffffffffffffffffffffffffffffffffffffffff1614612a47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a3e906150b7565b60405180910390fd5b600a54811115612a8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a8390615492565b60405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000001b5881612ab6610f45565b612ac09190615304565b1115612b01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612af8906154fe565b60405180910390fd5b60007f000000000000000000000000000000000000000000000000000000000000003267ffffffffffffffff1682612b399190615bbe565b14612b79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b7090615c61565b60405180910390fd5b60007f000000000000000000000000000000000000000000000000000000000000003267ffffffffffffffff1682612bb191906155e8565b905060005b81811015612c1957612c0673449e0945c21a951dab3ae6136af00aceae092bb47f000000000000000000000000000000000000000000000000000000000000003267ffffffffffffffff16613808565b8080612c11906156cb565b915050612bb6565b505050565b612c26613120565b73ffffffffffffffffffffffffffffffffffffffff16612c44611fe7565b73ffffffffffffffffffffffffffffffffffffffff1614612c9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c91906150b7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603612d09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d0090615cf3565b60405180910390fd5b612d1281613ab5565b50565b60108181548110612d2557600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000612d82600b6000600367ffffffffffffffff168152602001908152602001600020600001548484613b7b565b905092915050565b612d9261374b565b600260095403612dd7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dce90615183565b60405180910390fd5b6002600981905550600033604051602001612df291906158ee565b604051602081830303815290604052805190602001209050600b6000600267ffffffffffffffff16815260200190815260200160002060040160009054906101000a900460ff1615612e79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e7090615d5f565b60405180910390fd5b612e8383826120a3565b612ec2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612eb990615df1565b60405180910390fd5b81600b6000600267ffffffffffffffff16815260200190815260200160002060010154612eef91906151d2565b341015612f31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f2890615278565b60405180910390fd5b600b6000600267ffffffffffffffff16815260200190815260200160002060020160009054906101000a900467ffffffffffffffff1667ffffffffffffffff1682600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612fbc9190615304565b1115612ffd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ff4906153cc565b60405180910390fd5b81600b6000600267ffffffffffffffff168152602001908152602001600020600301541015613061576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161305890615e5d565b60405180910390fd5b81600b6000600267ffffffffffffffff1681526020019081526020016000206003015461308e91906153ec565b600b6000600267ffffffffffffffff1681526020019081526020016000206003018190555081600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546131029190615304565b925050819055506131133383613785565b5060016009819055505050565b600033905090565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008161319d613292565b111580156131ac575060005482105b80156131d9575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600090565b60006132a282613826565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461330d576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff1661332e613120565b73ffffffffffffffffffffffffffffffffffffffff16148061335d575061335c85613357613120565b612937565b5b806133a2575061336b613120565b73ffffffffffffffffffffffffffffffffffffffff1661338a84610d68565b73ffffffffffffffffffffffffffffffffffffffff16145b9050806133db576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603613441576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61344e8585856001613e64565b61345a600084876131e0565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16036136d95760005482146136d857878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46137448585856001613e6a565b5050505050565b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461378357600080fd5b565b7f0000000000000000000000000000000000000000000000000000000000001b58816137af610f45565b6137b99190615304565b11156137fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137f1906154fe565b60405180910390fd5b6138048282613808565b5050565b613822828260405180602001604052806000815250613e70565b5050565b61382e6143b7565b60008290508061383c613292565b1115801561384b575060005481105b15613a7e576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff16151515158152505090508060400151613a7c57600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614613960578092505050613ab0565b5b600115613a7b57818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614613a76578092505050613ab0565b613961565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000613b88838584613e82565b90509392505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613bda613120565b8786866040518563ffffffff1660e01b8152600401613bfc9493929190615ed2565b6020604051808303816000875af1925050508015613c3857506040513d601f19601f82011682018060405250810190613c359190615f33565b60015b613cb1573d8060008114613c68576040519150601f19603f3d011682016040523d82523d6000602084013e613c6d565b606091505b506000815103613ca9576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060008203613d4b576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613e5f565b600082905060005b60008214613d7d578080613d66906156cb565b915050600a82613d7691906155e8565b9150613d53565b60008167ffffffffffffffff811115613d9957613d98614c3e565b5b6040519080825280601f01601f191660200182016040528015613dcb5781602001600182028036833780820191505090505b5090505b60008514613e5857600182613de491906153ec565b9150600a85613df39190615bbe565b6030613dff9190615304565b60f81b818381518110613e1557613e1461558a565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613e5191906155e8565b9450613dcf565b8093505050505b919050565b50505050565b50505050565b613e7d8383836001613e99565b505050565b600082613e8f8584614263565b1490509392505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1603613f05576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008403613f3f576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b613f4c6000868387613e64565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060008190506000858201905083801561411657506141158773ffffffffffffffffffffffffffffffffffffffff16613b91565b5b156141db575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461418b6000888480600101955088613bb4565b6141c1576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80820361411c5782600054146141d657600080fd5b614246565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082036141dc575b81600081905550505061425c6000868387613e6a565b5050505050565b60008082905060005b84518110156142cd57600085828151811061428a5761428961558a565b5b602002602001015190508083116142ac576142a583826142d8565b92506142b9565b6142b681846142d8565b92505b5080806142c5906156cb565b91505061426c565b508091505092915050565b600082600052816020526040600020905092915050565b8280546142fb90615106565b90600052602060002090601f01602090048101928261431d5760008555614364565b82601f1061433657803560ff1916838001178555614364565b82800160010185558215614364579182015b82811115614363578235825591602001919060010190614348565b5b50905061437191906143fa565b5090565b508054600082559060005260206000209081019061439391906143fa565b50565b50805460008255906000526020600020908101906143b491906143fa565b50565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b808211156144135760008160009055506001016143fb565b5090565b6000604051905090565b600080fd5b600080fd5b60008115159050919050565b6144408161442b565b811461444b57600080fd5b50565b60008135905061445d81614437565b92915050565b600080600080600060a0868803121561447f5761447e614421565b5b600061448d8882890161444e565b955050602061449e8882890161444e565b94505060406144af8882890161444e565b93505060606144c08882890161444e565b92505060806144d18882890161444e565b9150509295509295909350565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b614513816144de565b811461451e57600080fd5b50565b6000813590506145308161450a565b92915050565b60006020828403121561454c5761454b614421565b5b600061455a84828501614521565b91505092915050565b61456c8161442b565b82525050565b60006020820190506145876000830184614563565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006145b88261458d565b9050919050565b6145c8816145ad565b81146145d357600080fd5b50565b6000813590506145e5816145bf565b92915050565b60006020828403121561460157614600614421565b5b600061460f848285016145d6565b91505092915050565b6000819050919050565b61462b81614618565b82525050565b60006020820190506146466000830184614622565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561468657808201518184015260208101905061466b565b83811115614695576000848401525b50505050565b6000601f19601f8301169050919050565b60006146b78261464c565b6146c18185614657565b93506146d1818560208601614668565b6146da8161469b565b840191505092915050565b600060208201905081810360008301526146ff81846146ac565b905092915050565b61471081614618565b811461471b57600080fd5b50565b60008135905061472d81614707565b92915050565b60006020828403121561474957614748614421565b5b60006147578482850161471e565b91505092915050565b614769816145ad565b82525050565b60006020820190506147846000830184614760565b92915050565b600080604083850312156147a1576147a0614421565b5b60006147af858286016145d6565b92505060206147c08582860161471e565b9150509250929050565b600067ffffffffffffffff82169050919050565b6147e7816147ca565b81146147f257600080fd5b50565b600081359050614804816147de565b92915050565b6000602082840312156148205761481f614421565b5b600061482e848285016147f5565b91505092915050565b6000819050919050565b61484a81614837565b82525050565b614859816147ca565b82525050565b600060a0820190506148746000830188614841565b6148816020830187614622565b61488e6040830186614850565b61489b6060830185614622565b6148a86080830184614563565b9695505050505050565b6000806000606084860312156148cb576148ca614421565b5b60006148d9868287016145d6565b93505060206148ea868287016145d6565b92505060406148fb8682870161471e565b9150509250925092565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61493a81614618565b82525050565b600061494c8383614931565b60208301905092915050565b6000602082019050919050565b600061497082614905565b61497a8185614910565b935061498583614921565b8060005b838110156149b657815161499d8882614940565b97506149a883614958565b925050600181019050614989565b5085935050505092915050565b600060208201905081810360008301526149dd8184614965565b905092915050565b600080fd5b600080fd5b600080fd5b60008083601f840112614a0a57614a096149e5565b5b8235905067ffffffffffffffff811115614a2757614a266149ea565b5b602083019150836001820283011115614a4357614a426149ef565b5b9250929050565b60008060208385031215614a6157614a60614421565b5b600083013567ffffffffffffffff811115614a7f57614a7e614426565b5b614a8b858286016149f4565b92509250509250929050565b60008083601f840112614aad57614aac6149e5565b5b8235905067ffffffffffffffff811115614aca57614ac96149ea565b5b602083019150836020820283011115614ae657614ae56149ef565b5b9250929050565b60008083601f840112614b0357614b026149e5565b5b8235905067ffffffffffffffff811115614b2057614b1f6149ea565b5b602083019150836020820283011115614b3c57614b3b6149ef565b5b9250929050565b60008060008060408587031215614b5d57614b5c614421565b5b600085013567ffffffffffffffff811115614b7b57614b7a614426565b5b614b8787828801614a97565b9450945050602085013567ffffffffffffffff811115614baa57614ba9614426565b5b614bb687828801614aed565b925092505092959194509250565b6000819050919050565b6000614be9614be4614bdf8461458d565b614bc4565b61458d565b9050919050565b6000614bfb82614bce565b9050919050565b6000614c0d82614bf0565b9050919050565b614c1d81614c02565b82525050565b6000602082019050614c386000830184614c14565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b614c768261469b565b810181811067ffffffffffffffff82111715614c9557614c94614c3e565b5b80604052505050565b6000614ca8614417565b9050614cb48282614c6d565b919050565b600067ffffffffffffffff821115614cd457614cd3614c3e565b5b602082029050602081019050919050565b614cee81614837565b8114614cf957600080fd5b50565b600081359050614d0b81614ce5565b92915050565b6000614d24614d1f84614cb9565b614c9e565b90508083825260208201905060208402830185811115614d4757614d466149ef565b5b835b81811015614d705780614d5c8882614cfc565b845260208401935050602081019050614d49565b5050509392505050565b600082601f830112614d8f57614d8e6149e5565b5b8135614d9f848260208601614d11565b91505092915050565b60008060408385031215614dbf57614dbe614421565b5b600083013567ffffffffffffffff811115614ddd57614ddc614426565b5b614de985828601614d7a565b9250506020614dfa85828601614cfc565b9150509250929050565b60008060408385031215614e1b57614e1a614421565b5b6000614e29858286016145d6565b9250506020614e3a8582860161444e565b9150509250929050565b60008060408385031215614e5b57614e5a614421565b5b600083013567ffffffffffffffff811115614e7957614e78614426565b5b614e8585828601614d7a565b9250506020614e968582860161471e565b9150509250929050565b600080fd5b600067ffffffffffffffff821115614ec057614ebf614c3e565b5b614ec98261469b565b9050602081019050919050565b82818337600083830152505050565b6000614ef8614ef384614ea5565b614c9e565b905082815260208101848484011115614f1457614f13614ea0565b5b614f1f848285614ed6565b509392505050565b600082601f830112614f3c57614f3b6149e5565b5b8135614f4c848260208601614ee5565b91505092915050565b60008060008060808587031215614f6f57614f6e614421565b5b6000614f7d878288016145d6565b9450506020614f8e878288016145d6565b9350506040614f9f8782880161471e565b925050606085013567ffffffffffffffff811115614fc057614fbf614426565b5b614fcc87828801614f27565b91505092959194509250565b600080600060608486031215614ff157614ff0614421565b5b6000614fff86828701614cfc565b935050602061501086828701614cfc565b92505060406150218682870161471e565b9150509250925092565b6000806040838503121561504257615041614421565b5b6000615050858286016145d6565b9250506020615061858286016145d6565b9150509250929050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006150a1602083614657565b91506150ac8261506b565b602082019050919050565b600060208201905081810360008301526150d081615094565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061511e57607f821691505b602082108103615131576151306150d7565b5b50919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b600061516d601f83614657565b915061517882615137565b602082019050919050565b6000602082019050818103600083015261519c81615160565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006151dd82614618565b91506151e883614618565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615615221576152206151a3565b5b828202905092915050565b7f56616c7565206973206e6f7420636f7272656374000000000000000000000000600082015250565b6000615262601483614657565b915061526d8261522c565b602082019050919050565b6000602082019050818103600083015261529181615255565b9050919050565b7f5075626c6963206d696e74206973207061757365640000000000000000000000600082015250565b60006152ce601583614657565b91506152d982615298565b602082019050919050565b600060208201905081810360008301526152fd816152c1565b9050919050565b600061530f82614618565b915061531a83614618565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561534f5761534e6151a3565b5b828201905092915050565b7f4d696e74696e6720616d6f756e74206578636565647320616c6c6f77616e636560008201527f207065722077616c6c6574000000000000000000000000000000000000000000602082015250565b60006153b6602b83614657565b91506153c18261535a565b604082019050919050565b600060208201905081810360008301526153e5816153a9565b9050919050565b60006153f782614618565b915061540283614618565b925082821015615415576154146151a3565b5b828203905092915050565b7f4d696e74696e6720616d6f756e7420657863656564732072657365727665642060008201527f73697a6500000000000000000000000000000000000000000000000000000000602082015250565b600061547c602483614657565b915061548782615420565b604082019050919050565b600060208201905081810360008301526154ab8161546f565b9050919050565b7f536f6c64206f7574210000000000000000000000000000000000000000000000600082015250565b60006154e8600983614657565b91506154f3826154b2565b602082019050919050565b60006020820190508181036000830152615517816154db565b9050919050565b7f496e76616c69642073746174757320666f722077697468647261770000000000600082015250565b6000615554601b83614657565b915061555f8261551e565b602082019050919050565b6000602082019050818103600083015261558381615547565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006155f382614618565b91506155fe83614618565b92508261560e5761560d6155b9565b5b828204905092915050565b600081905092915050565b50565b6000615634600083615619565b915061563f82615624565b600082019050919050565b600061565582615627565b9150819050919050565b7f5472616e73666572206661696c65642e2e000000000000000000000000000000600082015250565b6000615695601183614657565b91506156a08261565f565b602082019050919050565b600060208201905081810360008301526156c481615688565b9050919050565b60006156d682614618565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203615708576157076151a3565b5b600182019050919050565b60008151905061572281614707565b92915050565b60006020828403121561573e5761573d614421565b5b600061574c84828501615713565b91505092915050565b7f4e6f7420656e6f7567687420636f696e20666f72206d696e7400000000000000600082015250565b600061578b601983614657565b915061579682615755565b602082019050919050565b600060208201905081810360008301526157ba8161577e565b9050919050565b7f436f696e206d696e742069732070617573656400000000000000000000000000600082015250565b60006157f7601383614657565b9150615802826157c1565b602082019050919050565b60006020820190508181036000830152615826816157ea565b9050919050565b60006060820190506158426000830186614760565b61584f6020830185614760565b61585c6040830184614622565b949350505050565b60008151905061587381614437565b92915050565b60006020828403121561588f5761588e614421565b5b600061589d84828501615864565b91505092915050565b60008160601b9050919050565b60006158be826158a6565b9050919050565b60006158d0826158b3565b9050919050565b6158e86158e3826145ad565b6158c5565b82525050565b60006158fa82846158d7565b60148201915081905092915050565b7f476f6c646c697374206d696e7420697320706175736564000000000000000000600082015250565b600061593f601783614657565b915061594a82615909565b602082019050919050565b6000602082019050818103600083015261596e81615932565b9050919050565b7f596f7520617265206e6f7420656c696769626c6520666f72206120676f6c642060008201527f6c697374206d696e740000000000000000000000000000000000000000000000602082015250565b60006159d1602983614657565b91506159dc82615975565b604082019050919050565b60006020820190508181036000830152615a00816159c4565b9050919050565b7f476f6c64206c697374206d696e7420697320736f6c64206f7574000000000000600082015250565b6000615a3d601a83614657565b9150615a4882615a07565b602082019050919050565b60006020820190508181036000830152615a6c81615a30565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b60008154615aa081615106565b615aaa8186615a73565b94506001821660008114615ac55760018114615ad657615b09565b60ff19831686528186019350615b09565b615adf85615a7e565b60005b83811015615b0157815481890152600182019150602081019050615ae2565b838801955050505b50505092915050565b6000615b1d8261464c565b615b278185615a73565b9350615b37818560208601614668565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000615b79600583615a73565b9150615b8482615b43565b600582019050919050565b6000615b9b8285615a93565b9150615ba78284615b12565b9150615bb282615b6c565b91508190509392505050565b6000615bc982614618565b9150615bd483614618565b925082615be457615be36155b9565b5b828206905092915050565b7f43616e206f6e6c79206d696e742061206d756c7469706c65206f66207468652060008201527f6d6178426174636853697a650000000000000000000000000000000000000000602082015250565b6000615c4b602c83614657565b9150615c5682615bef565b604082019050919050565b60006020820190508181036000830152615c7a81615c3e565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000615cdd602683614657565b9150615ce882615c81565b604082019050919050565b60006020820190508181036000830152615d0c81615cd0565b9050919050565b7f57686974656c697374206d696e74206973207061757365640000000000000000600082015250565b6000615d49601883614657565b9150615d5482615d13565b602082019050919050565b60006020820190508181036000830152615d7881615d3c565b9050919050565b7f596f7520617265206e6f7420656c696769626c6520666f72206120776869746560008201527f6c697374206d696e740000000000000000000000000000000000000000000000602082015250565b6000615ddb602983614657565b9150615de682615d7f565b604082019050919050565b60006020820190508181036000830152615e0a81615dce565b9050919050565b7f57686974656c697374206d696e7420697320736f6c64206f7574000000000000600082015250565b6000615e47601a83614657565b9150615e5282615e11565b602082019050919050565b60006020820190508181036000830152615e7681615e3a565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000615ea482615e7d565b615eae8185615e88565b9350615ebe818560208601614668565b615ec78161469b565b840191505092915050565b6000608082019050615ee76000830187614760565b615ef46020830186614760565b615f016040830185614622565b8181036060830152615f138184615e99565b905095945050505050565b600081519050615f2d8161450a565b92915050565b600060208284031215615f4957615f48614421565b5b6000615f5784828501615f1e565b9150509291505056fea2646970667358221220911c10e2cd60a0a0f9a75c02089b0ff0a15c10225decb2465e55014abd7a97f764736f6c634300080d0033
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.