Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
500 EXL
Holders
46
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 EXLLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
ExplorationLabs
Compiler Version
v0.8.4+commit.c7e474f2
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT /* ............EXLABS............. Building for future generations ..PROGRESSUS EST SACRIFICIUM... ............................... **/ pragma solidity ^0.8.4; import "erc721a/contracts/ERC721A.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; import "./ExploreToken.sol"; contract ExplorationLabs is ERC721A, Pausable, Ownable, ReentrancyGuard { using ECDSA for bytes32; using Strings for uint256; enum SaleType { INACTIVE, PIONEER_PASS, PRESALE, GENERAL } SaleType saleType = SaleType.INACTIVE; string private baseTokenURI; uint256 public cost = 0.10 ether; uint256 public pioneerPassCost = 0.129 ether; uint256 public maxSupply = 5000; uint256 public preSaleMaxSupply = 4500; uint256 public pioneerPassMaxSupply = 500; uint256 public maxMintAmt = 20; uint256 public pioneerPassMaxMintAmt = 1; address private _signerAddress; bool private signerActive = true; address private paymentAddress; address private royaltyAddress; uint96 private royaltyBasisPoints = 500; bytes4 private constant _INTERFACE_ID_ERC2981 = 0x2a55205a; address ExploreTokenAddr; IExploreToken public exploreToken; constructor( address signerAddress_ ) ERC721A("ExplorationLabs", "EXL") { _signerAddress = signerAddress_; } function _baseURI() internal view virtual override returns (string memory) { return baseTokenURI; } function setBaseURI(string calldata baseURI) external onlyOwner { baseTokenURI = baseURI; } function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) { require(_exists(_tokenId), "URI query for nonexistent token"); string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string(abi.encodePacked(currentBaseURI, _tokenId.toString())) : ""; } function mint(uint256 _quantity, bytes calldata signature) external payable { require(saleType != SaleType.INACTIVE); require(tx.origin == msg.sender, "Must be called by a user"); require(_quantity > 0, "Must mint at least 1"); if(signerActive) { require(_signerAddress == keccak256( abi.encodePacked( "\x19Ethereum Signed Message:\n32", bytes32(uint256(uint160(msg.sender))) ) ).recover(signature), "Signer address mismatch"); } uint256 _maxMintAmt = maxMintAmt; uint256 _maxSupply = maxSupply; uint256 _cost = cost; if(saleType == SaleType.PIONEER_PASS) { _maxMintAmt = pioneerPassMaxMintAmt; _maxSupply = pioneerPassMaxSupply; _cost = pioneerPassCost; } else if(saleType == SaleType.PRESALE) { _maxSupply = preSaleMaxSupply; } require(_numberMinted(msg.sender) + _quantity <= _maxMintAmt, "Attempted to mint more than allowed per address"); require(totalSupply() + _quantity <= _maxSupply, "Mint limit reached"); require(msg.value >= _cost * _quantity, "Ether value sent is incorrect"); _safeMint(msg.sender, _quantity); exploreToken.updateRewardOnMint(msg.sender); } function devMint(uint256 _quantity) external onlyOwner { require(totalSupply() + _quantity <= maxSupply, "Mint limit reached"); _safeMint(msg.sender, _quantity); exploreToken.updateRewardOnMint(msg.sender); } function numberMinted(address owner) external view returns (uint256) { return _numberMinted(owner); } function ownedTokensByAddress(address owner) external view returns (uint256[] memory) { uint256 totalTokensOwned = balanceOf(owner); uint256[] memory allTokenIds = new uint256[](totalTokensOwned); for (uint256 i = 0; i < totalTokensOwned; i++) { allTokenIds[i] = (tokenOfOwnerByIndex(owner, i)); } return allTokenIds; } function getMsg() public view returns(string memory) { return exploreToken.checkMsg(); } function mintEXPReward() external { exploreToken.mintReward(msg.sender); } function transferFrom(address from, address to, uint256 tokenId) public override { exploreToken.updateReward(from, to); ERC721A.transferFrom(from, to, tokenId); } function setExploreTokenAddr (address exploreTokenaddress) external onlyOwner { ExploreTokenAddr = exploreTokenaddress; exploreToken = IExploreToken(ExploreTokenAddr); } function setMaxSupply(uint256 _maxSupply) external onlyOwner { maxSupply = _maxSupply; } function setPresaleMaxSupply(uint256 _presaleMaxSupply) external onlyOwner { preSaleMaxSupply = _presaleMaxSupply; } function setSignerActive(bool _signerActive) external onlyOwner { signerActive = _signerActive; } function setCost(uint256 _newCost) external onlyOwner { cost = _newCost; } function setPioneerPassCost(uint256 _newPioneerPassCost) external onlyOwner { pioneerPassCost = _newPioneerPassCost; } function setPioneerPassMaxSupply(uint256 _newPioneerPassMaxSupply) external onlyOwner { pioneerPassMaxSupply = _newPioneerPassMaxSupply; } function setPioneerPassMaxMintAmt(uint256 _newPioneerPassMaxMintAmt) external onlyOwner { pioneerPassMaxMintAmt = _newPioneerPassMaxMintAmt; } function getSaleType() external view returns (SaleType) { return saleType; } function inactiveSaleOpen() external onlyOwner { saleType = SaleType.INACTIVE; } function pioneerPassSaleOpen() external onlyOwner { saleType = SaleType.PIONEER_PASS; } function presaleOpen() external onlyOwner { saleType = SaleType.PRESALE; } function generalSaleOpen() external onlyOwner { saleType = SaleType.GENERAL; } function pause() external onlyOwner { _pause(); } function unpause() external onlyOwner { _unpause(); } function setPaymentAddress(address _paymentAddress) external onlyOwner { paymentAddress = _paymentAddress; } function setRoyaltyAddress(address _royaltyAddress) external onlyOwner { royaltyAddress = _royaltyAddress; } function royaltyInfo(uint256 _tokenId, uint256 _salePrice) external view returns (address receiver, uint256 royaltyAmount) { require(_exists(_tokenId), "Cannot query non-existent token"); return (royaltyAddress, (_salePrice * royaltyBasisPoints) / 10000); } function getMissionStatement() external pure returns (string memory) { return "Building For Future Generations"; } function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721A) returns (bool) { if (interfaceId == _INTERFACE_ID_ERC2981) { return true; } return super.supportsInterface(interfaceId); } function _beforeTokenTransfers( address from, address to, uint256 tokenId, uint256 quantity ) internal whenNotPaused override(ERC721A) { super._beforeTokenTransfers(from, to, tokenId, quantity); } function withdraw() external onlyOwner nonReentrant { (bool success, ) = payable(paymentAddress).call{ value: address(this).balance }(""); require(success, "Transfer failed"); } }
// SPDX-License-Identifier: MIT // Creator: Chiru Labs pragma solidity ^0.8.4; import '@openzeppelin/contracts/token/ERC721/IERC721.sol'; import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol'; import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol'; import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol'; import '@openzeppelin/contracts/utils/Address.sol'; import '@openzeppelin/contracts/utils/Context.sol'; import '@openzeppelin/contracts/utils/Strings.sol'; import '@openzeppelin/contracts/utils/introspection/ERC165.sol'; error ApprovalCallerNotOwnerNorApproved(); error ApprovalQueryForNonexistentToken(); error ApproveToCaller(); error ApprovalToCurrentOwner(); error BalanceQueryForZeroAddress(); error MintedQueryForZeroAddress(); error BurnedQueryForZeroAddress(); error AuxQueryForZeroAddress(); error MintToZeroAddress(); error MintZeroQuantity(); error OwnerIndexOutOfBounds(); error OwnerQueryForNonexistentToken(); error TokenIndexOutOfBounds(); error TransferCallerNotOwnerNorApproved(); error TransferFromIncorrectOwner(); error TransferToNonERC721ReceiverImplementer(); error TransferToZeroAddress(); error URIQueryForNonexistentToken(); /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Compiler will pack this into a single 256bit word. struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; } // Compiler will pack this into a single 256bit word. struct AddressData { // Realistically, 2**64-1 is more than enough. uint64 balance; // Keeps track of mint count with minimal overhead for tokenomics. uint64 numberMinted; // Keeps track of burn count with minimal overhead for tokenomics. uint64 numberBurned; // For miscellaneous variable(s) pertaining to the address // (e.g. number of whitelist mint slots used). // If there are multiple variables, please pack them into a uint64. uint64 aux; } // The tokenId of the next token to be minted. uint256 internal _currentIndex; // The number of tokens burned. uint256 internal _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. See ownershipOf implementation for details. mapping(uint256 => TokenOwnership) internal _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * To change the starting tokenId, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev See {IERC721Enumerable-totalSupply}. * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens. */ function totalSupply() public view returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than _currentIndex - _startTokenId() times unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to _startTokenId() unchecked { return _currentIndex - _startTokenId(); } } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return uint256(_addressData[owner].balance); } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { if (owner == address(0)) revert MintedQueryForZeroAddress(); return uint256(_addressData[owner].numberMinted); } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { if (owner == address(0)) revert BurnedQueryForZeroAddress(); return uint256(_addressData[owner].numberBurned); } /** * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { if (owner == address(0)) revert AuxQueryForZeroAddress(); return _addressData[owner].aux; } /** * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal { if (owner == address(0)) revert AuxQueryForZeroAddress(); _addressData[owner].aux = aux; } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr && curr < _currentIndex) { TokenOwnership memory ownership = _ownerships[curr]; if (!ownership.burned) { if (ownership.addr != address(0)) { return ownership; } // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. while (true) { curr--; ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } } } } revert OwnerQueryForNonexistentToken(); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return ownershipOf(tokenId).addr; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ERC721A.ownerOf(tokenId); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) { revert ApprovalCallerNotOwnerNorApproved(); } _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public override { if (operator == _msgSender()) revert ApproveToCaller(); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { _transfer(from, to, tokenId); if (to.isContract() && !_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && !_ownerships[tokenId].burned; } function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { _mint(to, quantity, _data, true); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _mint( address to, uint256 quantity, bytes memory _data, bool safe ) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { _addressData[to].balance += uint64(quantity); _addressData[to].numberMinted += uint64(quantity); _ownerships[startTokenId].addr = to; _ownerships[startTokenId].startTimestamp = uint64(block.timestamp); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; if (safe && to.isContract()) { do { emit Transfer(address(0), to, updatedIndex); if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (updatedIndex != end); // Reentrancy protection if (_currentIndex != startTokenId) revert(); } else { do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex != end); } _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) private { TokenOwnership memory prevOwnership = ownershipOf(tokenId); bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr || isApprovedForAll(prevOwnership.addr, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (prevOwnership.addr != from) revert TransferFromIncorrectOwner(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { _addressData[from].balance -= 1; _addressData[to].balance += 1; _ownerships[tokenId].addr = to; _ownerships[tokenId].startTimestamp = uint64(block.timestamp); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; if (_ownerships[nextTokenId].addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId < _currentIndex) { _ownerships[nextTokenId].addr = prevOwnership.addr; _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @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 { TokenOwnership memory prevOwnership = ownershipOf(tokenId); _beforeTokenTransfers(prevOwnership.addr, address(0), tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { _addressData[prevOwnership.addr].balance -= 1; _addressData[prevOwnership.addr].numberBurned += 1; // Keep track of who burned the token, and the timestamp of burning. _ownerships[tokenId].addr = prevOwnership.addr; _ownerships[tokenId].startTimestamp = uint64(block.timestamp); _ownerships[tokenId].burned = true; // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; if (_ownerships[nextTokenId].addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId < _currentIndex) { _ownerships[nextTokenId].addr = prevOwnership.addr; _ownerships[nextTokenId].startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(prevOwnership.addr, address(0), tokenId); _afterTokenTransfers(prevOwnership.addr, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first. * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view returns (uint256) { if (index >= balanceOf(owner)) revert OwnerIndexOutOfBounds(); uint256 numMintedSoFar = _currentIndex; uint256 tokenIdsIdx; address currOwnershipAddr; // Counter overflow is impossible as the loop breaks when // uint256 i is equal to another uint256 numMintedSoFar. unchecked { for (uint256 i; i < numMintedSoFar; i++) { TokenOwnership memory ownership = _ownerships[i]; if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { if (tokenIdsIdx == index) { return i; } tokenIdsIdx++; } } } // Execution should never reach this point. revert(); } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * And also called before burning one token. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/Pausable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/ECDSA.sol) pragma solidity ^0.8.0; import "../Strings.sol"; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } else if (error == RecoverError.InvalidSignatureV) { revert("ECDSA: invalid signature 'v' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { // Check the signature length // - case 65: r,s,v signature (standard) // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._ if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else if (signature.length == 64) { bytes32 r; bytes32 vs; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) vs := mload(add(signature, 0x40)) } return tryRecover(hash, r, vs); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff); uint8 v = uint8((uint256(vs) >> 255) + 27); return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } if (v != 27 && v != 28) { return (address(0), RecoverError.InvalidSignatureV); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Message, created from `s`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.4; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; interface IExLabsNFT { function balanceOf(address _user) external view returns(uint256); } interface IExploreToken { function checkMsg() external view returns(string memory); function mintReward(address) external; function updateRewardOnMint(address) external; function updateReward(address _from, address _to) external; } contract ExploreToken is ERC20, ERC20Burnable, Pausable, Ownable { using SafeMath for uint256; uint256 constant public baseYieldRate = 10 ether; // December 5, 2021 8:00:00 AM PST uint256 constant public START = 1638720000; // January 31, 2028 8:00:00 PM PST uint256 constant public END = 1832990400; mapping(address => uint256) public rewards; mapping(address => uint256) public lastUpdate; IExLabsNFT public nftContract; event RewardPaid(address indexed user, uint256 reward); string constant public TOKEN_NAME = "Explore Token"; string constant public TOKEN_SYMBOL = "EXP"; constructor(address _nftContract) ERC20(TOKEN_NAME, TOKEN_SYMBOL) { nftContract = IExLabsNFT(_nftContract); } function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } function updateRewardOnMint(address _user) public { require(msg.sender == address(nftContract), "Can't call this"); uint256 time = min(block.timestamp, END); uint256 timerUser = lastUpdate[_user]; if (timerUser > 0) { rewards[_user] = rewards[_user].add(nftContract.balanceOf(_user).mul(baseYieldRate.mul((time.sub(timerUser)))).div(86400)); } else { lastUpdate[_user] = time; } } function updateReward(address _from, address _to) external { uint256 time = min(block.timestamp, END); uint256 timerFrom = lastUpdate[_from]; if (timerFrom > 0) { rewards[_from] += nftContract .balanceOf(_from) .mul(baseYieldRate.mul((time.sub(timerFrom)))) .div(86400); } if (timerFrom != END) { lastUpdate[_from] = time; } if (_to != address(0)) { uint256 timerTo = lastUpdate[_to]; if (timerTo > 0) { rewards[_to] += nftContract .balanceOf(_to) .mul(baseYieldRate.mul((time.sub(timerTo)))) .div(86400); } if (timerTo != END) { lastUpdate[_to] = time; } } } function mintReward(address _to) external { require(msg.sender == address(nftContract), "Can only be called by ExLabs contract"); uint256 exLabsBal = nftContract.balanceOf(_to); require(exLabsBal != 0, "Not a valid Exploration NFT owner"); uint256 time = min(block.timestamp, END); uint256 reward = rewards[_to]; uint256 unclaimed = this.getTotalClaimable(_to); if (reward > 0) { rewards[_to] = 0; lastUpdate[_to] = time; mint(_to, reward + unclaimed); emit RewardPaid(_to, reward + unclaimed); } else { lastUpdate[_to] = time; mint(_to, unclaimed); emit RewardPaid(_to, unclaimed); } } function getTotalClaimable (address _user) external view returns (uint256) { uint256 time = min(block.timestamp, END); uint256 unclaimed = nftContract.balanceOf(_user).mul(baseYieldRate.mul(time.sub(lastUpdate[_user]))).div(86400); return rewards[_user] + unclaimed; } function burn(address _from, uint256 _amount) external { require(msg.sender == address(nftContract)); _burn(_from, _amount); } function mint(address to, uint256 amount) internal { _mint(to, amount); } function pause() public onlyOwner { _pause(); } function unpause() public onlyOwner { _unpause(); } function _beforeTokenTransfer(address from, address to, uint256 amount) internal whenNotPaused override { super._beforeTokenTransfer(from, to, amount); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless this function is * overridden; * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom( address from, address to, uint256 amount ) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, _allowances[owner][spender] + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = _allowances[owner][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `sender` to `recipient`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer( address from, address to, uint256 amount ) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; } _balances[to] += amount; emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve( address owner, address spender, uint256 amount ) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Spend `amount` form the allowance of `owner` toward `spender`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance( address owner, address spender, uint256 amount ) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens 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 amount ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been 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 _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/extensions/ERC20Burnable.sol) pragma solidity ^0.8.0; import "../ERC20.sol"; import "../../../utils/Context.sol"; /** * @dev Extension of {ERC20} that allows token holders to destroy both their own * tokens and those that they have an allowance for, in a way that can be * recognized off-chain (via event analysis). */ abstract contract ERC20Burnable is Context, ERC20 { /** * @dev Destroys `amount` tokens from the caller. * * See {ERC20-_burn}. */ function burn(uint256 amount) public virtual { _burn(_msgSender(), amount); } /** * @dev Destroys `amount` tokens from `account`, deducting from the caller's * allowance. * * See {ERC20-_burn} and {ERC20-allowance}. * * Requirements: * * - the caller must have allowance for ``accounts``'s tokens of at least * `amount`. */ function burnFrom(address account, uint256 amount) public virtual { _spendAllowance(account, _msgSender(), amount); _burn(account, amount); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"signerAddress_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"MintedQueryForZeroAddress","type":"error"},{"inputs":[],"name":"OwnerIndexOutOfBounds","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"address","name":"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":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"devMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"exploreToken","outputs":[{"internalType":"contract IExploreToken","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"generalSaleOpen","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":[],"name":"getMissionStatement","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"getMsg","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getSaleType","outputs":[{"internalType":"enum ExplorationLabs.SaleType","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"inactiveSaleOpen","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintEXPReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"ownedTokensByAddress","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pioneerPassCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pioneerPassMaxMintAmt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pioneerPassMaxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pioneerPassSaleOpen","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"preSaleMaxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleOpen","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"exploreTokenaddress","type":"address"}],"name":"setExploreTokenAddr","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_paymentAddress","type":"address"}],"name":"setPaymentAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPioneerPassCost","type":"uint256"}],"name":"setPioneerPassCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPioneerPassMaxMintAmt","type":"uint256"}],"name":"setPioneerPassMaxMintAmt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPioneerPassMaxSupply","type":"uint256"}],"name":"setPioneerPassMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_presaleMaxSupply","type":"uint256"}],"name":"setPresaleMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_royaltyAddress","type":"address"}],"name":"setRoyaltyAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_signerActive","type":"bool"}],"name":"setSignerActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052600a805460ff1916905567016345785d8a0000600c556701ca4cd108068000600d55611388600e55611194600f556101f46010556014601155600160125560138054600160a01b60ff60a01b19909116179055601580546001600160a01b0316607d60a21b1790553480156200007957600080fd5b5060405162003461380380620034618339810160408190526200009c916200024b565b604080518082018252600f81526e4578706c6f726174696f6e4c61627360881b60208083019182528351808501909452600384526211561360ea1b908401528151919291620000ee91600291620001a5565b50805162000104906003906020840190620001a5565b506000805550506008805460ff1916905562000120336200014b565b6001600955601380546001600160a01b0319166001600160a01b0392909216919091179055620002b8565b600880546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620001b3906200027b565b90600052602060002090601f016020900481019282620001d7576000855562000222565b82601f10620001f257805160ff191683800117855562000222565b8280016001018555821562000222579182015b828111156200022257825182559160200191906001019062000205565b506200023092915062000234565b5090565b5b8082111562000230576000815560010162000235565b6000602082840312156200025d578081fd5b81516001600160a01b038116811462000274578182fd5b9392505050565b600181811c908216806200029057607f821691505b60208210811415620002b257634e487b7160e01b600052602260045260246000fd5b50919050565b61319980620002c86000396000f3fe6080604052600436106103355760003560e01c8063666a58ae116101ab578063b5fdeb23116100f7578063db6cfd1211610095578063dc33e6811161006f578063dc33e6811461093d578063e985e9c51461095d578063f2fde38b146109a6578063fe223448146109c657600080fd5b8063db6cfd12146108dd578063db7fd408146108fd578063dba028c21461091057600080fd5b8063c87b56dd116100d1578063c87b56dd14610867578063d1e812a314610887578063d2266817146108a7578063d5abeb01146108c757600080fd5b8063b5fdeb231461081d578063b88d4fde14610832578063bee6348a1461085257600080fd5b80638456cb591161016457806395d89b411161013e57806395d89b41146107bc578063a18116f1146107d1578063a22cb465146107e7578063a53dc05f1461080757600080fd5b80638456cb59146107645780638da5cb5b146107795780638dae12441461079c57600080fd5b8063666a58ae1461069f57806368cf115d146106b457806368d9bdad146106c95780636f8b44b01461070f57806370a082311461072f578063715018a61461074f57600080fd5b8063320d408611610285578063445140bf1161022357806358deeac7116101fd57806358deeac7146106325780635c975abb146106475780635e1e10041461065f5780636352211e1461067f57600080fd5b8063445140bf146105d257806344a0d68a146105f257806355f804b31461061257600080fd5b80633c2a2a991161025f5780633c2a2a99146105685780633ccfd60b146105885780633f4ba83a1461059d57806342842e0e146105b257600080fd5b8063320d4086146105125780633215cec014610528578063375a069a1461054857600080fd5b80630a5923c4116102f257806318160ddd116102cc57806318160ddd1461047a57806323b872dd146104935780632a55205a146104b35780632f745c59146104f257600080fd5b80630a5923c41461042b5780630e80ee071461044f57806313faede61461046457600080fd5b806301ffc9a71461033a57806306d254da1461036f57806306fdde0314610391578063081812fc146103b3578063095ea7b3146103eb5780630a403f041461040b575b600080fd5b34801561034657600080fd5b5061035a610355366004612d05565b6109dc565b60405190151581526020015b60405180910390f35b34801561037b57600080fd5b5061038f61038a366004612b70565b610a0e565b005b34801561039d57600080fd5b506103a6610a69565b6040516103669190612f74565b3480156103bf57600080fd5b506103d36103ce366004612dee565b610afb565b6040516001600160a01b039091168152602001610366565b3480156103f757600080fd5b5061038f610406366004612cc2565b610b3f565b34801561041757600080fd5b5061038f610426366004612dee565b610bcd565b34801561043757600080fd5b5061044160125481565b604051908152602001610366565b34801561045b57600080fd5b5061038f610c02565b34801561047057600080fd5b50610441600c5481565b34801561048657600080fd5b5060015460005403610441565b34801561049f57600080fd5b5061038f6104ae366004612bbc565b610c49565b3480156104bf57600080fd5b506104d36104ce366004612e4f565b610cbb565b604080516001600160a01b039093168352602083019190915201610366565b3480156104fe57600080fd5b5061044161050d366004612cc2565b610d5a565b34801561051e57600080fd5b5061044160105481565b34801561053457600080fd5b5061038f610543366004612dee565b610e4d565b34801561055457600080fd5b5061038f610563366004612dee565b610e82565b34801561057457600080fd5b5061038f610583366004612ceb565b610f7a565b34801561059457600080fd5b5061038f610fc8565b3480156105a957600080fd5b5061038f6110ed565b3480156105be57600080fd5b5061038f6105cd366004612bbc565b611127565b3480156105de57600080fd5b5061038f6105ed366004612b70565b611142565b3480156105fe57600080fd5b5061038f61060d366004612dee565b61119e565b34801561061e57600080fd5b5061038f61062d366004612d3d565b6111d3565b34801561063e57600080fd5b5061038f61120f565b34801561065357600080fd5b5060085460ff1661035a565b34801561066b57600080fd5b5061038f61067a366004612b70565b611253565b34801561068b57600080fd5b506103d361069a366004612dee565b6112a5565b3480156106ab57600080fd5b5061038f6112b7565b3480156106c057600080fd5b5061038f6112fa565b3480156106d557600080fd5b5060408051808201909152601f81527f4275696c64696e6720466f72204675747572652047656e65726174696f6e730060208201526103a6565b34801561071b57600080fd5b5061038f61072a366004612dee565b611359565b34801561073b57600080fd5b5061044161074a366004612b70565b61138e565b34801561075b57600080fd5b5061038f6113dc565b34801561077057600080fd5b5061038f611416565b34801561078557600080fd5b5060085461010090046001600160a01b03166103d3565b3480156107a857600080fd5b506017546103d3906001600160a01b031681565b3480156107c857600080fd5b506103a661144e565b3480156107dd57600080fd5b50610441600f5481565b3480156107f357600080fd5b5061038f610802366004612c99565b61145d565b34801561081357600080fd5b5061044160115481565b34801561082957600080fd5b506103a66114f3565b34801561083e57600080fd5b5061038f61084d366004612bf7565b611579565b34801561085e57600080fd5b5061038f6115c4565b34801561087357600080fd5b506103a6610882366004612dee565b611608565b34801561089357600080fd5b50600a5460ff166040516103669190612f4c565b3480156108b357600080fd5b5061038f6108c2366004612dee565b6116bb565b3480156108d357600080fd5b50610441600e5481565b3480156108e957600080fd5b5061038f6108f8366004612dee565b6116f0565b61038f61090b366004612e06565b611725565b34801561091c57600080fd5b5061093061092b366004612b70565b611b0e565b6040516103669190612f08565b34801561094957600080fd5b50610441610958366004612b70565b611bcb565b34801561096957600080fd5b5061035a610978366004612b8a565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156109b257600080fd5b5061038f6109c1366004612b70565b611bd6565b3480156109d257600080fd5b50610441600d5481565b60006001600160e01b0319821663152a902d60e11b14156109ff57506001919050565b610a0882611c77565b92915050565b6008546001600160a01b03610100909104163314610a475760405162461bcd60e51b8152600401610a3e90612f87565b60405180910390fd5b601580546001600160a01b0319166001600160a01b0392909216919091179055565b606060028054610a78906130a1565b80601f0160208091040260200160405190810160405280929190818152602001828054610aa4906130a1565b8015610af15780601f10610ac657610100808354040283529160200191610af1565b820191906000526020600020905b815481529060010190602001808311610ad457829003601f168201915b5050505050905090565b6000610b0682611cc7565b610b23576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610b4a826112a5565b9050806001600160a01b0316836001600160a01b03161415610b7f5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614801590610b9f5750610b9d8133610978565b155b15610bbd576040516367d9dca160e11b815260040160405180910390fd5b610bc8838383611cf2565b505050565b6008546001600160a01b03610100909104163314610bfd5760405162461bcd60e51b8152600401610a3e90612f87565b600f55565b6008546001600160a01b03610100909104163314610c325760405162461bcd60e51b8152600401610a3e90612f87565b600a80546003919060ff19166001835b0217905550565b601754604051636918579d60e11b81526001600160a01b03858116600483015284811660248301529091169063d230af3a90604401600060405180830381600087803b158015610c9857600080fd5b505af1158015610cac573d6000803e3d6000fd5b50505050610bc8838383611d4e565b600080610cc784611cc7565b610d135760405162461bcd60e51b815260206004820152601f60248201527f43616e6e6f74207175657279206e6f6e2d6578697374656e7420746f6b656e006044820152606401610a3e565b6015546001600160a01b0381169061271090610d4490600160a01b90046bffffffffffffffffffffffff168661303f565b610d4e919061302b565b915091505b9250929050565b6000610d658361138e565b8210610d84576040516306ed618760e11b815260040160405180910390fd5b600080549080805b83811015610e4757600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff161580159282019290925290610df35750610e3f565b80516001600160a01b031615610e0857805192505b876001600160a01b0316836001600160a01b03161415610e3d5786841415610e3657509350610a0892505050565b6001909301925b505b600101610d8c565b50600080fd5b6008546001600160a01b03610100909104163314610e7d5760405162461bcd60e51b8152600401610a3e90612f87565b601255565b6008546001600160a01b03610100909104163314610eb25760405162461bcd60e51b8152600401610a3e90612f87565b600e5481610ec36001546000540390565b610ecd9190613013565b1115610f105760405162461bcd60e51b8152602060048201526012602482015271135a5b9d081b1a5b5a5d081c995858da195960721b6044820152606401610a3e565b610f1a3382611d59565b6017546040516311ef30b560e31b81523360048201526001600160a01b0390911690638f7985a890602401600060405180830381600087803b158015610f5f57600080fd5b505af1158015610f73573d6000803e3d6000fd5b5050505050565b6008546001600160a01b03610100909104163314610faa5760405162461bcd60e51b8152600401610a3e90612f87565b60138054911515600160a01b0260ff60a01b19909216919091179055565b6008546001600160a01b03610100909104163314610ff85760405162461bcd60e51b8152600401610a3e90612f87565b6002600954141561104b5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610a3e565b60026009556014546040516000916001600160a01b03169047908381818185875af1925050503d806000811461109d576040519150601f19603f3d011682016040523d82523d6000602084013e6110a2565b606091505b50509050806110e55760405162461bcd60e51b815260206004820152600f60248201526e151c985b9cd9995c8819985a5b1959608a1b6044820152606401610a3e565b506001600955565b6008546001600160a01b0361010090910416331461111d5760405162461bcd60e51b8152600401610a3e90612f87565b611125611d77565b565b610bc883838360405180602001604052806000815250611579565b6008546001600160a01b036101009091041633146111725760405162461bcd60e51b8152600401610a3e90612f87565b601680546001600160a01b039092166001600160a01b0319928316811790915560178054909216179055565b6008546001600160a01b036101009091041633146111ce5760405162461bcd60e51b8152600401610a3e90612f87565b600c55565b6008546001600160a01b036101009091041633146112035760405162461bcd60e51b8152600401610a3e90612f87565b610bc8600b8383612a6c565b6008546001600160a01b0361010090910416331461123f5760405162461bcd60e51b8152600401610a3e90612f87565b600a80546000919060ff1916600183610c42565b6008546001600160a01b036101009091041633146112835760405162461bcd60e51b8152600401610a3e90612f87565b601480546001600160a01b0319166001600160a01b0392909216919091179055565b60006112b082611e0a565b5192915050565b6008546001600160a01b036101009091041633146112e75760405162461bcd60e51b8152600401610a3e90612f87565b600a80546001919060ff19168280610c42565b60175460405163241d79e160e01b81523360048201526001600160a01b039091169063241d79e190602401600060405180830381600087803b15801561133f57600080fd5b505af1158015611353573d6000803e3d6000fd5b50505050565b6008546001600160a01b036101009091041633146113895760405162461bcd60e51b8152600401610a3e90612f87565b600e55565b60006001600160a01b0382166113b7576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6008546001600160a01b0361010090910416331461140c5760405162461bcd60e51b8152600401610a3e90612f87565b6111256000611f24565b6008546001600160a01b036101009091041633146114465760405162461bcd60e51b8152600401610a3e90612f87565b611125611f7e565b606060038054610a78906130a1565b6001600160a01b0382163314156114875760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6017546040805163821a7fc160e01b815290516060926001600160a01b03169163821a7fc1916004808301926000929190829003018186803b15801561153857600080fd5b505afa15801561154c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115749190810190612d7c565b905090565b611584848484611ff9565b6001600160a01b0383163b151580156115a657506115a484848484612217565b155b15611353576040516368d2bf6b60e11b815260040160405180910390fd5b6008546001600160a01b036101009091041633146115f45760405162461bcd60e51b8152600401610a3e90612f87565b600a80546002919060ff1916600183610c42565b606061161382611cc7565b61165f5760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e006044820152606401610a3e565b600061166961230f565b9050600081511161168957604051806020016040528060008152506116b4565b806116938461231e565b6040516020016116a4929190612e9c565b6040516020818303038152906040525b9392505050565b6008546001600160a01b036101009091041633146116eb5760405162461bcd60e51b8152600401610a3e90612f87565b600d55565b6008546001600160a01b036101009091041633146117205760405162461bcd60e51b8152600401610a3e90612f87565b601055565b6000600a5460ff16600381111561174c57634e487b7160e01b600052602160045260246000fd5b141561175757600080fd5b3233146117a65760405162461bcd60e51b815260206004820152601860248201527f4d7573742062652063616c6c65642062792061207573657200000000000000006044820152606401610a3e565b600083116117ed5760405162461bcd60e51b81526020600482015260146024820152734d757374206d696e74206174206c65617374203160601b6044820152606401610a3e565b601354600160a01b900460ff16156118f25761189582828080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250506040517f19457468657265756d205369676e6564204d6573736167653a0a333200000000602082015233603c820152605c0191506118719050565b6040516020818303038152906040528051906020012061243790919063ffffffff16565b6013546001600160a01b039081169116146118f25760405162461bcd60e51b815260206004820152601760248201527f5369676e65722061646472657373206d69736d617463680000000000000000006044820152606401610a3e565b601154600e54600c546001600a5460ff16600381111561192257634e487b7160e01b600052602160045260246000fd5b141561193c5760125492506010549150600d54905061196f565b6002600a5460ff16600381111561196357634e487b7160e01b600052602160045260246000fd5b141561196f57600f5491505b828661197a33612453565b6119849190613013565b11156119ea5760405162461bcd60e51b815260206004820152602f60248201527f417474656d7074656420746f206d696e74206d6f7265207468616e20616c6c6f60448201526e77656420706572206164647265737360881b6064820152608401610a3e565b81866119f96001546000540390565b611a039190613013565b1115611a465760405162461bcd60e51b8152602060048201526012602482015271135a5b9d081b1a5b5a5d081c995858da195960721b6044820152606401610a3e565b611a50868261303f565b341015611a9f5760405162461bcd60e51b815260206004820152601d60248201527f45746865722076616c75652073656e7420697320696e636f72726563740000006044820152606401610a3e565b611aa93387611d59565b6017546040516311ef30b560e31b81523360048201526001600160a01b0390911690638f7985a890602401600060405180830381600087803b158015611aee57600080fd5b505af1158015611b02573d6000803e3d6000fd5b50505050505050505050565b60606000611b1b8361138e565b90506000816001600160401b03811115611b4557634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015611b6e578160200160208202803683370190505b50905060005b82811015611bc357611b868582610d5a565b828281518110611ba657634e487b7160e01b600052603260045260246000fd5b602090810291909101015280611bbb816130dc565b915050611b74565b509392505050565b6000610a0882612453565b6008546001600160a01b03610100909104163314611c065760405162461bcd60e51b8152600401610a3e90612f87565b6001600160a01b038116611c6b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a3e565b611c7481611f24565b50565b60006001600160e01b031982166380ac58cd60e01b1480611ca857506001600160e01b03198216635b5e139f60e01b145b80610a0857506301ffc9a760e01b6001600160e01b0319831614610a08565b6000805482108015610a08575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610bc8838383611ff9565b611d738282604051806020016040528060008152506124a8565b5050565b60085460ff16611dc05760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610a3e565b6008805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b604080516060810182526000808252602082018190529181019190915281600054811015611f0b57600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff16151591810182905290611f095780516001600160a01b031615611ea0579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff1615159281019290925215611f04579392505050565b611ea0565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60085460ff1615611fc45760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610a3e565b6008805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611ded3390565b600061200482611e0a565b80519091506000906001600160a01b0316336001600160a01b03161480612032575081516120329033610978565b8061204d57503361204284610afb565b6001600160a01b0316145b90508061206d57604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b0316146120a25760405162a1148160e81b815260040160405180910390fd5b6001600160a01b0384166120c957604051633a954ecd60e21b815260040160405180910390fd5b6120d685858560016124b5565b6120e66000848460000151611cf2565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b4290921691909102179092559086018083529120549091166121d0576000548110156121d057825160008281526004602090815260409091208054918601516001600160401b0316600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610f73565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061224c903390899088908890600401612ecb565b602060405180830381600087803b15801561226657600080fd5b505af1925050508015612296575060408051601f3d908101601f1916820190925261229391810190612d21565b60015b6122f1573d8080156122c4576040519150601f19603f3d011682016040523d82523d6000602084013e6122c9565b606091505b5080516122e9576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600b8054610a78906130a1565b6060816123425750506040805180820190915260018152600360fc1b602082015290565b8160005b811561236c5780612356816130dc565b91506123659050600a8361302b565b9150612346565b6000816001600160401b0381111561239457634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156123be576020820181803683370190505b5090505b8415612307576123d360018361305e565b91506123e0600a866130f7565b6123eb906030613013565b60f81b81838151811061240e57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350612430600a8661302b565b94506123c2565b60008060006124468585612500565b91509150611bc38161256d565b60006001600160a01b03821661247c576040516335ebb31960e01b815260040160405180910390fd5b506001600160a01b0316600090815260056020526040902054600160401b90046001600160401b031690565b610bc8838383600161276e565b60085460ff16156124fb5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610a3e565b611353565b6000808251604114156125375760208301516040840151606085015160001a61252b87828585612946565b94509450505050610d53565b8251604014156125615760208301516040840151612556868383612a33565b935093505050610d53565b50600090506002610d53565b600081600481111561258f57634e487b7160e01b600052602160045260246000fd5b14156125985750565b60018160048111156125ba57634e487b7160e01b600052602160045260246000fd5b14156126085760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610a3e565b600281600481111561262a57634e487b7160e01b600052602160045260246000fd5b14156126785760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610a3e565b600381600481111561269a57634e487b7160e01b600052602160045260246000fd5b14156126f35760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610a3e565b600481600481111561271557634e487b7160e01b600052602160045260246000fd5b1415611c745760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610a3e565b6000546001600160a01b03851661279757604051622e076360e81b815260040160405180910390fd5b836127b55760405163b562e8dd60e01b815260040160405180910390fd5b6127c260008683876124b5565b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168c018116918217600160401b67ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b42909216919091021790558080850183801561286e57506001600160a01b0387163b15155b156128f7575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46128bf6000888480600101955088612217565b6128dc576040516368d2bf6b60e11b815260040160405180910390fd5b808214156128745782600054146128f257600080fd5b61293d565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808214156128f8575b50600055610f73565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561297d5750600090506003612a2a565b8460ff16601b1415801561299557508460ff16601c14155b156129a65750600090506004612a2a565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa1580156129fa573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116612a2357600060019250925050612a2a565b9150600090505b94509492505050565b6000806001600160ff1b03831681612a5060ff86901c601b613013565b9050612a5e87828885612946565b935093505050935093915050565b828054612a78906130a1565b90600052602060002090601f016020900481019282612a9a5760008555612ae0565b82601f10612ab35782800160ff19823516178555612ae0565b82800160010185558215612ae0579182015b82811115612ae0578235825591602001919060010190612ac5565b50612aec929150612af0565b5090565b5b80821115612aec5760008155600101612af1565b80356001600160a01b0381168114612b1c57600080fd5b919050565b80358015158114612b1c57600080fd5b60008083601f840112612b42578182fd5b5081356001600160401b03811115612b58578182fd5b602083019150836020828501011115610d5357600080fd5b600060208284031215612b81578081fd5b6116b482612b05565b60008060408385031215612b9c578081fd5b612ba583612b05565b9150612bb360208401612b05565b90509250929050565b600080600060608486031215612bd0578081fd5b612bd984612b05565b9250612be760208501612b05565b9150604084013590509250925092565b60008060008060808587031215612c0c578081fd5b612c1585612b05565b9350612c2360208601612b05565b92506040850135915060608501356001600160401b03811115612c44578182fd5b8501601f81018713612c54578182fd5b8035612c67612c6282612fec565b612fbc565b818152886020838501011115612c7b578384fd5b81602084016020830137908101602001929092525092959194509250565b60008060408385031215612cab578182fd5b612cb483612b05565b9150612bb360208401612b21565b60008060408385031215612cd4578182fd5b612cdd83612b05565b946020939093013593505050565b600060208284031215612cfc578081fd5b6116b482612b21565b600060208284031215612d16578081fd5b81356116b48161314d565b600060208284031215612d32578081fd5b81516116b48161314d565b60008060208385031215612d4f578182fd5b82356001600160401b03811115612d64578283fd5b612d7085828601612b31565b90969095509350505050565b600060208284031215612d8d578081fd5b81516001600160401b03811115612da2578182fd5b8201601f81018413612db2578182fd5b8051612dc0612c6282612fec565b818152856020838501011115612dd4578384fd5b612de5826020830160208601613075565b95945050505050565b600060208284031215612dff578081fd5b5035919050565b600080600060408486031215612e1a578283fd5b8335925060208401356001600160401b03811115612e36578283fd5b612e4286828701612b31565b9497909650939450505050565b60008060408385031215612e61578182fd5b50508035926020909101359150565b60008151808452612e88816020860160208601613075565b601f01601f19169290920160200192915050565b60008351612eae818460208801613075565b835190830190612ec2818360208801613075565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612efe90830184612e70565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015612f4057835183529284019291840191600101612f24565b50909695505050505050565b6020810160048310612f6e57634e487b7160e01b600052602160045260246000fd5b91905290565b6020815260006116b46020830184612e70565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b604051601f8201601f191681016001600160401b0381118282101715612fe457612fe4613137565b604052919050565b60006001600160401b0382111561300557613005613137565b50601f01601f191660200190565b600082198211156130265761302661310b565b500190565b60008261303a5761303a613121565b500490565b60008160001904831182151516156130595761305961310b565b500290565b6000828210156130705761307061310b565b500390565b60005b83811015613090578181015183820152602001613078565b838111156113535750506000910152565b600181811c908216806130b557607f821691505b602082108114156130d657634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156130f0576130f061310b565b5060010190565b60008261310657613106613121565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114611c7457600080fdfea264697066735822122042a3a07e11633207ab0dd24be704f5db1ed23d010947b8f81919692984bb20cb64736f6c634300080400330000000000000000000000002acaf30be8649a542fd4425686b56bdb045e880b
Deployed Bytecode
0x6080604052600436106103355760003560e01c8063666a58ae116101ab578063b5fdeb23116100f7578063db6cfd1211610095578063dc33e6811161006f578063dc33e6811461093d578063e985e9c51461095d578063f2fde38b146109a6578063fe223448146109c657600080fd5b8063db6cfd12146108dd578063db7fd408146108fd578063dba028c21461091057600080fd5b8063c87b56dd116100d1578063c87b56dd14610867578063d1e812a314610887578063d2266817146108a7578063d5abeb01146108c757600080fd5b8063b5fdeb231461081d578063b88d4fde14610832578063bee6348a1461085257600080fd5b80638456cb591161016457806395d89b411161013e57806395d89b41146107bc578063a18116f1146107d1578063a22cb465146107e7578063a53dc05f1461080757600080fd5b80638456cb59146107645780638da5cb5b146107795780638dae12441461079c57600080fd5b8063666a58ae1461069f57806368cf115d146106b457806368d9bdad146106c95780636f8b44b01461070f57806370a082311461072f578063715018a61461074f57600080fd5b8063320d408611610285578063445140bf1161022357806358deeac7116101fd57806358deeac7146106325780635c975abb146106475780635e1e10041461065f5780636352211e1461067f57600080fd5b8063445140bf146105d257806344a0d68a146105f257806355f804b31461061257600080fd5b80633c2a2a991161025f5780633c2a2a99146105685780633ccfd60b146105885780633f4ba83a1461059d57806342842e0e146105b257600080fd5b8063320d4086146105125780633215cec014610528578063375a069a1461054857600080fd5b80630a5923c4116102f257806318160ddd116102cc57806318160ddd1461047a57806323b872dd146104935780632a55205a146104b35780632f745c59146104f257600080fd5b80630a5923c41461042b5780630e80ee071461044f57806313faede61461046457600080fd5b806301ffc9a71461033a57806306d254da1461036f57806306fdde0314610391578063081812fc146103b3578063095ea7b3146103eb5780630a403f041461040b575b600080fd5b34801561034657600080fd5b5061035a610355366004612d05565b6109dc565b60405190151581526020015b60405180910390f35b34801561037b57600080fd5b5061038f61038a366004612b70565b610a0e565b005b34801561039d57600080fd5b506103a6610a69565b6040516103669190612f74565b3480156103bf57600080fd5b506103d36103ce366004612dee565b610afb565b6040516001600160a01b039091168152602001610366565b3480156103f757600080fd5b5061038f610406366004612cc2565b610b3f565b34801561041757600080fd5b5061038f610426366004612dee565b610bcd565b34801561043757600080fd5b5061044160125481565b604051908152602001610366565b34801561045b57600080fd5b5061038f610c02565b34801561047057600080fd5b50610441600c5481565b34801561048657600080fd5b5060015460005403610441565b34801561049f57600080fd5b5061038f6104ae366004612bbc565b610c49565b3480156104bf57600080fd5b506104d36104ce366004612e4f565b610cbb565b604080516001600160a01b039093168352602083019190915201610366565b3480156104fe57600080fd5b5061044161050d366004612cc2565b610d5a565b34801561051e57600080fd5b5061044160105481565b34801561053457600080fd5b5061038f610543366004612dee565b610e4d565b34801561055457600080fd5b5061038f610563366004612dee565b610e82565b34801561057457600080fd5b5061038f610583366004612ceb565b610f7a565b34801561059457600080fd5b5061038f610fc8565b3480156105a957600080fd5b5061038f6110ed565b3480156105be57600080fd5b5061038f6105cd366004612bbc565b611127565b3480156105de57600080fd5b5061038f6105ed366004612b70565b611142565b3480156105fe57600080fd5b5061038f61060d366004612dee565b61119e565b34801561061e57600080fd5b5061038f61062d366004612d3d565b6111d3565b34801561063e57600080fd5b5061038f61120f565b34801561065357600080fd5b5060085460ff1661035a565b34801561066b57600080fd5b5061038f61067a366004612b70565b611253565b34801561068b57600080fd5b506103d361069a366004612dee565b6112a5565b3480156106ab57600080fd5b5061038f6112b7565b3480156106c057600080fd5b5061038f6112fa565b3480156106d557600080fd5b5060408051808201909152601f81527f4275696c64696e6720466f72204675747572652047656e65726174696f6e730060208201526103a6565b34801561071b57600080fd5b5061038f61072a366004612dee565b611359565b34801561073b57600080fd5b5061044161074a366004612b70565b61138e565b34801561075b57600080fd5b5061038f6113dc565b34801561077057600080fd5b5061038f611416565b34801561078557600080fd5b5060085461010090046001600160a01b03166103d3565b3480156107a857600080fd5b506017546103d3906001600160a01b031681565b3480156107c857600080fd5b506103a661144e565b3480156107dd57600080fd5b50610441600f5481565b3480156107f357600080fd5b5061038f610802366004612c99565b61145d565b34801561081357600080fd5b5061044160115481565b34801561082957600080fd5b506103a66114f3565b34801561083e57600080fd5b5061038f61084d366004612bf7565b611579565b34801561085e57600080fd5b5061038f6115c4565b34801561087357600080fd5b506103a6610882366004612dee565b611608565b34801561089357600080fd5b50600a5460ff166040516103669190612f4c565b3480156108b357600080fd5b5061038f6108c2366004612dee565b6116bb565b3480156108d357600080fd5b50610441600e5481565b3480156108e957600080fd5b5061038f6108f8366004612dee565b6116f0565b61038f61090b366004612e06565b611725565b34801561091c57600080fd5b5061093061092b366004612b70565b611b0e565b6040516103669190612f08565b34801561094957600080fd5b50610441610958366004612b70565b611bcb565b34801561096957600080fd5b5061035a610978366004612b8a565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156109b257600080fd5b5061038f6109c1366004612b70565b611bd6565b3480156109d257600080fd5b50610441600d5481565b60006001600160e01b0319821663152a902d60e11b14156109ff57506001919050565b610a0882611c77565b92915050565b6008546001600160a01b03610100909104163314610a475760405162461bcd60e51b8152600401610a3e90612f87565b60405180910390fd5b601580546001600160a01b0319166001600160a01b0392909216919091179055565b606060028054610a78906130a1565b80601f0160208091040260200160405190810160405280929190818152602001828054610aa4906130a1565b8015610af15780601f10610ac657610100808354040283529160200191610af1565b820191906000526020600020905b815481529060010190602001808311610ad457829003601f168201915b5050505050905090565b6000610b0682611cc7565b610b23576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610b4a826112a5565b9050806001600160a01b0316836001600160a01b03161415610b7f5760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614801590610b9f5750610b9d8133610978565b155b15610bbd576040516367d9dca160e11b815260040160405180910390fd5b610bc8838383611cf2565b505050565b6008546001600160a01b03610100909104163314610bfd5760405162461bcd60e51b8152600401610a3e90612f87565b600f55565b6008546001600160a01b03610100909104163314610c325760405162461bcd60e51b8152600401610a3e90612f87565b600a80546003919060ff19166001835b0217905550565b601754604051636918579d60e11b81526001600160a01b03858116600483015284811660248301529091169063d230af3a90604401600060405180830381600087803b158015610c9857600080fd5b505af1158015610cac573d6000803e3d6000fd5b50505050610bc8838383611d4e565b600080610cc784611cc7565b610d135760405162461bcd60e51b815260206004820152601f60248201527f43616e6e6f74207175657279206e6f6e2d6578697374656e7420746f6b656e006044820152606401610a3e565b6015546001600160a01b0381169061271090610d4490600160a01b90046bffffffffffffffffffffffff168661303f565b610d4e919061302b565b915091505b9250929050565b6000610d658361138e565b8210610d84576040516306ed618760e11b815260040160405180910390fd5b600080549080805b83811015610e4757600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff161580159282019290925290610df35750610e3f565b80516001600160a01b031615610e0857805192505b876001600160a01b0316836001600160a01b03161415610e3d5786841415610e3657509350610a0892505050565b6001909301925b505b600101610d8c565b50600080fd5b6008546001600160a01b03610100909104163314610e7d5760405162461bcd60e51b8152600401610a3e90612f87565b601255565b6008546001600160a01b03610100909104163314610eb25760405162461bcd60e51b8152600401610a3e90612f87565b600e5481610ec36001546000540390565b610ecd9190613013565b1115610f105760405162461bcd60e51b8152602060048201526012602482015271135a5b9d081b1a5b5a5d081c995858da195960721b6044820152606401610a3e565b610f1a3382611d59565b6017546040516311ef30b560e31b81523360048201526001600160a01b0390911690638f7985a890602401600060405180830381600087803b158015610f5f57600080fd5b505af1158015610f73573d6000803e3d6000fd5b5050505050565b6008546001600160a01b03610100909104163314610faa5760405162461bcd60e51b8152600401610a3e90612f87565b60138054911515600160a01b0260ff60a01b19909216919091179055565b6008546001600160a01b03610100909104163314610ff85760405162461bcd60e51b8152600401610a3e90612f87565b6002600954141561104b5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610a3e565b60026009556014546040516000916001600160a01b03169047908381818185875af1925050503d806000811461109d576040519150601f19603f3d011682016040523d82523d6000602084013e6110a2565b606091505b50509050806110e55760405162461bcd60e51b815260206004820152600f60248201526e151c985b9cd9995c8819985a5b1959608a1b6044820152606401610a3e565b506001600955565b6008546001600160a01b0361010090910416331461111d5760405162461bcd60e51b8152600401610a3e90612f87565b611125611d77565b565b610bc883838360405180602001604052806000815250611579565b6008546001600160a01b036101009091041633146111725760405162461bcd60e51b8152600401610a3e90612f87565b601680546001600160a01b039092166001600160a01b0319928316811790915560178054909216179055565b6008546001600160a01b036101009091041633146111ce5760405162461bcd60e51b8152600401610a3e90612f87565b600c55565b6008546001600160a01b036101009091041633146112035760405162461bcd60e51b8152600401610a3e90612f87565b610bc8600b8383612a6c565b6008546001600160a01b0361010090910416331461123f5760405162461bcd60e51b8152600401610a3e90612f87565b600a80546000919060ff1916600183610c42565b6008546001600160a01b036101009091041633146112835760405162461bcd60e51b8152600401610a3e90612f87565b601480546001600160a01b0319166001600160a01b0392909216919091179055565b60006112b082611e0a565b5192915050565b6008546001600160a01b036101009091041633146112e75760405162461bcd60e51b8152600401610a3e90612f87565b600a80546001919060ff19168280610c42565b60175460405163241d79e160e01b81523360048201526001600160a01b039091169063241d79e190602401600060405180830381600087803b15801561133f57600080fd5b505af1158015611353573d6000803e3d6000fd5b50505050565b6008546001600160a01b036101009091041633146113895760405162461bcd60e51b8152600401610a3e90612f87565b600e55565b60006001600160a01b0382166113b7576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6008546001600160a01b0361010090910416331461140c5760405162461bcd60e51b8152600401610a3e90612f87565b6111256000611f24565b6008546001600160a01b036101009091041633146114465760405162461bcd60e51b8152600401610a3e90612f87565b611125611f7e565b606060038054610a78906130a1565b6001600160a01b0382163314156114875760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6017546040805163821a7fc160e01b815290516060926001600160a01b03169163821a7fc1916004808301926000929190829003018186803b15801561153857600080fd5b505afa15801561154c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115749190810190612d7c565b905090565b611584848484611ff9565b6001600160a01b0383163b151580156115a657506115a484848484612217565b155b15611353576040516368d2bf6b60e11b815260040160405180910390fd5b6008546001600160a01b036101009091041633146115f45760405162461bcd60e51b8152600401610a3e90612f87565b600a80546002919060ff1916600183610c42565b606061161382611cc7565b61165f5760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e006044820152606401610a3e565b600061166961230f565b9050600081511161168957604051806020016040528060008152506116b4565b806116938461231e565b6040516020016116a4929190612e9c565b6040516020818303038152906040525b9392505050565b6008546001600160a01b036101009091041633146116eb5760405162461bcd60e51b8152600401610a3e90612f87565b600d55565b6008546001600160a01b036101009091041633146117205760405162461bcd60e51b8152600401610a3e90612f87565b601055565b6000600a5460ff16600381111561174c57634e487b7160e01b600052602160045260246000fd5b141561175757600080fd5b3233146117a65760405162461bcd60e51b815260206004820152601860248201527f4d7573742062652063616c6c65642062792061207573657200000000000000006044820152606401610a3e565b600083116117ed5760405162461bcd60e51b81526020600482015260146024820152734d757374206d696e74206174206c65617374203160601b6044820152606401610a3e565b601354600160a01b900460ff16156118f25761189582828080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250506040517f19457468657265756d205369676e6564204d6573736167653a0a333200000000602082015233603c820152605c0191506118719050565b6040516020818303038152906040528051906020012061243790919063ffffffff16565b6013546001600160a01b039081169116146118f25760405162461bcd60e51b815260206004820152601760248201527f5369676e65722061646472657373206d69736d617463680000000000000000006044820152606401610a3e565b601154600e54600c546001600a5460ff16600381111561192257634e487b7160e01b600052602160045260246000fd5b141561193c5760125492506010549150600d54905061196f565b6002600a5460ff16600381111561196357634e487b7160e01b600052602160045260246000fd5b141561196f57600f5491505b828661197a33612453565b6119849190613013565b11156119ea5760405162461bcd60e51b815260206004820152602f60248201527f417474656d7074656420746f206d696e74206d6f7265207468616e20616c6c6f60448201526e77656420706572206164647265737360881b6064820152608401610a3e565b81866119f96001546000540390565b611a039190613013565b1115611a465760405162461bcd60e51b8152602060048201526012602482015271135a5b9d081b1a5b5a5d081c995858da195960721b6044820152606401610a3e565b611a50868261303f565b341015611a9f5760405162461bcd60e51b815260206004820152601d60248201527f45746865722076616c75652073656e7420697320696e636f72726563740000006044820152606401610a3e565b611aa93387611d59565b6017546040516311ef30b560e31b81523360048201526001600160a01b0390911690638f7985a890602401600060405180830381600087803b158015611aee57600080fd5b505af1158015611b02573d6000803e3d6000fd5b50505050505050505050565b60606000611b1b8361138e565b90506000816001600160401b03811115611b4557634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015611b6e578160200160208202803683370190505b50905060005b82811015611bc357611b868582610d5a565b828281518110611ba657634e487b7160e01b600052603260045260246000fd5b602090810291909101015280611bbb816130dc565b915050611b74565b509392505050565b6000610a0882612453565b6008546001600160a01b03610100909104163314611c065760405162461bcd60e51b8152600401610a3e90612f87565b6001600160a01b038116611c6b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a3e565b611c7481611f24565b50565b60006001600160e01b031982166380ac58cd60e01b1480611ca857506001600160e01b03198216635b5e139f60e01b145b80610a0857506301ffc9a760e01b6001600160e01b0319831614610a08565b6000805482108015610a08575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610bc8838383611ff9565b611d738282604051806020016040528060008152506124a8565b5050565b60085460ff16611dc05760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610a3e565b6008805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b604080516060810182526000808252602082018190529181019190915281600054811015611f0b57600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff16151591810182905290611f095780516001600160a01b031615611ea0579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff1615159281019290925215611f04579392505050565b611ea0565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60085460ff1615611fc45760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610a3e565b6008805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611ded3390565b600061200482611e0a565b80519091506000906001600160a01b0316336001600160a01b03161480612032575081516120329033610978565b8061204d57503361204284610afb565b6001600160a01b0316145b90508061206d57604051632ce44b5f60e11b815260040160405180910390fd5b846001600160a01b031682600001516001600160a01b0316146120a25760405162a1148160e81b815260040160405180910390fd5b6001600160a01b0384166120c957604051633a954ecd60e21b815260040160405180910390fd5b6120d685858560016124b5565b6120e66000848460000151611cf2565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b4290921691909102179092559086018083529120549091166121d0576000548110156121d057825160008281526004602090815260409091208054918601516001600160401b0316600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4610f73565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061224c903390899088908890600401612ecb565b602060405180830381600087803b15801561226657600080fd5b505af1925050508015612296575060408051601f3d908101601f1916820190925261229391810190612d21565b60015b6122f1573d8080156122c4576040519150601f19603f3d011682016040523d82523d6000602084013e6122c9565b606091505b5080516122e9576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600b8054610a78906130a1565b6060816123425750506040805180820190915260018152600360fc1b602082015290565b8160005b811561236c5780612356816130dc565b91506123659050600a8361302b565b9150612346565b6000816001600160401b0381111561239457634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156123be576020820181803683370190505b5090505b8415612307576123d360018361305e565b91506123e0600a866130f7565b6123eb906030613013565b60f81b81838151811061240e57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350612430600a8661302b565b94506123c2565b60008060006124468585612500565b91509150611bc38161256d565b60006001600160a01b03821661247c576040516335ebb31960e01b815260040160405180910390fd5b506001600160a01b0316600090815260056020526040902054600160401b90046001600160401b031690565b610bc8838383600161276e565b60085460ff16156124fb5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610a3e565b611353565b6000808251604114156125375760208301516040840151606085015160001a61252b87828585612946565b94509450505050610d53565b8251604014156125615760208301516040840151612556868383612a33565b935093505050610d53565b50600090506002610d53565b600081600481111561258f57634e487b7160e01b600052602160045260246000fd5b14156125985750565b60018160048111156125ba57634e487b7160e01b600052602160045260246000fd5b14156126085760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610a3e565b600281600481111561262a57634e487b7160e01b600052602160045260246000fd5b14156126785760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610a3e565b600381600481111561269a57634e487b7160e01b600052602160045260246000fd5b14156126f35760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610a3e565b600481600481111561271557634e487b7160e01b600052602160045260246000fd5b1415611c745760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610a3e565b6000546001600160a01b03851661279757604051622e076360e81b815260040160405180910390fd5b836127b55760405163b562e8dd60e01b815260040160405180910390fd5b6127c260008683876124b5565b6001600160a01b038516600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168c018116918217600160401b67ffffffffffffffff1990941690921783900481168c01811690920217909155858452600490925290912080546001600160e01b031916909217600160a01b42909216919091021790558080850183801561286e57506001600160a01b0387163b15155b156128f7575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46128bf6000888480600101955088612217565b6128dc576040516368d2bf6b60e11b815260040160405180910390fd5b808214156128745782600054146128f257600080fd5b61293d565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808214156128f8575b50600055610f73565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561297d5750600090506003612a2a565b8460ff16601b1415801561299557508460ff16601c14155b156129a65750600090506004612a2a565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa1580156129fa573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116612a2357600060019250925050612a2a565b9150600090505b94509492505050565b6000806001600160ff1b03831681612a5060ff86901c601b613013565b9050612a5e87828885612946565b935093505050935093915050565b828054612a78906130a1565b90600052602060002090601f016020900481019282612a9a5760008555612ae0565b82601f10612ab35782800160ff19823516178555612ae0565b82800160010185558215612ae0579182015b82811115612ae0578235825591602001919060010190612ac5565b50612aec929150612af0565b5090565b5b80821115612aec5760008155600101612af1565b80356001600160a01b0381168114612b1c57600080fd5b919050565b80358015158114612b1c57600080fd5b60008083601f840112612b42578182fd5b5081356001600160401b03811115612b58578182fd5b602083019150836020828501011115610d5357600080fd5b600060208284031215612b81578081fd5b6116b482612b05565b60008060408385031215612b9c578081fd5b612ba583612b05565b9150612bb360208401612b05565b90509250929050565b600080600060608486031215612bd0578081fd5b612bd984612b05565b9250612be760208501612b05565b9150604084013590509250925092565b60008060008060808587031215612c0c578081fd5b612c1585612b05565b9350612c2360208601612b05565b92506040850135915060608501356001600160401b03811115612c44578182fd5b8501601f81018713612c54578182fd5b8035612c67612c6282612fec565b612fbc565b818152886020838501011115612c7b578384fd5b81602084016020830137908101602001929092525092959194509250565b60008060408385031215612cab578182fd5b612cb483612b05565b9150612bb360208401612b21565b60008060408385031215612cd4578182fd5b612cdd83612b05565b946020939093013593505050565b600060208284031215612cfc578081fd5b6116b482612b21565b600060208284031215612d16578081fd5b81356116b48161314d565b600060208284031215612d32578081fd5b81516116b48161314d565b60008060208385031215612d4f578182fd5b82356001600160401b03811115612d64578283fd5b612d7085828601612b31565b90969095509350505050565b600060208284031215612d8d578081fd5b81516001600160401b03811115612da2578182fd5b8201601f81018413612db2578182fd5b8051612dc0612c6282612fec565b818152856020838501011115612dd4578384fd5b612de5826020830160208601613075565b95945050505050565b600060208284031215612dff578081fd5b5035919050565b600080600060408486031215612e1a578283fd5b8335925060208401356001600160401b03811115612e36578283fd5b612e4286828701612b31565b9497909650939450505050565b60008060408385031215612e61578182fd5b50508035926020909101359150565b60008151808452612e88816020860160208601613075565b601f01601f19169290920160200192915050565b60008351612eae818460208801613075565b835190830190612ec2818360208801613075565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612efe90830184612e70565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015612f4057835183529284019291840191600101612f24565b50909695505050505050565b6020810160048310612f6e57634e487b7160e01b600052602160045260246000fd5b91905290565b6020815260006116b46020830184612e70565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b604051601f8201601f191681016001600160401b0381118282101715612fe457612fe4613137565b604052919050565b60006001600160401b0382111561300557613005613137565b50601f01601f191660200190565b600082198211156130265761302661310b565b500190565b60008261303a5761303a613121565b500490565b60008160001904831182151516156130595761305961310b565b500290565b6000828210156130705761307061310b565b500390565b60005b83811015613090578181015183820152602001613078565b838111156113535750506000910152565b600181811c908216806130b557607f821691505b602082108114156130d657634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156130f0576130f061310b565b5060010190565b60008261310657613106613121565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114611c7457600080fdfea264697066735822122042a3a07e11633207ab0dd24be704f5db1ed23d010947b8f81919692984bb20cb64736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000002acaf30be8649a542fd4425686b56bdb045e880b
-----Decoded View---------------
Arg [0] : signerAddress_ (address): 0x2aCaF30Be8649a542fD4425686b56BDB045E880B
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000002acaf30be8649a542fd4425686b56bdb045e880b
Deployed Bytecode Sourcemap
499:7281:18:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7005:291;;;;;;;;;;-1:-1:-1;7005:291:18;;;;;:::i;:::-;;:::i;:::-;;;9252:14:21;;9245:22;9227:41;;9215:2;9200:18;7005:291:18;;;;;;;;6436:120;;;;;;;;;;-1:-1:-1;6436:120:18;;;;;:::i;:::-;;:::i;:::-;;8139:98:20;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;9595:200::-;;;;;;;;;;-1:-1:-1;9595:200:20;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;7322:32:21;;;7304:51;;7292:2;7277:18;9595:200:20;7259:102:21;9172:362:20;;;;;;;;;;-1:-1:-1;9172:362:20;;;;;:::i;:::-;;:::i;4894:128:18:-;;;;;;;;;;-1:-1:-1;4894:128:18;;;;;:::i;:::-;;:::i;1036:40::-;;;;;;;;;;;;;;;;;;;17208:25:21;;;17196:2;17181:18;1036:40:18;17163:76:21;6076:90:18;;;;;;;;;;;;;:::i;784:32::-;;;;;;;;;;;;;;;;4114:297:20;;;;;;;;;;-1:-1:-1;4364:12:20;;4158:7;4348:13;:28;4114:297;;4420:167:18;;;;;;;;;;-1:-1:-1;4420:167:18;;;;;:::i;:::-;;:::i;6562:305::-;;;;;;;;;;-1:-1:-1;6562:305:18;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;8360:32:21;;;8342:51;;8424:2;8409:18;;8402:34;;;;8315:18;6562:305:18;8297:145:21;20535:1068:20;;;;;;;;;;-1:-1:-1;20535:1068:20;;;;;:::i;:::-;;:::i;953:41:18:-;;;;;;;;;;;;;;;;5527:154;;;;;;;;;;-1:-1:-1;5527:154:18;;;;;:::i;:::-;;:::i;3485:238::-;;;;;;;;;;-1:-1:-1;3485:238:18;;;;;:::i;:::-;;:::i;5028:109::-;;;;;;;;;;-1:-1:-1;5028:109:18;;;;;:::i;:::-;;:::i;7552:226::-;;;;;;;;;;;;;:::i;6239:65::-;;;;;;;;;;;;;:::i;10656:179:20:-;;;;;;;;;;-1:-1:-1;10656:179:20;;;;;:::i;:::-;;:::i;4593:189:18:-;;;;;;;;;;-1:-1:-1;4593:189:18;;;;;:::i;:::-;;:::i;5143:86::-;;;;;;;;;;-1:-1:-1;5143:86:18;;;;;:::i;:::-;;:::i;1672:103::-;;;;;;;;;;-1:-1:-1;1672:103:18;;;;;:::i;:::-;;:::i;5781:92::-;;;;;;;;;;;;;:::i;1098:84:1:-;;;;;;;;;;-1:-1:-1;1168:7:1;;;;1098:84;;6310:120:18;;;;;;;;;;-1:-1:-1;6310:120:18;;;;;:::i;:::-;;:::i;7955:122:20:-;;;;;;;;;;-1:-1:-1;7955:122:20;;;;;:::i;:::-;;:::i;5879:99:18:-;;;;;;;;;;;;;:::i;4337:77::-;;;;;;;;;;;;;:::i;6873:126::-;;;;;;;;;;-1:-1:-1;6952:40:18;;;;;;;;;;;;;;;;;6873:126;;4788:100;;;;;;;;;;-1:-1:-1;4788:100:18;;;;;:::i;:::-;;:::i;5202:203:20:-;;;;;;;;;;-1:-1:-1;5202:203:20;;;;;:::i;:::-;;:::i;1668:101:0:-;;;;;;;;;;;;;:::i;6172:61:18:-;;;;;;;;;;;;;:::i;1036:85:0:-;;;;;;;;;;-1:-1:-1;1108:6:0;;;;;-1:-1:-1;;;;;1108:6:0;1036:85;;1373:33:18;;;;;;;;;;-1:-1:-1;1373:33:18;;;;-1:-1:-1;;;;;1373:33:18;;;8301:102:20;;;;;;;;;;;;;:::i;909:38:18:-;;;;;;;;;;;;;;;;9862:274:20;;;;;;;;;;-1:-1:-1;9862:274:20;;;;;:::i;:::-;;:::i;1000:30:18:-;;;;;;;;;;;;;;;;4231:100;;;;;;;;;;;;;:::i;10901:359:20:-;;;;;;;;;;-1:-1:-1;10901:359:20;;;;;:::i;:::-;;:::i;5984:86:18:-;;;;;;;;;;;;;:::i;1781:337::-;;;;;;;;;;-1:-1:-1;1781:337:18;;;;;:::i;:::-;;:::i;5687:88::-;;;;;;;;;;-1:-1:-1;5760:8:18;;;;5687:88;;;;;;:::i;5235:130::-;;;;;;;;;;-1:-1:-1;5235:130:18;;;;;:::i;:::-;;:::i;872:31::-;;;;;;;;;;;;;;;;5371:150;;;;;;;;;;-1:-1:-1;5371:150:18;;;;;:::i;:::-;;:::i;2124:1355::-;;;;;;:::i;:::-;;:::i;3848:377::-;;;;;;;;;;-1:-1:-1;3848:377:18;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;3729:113::-;;;;;;;;;;-1:-1:-1;3729:113:18;;;;;:::i;:::-;;:::i;10202:162:20:-;;;;;;;;;;-1:-1:-1;10202:162:20;;;;;:::i;:::-;-1:-1:-1;;;;;10322:25:20;;;10299:4;10322:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;10202:162;1918:198:0;;;;;;;;;;-1:-1:-1;1918:198:0;;;;;:::i;:::-;;:::i;822:44:18:-;;;;;;;;;;;;;;;;7005:291;7139:4;-1:-1:-1;;;;;;7163:36:18;;-1:-1:-1;;;7163:36:18;7159:78;;;-1:-1:-1;7222:4:18;;7005:291;-1:-1:-1;7005:291:18:o;7159:78::-;7253:36;7277:11;7253:23;:36::i;:::-;7246:43;7005:291;-1:-1:-1;;7005:291:18:o;6436:120::-;1108:6:0;;-1:-1:-1;;;;;1108:6:0;;;;;719:10:12;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;;;;;;;;;6517:14:18::1;:32:::0;;-1:-1:-1;;;;;;6517:32:18::1;-1:-1:-1::0;;;;;6517:32:18;;;::::1;::::0;;;::::1;::::0;;6436:120::o;8139:98:20:-;8193:13;8225:5;8218:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8139:98;:::o;9595:200::-;9663:7;9687:16;9695:7;9687;:16::i;:::-;9682:64;;9712:34;;-1:-1:-1;;;9712:34:20;;;;;;;;;;;9682:64;-1:-1:-1;9764:24:20;;;;:15;:24;;;;;;-1:-1:-1;;;;;9764:24:20;;9595:200::o;9172:362::-;9244:13;9260:24;9276:7;9260:15;:24::i;:::-;9244:40;;9304:5;-1:-1:-1;;;;;9298:11:20;:2;-1:-1:-1;;;;;9298:11:20;;9294:48;;;9318:24;;-1:-1:-1;;;9318:24:20;;;;;;;;;;;9294:48;719:10:12;-1:-1:-1;;;;;9357:21:20;;;;;;:63;;-1:-1:-1;9383:37:20;9400:5;719:10:12;10202:162:20;:::i;9383:37::-;9382:38;9357:63;9353:136;;;9443:35;;-1:-1:-1;;;9443:35:20;;;;;;;;;;;9353:136;9499:28;9508:2;9512:7;9521:5;9499:8;:28::i;:::-;9172:362;;;:::o;4894:128:18:-;1108:6:0;;-1:-1:-1;;;;;1108:6:0;;;;;719:10:12;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;4979:16:18::1;:36:::0;4894:128::o;6076:90::-;1108:6:0;;-1:-1:-1;;;;;1108:6:0;;;;;719:10:12;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;6132:8:18::1;:27:::0;;6143:16:::1;::::0;6132:8;-1:-1:-1;;6132:27:18::1;::::0;6143:16;6132:27:::1;;;;;;6076:90::o:0;4420:167::-;4505:12;;:35;;-1:-1:-1;;;4505:35:18;;-1:-1:-1;;;;;7596:15:21;;;4505:35:18;;;7578:34:21;7648:15;;;7628:18;;;7621:43;4505:12:18;;;;:25;;7513:18:21;;4505:35:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4544:39;4565:4;4571:2;4575:7;4544:20;:39::i;6562:305::-;6668:16;6686:21;6731:17;6739:8;6731:7;:17::i;:::-;6723:61;;;;-1:-1:-1;;;6723:61:18;;15843:2:21;6723:61:18;;;15825:21:21;15882:2;15862:18;;;15855:30;15921:33;15901:18;;;15894:61;15972:18;;6723:61:18;15815:181:21;6723:61:18;6802:14;;-1:-1:-1;;;;;6802:14:18;;;6854:5;;6819:31;;-1:-1:-1;;;6832:18:18;;;;6819:10;:31;:::i;:::-;6818:41;;;;:::i;:::-;6794:66;;;;6562:305;;;;;;:::o;20535:1068:20:-;20615:7;20647:16;20657:5;20647:9;:16::i;:::-;20638:5;:25;20634:61;;20672:23;;-1:-1:-1;;;20672:23:20;;;;;;;;;;;20634:61;20705:22;20730:13;;;20705:22;;20973:543;20993:14;20989:1;:18;20973:543;;;21032:31;21066:14;;;:11;:14;;;;;;;;;21032:48;;;;;;;;;-1:-1:-1;;;;;21032:48:20;;;;-1:-1:-1;;;21032:48:20;;-1:-1:-1;;;;;21032:48:20;;;;;;;;-1:-1:-1;;;21032:48:20;;;;;;;;;;;;;;;;21098:71;;21142:8;;;21098:71;21190:14;;-1:-1:-1;;;;;21190:28:20;;21186:109;;21262:14;;;-1:-1:-1;21186:109:20;21337:5;-1:-1:-1;;;;;21316:26:20;:17;-1:-1:-1;;;;;21316:26:20;;21312:190;;;21385:5;21370:11;:20;21366:83;;;-1:-1:-1;21425:1:20;-1:-1:-1;21418:8:20;;-1:-1:-1;;;21418:8:20;21366:83;21470:13;;;;;21312:190;20973:543;;21009:3;;20973:543;;;;21588:8;;;5527:154:18;1108:6:0;;-1:-1:-1;;;;;1108:6:0;;;;;719:10:12;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;5625:21:18::1;:49:::0;5527:154::o;3485:238::-;1108:6:0;;-1:-1:-1;;;;;1108:6:0;;;;;719:10:12;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;3587:9:18::1;;3574;3558:13;4364:12:20::0;;4158:7;4348:13;:28;;4114:297;3558:13:18::1;:25;;;;:::i;:::-;:38;;3550:69;;;::::0;-1:-1:-1;;;3550:69:18;;11386:2:21;3550:69:18::1;::::0;::::1;11368:21:21::0;11425:2;11405:18;;;11398:30;-1:-1:-1;;;11444:18:21;;;11437:48;11502:18;;3550:69:18::1;11358:168:21::0;3550:69:18::1;3630:32;3640:10;3652:9;3630;:32::i;:::-;3673:12;::::0;:43:::1;::::0;-1:-1:-1;;;3673:43:18;;3705:10:::1;3673:43;::::0;::::1;7304:51:21::0;-1:-1:-1;;;;;3673:12:18;;::::1;::::0;:31:::1;::::0;7277:18:21;;3673:43:18::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;3485:238:::0;:::o;5028:109::-;1108:6:0;;-1:-1:-1;;;;;1108:6:0;;;;;719:10:12;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;5102:12:18::1;:28:::0;;;::::1;;-1:-1:-1::0;;;5102:28:18::1;-1:-1:-1::0;;;;5102:28:18;;::::1;::::0;;;::::1;::::0;;5028:109::o;7552:226::-;1108:6:0;;-1:-1:-1;;;;;1108:6:0;;;;;719:10:12;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;1744:1:2::1;2325:7;;:19;;2317:63;;;::::0;-1:-1:-1;;;2317:63:2;;16904:2:21;2317:63:2::1;::::0;::::1;16886:21:21::0;16943:2;16923:18;;;16916:30;16982:33;16962:18;;;16955:61;17033:18;;2317:63:2::1;16876:181:21::0;2317:63:2::1;1744:1;2455:7;:18:::0;7641:14:18::2;::::0;7633:84:::2;::::0;7615:12:::2;::::0;-1:-1:-1;;;;;7641:14:18::2;::::0;7682:21:::2;::::0;7615:12;7633:84;7615:12;7633:84;7682:21;7641:14;7633:84:::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7614:103;;;7744:7;7736:35;;;::::0;-1:-1:-1;;;7736:35:18;;13213:2:21;7736:35:18::2;::::0;::::2;13195:21:21::0;13252:2;13232:18;;;13225:30;-1:-1:-1;;;13271:18:21;;;13264:45;13326:18;;7736:35:18::2;13185:165:21::0;7736:35:18::2;-1:-1:-1::0;1701:1:2::1;2628:7;:22:::0;7552:226:18:o;6239:65::-;1108:6:0;;-1:-1:-1;;;;;1108:6:0;;;;;719:10:12;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;6287:10:18::1;:8;:10::i;:::-;6239:65::o:0;10656:179:20:-;10789:39;10806:4;10812:2;10816:7;10789:39;;;;;;;;;;;;:16;:39::i;4593:189:18:-;1108:6:0;;-1:-1:-1;;;;;1108:6:0;;;;;719:10:12;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;4681:16:18::1;:38:::0;;-1:-1:-1;;;;;4681:38:18;;::::1;-1:-1:-1::0;;;;;;4681:38:18;;::::1;::::0;::::1;::::0;;;4729:12:::1;:46:::0;;;;::::1;;::::0;;4593:189::o;5143:86::-;1108:6:0;;-1:-1:-1;;;;;1108:6:0;;;;;719:10:12;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;5207:4:18::1;:15:::0;5143:86::o;1672:103::-;1108:6:0;;-1:-1:-1;;;;;1108:6:0;;;;;719:10:12;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;1746:22:18::1;:12;1761:7:::0;;1746:22:::1;:::i;5781:92::-:0;1108:6:0;;-1:-1:-1;;;;;1108:6:0;;;;;719:10:12;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;5838:8:18::1;:28:::0;;5849:17:::1;::::0;5838:8;-1:-1:-1;;5838:28:18::1;::::0;5849:17;5838:28:::1;::::0;6310:120;1108:6:0;;-1:-1:-1;;;;;1108:6:0;;;;;719:10:12;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;6391:14:18::1;:32:::0;;-1:-1:-1;;;;;;6391:32:18::1;-1:-1:-1::0;;;;;6391:32:18;;;::::1;::::0;;;::::1;::::0;;6310:120::o;7955:122:20:-;8019:7;8045:20;8057:7;8045:11;:20::i;:::-;:25;;7955:122;-1:-1:-1;;7955:122:20:o;5879:99:18:-;1108:6:0;;-1:-1:-1;;;;;1108:6:0;;;;;719:10:12;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;5939:8:18::1;:32:::0;;5950:21:::1;::::0;5939:8;-1:-1:-1;;5939:32:18::1;5950:21:::0;;5939:32:::1;::::0;4337:77;4375:12;;:35;;-1:-1:-1;;;4375:35:18;;4399:10;4375:35;;;7304:51:21;-1:-1:-1;;;;;4375:12:18;;;;:23;;7277:18:21;;4375:35:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4337:77::o;4788:100::-;1108:6:0;;-1:-1:-1;;;;;1108:6:0;;;;;719:10:12;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;4859:9:18::1;:22:::0;4788:100::o;5202:203:20:-;5266:7;-1:-1:-1;;;;;5289:19:20;;5285:60;;5317:28;;-1:-1:-1;;;5317:28:20;;;;;;;;;;;5285:60;-1:-1:-1;;;;;;5370:19:20;;;;;:12;:19;;;;;:27;-1:-1:-1;;;;;5370:27:20;;5202:203::o;1668:101:0:-;1108:6;;-1:-1:-1;;;;;1108:6:0;;;;;719:10:12;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;1732:30:::1;1759:1;1732:18;:30::i;6172:61:18:-:0;1108:6:0;;-1:-1:-1;;;;;1108:6:0;;;;;719:10:12;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;6218:8:18::1;:6;:8::i;8301:102:20:-:0;8357:13;8389:7;8382:14;;;;;:::i;9862:274::-;-1:-1:-1;;;;;9952:24:20;;719:10:12;9952:24:20;9948:54;;;9985:17;;-1:-1:-1;;;9985:17:20;;;;;;;;;;;9948:54;719:10:12;10013:32:20;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;10013:42:20;;;;;;;;;;;;:53;;-1:-1:-1;;10013:53:20;;;;;;;;;;10081:48;;9227:41:21;;;10013:42:20;;719:10:12;10081:48:20;;9200:18:21;10081:48:20;;;;;;;9862:274;;:::o;4231:100:18:-;4301:12;;:23;;;-1:-1:-1;;;4301:23:18;;;;4269:13;;-1:-1:-1;;;;;4301:12:18;;:21;;:23;;;;;:12;;:23;;;;;;;:12;:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;4301:23:18;;;;;;;;;;;;:::i;:::-;4294:30;;4231:100;:::o;10901:359:20:-;11062:28;11072:4;11078:2;11082:7;11062:9;:28::i;:::-;-1:-1:-1;;;;;11104:13:20;;1465:19:11;:23;;11104:76:20;;;;;11124:56;11155:4;11161:2;11165:7;11174:5;11124:30;:56::i;:::-;11123:57;11104:76;11100:154;;;11203:40;;-1:-1:-1;;;11203:40:20;;;;;;;;;;;5984:86:18;1108:6:0;;-1:-1:-1;;;;;1108:6:0;;;;;719:10:12;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;6036:8:18::1;:27:::0;;6047:16:::1;::::0;6036:8;-1:-1:-1;;6036:27:18::1;::::0;6047:16;6036:27:::1;::::0;1781:337;1855:13;1888:17;1896:8;1888:7;:17::i;:::-;1880:61;;;;-1:-1:-1;;;1880:61:18;;12446:2:21;1880:61:18;;;12428:21:21;12485:2;12465:18;;;12458:30;12524:33;12504:18;;;12497:61;12575:18;;1880:61:18;12418:181:21;1880:61:18;1952:28;1983:10;:8;:10::i;:::-;1952:41;;2041:1;2016:14;2010:28;:32;:101;;;;;;;;;;;;;;;;;2069:14;2085:19;:8;:17;:19::i;:::-;2052:53;;;;;;;;;:::i;:::-;;;;;;;;;;;;;2010:101;2003:108;1781:337;-1:-1:-1;;;1781:337:18:o;5235:130::-;1108:6:0;;-1:-1:-1;;;;;1108:6:0;;;;;719:10:12;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;5321:15:18::1;:37:::0;5235:130::o;5371:150::-;1108:6:0;;-1:-1:-1;;;;;1108:6:0;;;;;719:10:12;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;5467:20:18::1;:47:::0;5371:150::o;2124:1355::-;2230:17;2218:8;;;;:29;;;;;;-1:-1:-1;;;2218:29:18;;;;;;;;;;;2210:38;;;;;;2266:9;2279:10;2266:23;2258:60;;;;-1:-1:-1;;;2258:60:18;;12093:2:21;2258:60:18;;;12075:21:21;12132:2;12112:18;;;12105:30;12171:26;12151:18;;;12144:54;12215:18;;2258:60:18;12065:174:21;2258:60:18;2348:1;2336:9;:13;2328:46;;;;-1:-1:-1;;;2328:46:18;;16203:2:21;2328:46:18;;;16185:21:21;16242:2;16222:18;;;16215:30;-1:-1:-1;;;16261:18:21;;;16254:50;16321:18;;2328:46:18;16175:170:21;2328:46:18;2388:12;;-1:-1:-1;;;2388:12:18;;;;2385:307;;;2442:209;2641:9;;2442:209;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2469:149:18;;6805:66:21;2469:149:18;;;6793:79:21;2587:10:18;6888:12:21;;;6881:28;6925:12;;;-1:-1:-1;2469:149:18;;-1:-1:-1;6783:160:21;2469:149:18;;;;;;;;;;;;;2442:190;;;;;;:198;;:209;;;;:::i;:::-;2424:14;;-1:-1:-1;;;;;2424:14:18;;;:227;;;2416:263;;;;-1:-1:-1;;;2416:263:18;;16552:2:21;2416:263:18;;;16534:21:21;16591:2;16571:18;;;16564:30;16630:25;16610:18;;;16603:53;16673:18;;2416:263:18;16524:173:21;2416:263:18;2724:10;;2765:9;;2800:4;;2830:21;2818:8;;;;:33;;;;;;-1:-1:-1;;;2818:33:18;;;;;;;;;;2815:275;;;2881:21;;2867:35;;2929:20;;2916:33;;2971:15;;2963:23;;2815:275;;;3018:16;3006:8;;;;:28;;;;;;-1:-1:-1;;;3006:28:18;;;;;;;;;;3003:87;;;3063:16;;3050:29;;3003:87;3149:11;3136:9;3108:25;3122:10;3108:13;:25::i;:::-;:37;;;;:::i;:::-;:52;;3100:112;;;;-1:-1:-1;;;3100:112:18;;14663:2:21;3100:112:18;;;14645:21:21;14702:2;14682:18;;;14675:30;14741:34;14721:18;;;14714:62;-1:-1:-1;;;14792:18:21;;;14785:45;14847:19;;3100:112:18;14635:237:21;3100:112:18;3259:10;3246:9;3230:13;4364:12:20;;4158:7;4348:13;:28;;4114:297;3230:13:18;:25;;;;:::i;:::-;:39;;3222:70;;;;-1:-1:-1;;;3222:70:18;;11386:2:21;3222:70:18;;;11368:21:21;11425:2;11405:18;;;11398:30;-1:-1:-1;;;11444:18:21;;;11437:48;11502:18;;3222:70:18;11358:168:21;3222:70:18;3323:17;3331:9;3323:5;:17;:::i;:::-;3310:9;:30;;3302:72;;;;-1:-1:-1;;;3302:72:18;;13557:2:21;3302:72:18;;;13539:21:21;13596:2;13576:18;;;13569:30;13635:31;13615:18;;;13608:59;13684:18;;3302:72:18;13529:179:21;3302:72:18;3386:32;3396:10;3408:9;3386;:32::i;:::-;3429:12;;:43;;-1:-1:-1;;;3429:43:18;;3461:10;3429:43;;;7304:51:21;-1:-1:-1;;;;;3429:12:18;;;;:31;;7277:18:21;;3429:43:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2124:1355;;;;;;:::o;3848:377::-;3916:16;3944:24;3971:16;3981:5;3971:9;:16::i;:::-;3944:43;;3997:28;4042:16;-1:-1:-1;;;;;4028:31:18;;;;;-1:-1:-1;;;4028:31:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;4028:31:18;;3997:62;;4075:9;4070:120;4094:16;4090:1;:20;4070:120;;;4149:29;4169:5;4176:1;4149:19;:29::i;:::-;4131:11;4143:1;4131:14;;;;;;-1:-1:-1;;;4131:14:18;;;;;;;;;;;;;;;;;;:48;4112:3;;;;:::i;:::-;;;;4070:120;;;-1:-1:-1;4207:11:18;3848:377;-1:-1:-1;;;3848:377:18:o;3729:113::-;3789:7;3815:20;3829:5;3815:13;:20::i;1918:198:0:-;1108:6;;-1:-1:-1;;;;;1108:6:0;;;;;719:10:12;1248:23:0;1240:68;;;;-1:-1:-1;;;1240:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;2006:22:0;::::1;1998:73;;;::::0;-1:-1:-1;;;1998:73:0;;12806:2:21;1998:73:0::1;::::0;::::1;12788:21:21::0;12845:2;12825:18;;;12818:30;12884:34;12864:18;;;12857:62;-1:-1:-1;;;12935:18:21;;;12928:36;12981:19;;1998:73:0::1;12778:228:21::0;1998:73:0::1;2081:28;2100:8;2081:18;:28::i;:::-;1918:198:::0;:::o;4843:300:20:-;4945:4;-1:-1:-1;;;;;;4980:40:20;;-1:-1:-1;;;4980:40:20;;:104;;-1:-1:-1;;;;;;;5036:48:20;;-1:-1:-1;;;5036:48:20;4980:104;:156;;;-1:-1:-1;;;;;;;;;;937:40:15;;;5100:36:20;829:155:15;11506:184:20;11563:4;11626:13;;11616:7;:23;11586:97;;;;-1:-1:-1;;11656:20:20;;;;:11;:20;;;;;:27;-1:-1:-1;;;11656:27:20;;;;11655:28;;11506:184::o;18922:189::-;19032:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;19032:29:20;-1:-1:-1;;;;;19032:29:20;;;;;;;;;19076:28;;19032:24;;19076:28;;;;;;;18922:189;;;:::o;10426:164::-;10555:28;10565:4;10571:2;10575:7;10555:9;:28::i;11696:102::-;11764:27;11774:2;11778:8;11764:27;;;;;;;;;;;;:9;:27::i;:::-;11696:102;;:::o;2110:117:1:-;1168:7;;;;1669:41;;;;-1:-1:-1;;;1669:41:1;;11037:2:21;1669:41:1;;;11019:21:21;11076:2;11056:18;;;11049:30;-1:-1:-1;;;11095:18:21;;;11088:50;11155:18;;1669:41:1;11009:170:21;1669:41:1;2168:7:::1;:15:::0;;-1:-1:-1;;2168:15:1::1;::::0;;2198:22:::1;719:10:12::0;2207:12:1::1;2198:22;::::0;-1:-1:-1;;;;;7322:32:21;;;7304:51;;7292:2;7277:18;2198:22:1::1;;;;;;;2110:117::o:0;6815:1083:20:-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;6924:7:20;7004:13;;6997:4;:20;6966:868;;;7037:31;7071:17;;;:11;:17;;;;;;;;;7037:51;;;;;;;;;-1:-1:-1;;;;;7037:51:20;;;;-1:-1:-1;;;7037:51:20;;-1:-1:-1;;;;;7037:51:20;;;;;;;;-1:-1:-1;;;7037:51:20;;;;;;;;;;;;;;7106:714;;7155:14;;-1:-1:-1;;;;;7155:28:20;;7151:99;;7218:9;6815:1083;-1:-1:-1;;;6815:1083:20:o;7151:99::-;-1:-1:-1;;;7586:6:20;7630:17;;;;:11;:17;;;;;;;;;7618:29;;;;;;;;;-1:-1:-1;;;;;7618:29:20;;;;;-1:-1:-1;;;7618:29:20;;-1:-1:-1;;;;;7618:29:20;;;;;;;;-1:-1:-1;;;7618:29:20;;;;;;;;;;;;;7677:28;7673:107;;7744:9;6815:1083;-1:-1:-1;;;6815:1083:20:o;7673:107::-;7547:255;;;6966:868;;7860:31;;-1:-1:-1;;;7860:31:20;;;;;;;;;;;2270:187:0;2362:6;;;-1:-1:-1;;;;;2378:17:0;;;2362:6;2378:17;;;-1:-1:-1;;;;;;2378:17:0;;;;;;2410:40;;2362:6;;;;;;;;2410:40;;2343:16;;2410:40;2270:187;;:::o;1863:115:1:-;1168:7;;;;1411:9;1403:38;;;;-1:-1:-1;;;1403:38:1;;14318:2:21;1403:38:1;;;14300:21:21;14357:2;14337:18;;;14330:30;-1:-1:-1;;;14376:18:21;;;14369:46;14432:18;;1403:38:1;14290:166:21;1403:38:1;1922:7:::1;:14:::0;;-1:-1:-1;;1922:14:1::1;1932:4;1922:14;::::0;;1951:20:::1;1958:12;719:10:12::0;;640:96;14528:2067:20;14638:35;14676:20;14688:7;14676:11;:20::i;:::-;14749:18;;14638:58;;-1:-1:-1;14707:22:20;;-1:-1:-1;;;;;14733:34:20;719:10:12;-1:-1:-1;;;;;14733:34:20;;:100;;;-1:-1:-1;14800:18:20;;14783:50;;719:10:12;10202:162:20;:::i;14783:50::-;14733:152;;;-1:-1:-1;719:10:12;14849:20:20;14861:7;14849:11;:20::i;:::-;-1:-1:-1;;;;;14849:36:20;;14733:152;14707:179;;14902:17;14897:66;;14928:35;;-1:-1:-1;;;14928:35:20;;;;;;;;;;;14897:66;14999:4;-1:-1:-1;;;;;14977:26:20;:13;:18;;;-1:-1:-1;;;;;14977:26:20;;14973:67;;15012:28;;-1:-1:-1;;;15012:28:20;;;;;;;;;;;14973:67;-1:-1:-1;;;;;15054:16:20;;15050:52;;15079:23;;-1:-1:-1;;;15079:23:20;;;;;;;;;;;15050:52;15113:43;15135:4;15141:2;15145:7;15154:1;15113:21;:43::i;:::-;15218:49;15235:1;15239:7;15248:13;:18;;;15218:8;:49::i;:::-;-1:-1:-1;;;;;15557:18:20;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;15557:31:20;;;-1:-1:-1;;;;;15557:31:20;;;-1:-1:-1;;15557:31:20;;;;;;;15602:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;15602:29:20;;;;;;;;;;;15646:20;;;:11;:20;;;;;;:30;;-1:-1:-1;;;;;;15690:61:20;;;;-1:-1:-1;;;15735:15:20;15690:61;;;;;;;;;;;16021:11;;;16050:24;;;;;:29;16021:11;;16050:29;16046:438;;16272:13;;16258:11;:27;16254:216;;;16341:18;;;16309:24;;;:11;:24;;;;;;;;:50;;16423:28;;;;-1:-1:-1;;;;;16381:70:20;-1:-1:-1;;;16381:70:20;-1:-1:-1;;;;;;16381:70:20;;;-1:-1:-1;;;;;16309:50:20;;;16381:70;;;;;;;16254:216;14528:2067;16528:7;16524:2;-1:-1:-1;;;;;16509:27:20;16518:4;-1:-1:-1;;;;;16509:27:20;;;;;;;;;;;16546:42;4337:77:18;19592:650:20;19770:72;;-1:-1:-1;;;19770:72:20;;19750:4;;-1:-1:-1;;;;;19770:36:20;;;;;:72;;719:10:12;;19821:4:20;;19827:7;;19836:5;;19770:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;19770:72:20;;;;;;;;-1:-1:-1;;19770:72:20;;;;;;;;;;;;:::i;:::-;;;19766:470;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;20001:13:20;;19997:229;;20046:40;;-1:-1:-1;;;20046:40:20;;;;;;;;;;;19997:229;20186:6;20180:13;20171:6;20167:2;20163:15;20156:38;19766:470;-1:-1:-1;;;;;;19888:55:20;-1:-1:-1;;;19888:55:20;;-1:-1:-1;19766:470:20;19592:650;;;;;;:::o;1555:111:18:-;1615:13;1647:12;1640:19;;;;;:::i;328:703:13:-;384:13;601:10;597:51;;-1:-1:-1;;627:10:13;;;;;;;;;;;;-1:-1:-1;;;627:10:13;;;;;328:703::o;597:51::-;672:5;657:12;711:75;718:9;;711:75;;743:8;;;;:::i;:::-;;-1:-1:-1;765:10:13;;-1:-1:-1;773:2:13;765:10;;:::i;:::-;;;711:75;;;795:19;827:6;-1:-1:-1;;;;;817:17:13;;;;;-1:-1:-1;;;817:17:13;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;817:17:13;;795:39;;844:150;851:10;;844:150;;877:11;887:1;877:11;;:::i;:::-;;-1:-1:-1;945:10:13;953:2;945:5;:10;:::i;:::-;932:24;;:2;:24;:::i;:::-;919:39;;902:6;909;902:14;;;;;;-1:-1:-1;;;902:14:13;;;;;;;;;;;;:56;-1:-1:-1;;;;;902:56:13;;;;;;;;-1:-1:-1;972:11:13;981:2;972:11;;:::i;:::-;;;844:150;;4308:227:14;4386:7;4406:17;4425:18;4447:27;4458:4;4464:9;4447:10;:27::i;:::-;4405:69;;;;4484:18;4496:5;4484:11;:18::i;5482:204:20:-;5543:7;-1:-1:-1;;;;;5566:19:20;;5562:59;;5594:27;;-1:-1:-1;;;5594:27:20;;;;;;;;;;;5562:59;-1:-1:-1;;;;;;5646:19:20;;;;;:12;:19;;;;;:32;-1:-1:-1;;;5646:32:20;;-1:-1:-1;;;;;5646:32:20;;5482:204::o;12149:157::-;12267:32;12273:2;12277:8;12287:5;12294:4;12267:5;:32::i;7302:244:18:-;1168:7:1;;;;1411:9;1403:38;;;;-1:-1:-1;;;1403:38:1;;14318:2:21;1403:38:1;;;14300:21:21;14357:2;14337:18;;;14330:30;-1:-1:-1;;;14376:18:21;;;14369:46;14432:18;;1403:38:1;14290:166:21;1403:38:1;7483:56:18::1;4337:77:::0;2243:1279:14;2324:7;2333:12;2554:9;:16;2574:2;2554:22;2550:966;;;2843:4;2828:20;;2822:27;2892:4;2877:20;;2871:27;2949:4;2934:20;;2928:27;2592:9;2920:36;2990:25;3001:4;2920:36;2822:27;2871;2990:10;:25::i;:::-;2983:32;;;;;;;;;2550:966;3036:9;:16;3056:2;3036:22;3032:484;;;3305:4;3290:20;;3284:27;3355:4;3340:20;;3334:27;3395:23;3406:4;3284:27;3334;3395:10;:23::i;:::-;3388:30;;;;;;;;3032:484;-1:-1:-1;3465:1:14;;-1:-1:-1;3469:35:14;3449:56;;548:631;625:20;616:5;:29;;;;;;-1:-1:-1;;;616:29:14;;;;;;;;;;612:561;;;548:631;:::o;612:561::-;721:29;712:5;:38;;;;;;-1:-1:-1;;;712:38:14;;;;;;;;;;708:465;;;766:34;;-1:-1:-1;;;766:34:14;;10684:2:21;766:34:14;;;10666:21:21;10723:2;10703:18;;;10696:30;10762:26;10742:18;;;10735:54;10806:18;;766:34:14;10656:174:21;708:465:14;830:35;821:5;:44;;;;;;-1:-1:-1;;;821:44:14;;;;;;;;;;817:356;;;881:41;;-1:-1:-1;;;881:41:14;;11733:2:21;881:41:14;;;11715:21:21;11772:2;11752:18;;;11745:30;11811:33;11791:18;;;11784:61;11862:18;;881:41:14;11705:181:21;817:356:14;952:30;943:5;:39;;;;;;-1:-1:-1;;;943:39:14;;;;;;;;;;939:234;;;998:44;;-1:-1:-1;;;998:44:14;;13915:2:21;998:44:14;;;13897:21:21;13954:2;13934:18;;;13927:30;13993:34;13973:18;;;13966:62;-1:-1:-1;;;14044:18:21;;;14037:32;14086:19;;998:44:14;13887:224:21;939:234:14;1072:30;1063:5;:39;;;;;;-1:-1:-1;;;1063:39:14;;;;;;;;;;1059:114;;;1118:44;;-1:-1:-1;;;1118:44:14;;15079:2:21;1118:44:14;;;15061:21:21;15118:2;15098:18;;;15091:30;15157:34;15137:18;;;15130:62;-1:-1:-1;;;15208:18:21;;;15201:32;15250:19;;1118:44:14;15051:224:21;12553:1733:20;12686:20;12709:13;-1:-1:-1;;;;;12736:16:20;;12732:48;;12761:19;;-1:-1:-1;;;12761:19:20;;;;;;;;;;;12732:48;12794:13;12790:44;;12816:18;;-1:-1:-1;;;12816:18:20;;;;;;;;;;;12790:44;12845:61;12875:1;12879:2;12883:12;12897:8;12845:21;:61::i;:::-;-1:-1:-1;;;;;13177:16:20;;;;;;:12;:16;;;;;;;;:44;;-1:-1:-1;;13235:49:20;;-1:-1:-1;;;;;13177:44:20;;;;;;;13235:49;;;-1:-1:-1;;;;;13177:44:20;;;;;;13235:49;;;;;;;;;;;;;;;;13299:25;;;:11;:25;;;;;;:35;;-1:-1:-1;;;;;;13348:66:20;;;;-1:-1:-1;;;13398:15:20;13348:66;;;;;;;;;;13299:25;13492:23;;;13534:4;:23;;;;-1:-1:-1;;;;;;13542:13:20;;1465:19:11;:23;;13542:15:20;13530:628;;;13577:309;13607:38;;13632:12;;-1:-1:-1;;;;;13607:38:20;;;13624:1;;13607:38;;13624:1;;13607:38;13672:69;13711:1;13715:2;13719:14;;;;;;13735:5;13672:30;:69::i;:::-;13667:172;;13776:40;;-1:-1:-1;;;13776:40:20;;;;;;;;;;;13667:172;13881:3;13865:12;:19;;13577:309;;13965:12;13948:13;;:29;13944:43;;13979:8;;;13944:43;13530:628;;;14026:118;14056:40;;14081:14;;;;;-1:-1:-1;;;;;14056:40:20;;;14073:1;;14056:40;;14073:1;;14056:40;14139:3;14123:12;:19;;14026:118;;13530:628;-1:-1:-1;14171:13:20;:28;14219:60;4337:77:18;5716:1603:14;5842:7;;6766:66;6753:79;;6749:161;;;-1:-1:-1;6864:1:14;;-1:-1:-1;6868:30:14;6848:51;;6749:161;6923:1;:7;;6928:2;6923:7;;:18;;;;;6934:1;:7;;6939:2;6934:7;;6923:18;6919:100;;;-1:-1:-1;6973:1:14;;-1:-1:-1;6977:30:14;6957:51;;6919:100;7130:24;;;7113:14;7130:24;;;;;;;;;9506:25:21;;;9579:4;9567:17;;9547:18;;;9540:45;;;;9601:18;;;9594:34;;;9644:18;;;9637:34;;;7130:24:14;;9478:19:21;;7130:24:14;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;7130:24:14;;-1:-1:-1;;7130:24:14;;;-1:-1:-1;;;;;;;7168:20:14;;7164:101;;7220:1;7224:29;7204:50;;;;;;;7164:101;7283:6;-1:-1:-1;7291:20:14;;-1:-1:-1;5716:1603:14;;;;;;;;:::o;4789:336::-;4899:7;;-1:-1:-1;;;;;4944:80:14;;4899:7;5050:25;5066:3;5051:18;;;5073:2;5050:25;:::i;:::-;5034:42;;5093:25;5104:4;5110:1;5113;5116;5093:10;:25::i;:::-;5086:32;;;;;;4789:336;;;;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:173:21;82:20;;-1:-1:-1;;;;;131:31:21;;121:42;;111:2;;177:1;174;167:12;111:2;63:124;;;:::o;192:160::-;257:20;;313:13;;306:21;296:32;;286:2;;342:1;339;332:12;357:375;408:8;418:6;472:3;465:4;457:6;453:17;449:27;439:2;;497:8;487;480:26;439:2;-1:-1:-1;527:20:21;;-1:-1:-1;;;;;559:30:21;;556:2;;;609:8;599;592:26;556:2;653:4;645:6;641:17;629:29;;705:3;698:4;689:6;681;677:19;673:30;670:39;667:2;;;722:1;719;712:12;737:196;796:6;849:2;837:9;828:7;824:23;820:32;817:2;;;870:6;862;855:22;817:2;898:29;917:9;898:29;:::i;938:270::-;1006:6;1014;1067:2;1055:9;1046:7;1042:23;1038:32;1035:2;;;1088:6;1080;1073:22;1035:2;1116:29;1135:9;1116:29;:::i;:::-;1106:39;;1164:38;1198:2;1187:9;1183:18;1164:38;:::i;:::-;1154:48;;1025:183;;;;;:::o;1213:338::-;1290:6;1298;1306;1359:2;1347:9;1338:7;1334:23;1330:32;1327:2;;;1380:6;1372;1365:22;1327:2;1408:29;1427:9;1408:29;:::i;:::-;1398:39;;1456:38;1490:2;1479:9;1475:18;1456:38;:::i;:::-;1446:48;;1541:2;1530:9;1526:18;1513:32;1503:42;;1317:234;;;;;:::o;1556:933::-;1651:6;1659;1667;1675;1728:3;1716:9;1707:7;1703:23;1699:33;1696:2;;;1750:6;1742;1735:22;1696:2;1778:29;1797:9;1778:29;:::i;:::-;1768:39;;1826:38;1860:2;1849:9;1845:18;1826:38;:::i;:::-;1816:48;;1911:2;1900:9;1896:18;1883:32;1873:42;;1966:2;1955:9;1951:18;1938:32;-1:-1:-1;;;;;1985:6:21;1982:30;1979:2;;;2030:6;2022;2015:22;1979:2;2058:22;;2111:4;2103:13;;2099:27;-1:-1:-1;2089:2:21;;2145:6;2137;2130:22;2089:2;2186;2173:16;2211:48;2227:31;2255:2;2227:31;:::i;:::-;2211:48;:::i;:::-;2282:2;2275:5;2268:17;2322:7;2317:2;2312;2308;2304:11;2300:20;2297:33;2294:2;;;2348:6;2340;2333:22;2294:2;2408;2403;2399;2395:11;2390:2;2383:5;2379:14;2366:45;2431:14;;;2447:2;2427:23;2420:39;;;;-1:-1:-1;1686:803:21;;;;-1:-1:-1;1686:803:21;-1:-1:-1;1686:803:21:o;2494:264::-;2559:6;2567;2620:2;2608:9;2599:7;2595:23;2591:32;2588:2;;;2641:6;2633;2626:22;2588:2;2669:29;2688:9;2669:29;:::i;:::-;2659:39;;2717:35;2748:2;2737:9;2733:18;2717:35;:::i;2763:264::-;2831:6;2839;2892:2;2880:9;2871:7;2867:23;2863:32;2860:2;;;2913:6;2905;2898:22;2860:2;2941:29;2960:9;2941:29;:::i;:::-;2931:39;3017:2;3002:18;;;;2989:32;;-1:-1:-1;;;2850:177:21:o;3032:190::-;3088:6;3141:2;3129:9;3120:7;3116:23;3112:32;3109:2;;;3162:6;3154;3147:22;3109:2;3190:26;3206:9;3190:26;:::i;3227:255::-;3285:6;3338:2;3326:9;3317:7;3313:23;3309:32;3306:2;;;3359:6;3351;3344:22;3306:2;3403:9;3390:23;3422:30;3446:5;3422:30;:::i;3487:259::-;3556:6;3609:2;3597:9;3588:7;3584:23;3580:32;3577:2;;;3630:6;3622;3615:22;3577:2;3667:9;3661:16;3686:30;3710:5;3686:30;:::i;3751:430::-;3822:6;3830;3883:2;3871:9;3862:7;3858:23;3854:32;3851:2;;;3904:6;3896;3889:22;3851:2;3949:9;3936:23;-1:-1:-1;;;;;3974:6:21;3971:30;3968:2;;;4019:6;4011;4004:22;3968:2;4063:58;4113:7;4104:6;4093:9;4089:22;4063:58;:::i;:::-;4140:8;;4037:84;;-1:-1:-1;3841:340:21;-1:-1:-1;;;;3841:340:21:o;4186:675::-;4266:6;4319:2;4307:9;4298:7;4294:23;4290:32;4287:2;;;4340:6;4332;4325:22;4287:2;4378:9;4372:16;-1:-1:-1;;;;;4403:6:21;4400:30;4397:2;;;4448:6;4440;4433:22;4397:2;4476:22;;4529:4;4521:13;;4517:27;-1:-1:-1;4507:2:21;;4563:6;4555;4548:22;4507:2;4597;4591:9;4622:48;4638:31;4666:2;4638:31;:::i;4622:48::-;4693:2;4686:5;4679:17;4733:7;4728:2;4723;4719;4715:11;4711:20;4708:33;4705:2;;;4759:6;4751;4744:22;4705:2;4777:54;4828:2;4823;4816:5;4812:14;4807:2;4803;4799:11;4777:54;:::i;:::-;4850:5;4277:584;-1:-1:-1;;;;;4277:584:21:o;4866:190::-;4925:6;4978:2;4966:9;4957:7;4953:23;4949:32;4946:2;;;4999:6;4991;4984:22;4946:2;-1:-1:-1;5027:23:21;;4936:120;-1:-1:-1;4936:120:21:o;5061:497::-;5140:6;5148;5156;5209:2;5197:9;5188:7;5184:23;5180:32;5177:2;;;5230:6;5222;5215:22;5177:2;5271:9;5258:23;5248:33;;5332:2;5321:9;5317:18;5304:32;-1:-1:-1;;;;;5351:6:21;5348:30;5345:2;;;5396:6;5388;5381:22;5345:2;5440:58;5490:7;5481:6;5470:9;5466:22;5440:58;:::i;:::-;5167:391;;5517:8;;-1:-1:-1;5414:84:21;;-1:-1:-1;;;;5167:391:21:o;5563:258::-;5631:6;5639;5692:2;5680:9;5671:7;5667:23;5663:32;5660:2;;;5713:6;5705;5698:22;5660:2;-1:-1:-1;;5741:23:21;;;5811:2;5796:18;;;5783:32;;-1:-1:-1;5650:171:21:o;5826:257::-;5867:3;5905:5;5899:12;5932:6;5927:3;5920:19;5948:63;6004:6;5997:4;5992:3;5988:14;5981:4;5974:5;5970:16;5948:63;:::i;:::-;6065:2;6044:15;-1:-1:-1;;6040:29:21;6031:39;;;;6072:4;6027:50;;5875:208;-1:-1:-1;;5875:208:21:o;6088:470::-;6267:3;6305:6;6299:13;6321:53;6367:6;6362:3;6355:4;6347:6;6343:17;6321:53;:::i;:::-;6437:13;;6396:16;;;;6459:57;6437:13;6396:16;6493:4;6481:17;;6459:57;:::i;:::-;6532:20;;6275:283;-1:-1:-1;;;;6275:283:21:o;7675:488::-;-1:-1:-1;;;;;7944:15:21;;;7926:34;;7996:15;;7991:2;7976:18;;7969:43;8043:2;8028:18;;8021:34;;;8091:3;8086:2;8071:18;;8064:31;;;7869:4;;8112:45;;8137:19;;8129:6;8112:45;:::i;:::-;8104:53;7878:285;-1:-1:-1;;;;;;7878:285:21:o;8447:635::-;8618:2;8670:21;;;8740:13;;8643:18;;;8762:22;;;8589:4;;8618:2;8841:15;;;;8815:2;8800:18;;;8589:4;8887:169;8901:6;8898:1;8895:13;8887:169;;;8962:13;;8950:26;;9031:15;;;;8996:12;;;;8923:1;8916:9;8887:169;;;-1:-1:-1;9073:3:21;;8598:484;-1:-1:-1;;;;;;8598:484:21:o;9912:341::-;10057:2;10042:18;;10090:1;10079:13;;10069:2;;10135:10;10130:3;10126:20;10123:1;10116:31;10170:4;10167:1;10160:15;10198:4;10195:1;10188:15;10069:2;10222:25;;;10024:229;:::o;10258:219::-;10407:2;10396:9;10389:21;10370:4;10427:44;10467:2;10456:9;10452:18;10444:6;10427:44;:::i;15280:356::-;15482:2;15464:21;;;15501:18;;;15494:30;15560:34;15555:2;15540:18;;15533:62;15627:2;15612:18;;15454:182::o;17244:275::-;17315:2;17309:9;17380:2;17361:13;;-1:-1:-1;;17357:27:21;17345:40;;-1:-1:-1;;;;;17400:34:21;;17436:22;;;17397:62;17394:2;;;17462:18;;:::i;:::-;17498:2;17491:22;17289:230;;-1:-1:-1;17289:230:21:o;17524:186::-;17572:4;-1:-1:-1;;;;;17597:6:21;17594:30;17591:2;;;17627:18;;:::i;:::-;-1:-1:-1;17693:2:21;17672:15;-1:-1:-1;;17668:29:21;17699:4;17664:40;;17581:129::o;17715:128::-;17755:3;17786:1;17782:6;17779:1;17776:13;17773:2;;;17792:18;;:::i;:::-;-1:-1:-1;17828:9:21;;17763:80::o;17848:120::-;17888:1;17914;17904:2;;17919:18;;:::i;:::-;-1:-1:-1;17953:9:21;;17894:74::o;17973:168::-;18013:7;18079:1;18075;18071:6;18067:14;18064:1;18061:21;18056:1;18049:9;18042:17;18038:45;18035:2;;;18086:18;;:::i;:::-;-1:-1:-1;18126:9:21;;18025:116::o;18146:125::-;18186:4;18214:1;18211;18208:8;18205:2;;;18219:18;;:::i;:::-;-1:-1:-1;18256:9:21;;18195:76::o;18276:258::-;18348:1;18358:113;18372:6;18369:1;18366:13;18358:113;;;18448:11;;;18442:18;18429:11;;;18422:39;18394:2;18387:10;18358:113;;;18489:6;18486:1;18483:13;18480:2;;;-1:-1:-1;;18524:1:21;18506:16;;18499:27;18329:205::o;18539:380::-;18618:1;18614:12;;;;18661;;;18682:2;;18736:4;18728:6;18724:17;18714:27;;18682:2;18789;18781:6;18778:14;18758:18;18755:38;18752:2;;;18835:10;18830:3;18826:20;18823:1;18816:31;18870:4;18867:1;18860:15;18898:4;18895:1;18888:15;18752:2;;18594:325;;;:::o;18924:135::-;18963:3;-1:-1:-1;;18984:17:21;;18981:2;;;19004:18;;:::i;:::-;-1:-1:-1;19051:1:21;19040:13;;18971:88::o;19064:112::-;19096:1;19122;19112:2;;19127:18;;:::i;:::-;-1:-1:-1;19161:9:21;;19102:74::o;19181:127::-;19242:10;19237:3;19233:20;19230:1;19223:31;19273:4;19270:1;19263:15;19297:4;19294:1;19287:15;19313:127;19374:10;19369:3;19365:20;19362:1;19355:31;19405:4;19402:1;19395:15;19429:4;19426:1;19419:15;19445:127;19506:10;19501:3;19497:20;19494:1;19487:31;19537:4;19534:1;19527:15;19561:4;19558:1;19551:15;19577:131;-1:-1:-1;;;;;;19651:32:21;;19641:43;;19631:2;;19698:1;19695;19688:12
Swarm Source
ipfs://42a3a07e11633207ab0dd24be704f5db1ed23d010947b8f81919692984bb20cb
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.