ERC-721
Overview
Max Total Supply
1,000 RZST
Holders
458
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 RZSTLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Spacetime
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity Standard Json-Input format)
/** *Submitted for verification at Etherscan.io on 2021-07-30 */ // SPDX-License-Identifier: MIT // File: @openzeppelin/contracts/utils/Context.sol pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/utils/introspection/IERC165.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol"; import "@openzeppelin/contracts/utils/structs/EnumerableMap.sol"; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; // ============================================================= SpacetimeS ============================================================================ // pragma abicoder v2; contract Spacetime is ERC721Enumerable, Ownable { using SafeMath for uint256; // price of a SpaceTime uint256 public constant spacetimePrice = 150000000000000000; // 0.15 ETH // max number of Spacetime to purchase uint public constant MAX_SPACETIME_PURCHASE = 20; // max number of SPACETIME overall uint256 public constant MAX_SPACETIMES = 1000; // is sale active? bool public saleIsActive = false; // token name string private _name; // base uri string private _mybaseuri; // mapping from token ID to name mapping (uint256 => string) public spacetimeNames; // mapping from tokenid mapping (uint256 => bool) public mintedTokens; // mapping from tokenid mapping (uint256 => bool) public nameSet; // event for setting name of a SPACETIME event NameChange (uint256 indexed nameIndex, string newName); // Reserve 13 spacetimes for promotional purposes uint public SPACETIME_RESERVE = 20; constructor() ERC721("RIBONZ:Spacetime", "RZST") { } function withdraw(address payable _owner) public onlyOwner { uint balance = address(this).balance; //FIXFIX make sure this is good _owner.transfer(balance); } function reserveSpacetimes(address _to, uint256 _reserveAmount) public onlyOwner { uint supply = totalSupply(); require(_reserveAmount > 0 && _reserveAmount <= SPACETIME_RESERVE, "Not enough reserve left for team"); for (uint i = 0; i < _reserveAmount; i++) { _safeMint(_to, supply + i); } SPACETIME_RESERVE = SPACETIME_RESERVE.sub(_reserveAmount); } // override base class function _baseURI() internal override view virtual returns (string memory) { return _mybaseuri; } function setBaseURI(string memory baseURI) public onlyOwner { _mybaseuri = baseURI; } function flipSaleState() public onlyOwner { saleIsActive = !saleIsActive; } function tokensOfOwner(address _owner) external view returns(uint256[] memory ) { uint256 tokenCount = balanceOf(_owner); if (tokenCount == 0) { // Return an empty array return new uint256[](0); } else { uint256[] memory result = new uint256[](tokenCount); uint256 index; for (index = 0; index < tokenCount; index++) { result[index] = tokenOfOwnerByIndex(_owner, index); } return result; } } function setSpacetimeName(uint256 _tokenId, string calldata _currName) public { address owner = ownerOf(_tokenId); require(msg.sender == owner, "not the owner"); require(nameSet[_tokenId] == false, "name already set"); nameSet[_tokenId] = true; spacetimeNames[_tokenId] = _currName; emit NameChange(_tokenId, _currName); // user can set any name. } function viewSpacetimeName(uint _tokenId) public view returns(string memory){ require( _tokenId < totalSupply(), "choose an spacetime within range" ); return spacetimeNames[_tokenId]; } function mintSpacetime(uint _numberOfTokens) public payable { require(saleIsActive, "Sale is not active yet!"); require(_numberOfTokens > 0 && _numberOfTokens <= MAX_SPACETIME_PURCHASE, "you can mint only so many"); require(totalSupply().add(_numberOfTokens) <= MAX_SPACETIMES, "no no, supply exceeded"); require(msg.value >= spacetimePrice.mul(_numberOfTokens), "insufficient eth baby"); for(uint i = 0; i < _numberOfTokens; i++) { uint mintIndex = totalSupply(); if (totalSupply() < MAX_SPACETIMES) { _safeMint(msg.sender, mintIndex); mintedTokens[mintIndex] = true; } } } }
// SPDX-License-Identifier: MIT 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 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 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 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 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 tokenId); /** * @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 pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT 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 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 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 no longer needed starting with Solidity 0.8. 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 pragma solidity ^0.8.0; /** * @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 * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 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 pragma solidity ^0.8.0; /** * @dev Library for managing * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive * types. * * Sets have the following properties: * * - Elements are added, removed, and checked for existence in constant time * (O(1)). * - Elements are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableSet for EnumerableSet.AddressSet; * * // Declare a set state variable * EnumerableSet.AddressSet private mySet; * } * ``` * * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`) * and `uint256` (`UintSet`) are supported. */ library EnumerableSet { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Set type with // bytes32 values. // The Set implementation uses private functions, and user-facing // implementations (such as AddressSet) are just wrappers around the // underlying Set. // This means that we can only create new EnumerableSets for types that fit // in bytes32. struct Set { // Storage of set values bytes32[] _values; // Position of the value in the `values` array, plus 1 because index 0 // means a value is not in the set. mapping(bytes32 => uint256) _indexes; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function _add(Set storage set, bytes32 value) private returns (bool) { if (!_contains(set, value)) { set._values.push(value); // The value is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value set._indexes[value] = set._values.length; return true; } else { return false; } } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function _remove(Set storage set, bytes32 value) private returns (bool) { // We read and store the value's index to prevent multiple reads from the same storage slot uint256 valueIndex = set._indexes[value]; if (valueIndex != 0) { // Equivalent to contains(set, value) // To delete an element from the _values array in O(1), we swap the element to delete with the last one in // the array, and then remove the last element (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = valueIndex - 1; uint256 lastIndex = set._values.length - 1; if (lastIndex != toDeleteIndex) { bytes32 lastvalue = set._values[lastIndex]; // Move the last value to the index where the value to delete is set._values[toDeleteIndex] = lastvalue; // Update the index for the moved value set._indexes[lastvalue] = valueIndex; // Replace lastvalue's index to valueIndex } // Delete the slot where the moved value was stored set._values.pop(); // Delete the index for the deleted slot delete set._indexes[value]; return true; } else { return false; } } /** * @dev Returns true if the value is in the set. O(1). */ function _contains(Set storage set, bytes32 value) private view returns (bool) { return set._indexes[value] != 0; } /** * @dev Returns the number of values on the set. O(1). */ function _length(Set storage set) private view returns (uint256) { return set._values.length; } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Set storage set, uint256 index) private view returns (bytes32) { return set._values[index]; } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function _values(Set storage set) private view returns (bytes32[] memory) { return set._values; } // Bytes32Set struct Bytes32Set { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _add(set._inner, value); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _remove(set._inner, value); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) { return _contains(set._inner, value); } /** * @dev Returns the number of values in the set. O(1). */ function length(Bytes32Set storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) { return _at(set._inner, index); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(Bytes32Set storage set) internal view returns (bytes32[] memory) { return _values(set._inner); } // AddressSet struct AddressSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(AddressSet storage set, address value) internal returns (bool) { return _add(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(AddressSet storage set, address value) internal returns (bool) { return _remove(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(AddressSet storage set, address value) internal view returns (bool) { return _contains(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns the number of values in the set. O(1). */ function length(AddressSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(AddressSet storage set, uint256 index) internal view returns (address) { return address(uint160(uint256(_at(set._inner, index)))); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(AddressSet storage set) internal view returns (address[] memory) { bytes32[] memory store = _values(set._inner); address[] memory result; assembly { result := store } return result; } // UintSet struct UintSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(UintSet storage set, uint256 value) internal returns (bool) { return _add(set._inner, bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(UintSet storage set, uint256 value) internal returns (bool) { return _remove(set._inner, bytes32(value)); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(UintSet storage set, uint256 value) internal view returns (bool) { return _contains(set._inner, bytes32(value)); } /** * @dev Returns the number of values on the set. O(1). */ function length(UintSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintSet storage set, uint256 index) internal view returns (uint256) { return uint256(_at(set._inner, index)); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(UintSet storage set) internal view returns (uint256[] memory) { bytes32[] memory store = _values(set._inner); uint256[] memory result; assembly { result := store } return result; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./EnumerableSet.sol"; /** * @dev Library for managing an enumerable variant of Solidity's * https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`] * type. * * Maps have the following properties: * * - Entries are added, removed, and checked for existence in constant time * (O(1)). * - Entries are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableMap for EnumerableMap.UintToAddressMap; * * // Declare a set state variable * EnumerableMap.UintToAddressMap private myMap; * } * ``` * * As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are * supported. */ library EnumerableMap { using EnumerableSet for EnumerableSet.Bytes32Set; // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Map type with // bytes32 keys and values. // The Map implementation uses private functions, and user-facing // implementations (such as Uint256ToAddressMap) are just wrappers around // the underlying Map. // This means that we can only create new EnumerableMaps for types that fit // in bytes32. struct Map { // Storage of keys EnumerableSet.Bytes32Set _keys; mapping(bytes32 => bytes32) _values; } /** * @dev Adds a key-value pair to a map, or updates the value for an existing * key. O(1). * * Returns true if the key was added to the map, that is if it was not * already present. */ function _set( Map storage map, bytes32 key, bytes32 value ) private returns (bool) { map._values[key] = value; return map._keys.add(key); } /** * @dev Removes a key-value pair from a map. O(1). * * Returns true if the key was removed from the map, that is if it was present. */ function _remove(Map storage map, bytes32 key) private returns (bool) { delete map._values[key]; return map._keys.remove(key); } /** * @dev Returns true if the key is in the map. O(1). */ function _contains(Map storage map, bytes32 key) private view returns (bool) { return map._keys.contains(key); } /** * @dev Returns the number of key-value pairs in the map. O(1). */ function _length(Map storage map) private view returns (uint256) { return map._keys.length(); } /** * @dev Returns the key-value pair stored at position `index` in the map. O(1). * * Note that there are no guarantees on the ordering of entries inside the * array, and it may change when more entries are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Map storage map, uint256 index) private view returns (bytes32, bytes32) { bytes32 key = map._keys.at(index); return (key, map._values[key]); } /** * @dev Tries to returns the value associated with `key`. O(1). * Does not revert if `key` is not in the map. */ function _tryGet(Map storage map, bytes32 key) private view returns (bool, bytes32) { bytes32 value = map._values[key]; if (value == bytes32(0)) { return (_contains(map, key), bytes32(0)); } else { return (true, value); } } /** * @dev Returns the value associated with `key`. O(1). * * Requirements: * * - `key` must be in the map. */ function _get(Map storage map, bytes32 key) private view returns (bytes32) { bytes32 value = map._values[key]; require(value != 0 || _contains(map, key), "EnumerableMap: nonexistent key"); return value; } /** * @dev Same as {_get}, with a custom error message when `key` is not in the map. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {_tryGet}. */ function _get( Map storage map, bytes32 key, string memory errorMessage ) private view returns (bytes32) { bytes32 value = map._values[key]; require(value != 0 || _contains(map, key), errorMessage); return value; } // UintToAddressMap struct UintToAddressMap { Map _inner; } /** * @dev Adds a key-value pair to a map, or updates the value for an existing * key. O(1). * * Returns true if the key was added to the map, that is if it was not * already present. */ function set( UintToAddressMap storage map, uint256 key, address value ) internal returns (bool) { return _set(map._inner, bytes32(key), bytes32(uint256(uint160(value)))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the key was removed from the map, that is if it was present. */ function remove(UintToAddressMap storage map, uint256 key) internal returns (bool) { return _remove(map._inner, bytes32(key)); } /** * @dev Returns true if the key is in the map. O(1). */ function contains(UintToAddressMap storage map, uint256 key) internal view returns (bool) { return _contains(map._inner, bytes32(key)); } /** * @dev Returns the number of elements in the map. O(1). */ function length(UintToAddressMap storage map) internal view returns (uint256) { return _length(map._inner); } /** * @dev Returns the element stored at position `index` in the set. O(1). * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintToAddressMap storage map, uint256 index) internal view returns (uint256, address) { (bytes32 key, bytes32 value) = _at(map._inner, index); return (uint256(key), address(uint160(uint256(value)))); } /** * @dev Tries to returns the value associated with `key`. O(1). * Does not revert if `key` is not in the map. * * _Available since v3.4._ */ function tryGet(UintToAddressMap storage map, uint256 key) internal view returns (bool, address) { (bool success, bytes32 value) = _tryGet(map._inner, bytes32(key)); return (success, address(uint160(uint256(value)))); } /** * @dev Returns the value associated with `key`. O(1). * * Requirements: * * - `key` must be in the map. */ function get(UintToAddressMap storage map, uint256 key) internal view returns (address) { return address(uint160(uint256(_get(map._inner, bytes32(key))))); } /** * @dev Same as {get}, with a custom error message when `key` is not in the map. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryGet}. */ function get( UintToAddressMap storage map, uint256 key, string memory errorMessage ) internal view returns (address) { return address(uint160(uint256(_get(map._inner, bytes32(key), errorMessage)))); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // 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; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @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 virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: 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 virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @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. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: 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`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * 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 ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), 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.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT 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() { _setOwner(_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 { _setOwner(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"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT 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); } }
{ "optimizer": { "enabled": true, "runs": 200 }, "evmVersion": "london", "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"nameIndex","type":"uint256"},{"indexed":false,"internalType":"string","name":"newName","type":"string"}],"name":"NameChange","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_SPACETIMES","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SPACETIME_PURCHASE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SPACETIME_RESERVE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipSaleState","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":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_numberOfTokens","type":"uint256"}],"name":"mintSpacetime","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"mintedTokens","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"nameSet","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_reserveAmount","type":"uint256"}],"name":"reserveSpacetimes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"string","name":"_currName","type":"string"}],"name":"setSpacetimeName","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"spacetimeNames","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"spacetimePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"_owner","type":"address"}],"name":"tokensOfOwner","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":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"viewSpacetimeName","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"_owner","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052600a805460ff60a01b1916905560146010553480156200002357600080fd5b50604080518082018252601081526f5249424f4e5a3a537061636574696d6560801b602080830191825283518085019094526004845263149694d560e21b908401528151919291620000789160009162000107565b5080516200008e90600190602084019062000107565b505050620000ab620000a5620000b160201b60201c565b620000b5565b620001ea565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200011590620001ad565b90600052602060002090601f01602090048101928262000139576000855562000184565b82601f106200015457805160ff191683800117855562000184565b8280016001018555821562000184579182015b828111156200018457825182559160200191906001019062000167565b506200019292915062000196565b5090565b5b8082111562000192576000815560010162000197565b600181811c90821680620001c257607f821691505b60208210811415620001e457634e487b7160e01b600052602260045260246000fd5b50919050565b6126ff80620001fa6000396000f3fe6080604052600436106102045760003560e01c806362fc4f8d1161011857806395d89b41116100a0578063b88d4fde1161006f578063b88d4fde146105d3578063c87b56dd146105f3578063e985e9c514610613578063eb8d24441461065c578063f2fde38b1461067d57600080fd5b806395d89b41146105725780639e6fc07314610587578063a22cb4651461059d578063b2d92135146105bd57600080fd5b806372a16e5a116100e757806372a16e5a146104a75780637ef758d4146104d75780638462151c146105075780638da5cb5b14610534578063902f18d31461055257600080fd5b806362fc4f8d1461043f5780636352211e1461045257806370a0823114610472578063715018a61461049257600080fd5b806334918dfd1161019b57806351cff8d91161016a57806351cff8d9146103ae57806355f804b3146103ce5780635775aaf2146103ee57806359f214f21461040e5780635c6c768e1461042357600080fd5b806334918dfd146103395780633bf79a571461034e57806342842e0e1461036e5780634f6ccce71461038e57600080fd5b806318160ddd116101d757806318160ddd146102ba57806323b872dd146102d95780632adf9347146102f95780632f745c591461031957600080fd5b806301ffc9a71461020957806306fdde031461023e578063081812fc14610260578063095ea7b314610298575b600080fd5b34801561021557600080fd5b50610229610224366004612230565b61069d565b60405190151581526020015b60405180910390f35b34801561024a57600080fd5b506102536106c8565b6040516102359190612453565b34801561026c57600080fd5b5061028061027b3660046122b3565b61075a565b6040516001600160a01b039091168152602001610235565b3480156102a457600080fd5b506102b86102b3366004612204565b6107f4565b005b3480156102c657600080fd5b506008545b604051908152602001610235565b3480156102e557600080fd5b506102b86102f4366004612110565b61090a565b34801561030557600080fd5b506102b8610314366004612204565b61093b565b34801561032557600080fd5b506102cb610334366004612204565b610a16565b34801561034557600080fd5b506102b8610aac565b34801561035a57600080fd5b506102536103693660046122b3565b610af7565b34801561037a57600080fd5b506102b8610389366004612110565b610b91565b34801561039a57600080fd5b506102cb6103a93660046122b3565b610bac565b3480156103ba57600080fd5b506102b86103c93660046120ba565b610c3f565b3480156103da57600080fd5b506102b86103e936600461226a565b610ca1565b3480156103fa57600080fd5b506102b86104093660046122cc565b610ce2565b34801561041a57600080fd5b506102cb601481565b34801561042f57600080fd5b506102cb670214e8348c4f000081565b6102b861044d3660046122b3565b610df8565b34801561045e57600080fd5b5061028061046d3660046122b3565b610fc5565b34801561047e57600080fd5b506102cb61048d3660046120ba565b61103c565b34801561049e57600080fd5b506102b86110c3565b3480156104b357600080fd5b506102296104c23660046122b3565b600f6020526000908152604090205460ff1681565b3480156104e357600080fd5b506102296104f23660046122b3565b600e6020526000908152604090205460ff1681565b34801561051357600080fd5b506105276105223660046120ba565b6110f9565b60405161023591906123e0565b34801561054057600080fd5b50600a546001600160a01b0316610280565b34801561055e57600080fd5b5061025361056d3660046122b3565b6111b8565b34801561057e57600080fd5b506102536112af565b34801561059357600080fd5b506102cb60105481565b3480156105a957600080fd5b506102b86105b83660046121d1565b6112be565b3480156105c957600080fd5b506102cb6103e881565b3480156105df57600080fd5b506102b86105ee366004612151565b611383565b3480156105ff57600080fd5b5061025361060e3660046122b3565b6113bb565b34801561061f57600080fd5b5061022961062e3660046120d7565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561066857600080fd5b50600a5461022990600160a01b900460ff1681565b34801561068957600080fd5b506102b86106983660046120ba565b611496565b60006001600160e01b0319821663780e9d6360e01b14806106c257506106c282611531565b92915050565b6060600080546106d7906125cc565b80601f0160208091040260200160405190810160405280929190818152602001828054610703906125cc565b80156107505780601f1061072557610100808354040283529160200191610750565b820191906000526020600020905b81548152906001019060200180831161073357829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166107d85760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006107ff82610fc5565b9050806001600160a01b0316836001600160a01b0316141561086d5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016107cf565b336001600160a01b03821614806108895750610889813361062e565b6108fb5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016107cf565b6109058383611581565b505050565b61091433826115ef565b6109305760405162461bcd60e51b81526004016107cf906124ed565b6109058383836116e6565b600a546001600160a01b031633146109655760405162461bcd60e51b81526004016107cf906124b8565b600061097060085490565b905060008211801561098457506010548211155b6109d05760405162461bcd60e51b815260206004820181905260248201527f4e6f7420656e6f7567682072657365727665206c65667420666f72207465616d60448201526064016107cf565b60005b82811015610a00576109ee846109e9838561253e565b611891565b806109f881612601565b9150506109d3565b50601054610a0e90836118ab565b601055505050565b6000610a218361103c565b8210610a835760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016107cf565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a546001600160a01b03163314610ad65760405162461bcd60e51b81526004016107cf906124b8565b600a805460ff60a01b198116600160a01b9182900460ff1615909102179055565b600d6020526000908152604090208054610b10906125cc565b80601f0160208091040260200160405190810160405280929190818152602001828054610b3c906125cc565b8015610b895780601f10610b5e57610100808354040283529160200191610b89565b820191906000526020600020905b815481529060010190602001808311610b6c57829003601f168201915b505050505081565b61090583838360405180602001604052806000815250611383565b6000610bb760085490565b8210610c1a5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016107cf565b60088281548110610c2d57610c2d612672565b90600052602060002001549050919050565b600a546001600160a01b03163314610c695760405162461bcd60e51b81526004016107cf906124b8565b60405147906001600160a01b0383169082156108fc029083906000818181858888f19350505050158015610905573d6000803e3d6000fd5b600a546001600160a01b03163314610ccb5760405162461bcd60e51b81526004016107cf906124b8565b8051610cde90600c906020840190611f37565b5050565b6000610ced84610fc5565b9050336001600160a01b03821614610d375760405162461bcd60e51b815260206004820152600d60248201526c3737ba103a34329037bbb732b960991b60448201526064016107cf565b6000848152600f602052604090205460ff1615610d895760405162461bcd60e51b815260206004820152601060248201526f1b985b5948185b1c9958591e481cd95d60821b60448201526064016107cf565b6000848152600f60209081526040808320805460ff19166001179055600d9091529020610db7908484611fbb565b50837f7e632a301794d8d4a81ea7e20f37d1947158d36e66403af04ba85dd194b66f1b8484604051610dea929190612424565b60405180910390a250505050565b600a54600160a01b900460ff16610e515760405162461bcd60e51b815260206004820152601760248201527f53616c65206973206e6f7420616374697665207965742100000000000000000060448201526064016107cf565b600081118015610e62575060148111155b610eae5760405162461bcd60e51b815260206004820152601960248201527f796f752063616e206d696e74206f6e6c7920736f206d616e790000000000000060448201526064016107cf565b6103e8610ec482610ebe60085490565b906118b7565b1115610f0b5760405162461bcd60e51b81526020600482015260166024820152751b9bc81b9bcb081cdd5c1c1b1e48195e18d95959195960521b60448201526064016107cf565b610f1d670214e8348c4f0000826118c3565b341015610f645760405162461bcd60e51b8152602060048201526015602482015274696e73756666696369656e7420657468206261627960581b60448201526064016107cf565b60005b81811015610cde576000610f7a60085490565b90506103e8610f8860085490565b1015610fb257610f983382611891565b6000818152600e60205260409020805460ff191660011790555b5080610fbd81612601565b915050610f67565b6000818152600260205260408120546001600160a01b0316806106c25760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016107cf565b60006001600160a01b0382166110a75760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016107cf565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b031633146110ed5760405162461bcd60e51b81526004016107cf906124b8565b6110f760006118cf565b565b606060006111068361103c565b9050806111275760408051600080825260208201909252905b509392505050565b60008167ffffffffffffffff81111561114257611142612688565b60405190808252806020026020018201604052801561116b578160200160208202803683370190505b50905060005b8281101561111f576111838582610a16565b82828151811061119557611195612672565b6020908102919091010152806111aa81612601565b915050611171565b50919050565b60606111c360085490565b82106112115760405162461bcd60e51b815260206004820181905260248201527f63686f6f736520616e20737061636574696d652077697468696e2072616e676560448201526064016107cf565b6000828152600d60205260409020805461122a906125cc565b80601f0160208091040260200160405190810160405280929190818152602001828054611256906125cc565b80156112a35780601f10611278576101008083540402835291602001916112a3565b820191906000526020600020905b81548152906001019060200180831161128657829003601f168201915b50505050509050919050565b6060600180546106d7906125cc565b6001600160a01b0382163314156113175760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016107cf565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61138d33836115ef565b6113a95760405162461bcd60e51b81526004016107cf906124ed565b6113b584848484611921565b50505050565b6000818152600260205260409020546060906001600160a01b031661143a5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016107cf565b6000611444611954565b90506000815111611464576040518060200160405280600081525061148f565b8061146e84611963565b60405160200161147f929190612374565b6040516020818303038152906040525b9392505050565b600a546001600160a01b031633146114c05760405162461bcd60e51b81526004016107cf906124b8565b6001600160a01b0381166115255760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107cf565b61152e816118cf565b50565b60006001600160e01b031982166380ac58cd60e01b148061156257506001600160e01b03198216635b5e139f60e01b145b806106c257506301ffc9a760e01b6001600160e01b03198316146106c2565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906115b682610fc5565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166116685760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016107cf565b600061167383610fc5565b9050806001600160a01b0316846001600160a01b031614806116ae5750836001600160a01b03166116a38461075a565b6001600160a01b0316145b806116de57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166116f982610fc5565b6001600160a01b0316146117615760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016107cf565b6001600160a01b0382166117c35760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016107cf565b6117ce838383611a61565b6117d9600082611581565b6001600160a01b0383166000908152600360205260408120805460019290611802908490612589565b90915550506001600160a01b038216600090815260036020526040812080546001929061183090849061253e565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b610cde828260405180602001604052806000815250611b19565b600061148f8284612589565b600061148f828461253e565b600061148f828461256a565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61192c8484846116e6565b61193884848484611b4c565b6113b55760405162461bcd60e51b81526004016107cf90612466565b6060600c80546106d7906125cc565b6060816119875750506040805180820190915260018152600360fc1b602082015290565b8160005b81156119b1578061199b81612601565b91506119aa9050600a83612556565b915061198b565b60008167ffffffffffffffff8111156119cc576119cc612688565b6040519080825280601f01601f1916602001820160405280156119f6576020820181803683370190505b5090505b84156116de57611a0b600183612589565b9150611a18600a8661261c565b611a2390603061253e565b60f81b818381518110611a3857611a38612672565b60200101906001600160f81b031916908160001a905350611a5a600a86612556565b94506119fa565b6001600160a01b038316611abc57611ab781600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611adf565b816001600160a01b0316836001600160a01b031614611adf57611adf8382611c59565b6001600160a01b038216611af65761090581611cf6565b826001600160a01b0316826001600160a01b031614610905576109058282611da5565b611b238383611de9565b611b306000848484611b4c565b6109055760405162461bcd60e51b81526004016107cf90612466565b60006001600160a01b0384163b15611c4e57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611b909033908990889088906004016123a3565b602060405180830381600087803b158015611baa57600080fd5b505af1925050508015611bda575060408051601f3d908101601f19168201909252611bd79181019061224d565b60015b611c34573d808015611c08576040519150601f19603f3d011682016040523d82523d6000602084013e611c0d565b606091505b508051611c2c5760405162461bcd60e51b81526004016107cf90612466565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506116de565b506001949350505050565b60006001611c668461103c565b611c709190612589565b600083815260076020526040902054909150808214611cc3576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090611d0890600190612589565b60008381526009602052604081205460088054939450909284908110611d3057611d30612672565b906000526020600020015490508060088381548110611d5157611d51612672565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480611d8957611d8961265c565b6001900381819060005260206000200160009055905550505050565b6000611db08361103c565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b038216611e3f5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016107cf565b6000818152600260205260409020546001600160a01b031615611ea45760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016107cf565b611eb060008383611a61565b6001600160a01b0382166000908152600360205260408120805460019290611ed990849061253e565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054611f43906125cc565b90600052602060002090601f016020900481019282611f655760008555611fab565b82601f10611f7e57805160ff1916838001178555611fab565b82800160010185558215611fab579182015b82811115611fab578251825591602001919060010190611f90565b50611fb792915061202f565b5090565b828054611fc7906125cc565b90600052602060002090601f016020900481019282611fe95760008555611fab565b82601f106120025782800160ff19823516178555611fab565b82800160010185558215611fab579182015b82811115611fab578235825591602001919060010190612014565b5b80821115611fb75760008155600101612030565b600067ffffffffffffffff8084111561205f5761205f612688565b604051601f8501601f19908116603f0116810190828211818310171561208757612087612688565b816040528093508581528686860111156120a057600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156120cc57600080fd5b813561148f8161269e565b600080604083850312156120ea57600080fd5b82356120f58161269e565b915060208301356121058161269e565b809150509250929050565b60008060006060848603121561212557600080fd5b83356121308161269e565b925060208401356121408161269e565b929592945050506040919091013590565b6000806000806080858703121561216757600080fd5b84356121728161269e565b935060208501356121828161269e565b925060408501359150606085013567ffffffffffffffff8111156121a557600080fd5b8501601f810187136121b657600080fd5b6121c587823560208401612044565b91505092959194509250565b600080604083850312156121e457600080fd5b82356121ef8161269e565b91506020830135801515811461210557600080fd5b6000806040838503121561221757600080fd5b82356122228161269e565b946020939093013593505050565b60006020828403121561224257600080fd5b813561148f816126b3565b60006020828403121561225f57600080fd5b815161148f816126b3565b60006020828403121561227c57600080fd5b813567ffffffffffffffff81111561229357600080fd5b8201601f810184136122a457600080fd5b6116de84823560208401612044565b6000602082840312156122c557600080fd5b5035919050565b6000806000604084860312156122e157600080fd5b83359250602084013567ffffffffffffffff8082111561230057600080fd5b818601915086601f83011261231457600080fd5b81358181111561232357600080fd5b87602082850101111561233557600080fd5b6020830194508093505050509250925092565b600081518084526123608160208601602086016125a0565b601f01601f19169290920160200192915050565b600083516123868184602088016125a0565b83519083019061239a8183602088016125a0565b01949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906123d690830184612348565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015612418578351835292840192918401916001016123fc565b50909695505050505050565b60208152816020820152818360408301376000818301604090810191909152601f909201601f19160101919050565b60208152600061148f6020830184612348565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6000821982111561255157612551612630565b500190565b60008261256557612565612646565b500490565b600081600019048311821515161561258457612584612630565b500290565b60008282101561259b5761259b612630565b500390565b60005b838110156125bb5781810151838201526020016125a3565b838111156113b55750506000910152565b600181811c908216806125e057607f821691505b602082108114156111b257634e487b7160e01b600052602260045260246000fd5b600060001982141561261557612615612630565b5060010190565b60008261262b5761262b612646565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461152e57600080fd5b6001600160e01b03198116811461152e57600080fdfea2646970667358221220e37d7a1f3b28dcab815bd0f5d2a10f4e96222d8022c5e5e9055b70077e5cd8eb64736f6c63430008070033
Deployed Bytecode
0x6080604052600436106102045760003560e01c806362fc4f8d1161011857806395d89b41116100a0578063b88d4fde1161006f578063b88d4fde146105d3578063c87b56dd146105f3578063e985e9c514610613578063eb8d24441461065c578063f2fde38b1461067d57600080fd5b806395d89b41146105725780639e6fc07314610587578063a22cb4651461059d578063b2d92135146105bd57600080fd5b806372a16e5a116100e757806372a16e5a146104a75780637ef758d4146104d75780638462151c146105075780638da5cb5b14610534578063902f18d31461055257600080fd5b806362fc4f8d1461043f5780636352211e1461045257806370a0823114610472578063715018a61461049257600080fd5b806334918dfd1161019b57806351cff8d91161016a57806351cff8d9146103ae57806355f804b3146103ce5780635775aaf2146103ee57806359f214f21461040e5780635c6c768e1461042357600080fd5b806334918dfd146103395780633bf79a571461034e57806342842e0e1461036e5780634f6ccce71461038e57600080fd5b806318160ddd116101d757806318160ddd146102ba57806323b872dd146102d95780632adf9347146102f95780632f745c591461031957600080fd5b806301ffc9a71461020957806306fdde031461023e578063081812fc14610260578063095ea7b314610298575b600080fd5b34801561021557600080fd5b50610229610224366004612230565b61069d565b60405190151581526020015b60405180910390f35b34801561024a57600080fd5b506102536106c8565b6040516102359190612453565b34801561026c57600080fd5b5061028061027b3660046122b3565b61075a565b6040516001600160a01b039091168152602001610235565b3480156102a457600080fd5b506102b86102b3366004612204565b6107f4565b005b3480156102c657600080fd5b506008545b604051908152602001610235565b3480156102e557600080fd5b506102b86102f4366004612110565b61090a565b34801561030557600080fd5b506102b8610314366004612204565b61093b565b34801561032557600080fd5b506102cb610334366004612204565b610a16565b34801561034557600080fd5b506102b8610aac565b34801561035a57600080fd5b506102536103693660046122b3565b610af7565b34801561037a57600080fd5b506102b8610389366004612110565b610b91565b34801561039a57600080fd5b506102cb6103a93660046122b3565b610bac565b3480156103ba57600080fd5b506102b86103c93660046120ba565b610c3f565b3480156103da57600080fd5b506102b86103e936600461226a565b610ca1565b3480156103fa57600080fd5b506102b86104093660046122cc565b610ce2565b34801561041a57600080fd5b506102cb601481565b34801561042f57600080fd5b506102cb670214e8348c4f000081565b6102b861044d3660046122b3565b610df8565b34801561045e57600080fd5b5061028061046d3660046122b3565b610fc5565b34801561047e57600080fd5b506102cb61048d3660046120ba565b61103c565b34801561049e57600080fd5b506102b86110c3565b3480156104b357600080fd5b506102296104c23660046122b3565b600f6020526000908152604090205460ff1681565b3480156104e357600080fd5b506102296104f23660046122b3565b600e6020526000908152604090205460ff1681565b34801561051357600080fd5b506105276105223660046120ba565b6110f9565b60405161023591906123e0565b34801561054057600080fd5b50600a546001600160a01b0316610280565b34801561055e57600080fd5b5061025361056d3660046122b3565b6111b8565b34801561057e57600080fd5b506102536112af565b34801561059357600080fd5b506102cb60105481565b3480156105a957600080fd5b506102b86105b83660046121d1565b6112be565b3480156105c957600080fd5b506102cb6103e881565b3480156105df57600080fd5b506102b86105ee366004612151565b611383565b3480156105ff57600080fd5b5061025361060e3660046122b3565b6113bb565b34801561061f57600080fd5b5061022961062e3660046120d7565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561066857600080fd5b50600a5461022990600160a01b900460ff1681565b34801561068957600080fd5b506102b86106983660046120ba565b611496565b60006001600160e01b0319821663780e9d6360e01b14806106c257506106c282611531565b92915050565b6060600080546106d7906125cc565b80601f0160208091040260200160405190810160405280929190818152602001828054610703906125cc565b80156107505780601f1061072557610100808354040283529160200191610750565b820191906000526020600020905b81548152906001019060200180831161073357829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166107d85760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006107ff82610fc5565b9050806001600160a01b0316836001600160a01b0316141561086d5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016107cf565b336001600160a01b03821614806108895750610889813361062e565b6108fb5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016107cf565b6109058383611581565b505050565b61091433826115ef565b6109305760405162461bcd60e51b81526004016107cf906124ed565b6109058383836116e6565b600a546001600160a01b031633146109655760405162461bcd60e51b81526004016107cf906124b8565b600061097060085490565b905060008211801561098457506010548211155b6109d05760405162461bcd60e51b815260206004820181905260248201527f4e6f7420656e6f7567682072657365727665206c65667420666f72207465616d60448201526064016107cf565b60005b82811015610a00576109ee846109e9838561253e565b611891565b806109f881612601565b9150506109d3565b50601054610a0e90836118ab565b601055505050565b6000610a218361103c565b8210610a835760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016107cf565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a546001600160a01b03163314610ad65760405162461bcd60e51b81526004016107cf906124b8565b600a805460ff60a01b198116600160a01b9182900460ff1615909102179055565b600d6020526000908152604090208054610b10906125cc565b80601f0160208091040260200160405190810160405280929190818152602001828054610b3c906125cc565b8015610b895780601f10610b5e57610100808354040283529160200191610b89565b820191906000526020600020905b815481529060010190602001808311610b6c57829003601f168201915b505050505081565b61090583838360405180602001604052806000815250611383565b6000610bb760085490565b8210610c1a5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016107cf565b60088281548110610c2d57610c2d612672565b90600052602060002001549050919050565b600a546001600160a01b03163314610c695760405162461bcd60e51b81526004016107cf906124b8565b60405147906001600160a01b0383169082156108fc029083906000818181858888f19350505050158015610905573d6000803e3d6000fd5b600a546001600160a01b03163314610ccb5760405162461bcd60e51b81526004016107cf906124b8565b8051610cde90600c906020840190611f37565b5050565b6000610ced84610fc5565b9050336001600160a01b03821614610d375760405162461bcd60e51b815260206004820152600d60248201526c3737ba103a34329037bbb732b960991b60448201526064016107cf565b6000848152600f602052604090205460ff1615610d895760405162461bcd60e51b815260206004820152601060248201526f1b985b5948185b1c9958591e481cd95d60821b60448201526064016107cf565b6000848152600f60209081526040808320805460ff19166001179055600d9091529020610db7908484611fbb565b50837f7e632a301794d8d4a81ea7e20f37d1947158d36e66403af04ba85dd194b66f1b8484604051610dea929190612424565b60405180910390a250505050565b600a54600160a01b900460ff16610e515760405162461bcd60e51b815260206004820152601760248201527f53616c65206973206e6f7420616374697665207965742100000000000000000060448201526064016107cf565b600081118015610e62575060148111155b610eae5760405162461bcd60e51b815260206004820152601960248201527f796f752063616e206d696e74206f6e6c7920736f206d616e790000000000000060448201526064016107cf565b6103e8610ec482610ebe60085490565b906118b7565b1115610f0b5760405162461bcd60e51b81526020600482015260166024820152751b9bc81b9bcb081cdd5c1c1b1e48195e18d95959195960521b60448201526064016107cf565b610f1d670214e8348c4f0000826118c3565b341015610f645760405162461bcd60e51b8152602060048201526015602482015274696e73756666696369656e7420657468206261627960581b60448201526064016107cf565b60005b81811015610cde576000610f7a60085490565b90506103e8610f8860085490565b1015610fb257610f983382611891565b6000818152600e60205260409020805460ff191660011790555b5080610fbd81612601565b915050610f67565b6000818152600260205260408120546001600160a01b0316806106c25760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016107cf565b60006001600160a01b0382166110a75760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016107cf565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b031633146110ed5760405162461bcd60e51b81526004016107cf906124b8565b6110f760006118cf565b565b606060006111068361103c565b9050806111275760408051600080825260208201909252905b509392505050565b60008167ffffffffffffffff81111561114257611142612688565b60405190808252806020026020018201604052801561116b578160200160208202803683370190505b50905060005b8281101561111f576111838582610a16565b82828151811061119557611195612672565b6020908102919091010152806111aa81612601565b915050611171565b50919050565b60606111c360085490565b82106112115760405162461bcd60e51b815260206004820181905260248201527f63686f6f736520616e20737061636574696d652077697468696e2072616e676560448201526064016107cf565b6000828152600d60205260409020805461122a906125cc565b80601f0160208091040260200160405190810160405280929190818152602001828054611256906125cc565b80156112a35780601f10611278576101008083540402835291602001916112a3565b820191906000526020600020905b81548152906001019060200180831161128657829003601f168201915b50505050509050919050565b6060600180546106d7906125cc565b6001600160a01b0382163314156113175760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016107cf565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61138d33836115ef565b6113a95760405162461bcd60e51b81526004016107cf906124ed565b6113b584848484611921565b50505050565b6000818152600260205260409020546060906001600160a01b031661143a5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016107cf565b6000611444611954565b90506000815111611464576040518060200160405280600081525061148f565b8061146e84611963565b60405160200161147f929190612374565b6040516020818303038152906040525b9392505050565b600a546001600160a01b031633146114c05760405162461bcd60e51b81526004016107cf906124b8565b6001600160a01b0381166115255760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107cf565b61152e816118cf565b50565b60006001600160e01b031982166380ac58cd60e01b148061156257506001600160e01b03198216635b5e139f60e01b145b806106c257506301ffc9a760e01b6001600160e01b03198316146106c2565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906115b682610fc5565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166116685760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016107cf565b600061167383610fc5565b9050806001600160a01b0316846001600160a01b031614806116ae5750836001600160a01b03166116a38461075a565b6001600160a01b0316145b806116de57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166116f982610fc5565b6001600160a01b0316146117615760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016107cf565b6001600160a01b0382166117c35760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016107cf565b6117ce838383611a61565b6117d9600082611581565b6001600160a01b0383166000908152600360205260408120805460019290611802908490612589565b90915550506001600160a01b038216600090815260036020526040812080546001929061183090849061253e565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b610cde828260405180602001604052806000815250611b19565b600061148f8284612589565b600061148f828461253e565b600061148f828461256a565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61192c8484846116e6565b61193884848484611b4c565b6113b55760405162461bcd60e51b81526004016107cf90612466565b6060600c80546106d7906125cc565b6060816119875750506040805180820190915260018152600360fc1b602082015290565b8160005b81156119b1578061199b81612601565b91506119aa9050600a83612556565b915061198b565b60008167ffffffffffffffff8111156119cc576119cc612688565b6040519080825280601f01601f1916602001820160405280156119f6576020820181803683370190505b5090505b84156116de57611a0b600183612589565b9150611a18600a8661261c565b611a2390603061253e565b60f81b818381518110611a3857611a38612672565b60200101906001600160f81b031916908160001a905350611a5a600a86612556565b94506119fa565b6001600160a01b038316611abc57611ab781600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b611adf565b816001600160a01b0316836001600160a01b031614611adf57611adf8382611c59565b6001600160a01b038216611af65761090581611cf6565b826001600160a01b0316826001600160a01b031614610905576109058282611da5565b611b238383611de9565b611b306000848484611b4c565b6109055760405162461bcd60e51b81526004016107cf90612466565b60006001600160a01b0384163b15611c4e57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611b909033908990889088906004016123a3565b602060405180830381600087803b158015611baa57600080fd5b505af1925050508015611bda575060408051601f3d908101601f19168201909252611bd79181019061224d565b60015b611c34573d808015611c08576040519150601f19603f3d011682016040523d82523d6000602084013e611c0d565b606091505b508051611c2c5760405162461bcd60e51b81526004016107cf90612466565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506116de565b506001949350505050565b60006001611c668461103c565b611c709190612589565b600083815260076020526040902054909150808214611cc3576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b600854600090611d0890600190612589565b60008381526009602052604081205460088054939450909284908110611d3057611d30612672565b906000526020600020015490508060088381548110611d5157611d51612672565b6000918252602080832090910192909255828152600990915260408082208490558582528120556008805480611d8957611d8961265c565b6001900381819060005260206000200160009055905550505050565b6000611db08361103c565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b6001600160a01b038216611e3f5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016107cf565b6000818152600260205260409020546001600160a01b031615611ea45760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016107cf565b611eb060008383611a61565b6001600160a01b0382166000908152600360205260408120805460019290611ed990849061253e565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054611f43906125cc565b90600052602060002090601f016020900481019282611f655760008555611fab565b82601f10611f7e57805160ff1916838001178555611fab565b82800160010185558215611fab579182015b82811115611fab578251825591602001919060010190611f90565b50611fb792915061202f565b5090565b828054611fc7906125cc565b90600052602060002090601f016020900481019282611fe95760008555611fab565b82601f106120025782800160ff19823516178555611fab565b82800160010185558215611fab579182015b82811115611fab578235825591602001919060010190612014565b5b80821115611fb75760008155600101612030565b600067ffffffffffffffff8084111561205f5761205f612688565b604051601f8501601f19908116603f0116810190828211818310171561208757612087612688565b816040528093508581528686860111156120a057600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156120cc57600080fd5b813561148f8161269e565b600080604083850312156120ea57600080fd5b82356120f58161269e565b915060208301356121058161269e565b809150509250929050565b60008060006060848603121561212557600080fd5b83356121308161269e565b925060208401356121408161269e565b929592945050506040919091013590565b6000806000806080858703121561216757600080fd5b84356121728161269e565b935060208501356121828161269e565b925060408501359150606085013567ffffffffffffffff8111156121a557600080fd5b8501601f810187136121b657600080fd5b6121c587823560208401612044565b91505092959194509250565b600080604083850312156121e457600080fd5b82356121ef8161269e565b91506020830135801515811461210557600080fd5b6000806040838503121561221757600080fd5b82356122228161269e565b946020939093013593505050565b60006020828403121561224257600080fd5b813561148f816126b3565b60006020828403121561225f57600080fd5b815161148f816126b3565b60006020828403121561227c57600080fd5b813567ffffffffffffffff81111561229357600080fd5b8201601f810184136122a457600080fd5b6116de84823560208401612044565b6000602082840312156122c557600080fd5b5035919050565b6000806000604084860312156122e157600080fd5b83359250602084013567ffffffffffffffff8082111561230057600080fd5b818601915086601f83011261231457600080fd5b81358181111561232357600080fd5b87602082850101111561233557600080fd5b6020830194508093505050509250925092565b600081518084526123608160208601602086016125a0565b601f01601f19169290920160200192915050565b600083516123868184602088016125a0565b83519083019061239a8183602088016125a0565b01949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906123d690830184612348565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015612418578351835292840192918401916001016123fc565b50909695505050505050565b60208152816020820152818360408301376000818301604090810191909152601f909201601f19160101919050565b60208152600061148f6020830184612348565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6000821982111561255157612551612630565b500190565b60008261256557612565612646565b500490565b600081600019048311821515161561258457612584612630565b500290565b60008282101561259b5761259b612630565b500390565b60005b838110156125bb5781810151838201526020016125a3565b838111156113b55750506000910152565b600181811c908216806125e057607f821691505b602082108114156111b257634e487b7160e01b600052602260045260246000fd5b600060001982141561261557612615612630565b5060010190565b60008261262b5761262b612646565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461152e57600080fd5b6001600160e01b03198116811461152e57600080fdfea2646970667358221220e37d7a1f3b28dcab815bd0f5d2a10f4e96222d8022c5e5e9055b70077e5cd8eb64736f6c63430008070033
Deployed Bytecode Sourcemap
1290:3961:15:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;910:222:4;;;;;;;;;;-1:-1:-1;910:222:4;;;;;:::i;:::-;;:::i;:::-;;;7605:14:16;;7598:22;7580:41;;7568:2;7553:18;910:222:4;;;;;;;;2414:98:1;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;3925:217::-;;;;;;;;;;-1:-1:-1;3925:217:1;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;6266:32:16;;;6248:51;;6236:2;6221:18;3925:217:1;6102:203:16;3463:401:1;;;;;;;;;;-1:-1:-1;3463:401:1;;;;;:::i;:::-;;:::i;:::-;;1535:111:4;;;;;;;;;;-1:-1:-1;1622:10:4;:17;1535:111;;;18420:25:16;;;18408:2;18393:18;1535:111:4;18274:177:16;4789:330:1;;;;;;;;;;-1:-1:-1;4789:330:1;;;;;:::i;:::-;;:::i;2557:421:15:-;;;;;;;;;;-1:-1:-1;2557:421:15;;;;;:::i;:::-;;:::i;1211:253:4:-;;;;;;;;;;-1:-1:-1;1211:253:4;;;;;:::i;:::-;;:::i;3247:89:15:-;;;;;;;;;;;;;:::i;1863:49::-;;;;;;;;;;-1:-1:-1;1863:49:15;;;;;:::i;:::-;;:::i;5185:179:1:-;;;;;;;;;;-1:-1:-1;5185:179:1;;;;;:::i;:::-;;:::i;1718:230:4:-;;;;;;;;;;-1:-1:-1;1718:230:4;;;;;:::i;:::-;;:::i;2355:190:15:-;;;;;;;;;;-1:-1:-1;2355:190:15;;;;;:::i;:::-;;:::i;3140:99::-;;;;;;;;;;-1:-1:-1;3140:99:15;;;;;:::i;:::-;;:::i;3896:411::-;;;;;;;;;;-1:-1:-1;3896:411:15;;;;;:::i;:::-;;:::i;1530:48::-;;;;;;;;;;;;1576:2;1530:48;;1410:59;;;;;;;;;;;;1451:18;1410:59;;4531:717;;;;;;:::i;:::-;;:::i;2117:235:1:-;;;;;;;;;;-1:-1:-1;2117:235:1;;;;;:::i;:::-;;:::i;1855:205::-;;;;;;;;;;-1:-1:-1;1855:205:1;;;;;:::i;:::-;;:::i;1605:92:0:-;;;;;;;;;;;;;:::i;2029:40:15:-;;;;;;;;;;-1:-1:-1;2029:40:15;;;;;:::i;:::-;;;;;;;;;;;;;;;;1946:45;;;;;;;;;;-1:-1:-1;1946:45:15;;;;;:::i;:::-;;;;;;;;;;;;;;;;3348:540;;;;;;;;;;-1:-1:-1;3348:540:15;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;973:85:0:-;;;;;;;;;;-1:-1:-1;1045:6:0;;-1:-1:-1;;;;;1045:6:0;973:85;;4315:208:15;;;;;;;;;;-1:-1:-1;4315:208:15;;;;;:::i;:::-;;:::i;2576:102:1:-;;;;;;;;;;;;;:::i;2248:34:15:-;;;;;;;;;;;;;;;;4209:290:1;;;;;;;;;;-1:-1:-1;4209:290:1;;;;;:::i;:::-;;:::i;1623:45:15:-;;;;;;;;;;;;1664:4;1623:45;;5430:320:1;;;;;;;;;;-1:-1:-1;5430:320:1;;;;;:::i;:::-;;:::i;2744:329::-;;;;;;;;;;-1:-1:-1;2744:329:1;;;;;:::i;:::-;;:::i;4565:162::-;;;;;;;;;;-1:-1:-1;4565:162:1;;;;;:::i;:::-;-1:-1:-1;;;;;4685:25:1;;;4662:4;4685:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;4565:162;1697:32:15;;;;;;;;;;-1:-1:-1;1697:32:15;;;;-1:-1:-1;;;1697:32:15;;;;;;1846:189:0;;;;;;;;;;-1:-1:-1;1846:189:0;;;;;:::i;:::-;;:::i;910:222:4:-;1012:4;-1:-1:-1;;;;;;1035:50:4;;-1:-1:-1;;;1035:50:4;;:90;;;1089:36;1113:11;1089:23;:36::i;:::-;1028:97;910:222;-1:-1:-1;;910:222:4:o;2414:98:1:-;2468:13;2500:5;2493:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2414:98;:::o;3925:217::-;4001:7;7310:16;;;:7;:16;;;;;;-1:-1:-1;;;;;7310:16:1;4020:73;;;;-1:-1:-1;;;4020:73:1;;15291:2:16;4020:73:1;;;15273:21:16;15330:2;15310:18;;;15303:30;15369:34;15349:18;;;15342:62;-1:-1:-1;;;15420:18:16;;;15413:42;15472:19;;4020:73:1;;;;;;;;;-1:-1:-1;4111:24:1;;;;:15;:24;;;;;;-1:-1:-1;;;;;4111:24:1;;3925:217::o;3463:401::-;3543:13;3559:23;3574:7;3559:14;:23::i;:::-;3543:39;;3606:5;-1:-1:-1;;;;;3600:11:1;:2;-1:-1:-1;;;;;3600:11:1;;;3592:57;;;;-1:-1:-1;;;3592:57:1;;16891:2:16;3592:57:1;;;16873:21:16;16930:2;16910:18;;;16903:30;16969:34;16949:18;;;16942:62;-1:-1:-1;;;17020:18:16;;;17013:31;17061:19;;3592:57:1;16689:397:16;3592:57:1;666:10:8;-1:-1:-1;;;;;3681:21:1;;;;:62;;-1:-1:-1;3706:37:1;3723:5;666:10:8;4565:162:1;:::i;3706:37::-;3660:165;;;;-1:-1:-1;;;3660:165:1;;13684:2:16;3660:165:1;;;13666:21:16;13723:2;13703:18;;;13696:30;13762:34;13742:18;;;13735:62;13833:26;13813:18;;;13806:54;13877:19;;3660:165:1;13482:420:16;3660:165:1;3836:21;3845:2;3849:7;3836:8;:21::i;:::-;3533:331;3463:401;;:::o;4789:330::-;4978:41;666:10:8;5011:7:1;4978:18;:41::i;:::-;4970:103;;;;-1:-1:-1;;;4970:103:1;;;;;;;:::i;:::-;5084:28;5094:4;5100:2;5104:7;5084:9;:28::i;2557:421:15:-;1045:6:0;;-1:-1:-1;;;;;1045:6:0;666:10:8;1185:23:0;1177:68;;;;-1:-1:-1;;;1177:68:0;;;;;;;:::i;:::-;2657:11:15::1;2671:13;1622:10:4::0;:17;;1535:111;2671:13:15::1;2657:27;;2720:1;2703:14;:18;:57;;;;;2743:17;;2725:14;:35;;2703:57;2695:102;;;::::0;-1:-1:-1;;;2695:102:15;;11105:2:16;2695:102:15::1;::::0;::::1;11087:21:16::0;;;11124:18;;;11117:30;11183:34;11163:18;;;11156:62;11235:18;;2695:102:15::1;10903:356:16::0;2695:102:15::1;2813:6;2808:95;2829:14;2825:1;:18;2808:95;;;2865:26;2875:3:::0;2880:10:::1;2889:1:::0;2880:6;:10:::1;:::i;:::-;2865:9;:26::i;:::-;2845:3:::0;::::1;::::0;::::1;:::i;:::-;;;;2808:95;;;-1:-1:-1::0;2933:17:15::1;::::0;:37:::1;::::0;2955:14;2933:21:::1;:37::i;:::-;2913:17;:57:::0;-1:-1:-1;;;2557:421:15:o;1211:253:4:-;1308:7;1343:23;1360:5;1343:16;:23::i;:::-;1335:5;:31;1327:87;;;;-1:-1:-1;;;1327:87:4;;9156:2:16;1327:87:4;;;9138:21:16;9195:2;9175:18;;;9168:30;9234:34;9214:18;;;9207:62;-1:-1:-1;;;9285:18:16;;;9278:41;9336:19;;1327:87:4;8954:407:16;1327:87:4;-1:-1:-1;;;;;;1431:19:4;;;;;;;;:12;:19;;;;;;;;:26;;;;;;;;;1211:253::o;3247:89:15:-;1045:6:0;;-1:-1:-1;;;;;1045:6:0;666:10:8;1185:23:0;1177:68;;;;-1:-1:-1;;;1177:68:0;;;;;;;:::i;:::-;3316:12:15::1;::::0;;-1:-1:-1;;;;3300:28:15;::::1;-1:-1:-1::0;;;3316:12:15;;;::::1;;;3315:13;3300:28:::0;;::::1;;::::0;;3247:89::o;1863:49::-;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;5185:179:1:-;5318:39;5335:4;5341:2;5345:7;5318:39;;;;;;;;;;;;:16;:39::i;1718:230:4:-;1793:7;1828:30;1622:10;:17;;1535:111;1828:30;1820:5;:38;1812:95;;;;-1:-1:-1;;;1812:95:4;;17711:2:16;1812:95:4;;;17693:21:16;17750:2;17730:18;;;17723:30;17789:34;17769:18;;;17762:62;-1:-1:-1;;;17840:18:16;;;17833:42;17892:19;;1812:95:4;17509:408:16;1812:95:4;1924:10;1935:5;1924:17;;;;;;;;:::i;:::-;;;;;;;;;1917:24;;1718:230;;;:::o;2355:190:15:-;1045:6:0;;-1:-1:-1;;;;;1045:6:0;666:10:8;1185:23:0;1177:68;;;;-1:-1:-1;;;1177:68:0;;;;;;;:::i;:::-;2513:24:15::1;::::0;2440:21:::1;::::0;-1:-1:-1;;;;;2513:15:15;::::1;::::0;:24;::::1;;;::::0;2440:21;;2425:12:::1;2513:24:::0;2425:12;2513:24;2440:21;2513:15;:24;::::1;;;;;;;;;;;;;::::0;::::1;;;;3140:99:::0;1045:6:0;;-1:-1:-1;;;;;1045:6:0;666:10:8;1185:23:0;1177:68;;;;-1:-1:-1;;;1177:68:0;;;;;;;:::i;:::-;3211:20:15;;::::1;::::0;:10:::1;::::0;:20:::1;::::0;::::1;::::0;::::1;:::i;:::-;;3140:99:::0;:::o;3896:411::-;3985:13;4001:17;4009:8;4001:7;:17::i;:::-;3985:33;-1:-1:-1;4037:10:15;-1:-1:-1;;;;;4037:19:15;;;4029:45;;;;-1:-1:-1;;;4029:45:15;;8453:2:16;4029:45:15;;;8435:21:16;8492:2;8472:18;;;8465:30;-1:-1:-1;;;8511:18:16;;;8504:43;8564:18;;4029:45:15;8251:337:16;4029:45:15;4094:17;;;;:7;:17;;;;;;;;:26;4086:55;;;;-1:-1:-1;;;4086:55:15;;13339:2:16;4086:55:15;;;13321:21:16;13378:2;13358:18;;;13351:30;-1:-1:-1;;;13397:18:16;;;13390:46;13453:18;;4086:55:15;13137:340:16;4086:55:15;4153:17;;;;:7;:17;;;;;;;;:24;;-1:-1:-1;;4153:24:15;4173:4;4153:24;;;4188:14;:24;;;;;:36;;4215:9;;4188:36;:::i;:::-;;4252:8;4241:31;4262:9;;4241:31;;;;;;;:::i;:::-;;;;;;;;3974:333;3896:411;;;:::o;4531:717::-;4611:12;;-1:-1:-1;;;4611:12:15;;;;4603:48;;;;-1:-1:-1;;;4603:48:15;;18124:2:16;4603:48:15;;;18106:21:16;18163:2;18143:18;;;18136:30;18202:25;18182:18;;;18175:53;18245:18;;4603:48:15;17922:347:16;4603:48:15;4688:1;4670:15;:19;:64;;;;;1576:2;4693:15;:41;;4670:64;4662:102;;;;-1:-1:-1;;;4662:102:15;;10751:2:16;4662:102:15;;;10733:21:16;10790:2;10770:18;;;10763:30;10829:27;10809:18;;;10802:55;10874:18;;4662:102:15;10549:349:16;4662:102:15;1664:4;4783:34;4801:15;4783:13;1622:10:4;:17;;1535:111;4783:13:15;:17;;:34::i;:::-;:52;;4775:87;;;;-1:-1:-1;;;4775:87:15;;12988:2:16;4775:87:15;;;12970:21:16;13027:2;13007:18;;;13000:30;-1:-1:-1;;;13046:18:16;;;13039:52;13108:18;;4775:87:15;12786:346:16;4775:87:15;4894:35;1451:18;4913:15;4894:18;:35::i;:::-;4881:9;:48;;4873:82;;;;-1:-1:-1;;;4873:82:15;;12225:2:16;4873:82:15;;;12207:21:16;12264:2;12244:18;;;12237:30;-1:-1:-1;;;12283:18:16;;;12276:51;12344:18;;4873:82:15;12023:345:16;4873:82:15;4980:6;4976:265;4996:15;4992:1;:19;4976:265;;;5033:14;5050:13;1622:10:4;:17;;1535:111;5050:13:15;5033:30;;1664:4;5082:13;1622:10:4;:17;;1535:111;5082:13:15;:30;5078:152;;;5133:32;5143:10;5155:9;5133;:32::i;:::-;5184:23;;;;:12;:23;;;;;:30;;-1:-1:-1;;5184:30:15;5210:4;5184:30;;;5078:152;-1:-1:-1;5013:3:15;;;;:::i;:::-;;;;4976:265;;2117:235:1;2189:7;2224:16;;;:7;:16;;;;;;-1:-1:-1;;;;;2224:16:1;2258:19;2250:73;;;;-1:-1:-1;;;2250:73:1;;14520:2:16;2250:73:1;;;14502:21:16;14559:2;14539:18;;;14532:30;14598:34;14578:18;;;14571:62;-1:-1:-1;;;14649:18:16;;;14642:39;14698:19;;2250:73:1;14318:405:16;1855:205:1;1927:7;-1:-1:-1;;;;;1954:19:1;;1946:74;;;;-1:-1:-1;;;1946:74:1;;14109:2:16;1946:74:1;;;14091:21:16;14148:2;14128:18;;;14121:30;14187:34;14167:18;;;14160:62;-1:-1:-1;;;14238:18:16;;;14231:40;14288:19;;1946:74:1;13907:406:16;1946:74:1;-1:-1:-1;;;;;;2037:16:1;;;;;:9;:16;;;;;;;1855:205::o;1605:92:0:-;1045:6;;-1:-1:-1;;;;;1045:6:0;666:10:8;1185:23:0;1177:68;;;;-1:-1:-1;;;1177:68:0;;;;;;;:::i;:::-;1669:21:::1;1687:1;1669:9;:21::i;:::-;1605:92::o:0;3348:540:15:-;3409:16;3439:18;3460:17;3470:6;3460:9;:17::i;:::-;3439:38;-1:-1:-1;3492:15:15;3488:393;;3569:16;;;3583:1;3569:16;;;;;;;;;;;-1:-1:-1;3562:23:15;3348:540;-1:-1:-1;;;3348:540:15:o;3488:393::-;3618:23;3658:10;3644:25;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3644:25:15;;3618:51;;3684:13;3712:130;3736:10;3728:5;:18;3712:130;;;3792:34;3812:6;3820:5;3792:19;:34::i;:::-;3776:6;3783:5;3776:13;;;;;;;;:::i;:::-;;;;;;;;;;:50;3748:7;;;;:::i;:::-;;;;3712:130;;3488:393;3428:460;3348:540;;;:::o;4315:208::-;4377:13;4422;1622:10:4;:17;;1535:111;4422:13:15;4411:8;:24;4402:71;;;;-1:-1:-1;;;4402:71:15;;8795:2:16;4402:71:15;;;8777:21:16;;;8814:18;;;8807:30;8873:34;8853:18;;;8846:62;8925:18;;4402:71:15;8593:356:16;4402:71:15;4491:24;;;;:14;:24;;;;;4484:31;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4315:208;;;:::o;2576:102:1:-;2632:13;2664:7;2657:14;;;;;:::i;4209:290::-;-1:-1:-1;;;;;4311:24:1;;666:10:8;4311:24:1;;4303:62;;;;-1:-1:-1;;;4303:62:1;;11871:2:16;4303:62:1;;;11853:21:16;11910:2;11890:18;;;11883:30;11949:27;11929:18;;;11922:55;11994:18;;4303:62:1;11669:349:16;4303:62:1;666:10:8;4376:32:1;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;4376:42:1;;;;;;;;;;;;:53;;-1:-1:-1;;4376:53:1;;;;;;;;;;4444:48;;7580:41:16;;;4376:42:1;;666:10:8;4444:48:1;;7553:18:16;4444:48:1;;;;;;;4209:290;;:::o;5430:320::-;5599:41;666:10:8;5632:7:1;5599:18;:41::i;:::-;5591:103;;;;-1:-1:-1;;;5591:103:1;;;;;;;:::i;:::-;5704:39;5718:4;5724:2;5728:7;5737:5;5704:13;:39::i;:::-;5430:320;;;;:::o;2744:329::-;7287:4;7310:16;;;:7;:16;;;;;;2817:13;;-1:-1:-1;;;;;7310:16:1;2842:76;;;;-1:-1:-1;;;2842:76:1;;16475:2:16;2842:76:1;;;16457:21:16;16514:2;16494:18;;;16487:30;16553:34;16533:18;;;16526:62;-1:-1:-1;;;16604:18:16;;;16597:45;16659:19;;2842:76:1;16273:411:16;2842:76:1;2929:21;2953:10;:8;:10::i;:::-;2929:34;;3004:1;2986:7;2980:21;:25;:86;;;;;;;;;;;;;;;;;3032:7;3041:18;:7;:16;:18::i;:::-;3015:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;2980:86;2973:93;2744:329;-1:-1:-1;;;2744:329:1:o;1846:189:0:-;1045:6;;-1:-1:-1;;;;;1045:6:0;666:10:8;1185:23:0;1177:68;;;;-1:-1:-1;;;1177:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;1934:22:0;::::1;1926:73;;;::::0;-1:-1:-1;;;1926:73:0;;9987:2:16;1926:73:0::1;::::0;::::1;9969:21:16::0;10026:2;10006:18;;;9999:30;10065:34;10045:18;;;10038:62;-1:-1:-1;;;10116:18:16;;;10109:36;10162:19;;1926:73:0::1;9785:402:16::0;1926:73:0::1;2009:19;2019:8;2009:9;:19::i;:::-;1846:189:::0;:::o;1496:300:1:-;1598:4;-1:-1:-1;;;;;;1633:40:1;;-1:-1:-1;;;1633:40:1;;:104;;-1:-1:-1;;;;;;;1689:48:1;;-1:-1:-1;;;1689:48:1;1633:104;:156;;;-1:-1:-1;;;;;;;;;;871:40:10;;;1753:36:1;763:155:10;11073:171:1;11147:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;11147:29:1;-1:-1:-1;;;;;11147:29:1;;;;;;;;:24;;11200:23;11147:24;11200:14;:23::i;:::-;-1:-1:-1;;;;;11191:46:1;;;;;;;;;;;11073:171;;:::o;7505:344::-;7598:4;7310:16;;;:7;:16;;;;;;-1:-1:-1;;;;;7310:16:1;7614:73;;;;-1:-1:-1;;;7614:73:1;;12575:2:16;7614:73:1;;;12557:21:16;12614:2;12594:18;;;12587:30;12653:34;12633:18;;;12626:62;-1:-1:-1;;;12704:18:16;;;12697:42;12756:19;;7614:73:1;12373:408:16;7614:73:1;7697:13;7713:23;7728:7;7713:14;:23::i;:::-;7697:39;;7765:5;-1:-1:-1;;;;;7754:16:1;:7;-1:-1:-1;;;;;7754:16:1;;:51;;;;7798:7;-1:-1:-1;;;;;7774:31:1;:20;7786:7;7774:11;:20::i;:::-;-1:-1:-1;;;;;7774:31:1;;7754:51;:87;;;-1:-1:-1;;;;;;4685:25:1;;;4662:4;4685:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;7809:32;7746:96;7505:344;-1:-1:-1;;;;7505:344:1:o;10402:560::-;10556:4;-1:-1:-1;;;;;10529:31:1;:23;10544:7;10529:14;:23::i;:::-;-1:-1:-1;;;;;10529:31:1;;10521:85;;;;-1:-1:-1;;;10521:85:1;;16065:2:16;10521:85:1;;;16047:21:16;16104:2;16084:18;;;16077:30;16143:34;16123:18;;;16116:62;-1:-1:-1;;;16194:18:16;;;16187:39;16243:19;;10521:85:1;15863:405:16;10521:85:1;-1:-1:-1;;;;;10624:16:1;;10616:65;;;;-1:-1:-1;;;10616:65:1;;11466:2:16;10616:65:1;;;11448:21:16;11505:2;11485:18;;;11478:30;11544:34;11524:18;;;11517:62;-1:-1:-1;;;11595:18:16;;;11588:34;11639:19;;10616:65:1;11264:400:16;10616:65:1;10692:39;10713:4;10719:2;10723:7;10692:20;:39::i;:::-;10793:29;10810:1;10814:7;10793:8;:29::i;:::-;-1:-1:-1;;;;;10833:15:1;;;;;;:9;:15;;;;;:20;;10852:1;;10833:15;:20;;10852:1;;10833:20;:::i;:::-;;;;-1:-1:-1;;;;;;;10863:13:1;;;;;;:9;:13;;;;;:18;;10880:1;;10863:13;:18;;10880:1;;10863:18;:::i;:::-;;;;-1:-1:-1;;10891:16:1;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;10891:21:1;-1:-1:-1;;;;;10891:21:1;;;;;;;;;10928:27;;10891:16;;10928:27;;;;;;;10402:560;;;:::o;8179:108::-;8254:26;8264:2;8268:7;8254:26;;;;;;;;;;;;:9;:26::i;3039:96:12:-;3097:7;3123:5;3127:1;3123;:5;:::i;2672:96::-;2730:7;2756:5;2760:1;2756;:5;:::i;3382:96::-;3440:7;3466:5;3470:1;3466;:5;:::i;2041:169:0:-;2115:6;;;-1:-1:-1;;;;;2131:17:0;;;-1:-1:-1;;;;;;2131:17:0;;;;;;;2163:40;;2115:6;;;2131:17;2115:6;;2163:40;;2096:16;;2163:40;2086:124;2041:169;:::o;6612:307:1:-;6763:28;6773:4;6779:2;6783:7;6763:9;:28::i;:::-;6809:48;6832:4;6838:2;6842:7;6851:5;6809:22;:48::i;:::-;6801:111;;;;-1:-1:-1;;;6801:111:1;;;;;;;:::i;3015:113:15:-;3076:13;3110:10;3103:17;;;;;:::i;275:703:9:-;331:13;548:10;544:51;;-1:-1:-1;;574:10:9;;;;;;;;;;;;-1:-1:-1;;;574:10:9;;;;;275:703::o;544:51::-;619:5;604:12;658:75;665:9;;658:75;;690:8;;;;:::i;:::-;;-1:-1:-1;712:10:9;;-1:-1:-1;720:2:9;712:10;;:::i;:::-;;;658:75;;;742:19;774:6;764:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;764:17:9;;742:39;;791:150;798:10;;791:150;;824:11;834:1;824:11;;:::i;:::-;;-1:-1:-1;892:10:9;900:2;892:5;:10;:::i;:::-;879:24;;:2;:24;:::i;:::-;866:39;;849:6;856;849:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;849:56:9;;;;;;;;-1:-1:-1;919:11:9;928:2;919:11;;:::i;:::-;;;791:150;;2544:572:4;-1:-1:-1;;;;;2743:18:4;;2739:183;;2777:40;2809:7;3925:10;:17;;3898:24;;;;:15;:24;;;;;:44;;;3952:24;;;;;;;;;;;;3822:161;2777:40;2739:183;;;2846:2;-1:-1:-1;;;;;2838:10:4;:4;-1:-1:-1;;;;;2838:10:4;;2834:88;;2864:47;2897:4;2903:7;2864:32;:47::i;:::-;-1:-1:-1;;;;;2935:16:4;;2931:179;;2967:45;3004:7;2967:36;:45::i;2931:179::-;3039:4;-1:-1:-1;;;;;3033:10:4;:2;-1:-1:-1;;;;;3033:10:4;;3029:81;;3059:40;3087:2;3091:7;3059:27;:40::i;8508:311:1:-;8633:18;8639:2;8643:7;8633:5;:18::i;:::-;8682:54;8713:1;8717:2;8721:7;8730:5;8682:22;:54::i;:::-;8661:151;;;;-1:-1:-1;;;8661:151:1;;;;;;;:::i;11797:778::-;11947:4;-1:-1:-1;;;;;11967:13:1;;1034:20:7;1080:8;11963:606:1;;12002:72;;-1:-1:-1;;;12002:72:1;;-1:-1:-1;;;;;12002:36:1;;;;;:72;;666:10:8;;12053:4:1;;12059:7;;12068:5;;12002:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;12002:72:1;;;;;;;;-1:-1:-1;;12002:72:1;;;;;;;;;;;;:::i;:::-;;;11998:519;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;12241:13:1;;12237:266;;12283:60;;-1:-1:-1;;;12283:60:1;;;;;;;:::i;12237:266::-;12455:6;12449:13;12440:6;12436:2;12432:15;12425:38;11998:519;-1:-1:-1;;;;;;12124:51:1;-1:-1:-1;;;12124:51:1;;-1:-1:-1;12117:58:1;;11963:606;-1:-1:-1;12554:4:1;11797:778;;;;;;:::o;4600:970:4:-;4862:22;4912:1;4887:22;4904:4;4887:16;:22::i;:::-;:26;;;;:::i;:::-;4923:18;4944:26;;;:17;:26;;;;;;4862:51;;-1:-1:-1;5074:28:4;;;5070:323;;-1:-1:-1;;;;;5140:18:4;;5118:19;5140:18;;;:12;:18;;;;;;;;:34;;;;;;;;;5189:30;;;;;;:44;;;5305:30;;:17;:30;;;;;:43;;;5070:323;-1:-1:-1;5486:26:4;;;;:17;:26;;;;;;;;5479:33;;;-1:-1:-1;;;;;5529:18:4;;;;;:12;:18;;;;;:34;;;;;;;5522:41;4600:970::o;5858:1061::-;6132:10;:17;6107:22;;6132:21;;6152:1;;6132:21;:::i;:::-;6163:18;6184:24;;;:15;:24;;;;;;6552:10;:26;;6107:46;;-1:-1:-1;6184:24:4;;6107:46;;6552:26;;;;;;:::i;:::-;;;;;;;;;6530:48;;6614:11;6589:10;6600;6589:22;;;;;;;;:::i;:::-;;;;;;;;;;;;:36;;;;6693:28;;;:15;:28;;;;;;;:41;;;6862:24;;;;;6855:31;6896:10;:16;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;5929:990;;;5858:1061;:::o;3410:217::-;3494:14;3511:20;3528:2;3511:16;:20::i;:::-;-1:-1:-1;;;;;3541:16:4;;;;;;;:12;:16;;;;;;;;:24;;;;;;;;:34;;;3585:26;;;:17;:26;;;;;;:35;;;;-1:-1:-1;3410:217:4:o;9141:372:1:-;-1:-1:-1;;;;;9220:16:1;;9212:61;;;;-1:-1:-1;;;9212:61:1;;14930:2:16;9212:61:1;;;14912:21:16;;;14949:18;;;14942:30;15008:34;14988:18;;;14981:62;15060:18;;9212:61:1;14728:356:16;9212:61:1;7287:4;7310:16;;;:7;:16;;;;;;-1:-1:-1;;;;;7310:16:1;:30;9283:58;;;;-1:-1:-1;;;9283:58:1;;10394:2:16;9283:58:1;;;10376:21:16;10433:2;10413:18;;;10406:30;10472;10452:18;;;10445:58;10520:18;;9283:58:1;10192:352:16;9283:58:1;9352:45;9381:1;9385:2;9389:7;9352:20;:45::i;:::-;-1:-1:-1;;;;;9408:13:1;;;;;;:9;:13;;;;;:18;;9425:1;;9408:13;:18;;9425:1;;9408:18;:::i;:::-;;;;-1:-1:-1;;9436:16:1;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;9436:21:1;-1:-1:-1;;;;;9436:21:1;;;;;;;;9473:33;;9436:16;;;9473:33;;9436:16;;9473:33;9141:372;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14:631:16;78:5;108:18;149:2;141:6;138:14;135:40;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:16;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:72;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:45;;;532:1;529;522:12;491:45;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;14:631;;;;;:::o;650:247::-;709:6;762:2;750:9;741:7;737:23;733:32;730:52;;;778:1;775;768:12;730:52;817:9;804:23;836:31;861:5;836:31;:::i;1162:388::-;1230:6;1238;1291:2;1279:9;1270:7;1266:23;1262:32;1259:52;;;1307:1;1304;1297:12;1259:52;1346:9;1333:23;1365:31;1390:5;1365:31;:::i;:::-;1415:5;-1:-1:-1;1472:2:16;1457:18;;1444:32;1485:33;1444:32;1485:33;:::i;:::-;1537:7;1527:17;;;1162:388;;;;;:::o;1555:456::-;1632:6;1640;1648;1701:2;1689:9;1680:7;1676:23;1672:32;1669:52;;;1717:1;1714;1707:12;1669:52;1756:9;1743:23;1775:31;1800:5;1775:31;:::i;:::-;1825:5;-1:-1:-1;1882:2:16;1867:18;;1854:32;1895:33;1854:32;1895:33;:::i;:::-;1555:456;;1947:7;;-1:-1:-1;;;2001:2:16;1986:18;;;;1973:32;;1555:456::o;2016:794::-;2111:6;2119;2127;2135;2188:3;2176:9;2167:7;2163:23;2159:33;2156:53;;;2205:1;2202;2195:12;2156:53;2244:9;2231:23;2263:31;2288:5;2263:31;:::i;:::-;2313:5;-1:-1:-1;2370:2:16;2355:18;;2342:32;2383:33;2342:32;2383:33;:::i;:::-;2435:7;-1:-1:-1;2489:2:16;2474:18;;2461:32;;-1:-1:-1;2544:2:16;2529:18;;2516:32;2571:18;2560:30;;2557:50;;;2603:1;2600;2593:12;2557:50;2626:22;;2679:4;2671:13;;2667:27;-1:-1:-1;2657:55:16;;2708:1;2705;2698:12;2657:55;2731:73;2796:7;2791:2;2778:16;2773:2;2769;2765:11;2731:73;:::i;:::-;2721:83;;;2016:794;;;;;;;:::o;2815:416::-;2880:6;2888;2941:2;2929:9;2920:7;2916:23;2912:32;2909:52;;;2957:1;2954;2947:12;2909:52;2996:9;2983:23;3015:31;3040:5;3015:31;:::i;:::-;3065:5;-1:-1:-1;3122:2:16;3107:18;;3094:32;3164:15;;3157:23;3145:36;;3135:64;;3195:1;3192;3185:12;3236:315;3304:6;3312;3365:2;3353:9;3344:7;3340:23;3336:32;3333:52;;;3381:1;3378;3371:12;3333:52;3420:9;3407:23;3439:31;3464:5;3439:31;:::i;:::-;3489:5;3541:2;3526:18;;;;3513:32;;-1:-1:-1;;;3236:315:16:o;3556:245::-;3614:6;3667:2;3655:9;3646:7;3642:23;3638:32;3635:52;;;3683:1;3680;3673:12;3635:52;3722:9;3709:23;3741:30;3765:5;3741:30;:::i;3806:249::-;3875:6;3928:2;3916:9;3907:7;3903:23;3899:32;3896:52;;;3944:1;3941;3934:12;3896:52;3976:9;3970:16;3995:30;4019:5;3995:30;:::i;4060:450::-;4129:6;4182:2;4170:9;4161:7;4157:23;4153:32;4150:52;;;4198:1;4195;4188:12;4150:52;4238:9;4225:23;4271:18;4263:6;4260:30;4257:50;;;4303:1;4300;4293:12;4257:50;4326:22;;4379:4;4371:13;;4367:27;-1:-1:-1;4357:55:16;;4408:1;4405;4398:12;4357:55;4431:73;4496:7;4491:2;4478:16;4473:2;4469;4465:11;4431:73;:::i;4515:180::-;4574:6;4627:2;4615:9;4606:7;4602:23;4598:32;4595:52;;;4643:1;4640;4633:12;4595:52;-1:-1:-1;4666:23:16;;4515:180;-1:-1:-1;4515:180:16:o;4700:660::-;4780:6;4788;4796;4849:2;4837:9;4828:7;4824:23;4820:32;4817:52;;;4865:1;4862;4855:12;4817:52;4901:9;4888:23;4878:33;;4962:2;4951:9;4947:18;4934:32;4985:18;5026:2;5018:6;5015:14;5012:34;;;5042:1;5039;5032:12;5012:34;5080:6;5069:9;5065:22;5055:32;;5125:7;5118:4;5114:2;5110:13;5106:27;5096:55;;5147:1;5144;5137:12;5096:55;5187:2;5174:16;5213:2;5205:6;5202:14;5199:34;;;5229:1;5226;5219:12;5199:34;5274:7;5269:2;5260:6;5256:2;5252:15;5248:24;5245:37;5242:57;;;5295:1;5292;5285:12;5242:57;5326:2;5322;5318:11;5308:21;;5348:6;5338:16;;;;;4700:660;;;;;:::o;5365:257::-;5406:3;5444:5;5438:12;5471:6;5466:3;5459:19;5487:63;5543:6;5536:4;5531:3;5527:14;5520:4;5513:5;5509:16;5487:63;:::i;:::-;5604:2;5583:15;-1:-1:-1;;5579:29:16;5570:39;;;;5611:4;5566:50;;5365:257;-1:-1:-1;;5365:257:16:o;5627:470::-;5806:3;5844:6;5838:13;5860:53;5906:6;5901:3;5894:4;5886:6;5882:17;5860:53;:::i;:::-;5976:13;;5935:16;;;;5998:57;5976:13;5935:16;6032:4;6020:17;;5998:57;:::i;:::-;6071:20;;5627:470;-1:-1:-1;;;;5627:470:16:o;6310:488::-;-1:-1:-1;;;;;6579:15:16;;;6561:34;;6631:15;;6626:2;6611:18;;6604:43;6678:2;6663:18;;6656:34;;;6726:3;6721:2;6706:18;;6699:31;;;6504:4;;6747:45;;6772:19;;6764:6;6747:45;:::i;:::-;6739:53;6310:488;-1:-1:-1;;;;;;6310:488:16:o;6803:632::-;6974:2;7026:21;;;7096:13;;6999:18;;;7118:22;;;6945:4;;6974:2;7197:15;;;;7171:2;7156:18;;;6945:4;7240:169;7254:6;7251:1;7248:13;7240:169;;;7315:13;;7303:26;;7384:15;;;;7349:12;;;;7276:1;7269:9;7240:169;;;-1:-1:-1;7426:3:16;;6803:632;-1:-1:-1;;;;;;6803:632:16:o;7632:390::-;7791:2;7780:9;7773:21;7830:6;7825:2;7814:9;7810:18;7803:34;7887:6;7879;7874:2;7863:9;7859:18;7846:48;7943:1;7914:22;;;7938:2;7910:31;;;7903:42;;;;8006:2;7985:15;;;-1:-1:-1;;7981:29:16;7966:45;7962:54;;7632:390;-1:-1:-1;7632:390:16:o;8027:219::-;8176:2;8165:9;8158:21;8139:4;8196:44;8236:2;8225:9;8221:18;8213:6;8196:44;:::i;9366:414::-;9568:2;9550:21;;;9607:2;9587:18;;;9580:30;9646:34;9641:2;9626:18;;9619:62;-1:-1:-1;;;9712:2:16;9697:18;;9690:48;9770:3;9755:19;;9366:414::o;15502:356::-;15704:2;15686:21;;;15723:18;;;15716:30;15782:34;15777:2;15762:18;;15755:62;15849:2;15834:18;;15502:356::o;17091:413::-;17293:2;17275:21;;;17332:2;17312:18;;;17305:30;17371:34;17366:2;17351:18;;17344:62;-1:-1:-1;;;17437:2:16;17422:18;;17415:47;17494:3;17479:19;;17091:413::o;18456:128::-;18496:3;18527:1;18523:6;18520:1;18517:13;18514:39;;;18533:18;;:::i;:::-;-1:-1:-1;18569:9:16;;18456:128::o;18589:120::-;18629:1;18655;18645:35;;18660:18;;:::i;:::-;-1:-1:-1;18694:9:16;;18589:120::o;18714:168::-;18754:7;18820:1;18816;18812:6;18808:14;18805:1;18802:21;18797:1;18790:9;18783:17;18779:45;18776:71;;;18827:18;;:::i;:::-;-1:-1:-1;18867:9:16;;18714:168::o;18887:125::-;18927:4;18955:1;18952;18949:8;18946:34;;;18960:18;;:::i;:::-;-1:-1:-1;18997:9:16;;18887:125::o;19017:258::-;19089:1;19099:113;19113:6;19110:1;19107:13;19099:113;;;19189:11;;;19183:18;19170:11;;;19163:39;19135:2;19128:10;19099:113;;;19230:6;19227:1;19224:13;19221:48;;;-1:-1:-1;;19265:1:16;19247:16;;19240:27;19017:258::o;19280:380::-;19359:1;19355:12;;;;19402;;;19423:61;;19477:4;19469:6;19465:17;19455:27;;19423:61;19530:2;19522:6;19519:14;19499:18;19496:38;19493:161;;;19576:10;19571:3;19567:20;19564:1;19557:31;19611:4;19608:1;19601:15;19639:4;19636:1;19629:15;19665:135;19704:3;-1:-1:-1;;19725:17:16;;19722:43;;;19745:18;;:::i;:::-;-1:-1:-1;19792:1:16;19781:13;;19665:135::o;19805:112::-;19837:1;19863;19853:35;;19868:18;;:::i;:::-;-1:-1:-1;19902:9:16;;19805:112::o;19922:127::-;19983:10;19978:3;19974:20;19971:1;19964:31;20014:4;20011:1;20004:15;20038:4;20035:1;20028:15;20054:127;20115:10;20110:3;20106:20;20103:1;20096:31;20146:4;20143:1;20136:15;20170:4;20167:1;20160:15;20186:127;20247:10;20242:3;20238:20;20235:1;20228:31;20278:4;20275:1;20268:15;20302:4;20299:1;20292:15;20318:127;20379:10;20374:3;20370:20;20367:1;20360:31;20410:4;20407:1;20400:15;20434:4;20431:1;20424:15;20450:127;20511:10;20506:3;20502:20;20499:1;20492:31;20542:4;20539:1;20532:15;20566:4;20563:1;20556:15;20582:131;-1:-1:-1;;;;;20657:31:16;;20647:42;;20637:70;;20703:1;20700;20693:12;20718:131;-1:-1:-1;;;;;;20792:32:16;;20782:43;;20772:71;;20839:1;20836;20829:12
Swarm Source
ipfs://e37d7a1f3b28dcab815bd0f5d2a10f4e96222d8022c5e5e9055b70077e5cd8eb
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.