ERC-721
Overview
Max Total Supply
343 OM
Holders
146
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 OMLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
OniMansion
Compiler Version
v0.8.12+commit.f00d7308
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; import "./ERC721ATradable.sol"; /** * @title Oni Mansion Contract * @author onisquad.gg * @notice This contract handles minting for Oni Mansions. */ contract OniMansion is ERC721ATradable { using ECDSA for bytes32; using Strings for uint256; uint256 public mintPrice = 0.12 ether; uint256 public maxSupply = 10000; mapping (address => uint256) public totalMintsPerAddress; // // Used to validate authorized mint addresses address private signerAddress = 0xB79C8d5fD2AC5F77887769a211cE09aE9534f32E; bool setSupply; /** * @notice Contract Constructor */ constructor( string memory baseTokenURI_ ) ERC721ATradable("Oni Mansion NFT", "OM", baseTokenURI_) { includedProxies.push(0xa5409ec958C83C3f309868babACA7c86DCB077c1); proxyToApprove[0xa5409ec958C83C3f309868babACA7c86DCB077c1] = true; receiverAddress = 0xe136FB79114C5dCf135091Dcba34f302DE8B1687; } // PUBLIC API /** * @notice Allow for minting of tokens up to the maximum allowed for a given address. * The address of the sender and the number of mints allowed are hashed and signed * with a private key and verified here to prove allowlisting status. * @param messageHash: message created by the backend that will be verified against the signature. * @param signature: message with signature. * @param mintNumber: how many NFTs caller wants to mint. * @param maximumAllowedMints: maximum number of nfts that can be minted from the caller. */ function mint( bytes32 messageHash, bytes calldata signature, uint256 mintNumber, uint256 maximumAllowedMints ) public virtual nonReentrant { require( totalMintsPerAddress[msg.sender] + mintNumber < maximumAllowedMints + 1 , "MintNumber is more than maximumAllowedMints." ); require(hashMessage(msg.sender, maximumAllowedMints) == messageHash, "MESSAGE_INVALID"); require(verifyAddressSigner(messageHash, signature), "SIGNATURE_VALIDATION_FAILED"); require(totalSupply() + mintNumber < maxSupply + 1, "Max Supply Reached"); totalMintsPerAddress[msg.sender] += mintNumber; _safeMint(msg.sender, mintNumber); } /** * @notice Similar to mint/4, but also payable. */ function allowListMint( bytes32 messageHash, bytes calldata signature, uint256 mintNumber, uint256 maximumAllowedMints ) external payable { require(msg.value == (mintPrice * mintNumber),"INVALID_PRICE"); mint(messageHash, signature, mintNumber, maximumAllowedMints); } // Setters /** * @notice Update signer address. * @param _signerAddress: new signer address value. */ function setSignerAddress(address _signerAddress) external onlyOwner { require(_signerAddress != address(0)); signerAddress = _signerAddress; } /** * @notice Update mint price. * @param _newPrice: amount to mint one oni mansion. */ function setMintingPrice(uint256 _newPrice) external onlyOwner() { mintPrice = _newPrice; } /** * @notice Update max supply (can only be called once). * @param _newSupply: new maximum supply value. */ function setMaxSupply(uint256 _newSupply) external onlyOwner() { require(setSupply == false, "The maximum supply was already set."); setSupply = true; maxSupply = _newSupply; } // PRIVATE FUNCTIONS function verifyAddressSigner(bytes32 messageHash, bytes memory signature) private view returns (bool) { return signerAddress == messageHash.toEthSignedMessageHash().recover(signature); } function hashMessage(address sender, uint256 maximumAllowedMints) private pure returns (bytes32) { return keccak256(abi.encode(sender, maximumAllowedMints)); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "erc721a/contracts/ERC721A.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/interfaces/IERC2981.sol"; contract OwnableDelegateProxy { } /** * Used to delegate ownership of a contract to another address, to save on unneeded transactions to approve contract use for users */ contract ProxyRegistry { mapping(address => OwnableDelegateProxy) public proxies; } /** * @title ERC721ATradable * @author onisquad.gg * ERC721ATradable - contract that allowlists a user's OpenSea proxy accounts to enable gas-less listings. * In addition, contract owner can add other Proxy contracts in the future. * This enables a user to to have gas-less listings on other future marketplaces (coinbase, kraken) and games. * This contract safeguards the collection for integrability for the metaverse. */ abstract contract ERC721ATradable is ERC721A, ReentrancyGuard, IERC2981, Ownable, Pausable { using Strings for uint256; string public baseTokenURI; mapping(address => bool) public proxyToApprove; address[] public includedProxies; // Used to send royalties address public receiverAddress; /** * @notice Contract Constructor */ constructor( string memory _name, string memory _symbol, string memory baseTokenURI_ ) ERC721A(_name, _symbol) { baseTokenURI = baseTokenURI_; receiverAddress = address(this); } // Only Owner public API function pause() public onlyOwner { _pause(); } function unpause() public onlyOwner { _unpause(); } // SETTERS /** * Update the base token URI */ function setBaseURI(string calldata _newBaseURI) external onlyOwner { baseTokenURI = _newBaseURI; } /** * Function to disable gasless listings for security in case * opensea or other contracts ever shut down or are compromised */ function flipProxyState(address proxyAddress) public onlyOwner { proxyToApprove[proxyAddress] = !proxyToApprove[proxyAddress]; } function setReceiverAddress(address _receiverAddress) external onlyOwner { require(_receiverAddress != address(0)); receiverAddress = _receiverAddress; } // GETTERS /** * Returns all the token ids owned by a given address */ function ownedTokensByAddress(address owner) external view returns (uint256[] memory) { uint256 totalTokensOwned = balanceOf(owner); uint256[] memory allTokenIds = new uint256[](totalTokensOwned); for (uint256 i = 0; i < totalTokensOwned; i++) { allTokenIds[i] = (tokenOfOwnerByIndex(owner, i)); } return allTokenIds; } function _baseURI() internal view virtual override returns (string memory) { return baseTokenURI; } // MONEY RELATED FUNCTIONS function withdrawMoney() external onlyOwner nonReentrant { (bool success, ) = msg.sender.call{value: address(this).balance}(""); require(success, "Transfer failed."); } /** * @dev See {IERC165-royaltyInfo}. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view override returns (address receiver, uint256 royaltyAmount) { require(_exists(tokenId), "Nonexistent token"); return (receiverAddress, SafeMath.div(SafeMath.mul(salePrice, 10), 100)); } receive() external payable {} function addApprovedProxy(address _newAddress) external onlyOwner() { includedProxies.push(_newAddress); } function removeApprovedProxyIndex(uint index) external onlyOwner() { require(index < includedProxies.length, "Array does not have this index"); for (uint i = index; i < includedProxies.length - 1; i++){ includedProxies[i] = includedProxies[i+1]; } includedProxies.pop(); } /** * Override isApprovedForAll to allowlist user's OpenSea proxy accounts to enable gas-less listings. * and In addition, you can add other Proxy Approvals in the future. * Perhaps, you can skip the approval tx for future NFT Marketplaces (coinbase, kraken) or games. * This safeguards the collection for integrability. */ function isApprovedForAll(address owner, address operator) public view override returns (bool) { for (uint256 i = 0; i < includedProxies.length; i++) { address currentProxy = includedProxies[i]; ProxyRegistry proxyRegistry = ProxyRegistry(currentProxy); if ( proxyToApprove[currentProxy] && address(proxyRegistry.proxies(owner)) == operator ) { return true; } } return super.isApprovedForAll(owner, operator); } }
// SPDX-License-Identifier: MIT // Creator: Chiru Labs pragma solidity ^0.8.0; 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/token/ERC721/extensions/IERC721Enumerable.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'; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata and Enumerable extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..). * * Does not support burning tokens to address(0). * * Assumes that an owner cannot have more than the 2**128 - 1 (max value of uint128) of supply */ contract ERC721A is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable { using Address for address; using Strings for uint256; struct TokenOwnership { address addr; uint64 startTimestamp; } struct AddressData { uint128 balance; uint128 numberMinted; } uint256 internal currentIndex; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. See ownershipOf implementation for details. mapping(uint256 => TokenOwnership) internal _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view override returns (uint256) { return currentIndex; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view override returns (uint256) { require(index < totalSupply(), 'ERC721A: global index out of bounds'); return index; } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first. * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) { require(index < balanceOf(owner), 'ERC721A: owner index out of bounds'); uint256 numMintedSoFar = totalSupply(); uint256 tokenIdsIdx; address currOwnershipAddr; // Counter overflow is impossible as the loop breaks when uint256 i is equal to another uint256 numMintedSoFar. unchecked { for (uint256 i; i < numMintedSoFar; i++) { TokenOwnership memory ownership = _ownerships[i]; if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { if (tokenIdsIdx == index) { return i; } tokenIdsIdx++; } } } revert('ERC721A: unable to get token of owner by index'); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { require(owner != address(0), 'ERC721A: balance query for the zero address'); return uint256(_addressData[owner].balance); } function _numberMinted(address owner) internal view returns (uint256) { require(owner != address(0), 'ERC721A: number minted query for the zero address'); return uint256(_addressData[owner].numberMinted); } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { require(_exists(tokenId), 'ERC721A: owner query for nonexistent token'); unchecked { for (uint256 curr = tokenId; curr >= 0; curr--) { TokenOwnership memory ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } } revert('ERC721A: unable to determine the owner of token'); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return ownershipOf(tokenId).addr; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), 'ERC721Metadata: URI query for nonexistent token'); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ERC721A.ownerOf(tokenId); require(to != owner, 'ERC721A: approval to current owner'); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), 'ERC721A: approve caller is not owner nor approved for all' ); _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { require(_exists(tokenId), 'ERC721A: approved query for nonexistent token'); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public override { require(operator != _msgSender(), 'ERC721A: approve to caller'); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public override { _transfer(from, to, tokenId); require( _checkOnERC721Received(from, to, tokenId, _data), 'ERC721A: transfer to non ERC721Receiver implementer' ); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return tokenId < currentIndex; } function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { _mint(to, quantity, _data, true); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _mint( address to, uint256 quantity, bytes memory _data, bool safe ) internal { uint256 startTokenId = currentIndex; require(to != address(0), 'ERC721A: mint to the zero address'); require(quantity != 0, 'ERC721A: quantity must be greater than 0'); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 3.4e38 (2**128) - 1 // updatedIndex overflows if currentIndex + quantity > 1.56e77 (2**256) - 1 unchecked { _addressData[to].balance += uint128(quantity); _addressData[to].numberMinted += uint128(quantity); _ownerships[startTokenId].addr = to; _ownerships[startTokenId].startTimestamp = uint64(block.timestamp); uint256 updatedIndex = startTokenId; for (uint256 i; i < quantity; i++) { emit Transfer(address(0), to, updatedIndex); if (safe) { require( _checkOnERC721Received(address(0), to, updatedIndex, _data), 'ERC721A: transfer to non ERC721Receiver implementer' ); } updatedIndex++; } currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) private { TokenOwnership memory prevOwnership = ownershipOf(tokenId); bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr || getApproved(tokenId) == _msgSender() || isApprovedForAll(prevOwnership.addr, _msgSender())); require(isApprovedOrOwner, 'ERC721A: transfer caller is not owner nor approved'); require(prevOwnership.addr == from, 'ERC721A: transfer from incorrect owner'); require(to != address(0), 'ERC721A: transfer to the zero address'); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { _addressData[from].balance -= 1; _addressData[to].balance += 1; _ownerships[tokenId].addr = to; _ownerships[tokenId].startTimestamp = uint64(block.timestamp); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; if (_ownerships[nextTokenId].addr == address(0)) { if (_exists(nextTokenId)) { _ownerships[nextTokenId].addr = prevOwnership.addr; _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert('ERC721A: transfer to non ERC721Receiver implementer'); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/ECDSA.sol) pragma solidity ^0.8.0; import "../Strings.sol"; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } else if (error == RecoverError.InvalidSignatureV) { revert("ECDSA: invalid signature 'v' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { // Check the signature length // - case 65: r,s,v signature (standard) // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._ if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else if (signature.length == 64) { bytes32 r; bytes32 vs; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) vs := mload(add(signature, 0x40)) } return tryRecover(hash, r, vs); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff); uint8 v = uint8((uint256(vs) >> 255) + 27); return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } if (v != 27 && v != 28) { return (address(0), RecoverError.InvalidSignatureV); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Message, created from `s`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// 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 v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/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/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 (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 v4.4.1 (security/Pausable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be payed in that same unit of exchange. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (interfaces/IERC165.sol) pragma solidity ^0.8.0; import "../utils/introspection/IERC165.sol";
// 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); } }
{ "remappings": [], "optimizer": { "enabled": false, "runs": 200 }, "evmVersion": "london", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"baseTokenURI_","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"address","name":"_newAddress","type":"address"}],"name":"addApprovedProxy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"messageHash","type":"bytes32"},{"internalType":"bytes","name":"signature","type":"bytes"},{"internalType":"uint256","name":"mintNumber","type":"uint256"},{"internalType":"uint256","name":"maximumAllowedMints","type":"uint256"}],"name":"allowListMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"proxyAddress","type":"address"}],"name":"flipProxyState","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":"uint256","name":"","type":"uint256"}],"name":"includedProxies","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"messageHash","type":"bytes32"},{"internalType":"bytes","name":"signature","type":"bytes"},{"internalType":"uint256","name":"mintNumber","type":"uint256"},{"internalType":"uint256","name":"maximumAllowedMints","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"ownedTokensByAddress","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"proxyToApprove","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"receiverAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"removeApprovedProxyIndex","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","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":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setMintingPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_receiverAddress","type":"address"}],"name":"setReceiverAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_signerAddress","type":"address"}],"name":"setSignerAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"totalMintsPerAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawMoney","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040526701aa535d3d0c0000600d55612710600e5573b79c8d5fd2ac5f77887769a211ce09ae9534f32e601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055503480156200007857600080fd5b50604051620066a7380380620066a783398181016040528101906200009e91906200063b565b6040518060400160405280600f81526020017f4f6e69204d616e73696f6e204e465400000000000000000000000000000000008152506040518060400160405280600281526020017f4f4d000000000000000000000000000000000000000000000000000000000000815250828282816001908051906020019062000125929190620003ee565b5080600290805190602001906200013e929190620003ee565b5050506001600781905550620001696200015d6200032060201b60201c565b6200032860201b60201c565b6000600860146101000a81548160ff02191690831515021790555080600990805190602001906200019c929190620003ee565b5030600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050600b73a5409ec958c83c3f309868babaca7c86dcb077c19080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600a600073a5409ec958c83c3f309868babaca7c86dcb077c173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555073e136fb79114c5dcf135091dcba34f302de8b1687600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050620006f1565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620003fc90620006bb565b90600052602060002090601f0160209004810192826200042057600085556200046c565b82601f106200043b57805160ff19168380011785556200046c565b828001600101855582156200046c579182015b828111156200046b5782518255916020019190600101906200044e565b5b5090506200047b91906200047f565b5090565b5b808211156200049a57600081600090555060010162000480565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200050782620004bc565b810181811067ffffffffffffffff82111715620005295762000528620004cd565b5b80604052505050565b60006200053e6200049e565b90506200054c8282620004fc565b919050565b600067ffffffffffffffff8211156200056f576200056e620004cd565b5b6200057a82620004bc565b9050602081019050919050565b60005b83811015620005a75780820151818401526020810190506200058a565b83811115620005b7576000848401525b50505050565b6000620005d4620005ce8462000551565b62000532565b905082815260208101848484011115620005f357620005f2620004b7565b5b6200060084828562000587565b509392505050565b600082601f83011262000620576200061f620004b2565b5b815162000632848260208601620005bd565b91505092915050565b600060208284031215620006545762000653620004a8565b5b600082015167ffffffffffffffff811115620006755762000674620004ad565b5b620006838482850162000608565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620006d457607f821691505b60208210811415620006eb57620006ea6200068c565b5b50919050565b615fa680620007016000396000f3fe6080604052600436106102555760003560e01c806370a0823111610139578063b9bd2801116100b6578063d5abeb011161007a578063d5abeb01146108ca578063dba028c2146108f5578063e985e9c514610932578063f2fde38b1461096f578063f73c814b14610998578063fc22e88f146109c15761025c565b8063b9bd2801146107bf578063c87b56dd146107fc578063cb65340d14610839578063cf367ee814610876578063d547cfb71461089f5761025c565b80638da5cb5b116100fd5780638da5cb5b1461070057806395d89b411461072b578063a22cb46514610756578063ac4460021461077f578063b88d4fde146107965761025c565b806370a0823114610643578063715018a6146106805780638279c7db146106975780638417b47f146106c05780638456cb59146106e95761025c565b806331fa3eb9116101d257806355f804b31161019657806355f804b3146105355780635c975abb1461055e5780636352211e146105895780636817c76c146105c65780636b7489ac146105f15780636f8b44b01461061a5761025c565b806331fa3eb91461045257806336a02c371461047b5780633f4ba83a146104b857806342842e0e146104cf5780634f6ccce7146104f85761025c565b806316fed3e21161021957806316fed3e21461035857806318160ddd1461038357806323b872dd146103ae5780632a55205a146103d75780632f745c59146104155761025c565b806301ffc9a714610261578063046dc1661461029e57806306fdde03146102c7578063081812fc146102f2578063095ea7b31461032f5761025c565b3661025c57005b600080fd5b34801561026d57600080fd5b5061028860048036038101906102839190613f5b565b6109dd565b6040516102959190613fa3565b60405180910390f35b3480156102aa57600080fd5b506102c560048036038101906102c0919061401c565b610b27565b005b3480156102d357600080fd5b506102dc610c21565b6040516102e991906140e2565b60405180910390f35b3480156102fe57600080fd5b506103196004803603810190610314919061413a565b610cb3565b6040516103269190614176565b60405180910390f35b34801561033b57600080fd5b5061035660048036038101906103519190614191565b610d38565b005b34801561036457600080fd5b5061036d610e51565b60405161037a9190614176565b60405180910390f35b34801561038f57600080fd5b50610398610e77565b6040516103a591906141e0565b60405180910390f35b3480156103ba57600080fd5b506103d560048036038101906103d091906141fb565b610e80565b005b3480156103e357600080fd5b506103fe60048036038101906103f9919061424e565b610e90565b60405161040c92919061428e565b60405180910390f35b34801561042157600080fd5b5061043c60048036038101906104379190614191565b610f1e565b60405161044991906141e0565b60405180910390f35b34801561045e57600080fd5b5061047960048036038101906104749190614352565b611110565b005b34801561048757600080fd5b506104a2600480360381019061049d919061413a565b61139f565b6040516104af9190614176565b60405180910390f35b3480156104c457600080fd5b506104cd6113de565b005b3480156104db57600080fd5b506104f660048036038101906104f191906141fb565b611464565b005b34801561050457600080fd5b5061051f600480360381019061051a919061413a565b611484565b60405161052c91906141e0565b60405180910390f35b34801561054157600080fd5b5061055c60048036038101906105579190614430565b6114d7565b005b34801561056a57600080fd5b50610573611569565b6040516105809190613fa3565b60405180910390f35b34801561059557600080fd5b506105b060048036038101906105ab919061413a565b611580565b6040516105bd9190614176565b60405180910390f35b3480156105d257600080fd5b506105db611596565b6040516105e891906141e0565b60405180910390f35b3480156105fd57600080fd5b506106186004803603810190610613919061413a565b61159c565b005b34801561062657600080fd5b50610641600480360381019061063c919061413a565b611783565b005b34801561064f57600080fd5b5061066a6004803603810190610665919061401c565b61187a565b60405161067791906141e0565b60405180910390f35b34801561068c57600080fd5b50610695611963565b005b3480156106a357600080fd5b506106be60048036038101906106b9919061401c565b6119eb565b005b3480156106cc57600080fd5b506106e760048036038101906106e2919061413a565b611ae5565b005b3480156106f557600080fd5b506106fe611b6b565b005b34801561070c57600080fd5b50610715611bf1565b6040516107229190614176565b60405180910390f35b34801561073757600080fd5b50610740611c1b565b60405161074d91906140e2565b60405180910390f35b34801561076257600080fd5b5061077d600480360381019061077891906144a9565b611cad565b005b34801561078b57600080fd5b50610794611e2e565b005b3480156107a257600080fd5b506107bd60048036038101906107b89190614619565b611faf565b005b3480156107cb57600080fd5b506107e660048036038101906107e1919061401c565b61200b565b6040516107f391906141e0565b60405180910390f35b34801561080857600080fd5b50610823600480360381019061081e919061413a565b612023565b60405161083091906140e2565b60405180910390f35b34801561084557600080fd5b50610860600480360381019061085b919061401c565b6120cb565b60405161086d9190613fa3565b60405180910390f35b34801561088257600080fd5b5061089d6004803603810190610898919061401c565b6120eb565b005b3480156108ab57600080fd5b506108b46121cd565b6040516108c191906140e2565b60405180910390f35b3480156108d657600080fd5b506108df61225b565b6040516108ec91906141e0565b60405180910390f35b34801561090157600080fd5b5061091c6004803603810190610917919061401c565b612261565b604051610929919061475a565b60405180910390f35b34801561093e57600080fd5b506109596004803603810190610954919061477c565b61230f565b6040516109669190613fa3565b60405180910390f35b34801561097b57600080fd5b506109966004803603810190610991919061401c565b6124a3565b005b3480156109a457600080fd5b506109bf60048036038101906109ba919061401c565b61259b565b005b6109db60048036038101906109d69190614352565b6126be565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610aa857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610b1057507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610b205750610b1f82612721565b5b9050919050565b610b2f61278b565b73ffffffffffffffffffffffffffffffffffffffff16610b4d611bf1565b73ffffffffffffffffffffffffffffffffffffffff1614610ba3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9a90614808565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610bdd57600080fd5b80601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b606060018054610c3090614857565b80601f0160208091040260200160405190810160405280929190818152602001828054610c5c90614857565b8015610ca95780601f10610c7e57610100808354040283529160200191610ca9565b820191906000526020600020905b815481529060010190602001808311610c8c57829003601f168201915b5050505050905090565b6000610cbe82612793565b610cfd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf4906148fb565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610d4382611580565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610db4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dab9061498d565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610dd361278b565b73ffffffffffffffffffffffffffffffffffffffff161480610e025750610e0181610dfc61278b565b61230f565b5b610e41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3890614a1f565b60405180910390fd5b610e4c8383836127a0565b505050565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008054905090565b610e8b838383612852565b505050565b600080610e9c84612793565b610edb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed290614a8b565b60405180910390fd5b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16610f13610f0c85600a612d92565b6064612da8565b915091509250929050565b6000610f298361187a565b8210610f6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6190614b1d565b60405180910390fd5b6000610f74610e77565b905060008060005b838110156110ce576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461106e57806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156110c057868414156110b757819550505050505061110a565b83806001019450505b508080600101915050610f7c565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110190614baf565b60405180910390fd5b92915050565b60026007541415611156576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114d90614c1b565b60405180910390fd5b600260078190555060018161116b9190614c6a565b82600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546111b69190614c6a565b106111f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ed90614d32565b60405180910390fd5b846112013383612dbe565b14611241576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123890614d9e565b60405180910390fd5b61128f8585858080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050612df1565b6112ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112c590614e0a565b60405180910390fd5b6001600e546112dd9190614c6a565b826112e6610e77565b6112f09190614c6a565b10611330576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132790614e76565b60405180910390fd5b81600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461137f9190614c6a565b925050819055506113903383612e66565b60016007819055505050505050565b600b81815481106113af57600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6113e661278b565b73ffffffffffffffffffffffffffffffffffffffff16611404611bf1565b73ffffffffffffffffffffffffffffffffffffffff161461145a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145190614808565b60405180910390fd5b611462612e84565b565b61147f83838360405180602001604052806000815250611faf565b505050565b600061148e610e77565b82106114cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114c690614f08565b60405180910390fd5b819050919050565b6114df61278b565b73ffffffffffffffffffffffffffffffffffffffff166114fd611bf1565b73ffffffffffffffffffffffffffffffffffffffff1614611553576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154a90614808565b60405180910390fd5b818160099190611564929190613e12565b505050565b6000600860149054906101000a900460ff16905090565b600061158b82612f26565b600001519050919050565b600d5481565b6115a461278b565b73ffffffffffffffffffffffffffffffffffffffff166115c2611bf1565b73ffffffffffffffffffffffffffffffffffffffff1614611618576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160f90614808565b60405180910390fd5b600b80549050811061165f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165690614f74565b60405180910390fd5b60008190505b6001600b805490506116779190614f94565b81101561173857600b60018261168d9190614c6a565b8154811061169e5761169d614fc8565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600b82815481106116dd576116dc614fc8565b5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808061173090614ff7565b915050611665565b50600b80548061174b5761174a615040565b5b6001900381819060005260206000200160006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055905550565b61178b61278b565b73ffffffffffffffffffffffffffffffffffffffff166117a9611bf1565b73ffffffffffffffffffffffffffffffffffffffff16146117ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f690614808565b60405180910390fd5b60001515601060149054906101000a900460ff16151514611855576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184c906150e1565b60405180910390fd5b6001601060146101000a81548160ff02191690831515021790555080600e8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156118eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e290615173565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b61196b61278b565b73ffffffffffffffffffffffffffffffffffffffff16611989611bf1565b73ffffffffffffffffffffffffffffffffffffffff16146119df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d690614808565b60405180910390fd5b6119e960006130c0565b565b6119f361278b565b73ffffffffffffffffffffffffffffffffffffffff16611a11611bf1565b73ffffffffffffffffffffffffffffffffffffffff1614611a67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5e90614808565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611aa157600080fd5b80600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611aed61278b565b73ffffffffffffffffffffffffffffffffffffffff16611b0b611bf1565b73ffffffffffffffffffffffffffffffffffffffff1614611b61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5890614808565b60405180910390fd5b80600d8190555050565b611b7361278b565b73ffffffffffffffffffffffffffffffffffffffff16611b91611bf1565b73ffffffffffffffffffffffffffffffffffffffff1614611be7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bde90614808565b60405180910390fd5b611bef613186565b565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060028054611c2a90614857565b80601f0160208091040260200160405190810160405280929190818152602001828054611c5690614857565b8015611ca35780601f10611c7857610100808354040283529160200191611ca3565b820191906000526020600020905b815481529060010190602001808311611c8657829003601f168201915b5050505050905090565b611cb561278b565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1a906151df565b60405180910390fd5b8060066000611d3061278b565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611ddd61278b565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611e229190613fa3565b60405180910390a35050565b611e3661278b565b73ffffffffffffffffffffffffffffffffffffffff16611e54611bf1565b73ffffffffffffffffffffffffffffffffffffffff1614611eaa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea190614808565b60405180910390fd5b60026007541415611ef0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ee790614c1b565b60405180910390fd5b600260078190555060003373ffffffffffffffffffffffffffffffffffffffff1647604051611f1e90615230565b60006040518083038185875af1925050503d8060008114611f5b576040519150601f19603f3d011682016040523d82523d6000602084013e611f60565b606091505b5050905080611fa4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f9b90615291565b60405180910390fd5b506001600781905550565b611fba848484612852565b611fc684848484613229565b612005576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ffc90615323565b60405180910390fd5b50505050565b600f6020528060005260406000206000915090505481565b606061202e82612793565b61206d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612064906153b5565b60405180910390fd5b60006120776133b1565b905060008151141561209857604051806020016040528060008152506120c3565b806120a284613443565b6040516020016120b3929190615411565b6040516020818303038152906040525b915050919050565b600a6020528060005260406000206000915054906101000a900460ff1681565b6120f361278b565b73ffffffffffffffffffffffffffffffffffffffff16612111611bf1565b73ffffffffffffffffffffffffffffffffffffffff1614612167576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215e90614808565b60405180910390fd5b600b819080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600980546121da90614857565b80601f016020809104026020016040519081016040528092919081815260200182805461220690614857565b80156122535780601f1061222857610100808354040283529160200191612253565b820191906000526020600020905b81548152906001019060200180831161223657829003601f168201915b505050505081565b600e5481565b6060600061226e8361187a565b905060008167ffffffffffffffff81111561228c5761228b6144ee565b5b6040519080825280602002602001820160405280156122ba5781602001602082028036833780820191505090505b50905060005b82811015612304576122d28582610f1e565b8282815181106122e5576122e4614fc8565b5b60200260200101818152505080806122fc90614ff7565b9150506122c0565b508092505050919050565b600080600090505b600b8054905081101561248f576000600b828154811061233a57612339614fc8565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506000819050600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16801561246957508473ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791886040518263ffffffff1660e01b81526004016124109190614176565b602060405180830381865afa15801561242d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124519190615473565b73ffffffffffffffffffffffffffffffffffffffff16145b1561247a576001935050505061249d565b5050808061248790614ff7565b915050612317565b5061249a83836135a4565b90505b92915050565b6124ab61278b565b73ffffffffffffffffffffffffffffffffffffffff166124c9611bf1565b73ffffffffffffffffffffffffffffffffffffffff161461251f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161251690614808565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561258f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161258690615512565b60405180910390fd5b612598816130c0565b50565b6125a361278b565b73ffffffffffffffffffffffffffffffffffffffff166125c1611bf1565b73ffffffffffffffffffffffffffffffffffffffff1614612617576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161260e90614808565b60405180910390fd5b600a60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b81600d546126cc9190615532565b341461270d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612704906155d8565b60405180910390fd5b61271a8585858585611110565b5050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b6000805482109050919050565b826005600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600061285d82612f26565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff1661288461278b565b73ffffffffffffffffffffffffffffffffffffffff1614806128e057506128a961278b565b73ffffffffffffffffffffffffffffffffffffffff166128c884610cb3565b73ffffffffffffffffffffffffffffffffffffffff16145b806128fc57506128fb82600001516128f661278b565b61230f565b5b90508061293e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129359061566a565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff16146129b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129a7906156fc565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612a20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a179061578e565b60405180910390fd5b612a2d8585856001613638565b612a3d60008484600001516127a0565b6001600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160392506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550836003600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612d2257612c8181612793565b15612d215782600001516003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612d8b858585600161363e565b5050505050565b60008183612da09190615532565b905092915050565b60008183612db691906157dd565b905092915050565b60008282604051602001612dd392919061428e565b60405160208183030381529060405280519060200120905092915050565b6000612e0e82612e0085613644565b61367490919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff16601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614905092915050565b612e8082826040518060200160405280600081525061369b565b5050565b612e8c611569565b612ecb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ec29061585a565b60405180910390fd5b6000600860146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa612f0f61278b565b604051612f1c9190614176565b60405180910390a1565b612f2e613e98565b612f3782612793565b612f76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f6d906158ec565b60405180910390fd5b60008290505b6000811061307f576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146130705780925050506130bb565b50808060019003915050612f7c565b506040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130b29061597e565b60405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61318e611569565b156131ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131c5906159ea565b60405180910390fd5b6001600860146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861321261278b565b60405161321f9190614176565b60405180910390a1565b600061324a8473ffffffffffffffffffffffffffffffffffffffff166136ad565b156133a4578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261327361278b565b8786866040518563ffffffff1660e01b81526004016132959493929190615a5f565b6020604051808303816000875af19250505080156132d157506040513d601f19601f820116820180604052508101906132ce9190615ac0565b60015b613354573d8060008114613301576040519150601f19603f3d011682016040523d82523d6000602084013e613306565b606091505b5060008151141561334c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161334390615323565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506133a9565b600190505b949350505050565b6060600980546133c090614857565b80601f01602080910402602001604051908101604052809291908181526020018280546133ec90614857565b80156134395780601f1061340e57610100808354040283529160200191613439565b820191906000526020600020905b81548152906001019060200180831161341c57829003601f168201915b5050505050905090565b6060600082141561348b576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061359f565b600082905060005b600082146134bd5780806134a690614ff7565b915050600a826134b691906157dd565b9150613493565b60008167ffffffffffffffff8111156134d9576134d86144ee565b5b6040519080825280601f01601f19166020018201604052801561350b5781602001600182028036833780820191505090505b5090505b60008514613598576001826135249190614f94565b9150600a856135339190615aed565b603061353f9190614c6a565b60f81b81838151811061355557613554614fc8565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561359191906157dd565b945061350f565b8093505050505b919050565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b50505050565b50505050565b6000816040516020016136579190615b8b565b604051602081830303815290604052805190602001209050919050565b600080600061368385856136d0565b9150915061369081613753565b819250505092915050565b6136a88383836001613928565b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000806041835114156137125760008060006020860151925060408601519150606086015160001a905061370687828585613ca6565b9450945050505061374c565b604083511415613743576000806020850151915060408501519050613738868383613db3565b93509350505061374c565b60006002915091505b9250929050565b6000600481111561376757613766615bb1565b5b81600481111561377a57613779615bb1565b5b141561378557613925565b6001600481111561379957613798615bb1565b5b8160048111156137ac576137ab615bb1565b5b14156137ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137e490615c2c565b60405180910390fd5b6002600481111561380157613800615bb1565b5b81600481111561381457613813615bb1565b5b1415613855576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161384c90615c98565b60405180910390fd5b6003600481111561386957613868615bb1565b5b81600481111561387c5761387b615bb1565b5b14156138bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138b490615d2a565b60405180910390fd5b6004808111156138d0576138cf615bb1565b5b8160048111156138e3576138e2615bb1565b5b1415613924576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161391b90615dbc565b60405180910390fd5b5b50565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16141561399e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161399590615e4e565b60405180910390fd5b60008414156139e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139d990615ee0565b60405180910390fd5b6139ef6000868387613638565b83600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555083600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160108282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550846003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060005b85811015613c8957818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48315613c7457613c346000888488613229565b613c73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c6a90615323565b60405180910390fd5b5b81806001019250508080600101915050613bbd565b508060008190555050613c9f600086838761363e565b5050505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115613ce1576000600391509150613daa565b601b8560ff1614158015613cf95750601c8560ff1614155b15613d0b576000600491509150613daa565b600060018787878760405160008152602001604052604051613d309493929190615f2b565b6020604051602081039080840390855afa158015613d52573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415613da157600060019250925050613daa565b80600092509250505b94509492505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c613df69190614c6a565b9050613e0487828885613ca6565b935093505050935093915050565b828054613e1e90614857565b90600052602060002090601f016020900481019282613e405760008555613e87565b82601f10613e5957803560ff1916838001178555613e87565b82800160010185558215613e87579182015b82811115613e86578235825591602001919060010190613e6b565b5b509050613e949190613ed2565b5090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b5b80821115613eeb576000816000905550600101613ed3565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613f3881613f03565b8114613f4357600080fd5b50565b600081359050613f5581613f2f565b92915050565b600060208284031215613f7157613f70613ef9565b5b6000613f7f84828501613f46565b91505092915050565b60008115159050919050565b613f9d81613f88565b82525050565b6000602082019050613fb86000830184613f94565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613fe982613fbe565b9050919050565b613ff981613fde565b811461400457600080fd5b50565b60008135905061401681613ff0565b92915050565b60006020828403121561403257614031613ef9565b5b600061404084828501614007565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015614083578082015181840152602081019050614068565b83811115614092576000848401525b50505050565b6000601f19601f8301169050919050565b60006140b482614049565b6140be8185614054565b93506140ce818560208601614065565b6140d781614098565b840191505092915050565b600060208201905081810360008301526140fc81846140a9565b905092915050565b6000819050919050565b61411781614104565b811461412257600080fd5b50565b6000813590506141348161410e565b92915050565b6000602082840312156141505761414f613ef9565b5b600061415e84828501614125565b91505092915050565b61417081613fde565b82525050565b600060208201905061418b6000830184614167565b92915050565b600080604083850312156141a8576141a7613ef9565b5b60006141b685828601614007565b92505060206141c785828601614125565b9150509250929050565b6141da81614104565b82525050565b60006020820190506141f560008301846141d1565b92915050565b60008060006060848603121561421457614213613ef9565b5b600061422286828701614007565b935050602061423386828701614007565b925050604061424486828701614125565b9150509250925092565b6000806040838503121561426557614264613ef9565b5b600061427385828601614125565b925050602061428485828601614125565b9150509250929050565b60006040820190506142a36000830185614167565b6142b060208301846141d1565b9392505050565b6000819050919050565b6142ca816142b7565b81146142d557600080fd5b50565b6000813590506142e7816142c1565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f840112614312576143116142ed565b5b8235905067ffffffffffffffff81111561432f5761432e6142f2565b5b60208301915083600182028301111561434b5761434a6142f7565b5b9250929050565b60008060008060006080868803121561436e5761436d613ef9565b5b600061437c888289016142d8565b955050602086013567ffffffffffffffff81111561439d5761439c613efe565b5b6143a9888289016142fc565b945094505060406143bc88828901614125565b92505060606143cd88828901614125565b9150509295509295909350565b60008083601f8401126143f0576143ef6142ed565b5b8235905067ffffffffffffffff81111561440d5761440c6142f2565b5b602083019150836001820283011115614429576144286142f7565b5b9250929050565b6000806020838503121561444757614446613ef9565b5b600083013567ffffffffffffffff81111561446557614464613efe565b5b614471858286016143da565b92509250509250929050565b61448681613f88565b811461449157600080fd5b50565b6000813590506144a38161447d565b92915050565b600080604083850312156144c0576144bf613ef9565b5b60006144ce85828601614007565b92505060206144df85828601614494565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61452682614098565b810181811067ffffffffffffffff82111715614545576145446144ee565b5b80604052505050565b6000614558613eef565b9050614564828261451d565b919050565b600067ffffffffffffffff821115614584576145836144ee565b5b61458d82614098565b9050602081019050919050565b82818337600083830152505050565b60006145bc6145b784614569565b61454e565b9050828152602081018484840111156145d8576145d76144e9565b5b6145e384828561459a565b509392505050565b600082601f830112614600576145ff6142ed565b5b81356146108482602086016145a9565b91505092915050565b6000806000806080858703121561463357614632613ef9565b5b600061464187828801614007565b945050602061465287828801614007565b935050604061466387828801614125565b925050606085013567ffffffffffffffff81111561468457614683613efe565b5b614690878288016145eb565b91505092959194509250565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6146d181614104565b82525050565b60006146e383836146c8565b60208301905092915050565b6000602082019050919050565b60006147078261469c565b61471181856146a7565b935061471c836146b8565b8060005b8381101561474d57815161473488826146d7565b975061473f836146ef565b925050600181019050614720565b5085935050505092915050565b6000602082019050818103600083015261477481846146fc565b905092915050565b6000806040838503121561479357614792613ef9565b5b60006147a185828601614007565b92505060206147b285828601614007565b9150509250929050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006147f2602083614054565b91506147fd826147bc565b602082019050919050565b60006020820190508181036000830152614821816147e5565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061486f57607f821691505b6020821081141561488357614882614828565b5b50919050565b7f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560008201527f78697374656e7420746f6b656e00000000000000000000000000000000000000602082015250565b60006148e5602d83614054565b91506148f082614889565b604082019050919050565b60006020820190508181036000830152614914816148d8565b9050919050565b7f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b6000614977602283614054565b91506149828261491b565b604082019050919050565b600060208201905081810360008301526149a68161496a565b9050919050565b7f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000602082015250565b6000614a09603983614054565b9150614a14826149ad565b604082019050919050565b60006020820190508181036000830152614a38816149fc565b9050919050565b7f4e6f6e6578697374656e7420746f6b656e000000000000000000000000000000600082015250565b6000614a75601183614054565b9150614a8082614a3f565b602082019050919050565b60006020820190508181036000830152614aa481614a68565b9050919050565b7f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60008201527f6473000000000000000000000000000000000000000000000000000000000000602082015250565b6000614b07602283614054565b9150614b1282614aab565b604082019050919050565b60006020820190508181036000830152614b3681614afa565b9050919050565b7f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060008201527f6f776e657220627920696e646578000000000000000000000000000000000000602082015250565b6000614b99602e83614054565b9150614ba482614b3d565b604082019050919050565b60006020820190508181036000830152614bc881614b8c565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000614c05601f83614054565b9150614c1082614bcf565b602082019050919050565b60006020820190508181036000830152614c3481614bf8565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614c7582614104565b9150614c8083614104565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614cb557614cb4614c3b565b5b828201905092915050565b7f4d696e744e756d626572206973206d6f7265207468616e206d6178696d756d4160008201527f6c6c6f7765644d696e74732e0000000000000000000000000000000000000000602082015250565b6000614d1c602c83614054565b9150614d2782614cc0565b604082019050919050565b60006020820190508181036000830152614d4b81614d0f565b9050919050565b7f4d4553534147455f494e56414c49440000000000000000000000000000000000600082015250565b6000614d88600f83614054565b9150614d9382614d52565b602082019050919050565b60006020820190508181036000830152614db781614d7b565b9050919050565b7f5349474e41545552455f56414c49444154494f4e5f4641494c45440000000000600082015250565b6000614df4601b83614054565b9150614dff82614dbe565b602082019050919050565b60006020820190508181036000830152614e2381614de7565b9050919050565b7f4d617820537570706c7920526561636865640000000000000000000000000000600082015250565b6000614e60601283614054565b9150614e6b82614e2a565b602082019050919050565b60006020820190508181036000830152614e8f81614e53565b9050919050565b7f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560008201527f6e64730000000000000000000000000000000000000000000000000000000000602082015250565b6000614ef2602383614054565b9150614efd82614e96565b604082019050919050565b60006020820190508181036000830152614f2181614ee5565b9050919050565b7f417272617920646f6573206e6f742068617665207468697320696e6465780000600082015250565b6000614f5e601e83614054565b9150614f6982614f28565b602082019050919050565b60006020820190508181036000830152614f8d81614f51565b9050919050565b6000614f9f82614104565b9150614faa83614104565b925082821015614fbd57614fbc614c3b565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600061500282614104565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561503557615034614c3b565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f546865206d6178696d756d20737570706c792077617320616c7265616479207360008201527f65742e0000000000000000000000000000000000000000000000000000000000602082015250565b60006150cb602383614054565b91506150d68261506f565b604082019050919050565b600060208201905081810360008301526150fa816150be565b9050919050565b7f455243373231413a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b600061515d602b83614054565b915061516882615101565b604082019050919050565b6000602082019050818103600083015261518c81615150565b9050919050565b7f455243373231413a20617070726f766520746f2063616c6c6572000000000000600082015250565b60006151c9601a83614054565b91506151d482615193565b602082019050919050565b600060208201905081810360008301526151f8816151bc565b9050919050565b600081905092915050565b50565b600061521a6000836151ff565b91506152258261520a565b600082019050919050565b600061523b8261520d565b9150819050919050565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b600061527b601083614054565b915061528682615245565b602082019050919050565b600060208201905081810360008301526152aa8161526e565b9050919050565b7f455243373231413a207472616e7366657220746f206e6f6e204552433732315260008201527f6563656976657220696d706c656d656e74657200000000000000000000000000602082015250565b600061530d603383614054565b9150615318826152b1565b604082019050919050565b6000602082019050818103600083015261533c81615300565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b600061539f602f83614054565b91506153aa82615343565b604082019050919050565b600060208201905081810360008301526153ce81615392565b9050919050565b600081905092915050565b60006153eb82614049565b6153f581856153d5565b9350615405818560208601614065565b80840191505092915050565b600061541d82856153e0565b915061542982846153e0565b91508190509392505050565b600061544082613fde565b9050919050565b61545081615435565b811461545b57600080fd5b50565b60008151905061546d81615447565b92915050565b60006020828403121561548957615488613ef9565b5b60006154978482850161545e565b91505092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006154fc602683614054565b9150615507826154a0565b604082019050919050565b6000602082019050818103600083015261552b816154ef565b9050919050565b600061553d82614104565b915061554883614104565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561558157615580614c3b565b5b828202905092915050565b7f494e56414c49445f505249434500000000000000000000000000000000000000600082015250565b60006155c2600d83614054565b91506155cd8261558c565b602082019050919050565b600060208201905081810360008301526155f1816155b5565b9050919050565b7f455243373231413a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b6000615654603283614054565b915061565f826155f8565b604082019050919050565b6000602082019050818103600083015261568381615647565b9050919050565b7f455243373231413a207472616e736665722066726f6d20696e636f727265637460008201527f206f776e65720000000000000000000000000000000000000000000000000000602082015250565b60006156e6602683614054565b91506156f18261568a565b604082019050919050565b60006020820190508181036000830152615715816156d9565b9050919050565b7f455243373231413a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000615778602583614054565b91506157838261571c565b604082019050919050565b600060208201905081810360008301526157a78161576b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006157e882614104565b91506157f383614104565b925082615803576158026157ae565b5b828204905092915050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b6000615844601483614054565b915061584f8261580e565b602082019050919050565b6000602082019050818103600083015261587381615837565b9050919050565b7f455243373231413a206f776e657220717565727920666f72206e6f6e6578697360008201527f74656e7420746f6b656e00000000000000000000000000000000000000000000602082015250565b60006158d6602a83614054565b91506158e18261587a565b604082019050919050565b60006020820190508181036000830152615905816158c9565b9050919050565b7f455243373231413a20756e61626c6520746f2064657465726d696e652074686560008201527f206f776e6572206f6620746f6b656e0000000000000000000000000000000000602082015250565b6000615968602f83614054565b91506159738261590c565b604082019050919050565b600060208201905081810360008301526159978161595b565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b60006159d4601083614054565b91506159df8261599e565b602082019050919050565b60006020820190508181036000830152615a03816159c7565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000615a3182615a0a565b615a3b8185615a15565b9350615a4b818560208601614065565b615a5481614098565b840191505092915050565b6000608082019050615a746000830187614167565b615a816020830186614167565b615a8e60408301856141d1565b8181036060830152615aa08184615a26565b905095945050505050565b600081519050615aba81613f2f565b92915050565b600060208284031215615ad657615ad5613ef9565b5b6000615ae484828501615aab565b91505092915050565b6000615af882614104565b9150615b0383614104565b925082615b1357615b126157ae565b5b828206905092915050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b6000615b54601c836153d5565b9150615b5f82615b1e565b601c82019050919050565b6000819050919050565b615b85615b80826142b7565b615b6a565b82525050565b6000615b9682615b47565b9150615ba28284615b74565b60208201915081905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b6000615c16601883614054565b9150615c2182615be0565b602082019050919050565b60006020820190508181036000830152615c4581615c09565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b6000615c82601f83614054565b9150615c8d82615c4c565b602082019050919050565b60006020820190508181036000830152615cb181615c75565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000615d14602283614054565b9150615d1f82615cb8565b604082019050919050565b60006020820190508181036000830152615d4381615d07565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000615da6602283614054565b9150615db182615d4a565b604082019050919050565b60006020820190508181036000830152615dd581615d99565b9050919050565b7f455243373231413a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000615e38602183614054565b9150615e4382615ddc565b604082019050919050565b60006020820190508181036000830152615e6781615e2b565b9050919050565b7f455243373231413a207175616e74697479206d7573742062652067726561746560008201527f72207468616e2030000000000000000000000000000000000000000000000000602082015250565b6000615eca602883614054565b9150615ed582615e6e565b604082019050919050565b60006020820190508181036000830152615ef981615ebd565b9050919050565b615f09816142b7565b82525050565b600060ff82169050919050565b615f2581615f0f565b82525050565b6000608082019050615f406000830187615f00565b615f4d6020830186615f1c565b615f5a6040830185615f00565b615f676060830184615f00565b9594505050505056fea26469706673582212200ad7ced80c5c957cdd5dc5efedc1aed10695a604bda0935659f80acebb889df864736f6c634300080c00330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001c68747470733a2f2f6f6e6973717561642e67672f6170692f6f6e692f00000000
Deployed Bytecode
0x6080604052600436106102555760003560e01c806370a0823111610139578063b9bd2801116100b6578063d5abeb011161007a578063d5abeb01146108ca578063dba028c2146108f5578063e985e9c514610932578063f2fde38b1461096f578063f73c814b14610998578063fc22e88f146109c15761025c565b8063b9bd2801146107bf578063c87b56dd146107fc578063cb65340d14610839578063cf367ee814610876578063d547cfb71461089f5761025c565b80638da5cb5b116100fd5780638da5cb5b1461070057806395d89b411461072b578063a22cb46514610756578063ac4460021461077f578063b88d4fde146107965761025c565b806370a0823114610643578063715018a6146106805780638279c7db146106975780638417b47f146106c05780638456cb59146106e95761025c565b806331fa3eb9116101d257806355f804b31161019657806355f804b3146105355780635c975abb1461055e5780636352211e146105895780636817c76c146105c65780636b7489ac146105f15780636f8b44b01461061a5761025c565b806331fa3eb91461045257806336a02c371461047b5780633f4ba83a146104b857806342842e0e146104cf5780634f6ccce7146104f85761025c565b806316fed3e21161021957806316fed3e21461035857806318160ddd1461038357806323b872dd146103ae5780632a55205a146103d75780632f745c59146104155761025c565b806301ffc9a714610261578063046dc1661461029e57806306fdde03146102c7578063081812fc146102f2578063095ea7b31461032f5761025c565b3661025c57005b600080fd5b34801561026d57600080fd5b5061028860048036038101906102839190613f5b565b6109dd565b6040516102959190613fa3565b60405180910390f35b3480156102aa57600080fd5b506102c560048036038101906102c0919061401c565b610b27565b005b3480156102d357600080fd5b506102dc610c21565b6040516102e991906140e2565b60405180910390f35b3480156102fe57600080fd5b506103196004803603810190610314919061413a565b610cb3565b6040516103269190614176565b60405180910390f35b34801561033b57600080fd5b5061035660048036038101906103519190614191565b610d38565b005b34801561036457600080fd5b5061036d610e51565b60405161037a9190614176565b60405180910390f35b34801561038f57600080fd5b50610398610e77565b6040516103a591906141e0565b60405180910390f35b3480156103ba57600080fd5b506103d560048036038101906103d091906141fb565b610e80565b005b3480156103e357600080fd5b506103fe60048036038101906103f9919061424e565b610e90565b60405161040c92919061428e565b60405180910390f35b34801561042157600080fd5b5061043c60048036038101906104379190614191565b610f1e565b60405161044991906141e0565b60405180910390f35b34801561045e57600080fd5b5061047960048036038101906104749190614352565b611110565b005b34801561048757600080fd5b506104a2600480360381019061049d919061413a565b61139f565b6040516104af9190614176565b60405180910390f35b3480156104c457600080fd5b506104cd6113de565b005b3480156104db57600080fd5b506104f660048036038101906104f191906141fb565b611464565b005b34801561050457600080fd5b5061051f600480360381019061051a919061413a565b611484565b60405161052c91906141e0565b60405180910390f35b34801561054157600080fd5b5061055c60048036038101906105579190614430565b6114d7565b005b34801561056a57600080fd5b50610573611569565b6040516105809190613fa3565b60405180910390f35b34801561059557600080fd5b506105b060048036038101906105ab919061413a565b611580565b6040516105bd9190614176565b60405180910390f35b3480156105d257600080fd5b506105db611596565b6040516105e891906141e0565b60405180910390f35b3480156105fd57600080fd5b506106186004803603810190610613919061413a565b61159c565b005b34801561062657600080fd5b50610641600480360381019061063c919061413a565b611783565b005b34801561064f57600080fd5b5061066a6004803603810190610665919061401c565b61187a565b60405161067791906141e0565b60405180910390f35b34801561068c57600080fd5b50610695611963565b005b3480156106a357600080fd5b506106be60048036038101906106b9919061401c565b6119eb565b005b3480156106cc57600080fd5b506106e760048036038101906106e2919061413a565b611ae5565b005b3480156106f557600080fd5b506106fe611b6b565b005b34801561070c57600080fd5b50610715611bf1565b6040516107229190614176565b60405180910390f35b34801561073757600080fd5b50610740611c1b565b60405161074d91906140e2565b60405180910390f35b34801561076257600080fd5b5061077d600480360381019061077891906144a9565b611cad565b005b34801561078b57600080fd5b50610794611e2e565b005b3480156107a257600080fd5b506107bd60048036038101906107b89190614619565b611faf565b005b3480156107cb57600080fd5b506107e660048036038101906107e1919061401c565b61200b565b6040516107f391906141e0565b60405180910390f35b34801561080857600080fd5b50610823600480360381019061081e919061413a565b612023565b60405161083091906140e2565b60405180910390f35b34801561084557600080fd5b50610860600480360381019061085b919061401c565b6120cb565b60405161086d9190613fa3565b60405180910390f35b34801561088257600080fd5b5061089d6004803603810190610898919061401c565b6120eb565b005b3480156108ab57600080fd5b506108b46121cd565b6040516108c191906140e2565b60405180910390f35b3480156108d657600080fd5b506108df61225b565b6040516108ec91906141e0565b60405180910390f35b34801561090157600080fd5b5061091c6004803603810190610917919061401c565b612261565b604051610929919061475a565b60405180910390f35b34801561093e57600080fd5b506109596004803603810190610954919061477c565b61230f565b6040516109669190613fa3565b60405180910390f35b34801561097b57600080fd5b506109966004803603810190610991919061401c565b6124a3565b005b3480156109a457600080fd5b506109bf60048036038101906109ba919061401c565b61259b565b005b6109db60048036038101906109d69190614352565b6126be565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610aa857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610b1057507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610b205750610b1f82612721565b5b9050919050565b610b2f61278b565b73ffffffffffffffffffffffffffffffffffffffff16610b4d611bf1565b73ffffffffffffffffffffffffffffffffffffffff1614610ba3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9a90614808565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610bdd57600080fd5b80601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b606060018054610c3090614857565b80601f0160208091040260200160405190810160405280929190818152602001828054610c5c90614857565b8015610ca95780601f10610c7e57610100808354040283529160200191610ca9565b820191906000526020600020905b815481529060010190602001808311610c8c57829003601f168201915b5050505050905090565b6000610cbe82612793565b610cfd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf4906148fb565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610d4382611580565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610db4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dab9061498d565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610dd361278b565b73ffffffffffffffffffffffffffffffffffffffff161480610e025750610e0181610dfc61278b565b61230f565b5b610e41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3890614a1f565b60405180910390fd5b610e4c8383836127a0565b505050565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008054905090565b610e8b838383612852565b505050565b600080610e9c84612793565b610edb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed290614a8b565b60405180910390fd5b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16610f13610f0c85600a612d92565b6064612da8565b915091509250929050565b6000610f298361187a565b8210610f6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6190614b1d565b60405180910390fd5b6000610f74610e77565b905060008060005b838110156110ce576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461106e57806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156110c057868414156110b757819550505050505061110a565b83806001019450505b508080600101915050610f7c565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110190614baf565b60405180910390fd5b92915050565b60026007541415611156576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114d90614c1b565b60405180910390fd5b600260078190555060018161116b9190614c6a565b82600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546111b69190614c6a565b106111f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ed90614d32565b60405180910390fd5b846112013383612dbe565b14611241576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123890614d9e565b60405180910390fd5b61128f8585858080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050612df1565b6112ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112c590614e0a565b60405180910390fd5b6001600e546112dd9190614c6a565b826112e6610e77565b6112f09190614c6a565b10611330576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132790614e76565b60405180910390fd5b81600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461137f9190614c6a565b925050819055506113903383612e66565b60016007819055505050505050565b600b81815481106113af57600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6113e661278b565b73ffffffffffffffffffffffffffffffffffffffff16611404611bf1565b73ffffffffffffffffffffffffffffffffffffffff161461145a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145190614808565b60405180910390fd5b611462612e84565b565b61147f83838360405180602001604052806000815250611faf565b505050565b600061148e610e77565b82106114cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114c690614f08565b60405180910390fd5b819050919050565b6114df61278b565b73ffffffffffffffffffffffffffffffffffffffff166114fd611bf1565b73ffffffffffffffffffffffffffffffffffffffff1614611553576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154a90614808565b60405180910390fd5b818160099190611564929190613e12565b505050565b6000600860149054906101000a900460ff16905090565b600061158b82612f26565b600001519050919050565b600d5481565b6115a461278b565b73ffffffffffffffffffffffffffffffffffffffff166115c2611bf1565b73ffffffffffffffffffffffffffffffffffffffff1614611618576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160f90614808565b60405180910390fd5b600b80549050811061165f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165690614f74565b60405180910390fd5b60008190505b6001600b805490506116779190614f94565b81101561173857600b60018261168d9190614c6a565b8154811061169e5761169d614fc8565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600b82815481106116dd576116dc614fc8565b5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808061173090614ff7565b915050611665565b50600b80548061174b5761174a615040565b5b6001900381819060005260206000200160006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055905550565b61178b61278b565b73ffffffffffffffffffffffffffffffffffffffff166117a9611bf1565b73ffffffffffffffffffffffffffffffffffffffff16146117ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f690614808565b60405180910390fd5b60001515601060149054906101000a900460ff16151514611855576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184c906150e1565b60405180910390fd5b6001601060146101000a81548160ff02191690831515021790555080600e8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156118eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e290615173565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b61196b61278b565b73ffffffffffffffffffffffffffffffffffffffff16611989611bf1565b73ffffffffffffffffffffffffffffffffffffffff16146119df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d690614808565b60405180910390fd5b6119e960006130c0565b565b6119f361278b565b73ffffffffffffffffffffffffffffffffffffffff16611a11611bf1565b73ffffffffffffffffffffffffffffffffffffffff1614611a67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5e90614808565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611aa157600080fd5b80600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611aed61278b565b73ffffffffffffffffffffffffffffffffffffffff16611b0b611bf1565b73ffffffffffffffffffffffffffffffffffffffff1614611b61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5890614808565b60405180910390fd5b80600d8190555050565b611b7361278b565b73ffffffffffffffffffffffffffffffffffffffff16611b91611bf1565b73ffffffffffffffffffffffffffffffffffffffff1614611be7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bde90614808565b60405180910390fd5b611bef613186565b565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060028054611c2a90614857565b80601f0160208091040260200160405190810160405280929190818152602001828054611c5690614857565b8015611ca35780601f10611c7857610100808354040283529160200191611ca3565b820191906000526020600020905b815481529060010190602001808311611c8657829003601f168201915b5050505050905090565b611cb561278b565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d1a906151df565b60405180910390fd5b8060066000611d3061278b565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611ddd61278b565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611e229190613fa3565b60405180910390a35050565b611e3661278b565b73ffffffffffffffffffffffffffffffffffffffff16611e54611bf1565b73ffffffffffffffffffffffffffffffffffffffff1614611eaa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea190614808565b60405180910390fd5b60026007541415611ef0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ee790614c1b565b60405180910390fd5b600260078190555060003373ffffffffffffffffffffffffffffffffffffffff1647604051611f1e90615230565b60006040518083038185875af1925050503d8060008114611f5b576040519150601f19603f3d011682016040523d82523d6000602084013e611f60565b606091505b5050905080611fa4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f9b90615291565b60405180910390fd5b506001600781905550565b611fba848484612852565b611fc684848484613229565b612005576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ffc90615323565b60405180910390fd5b50505050565b600f6020528060005260406000206000915090505481565b606061202e82612793565b61206d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612064906153b5565b60405180910390fd5b60006120776133b1565b905060008151141561209857604051806020016040528060008152506120c3565b806120a284613443565b6040516020016120b3929190615411565b6040516020818303038152906040525b915050919050565b600a6020528060005260406000206000915054906101000a900460ff1681565b6120f361278b565b73ffffffffffffffffffffffffffffffffffffffff16612111611bf1565b73ffffffffffffffffffffffffffffffffffffffff1614612167576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215e90614808565b60405180910390fd5b600b819080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600980546121da90614857565b80601f016020809104026020016040519081016040528092919081815260200182805461220690614857565b80156122535780601f1061222857610100808354040283529160200191612253565b820191906000526020600020905b81548152906001019060200180831161223657829003601f168201915b505050505081565b600e5481565b6060600061226e8361187a565b905060008167ffffffffffffffff81111561228c5761228b6144ee565b5b6040519080825280602002602001820160405280156122ba5781602001602082028036833780820191505090505b50905060005b82811015612304576122d28582610f1e565b8282815181106122e5576122e4614fc8565b5b60200260200101818152505080806122fc90614ff7565b9150506122c0565b508092505050919050565b600080600090505b600b8054905081101561248f576000600b828154811061233a57612339614fc8565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506000819050600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16801561246957508473ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791886040518263ffffffff1660e01b81526004016124109190614176565b602060405180830381865afa15801561242d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124519190615473565b73ffffffffffffffffffffffffffffffffffffffff16145b1561247a576001935050505061249d565b5050808061248790614ff7565b915050612317565b5061249a83836135a4565b90505b92915050565b6124ab61278b565b73ffffffffffffffffffffffffffffffffffffffff166124c9611bf1565b73ffffffffffffffffffffffffffffffffffffffff161461251f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161251690614808565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561258f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161258690615512565b60405180910390fd5b612598816130c0565b50565b6125a361278b565b73ffffffffffffffffffffffffffffffffffffffff166125c1611bf1565b73ffffffffffffffffffffffffffffffffffffffff1614612617576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161260e90614808565b60405180910390fd5b600a60008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b81600d546126cc9190615532565b341461270d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612704906155d8565b60405180910390fd5b61271a8585858585611110565b5050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b6000805482109050919050565b826005600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600061285d82612f26565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff1661288461278b565b73ffffffffffffffffffffffffffffffffffffffff1614806128e057506128a961278b565b73ffffffffffffffffffffffffffffffffffffffff166128c884610cb3565b73ffffffffffffffffffffffffffffffffffffffff16145b806128fc57506128fb82600001516128f661278b565b61230f565b5b90508061293e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129359061566a565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff16146129b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129a7906156fc565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612a20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a179061578e565b60405180910390fd5b612a2d8585856001613638565b612a3d60008484600001516127a0565b6001600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160392506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550836003600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612d2257612c8181612793565b15612d215782600001516003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612d8b858585600161363e565b5050505050565b60008183612da09190615532565b905092915050565b60008183612db691906157dd565b905092915050565b60008282604051602001612dd392919061428e565b60405160208183030381529060405280519060200120905092915050565b6000612e0e82612e0085613644565b61367490919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff16601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614905092915050565b612e8082826040518060200160405280600081525061369b565b5050565b612e8c611569565b612ecb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ec29061585a565b60405180910390fd5b6000600860146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa612f0f61278b565b604051612f1c9190614176565b60405180910390a1565b612f2e613e98565b612f3782612793565b612f76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f6d906158ec565b60405180910390fd5b60008290505b6000811061307f576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146130705780925050506130bb565b50808060019003915050612f7c565b506040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130b29061597e565b60405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61318e611569565b156131ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131c5906159ea565b60405180910390fd5b6001600860146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861321261278b565b60405161321f9190614176565b60405180910390a1565b600061324a8473ffffffffffffffffffffffffffffffffffffffff166136ad565b156133a4578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261327361278b565b8786866040518563ffffffff1660e01b81526004016132959493929190615a5f565b6020604051808303816000875af19250505080156132d157506040513d601f19601f820116820180604052508101906132ce9190615ac0565b60015b613354573d8060008114613301576040519150601f19603f3d011682016040523d82523d6000602084013e613306565b606091505b5060008151141561334c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161334390615323565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506133a9565b600190505b949350505050565b6060600980546133c090614857565b80601f01602080910402602001604051908101604052809291908181526020018280546133ec90614857565b80156134395780601f1061340e57610100808354040283529160200191613439565b820191906000526020600020905b81548152906001019060200180831161341c57829003601f168201915b5050505050905090565b6060600082141561348b576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061359f565b600082905060005b600082146134bd5780806134a690614ff7565b915050600a826134b691906157dd565b9150613493565b60008167ffffffffffffffff8111156134d9576134d86144ee565b5b6040519080825280601f01601f19166020018201604052801561350b5781602001600182028036833780820191505090505b5090505b60008514613598576001826135249190614f94565b9150600a856135339190615aed565b603061353f9190614c6a565b60f81b81838151811061355557613554614fc8565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561359191906157dd565b945061350f565b8093505050505b919050565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b50505050565b50505050565b6000816040516020016136579190615b8b565b604051602081830303815290604052805190602001209050919050565b600080600061368385856136d0565b9150915061369081613753565b819250505092915050565b6136a88383836001613928565b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000806041835114156137125760008060006020860151925060408601519150606086015160001a905061370687828585613ca6565b9450945050505061374c565b604083511415613743576000806020850151915060408501519050613738868383613db3565b93509350505061374c565b60006002915091505b9250929050565b6000600481111561376757613766615bb1565b5b81600481111561377a57613779615bb1565b5b141561378557613925565b6001600481111561379957613798615bb1565b5b8160048111156137ac576137ab615bb1565b5b14156137ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137e490615c2c565b60405180910390fd5b6002600481111561380157613800615bb1565b5b81600481111561381457613813615bb1565b5b1415613855576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161384c90615c98565b60405180910390fd5b6003600481111561386957613868615bb1565b5b81600481111561387c5761387b615bb1565b5b14156138bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138b490615d2a565b60405180910390fd5b6004808111156138d0576138cf615bb1565b5b8160048111156138e3576138e2615bb1565b5b1415613924576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161391b90615dbc565b60405180910390fd5b5b50565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16141561399e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161399590615e4e565b60405180910390fd5b60008414156139e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139d990615ee0565b60405180910390fd5b6139ef6000868387613638565b83600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555083600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160108282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550846003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060005b85811015613c8957818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48315613c7457613c346000888488613229565b613c73576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c6a90615323565b60405180910390fd5b5b81806001019250508080600101915050613bbd565b508060008190555050613c9f600086838761363e565b5050505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115613ce1576000600391509150613daa565b601b8560ff1614158015613cf95750601c8560ff1614155b15613d0b576000600491509150613daa565b600060018787878760405160008152602001604052604051613d309493929190615f2b565b6020604051602081039080840390855afa158015613d52573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415613da157600060019250925050613daa565b80600092509250505b94509492505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c613df69190614c6a565b9050613e0487828885613ca6565b935093505050935093915050565b828054613e1e90614857565b90600052602060002090601f016020900481019282613e405760008555613e87565b82601f10613e5957803560ff1916838001178555613e87565b82800160010185558215613e87579182015b82811115613e86578235825591602001919060010190613e6b565b5b509050613e949190613ed2565b5090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b5b80821115613eeb576000816000905550600101613ed3565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613f3881613f03565b8114613f4357600080fd5b50565b600081359050613f5581613f2f565b92915050565b600060208284031215613f7157613f70613ef9565b5b6000613f7f84828501613f46565b91505092915050565b60008115159050919050565b613f9d81613f88565b82525050565b6000602082019050613fb86000830184613f94565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613fe982613fbe565b9050919050565b613ff981613fde565b811461400457600080fd5b50565b60008135905061401681613ff0565b92915050565b60006020828403121561403257614031613ef9565b5b600061404084828501614007565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015614083578082015181840152602081019050614068565b83811115614092576000848401525b50505050565b6000601f19601f8301169050919050565b60006140b482614049565b6140be8185614054565b93506140ce818560208601614065565b6140d781614098565b840191505092915050565b600060208201905081810360008301526140fc81846140a9565b905092915050565b6000819050919050565b61411781614104565b811461412257600080fd5b50565b6000813590506141348161410e565b92915050565b6000602082840312156141505761414f613ef9565b5b600061415e84828501614125565b91505092915050565b61417081613fde565b82525050565b600060208201905061418b6000830184614167565b92915050565b600080604083850312156141a8576141a7613ef9565b5b60006141b685828601614007565b92505060206141c785828601614125565b9150509250929050565b6141da81614104565b82525050565b60006020820190506141f560008301846141d1565b92915050565b60008060006060848603121561421457614213613ef9565b5b600061422286828701614007565b935050602061423386828701614007565b925050604061424486828701614125565b9150509250925092565b6000806040838503121561426557614264613ef9565b5b600061427385828601614125565b925050602061428485828601614125565b9150509250929050565b60006040820190506142a36000830185614167565b6142b060208301846141d1565b9392505050565b6000819050919050565b6142ca816142b7565b81146142d557600080fd5b50565b6000813590506142e7816142c1565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f840112614312576143116142ed565b5b8235905067ffffffffffffffff81111561432f5761432e6142f2565b5b60208301915083600182028301111561434b5761434a6142f7565b5b9250929050565b60008060008060006080868803121561436e5761436d613ef9565b5b600061437c888289016142d8565b955050602086013567ffffffffffffffff81111561439d5761439c613efe565b5b6143a9888289016142fc565b945094505060406143bc88828901614125565b92505060606143cd88828901614125565b9150509295509295909350565b60008083601f8401126143f0576143ef6142ed565b5b8235905067ffffffffffffffff81111561440d5761440c6142f2565b5b602083019150836001820283011115614429576144286142f7565b5b9250929050565b6000806020838503121561444757614446613ef9565b5b600083013567ffffffffffffffff81111561446557614464613efe565b5b614471858286016143da565b92509250509250929050565b61448681613f88565b811461449157600080fd5b50565b6000813590506144a38161447d565b92915050565b600080604083850312156144c0576144bf613ef9565b5b60006144ce85828601614007565b92505060206144df85828601614494565b9150509250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61452682614098565b810181811067ffffffffffffffff82111715614545576145446144ee565b5b80604052505050565b6000614558613eef565b9050614564828261451d565b919050565b600067ffffffffffffffff821115614584576145836144ee565b5b61458d82614098565b9050602081019050919050565b82818337600083830152505050565b60006145bc6145b784614569565b61454e565b9050828152602081018484840111156145d8576145d76144e9565b5b6145e384828561459a565b509392505050565b600082601f830112614600576145ff6142ed565b5b81356146108482602086016145a9565b91505092915050565b6000806000806080858703121561463357614632613ef9565b5b600061464187828801614007565b945050602061465287828801614007565b935050604061466387828801614125565b925050606085013567ffffffffffffffff81111561468457614683613efe565b5b614690878288016145eb565b91505092959194509250565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b6146d181614104565b82525050565b60006146e383836146c8565b60208301905092915050565b6000602082019050919050565b60006147078261469c565b61471181856146a7565b935061471c836146b8565b8060005b8381101561474d57815161473488826146d7565b975061473f836146ef565b925050600181019050614720565b5085935050505092915050565b6000602082019050818103600083015261477481846146fc565b905092915050565b6000806040838503121561479357614792613ef9565b5b60006147a185828601614007565b92505060206147b285828601614007565b9150509250929050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006147f2602083614054565b91506147fd826147bc565b602082019050919050565b60006020820190508181036000830152614821816147e5565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061486f57607f821691505b6020821081141561488357614882614828565b5b50919050565b7f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560008201527f78697374656e7420746f6b656e00000000000000000000000000000000000000602082015250565b60006148e5602d83614054565b91506148f082614889565b604082019050919050565b60006020820190508181036000830152614914816148d8565b9050919050565b7f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b6000614977602283614054565b91506149828261491b565b604082019050919050565b600060208201905081810360008301526149a68161496a565b9050919050565b7f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000602082015250565b6000614a09603983614054565b9150614a14826149ad565b604082019050919050565b60006020820190508181036000830152614a38816149fc565b9050919050565b7f4e6f6e6578697374656e7420746f6b656e000000000000000000000000000000600082015250565b6000614a75601183614054565b9150614a8082614a3f565b602082019050919050565b60006020820190508181036000830152614aa481614a68565b9050919050565b7f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60008201527f6473000000000000000000000000000000000000000000000000000000000000602082015250565b6000614b07602283614054565b9150614b1282614aab565b604082019050919050565b60006020820190508181036000830152614b3681614afa565b9050919050565b7f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060008201527f6f776e657220627920696e646578000000000000000000000000000000000000602082015250565b6000614b99602e83614054565b9150614ba482614b3d565b604082019050919050565b60006020820190508181036000830152614bc881614b8c565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000614c05601f83614054565b9150614c1082614bcf565b602082019050919050565b60006020820190508181036000830152614c3481614bf8565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614c7582614104565b9150614c8083614104565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614cb557614cb4614c3b565b5b828201905092915050565b7f4d696e744e756d626572206973206d6f7265207468616e206d6178696d756d4160008201527f6c6c6f7765644d696e74732e0000000000000000000000000000000000000000602082015250565b6000614d1c602c83614054565b9150614d2782614cc0565b604082019050919050565b60006020820190508181036000830152614d4b81614d0f565b9050919050565b7f4d4553534147455f494e56414c49440000000000000000000000000000000000600082015250565b6000614d88600f83614054565b9150614d9382614d52565b602082019050919050565b60006020820190508181036000830152614db781614d7b565b9050919050565b7f5349474e41545552455f56414c49444154494f4e5f4641494c45440000000000600082015250565b6000614df4601b83614054565b9150614dff82614dbe565b602082019050919050565b60006020820190508181036000830152614e2381614de7565b9050919050565b7f4d617820537570706c7920526561636865640000000000000000000000000000600082015250565b6000614e60601283614054565b9150614e6b82614e2a565b602082019050919050565b60006020820190508181036000830152614e8f81614e53565b9050919050565b7f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560008201527f6e64730000000000000000000000000000000000000000000000000000000000602082015250565b6000614ef2602383614054565b9150614efd82614e96565b604082019050919050565b60006020820190508181036000830152614f2181614ee5565b9050919050565b7f417272617920646f6573206e6f742068617665207468697320696e6465780000600082015250565b6000614f5e601e83614054565b9150614f6982614f28565b602082019050919050565b60006020820190508181036000830152614f8d81614f51565b9050919050565b6000614f9f82614104565b9150614faa83614104565b925082821015614fbd57614fbc614c3b565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600061500282614104565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561503557615034614c3b565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f546865206d6178696d756d20737570706c792077617320616c7265616479207360008201527f65742e0000000000000000000000000000000000000000000000000000000000602082015250565b60006150cb602383614054565b91506150d68261506f565b604082019050919050565b600060208201905081810360008301526150fa816150be565b9050919050565b7f455243373231413a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b600061515d602b83614054565b915061516882615101565b604082019050919050565b6000602082019050818103600083015261518c81615150565b9050919050565b7f455243373231413a20617070726f766520746f2063616c6c6572000000000000600082015250565b60006151c9601a83614054565b91506151d482615193565b602082019050919050565b600060208201905081810360008301526151f8816151bc565b9050919050565b600081905092915050565b50565b600061521a6000836151ff565b91506152258261520a565b600082019050919050565b600061523b8261520d565b9150819050919050565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b600061527b601083614054565b915061528682615245565b602082019050919050565b600060208201905081810360008301526152aa8161526e565b9050919050565b7f455243373231413a207472616e7366657220746f206e6f6e204552433732315260008201527f6563656976657220696d706c656d656e74657200000000000000000000000000602082015250565b600061530d603383614054565b9150615318826152b1565b604082019050919050565b6000602082019050818103600083015261533c81615300565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b600061539f602f83614054565b91506153aa82615343565b604082019050919050565b600060208201905081810360008301526153ce81615392565b9050919050565b600081905092915050565b60006153eb82614049565b6153f581856153d5565b9350615405818560208601614065565b80840191505092915050565b600061541d82856153e0565b915061542982846153e0565b91508190509392505050565b600061544082613fde565b9050919050565b61545081615435565b811461545b57600080fd5b50565b60008151905061546d81615447565b92915050565b60006020828403121561548957615488613ef9565b5b60006154978482850161545e565b91505092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006154fc602683614054565b9150615507826154a0565b604082019050919050565b6000602082019050818103600083015261552b816154ef565b9050919050565b600061553d82614104565b915061554883614104565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561558157615580614c3b565b5b828202905092915050565b7f494e56414c49445f505249434500000000000000000000000000000000000000600082015250565b60006155c2600d83614054565b91506155cd8261558c565b602082019050919050565b600060208201905081810360008301526155f1816155b5565b9050919050565b7f455243373231413a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b6000615654603283614054565b915061565f826155f8565b604082019050919050565b6000602082019050818103600083015261568381615647565b9050919050565b7f455243373231413a207472616e736665722066726f6d20696e636f727265637460008201527f206f776e65720000000000000000000000000000000000000000000000000000602082015250565b60006156e6602683614054565b91506156f18261568a565b604082019050919050565b60006020820190508181036000830152615715816156d9565b9050919050565b7f455243373231413a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000615778602583614054565b91506157838261571c565b604082019050919050565b600060208201905081810360008301526157a78161576b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006157e882614104565b91506157f383614104565b925082615803576158026157ae565b5b828204905092915050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b6000615844601483614054565b915061584f8261580e565b602082019050919050565b6000602082019050818103600083015261587381615837565b9050919050565b7f455243373231413a206f776e657220717565727920666f72206e6f6e6578697360008201527f74656e7420746f6b656e00000000000000000000000000000000000000000000602082015250565b60006158d6602a83614054565b91506158e18261587a565b604082019050919050565b60006020820190508181036000830152615905816158c9565b9050919050565b7f455243373231413a20756e61626c6520746f2064657465726d696e652074686560008201527f206f776e6572206f6620746f6b656e0000000000000000000000000000000000602082015250565b6000615968602f83614054565b91506159738261590c565b604082019050919050565b600060208201905081810360008301526159978161595b565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b60006159d4601083614054565b91506159df8261599e565b602082019050919050565b60006020820190508181036000830152615a03816159c7565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000615a3182615a0a565b615a3b8185615a15565b9350615a4b818560208601614065565b615a5481614098565b840191505092915050565b6000608082019050615a746000830187614167565b615a816020830186614167565b615a8e60408301856141d1565b8181036060830152615aa08184615a26565b905095945050505050565b600081519050615aba81613f2f565b92915050565b600060208284031215615ad657615ad5613ef9565b5b6000615ae484828501615aab565b91505092915050565b6000615af882614104565b9150615b0383614104565b925082615b1357615b126157ae565b5b828206905092915050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b6000615b54601c836153d5565b9150615b5f82615b1e565b601c82019050919050565b6000819050919050565b615b85615b80826142b7565b615b6a565b82525050565b6000615b9682615b47565b9150615ba28284615b74565b60208201915081905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b6000615c16601883614054565b9150615c2182615be0565b602082019050919050565b60006020820190508181036000830152615c4581615c09565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b6000615c82601f83614054565b9150615c8d82615c4c565b602082019050919050565b60006020820190508181036000830152615cb181615c75565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000615d14602283614054565b9150615d1f82615cb8565b604082019050919050565b60006020820190508181036000830152615d4381615d07565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000615da6602283614054565b9150615db182615d4a565b604082019050919050565b60006020820190508181036000830152615dd581615d99565b9050919050565b7f455243373231413a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000615e38602183614054565b9150615e4382615ddc565b604082019050919050565b60006020820190508181036000830152615e6781615e2b565b9050919050565b7f455243373231413a207175616e74697479206d7573742062652067726561746560008201527f72207468616e2030000000000000000000000000000000000000000000000000602082015250565b6000615eca602883614054565b9150615ed582615e6e565b604082019050919050565b60006020820190508181036000830152615ef981615ebd565b9050919050565b615f09816142b7565b82525050565b600060ff82169050919050565b615f2581615f0f565b82525050565b6000608082019050615f406000830187615f00565b615f4d6020830186615f1c565b615f5a6040830185615f00565b615f676060830184615f00565b9594505050505056fea26469706673582212200ad7ced80c5c957cdd5dc5efedc1aed10695a604bda0935659f80acebb889df864736f6c634300080c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001c68747470733a2f2f6f6e6973717561642e67672f6170692f6f6e692f00000000
-----Decoded View---------------
Arg [0] : baseTokenURI_ (string): https://onisquad.gg/api/oni/
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 000000000000000000000000000000000000000000000000000000000000001c
Arg [2] : 68747470733a2f2f6f6e6973717561642e67672f6170692f6f6e692f00000000
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.