ERC-721
Overview
Max Total Supply
44 AVXSTD
Holders
26
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 AVXSTDLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
AmberVittoriaXSaveTheDate
Compiler Version
v0.8.9+commit.e5eed63a
Contract Source Code (Solidity Multiple files format)
// SPDX-License-Identifier: MIT /*** * * 8""""8 * 8 eeeee ee e eeee * 8eeeee 8 8 88 8 8 * 88 8eee8 88 e8 8eee * e 88 88 8 8 8 88 * 8eee88 88 8 8ee8 88ee * ""8"" * 8 e e eeee * 8e 8 8 8 * 88 8eee8 8eee * 88 88 8 88 * 88 88 8 88ee * 8""""8 * 8 8 eeeee eeeee eeee * 8e 8 8 8 8 8 * 88 8 8eee8 8e 8eee * 88 8 88 8 88 88 * 88eee8 88 8 88 88ee * */ pragma solidity >=0.8.9 <0.9.0; import './ERC721AQueryable.sol'; import './MerkleProof.sol'; import './Ownable.sol'; import './ReentrancyGuard.sol'; import './RefundContract.sol'; import './ERC2981.sol'; contract AmberVittoriaXSaveTheDate is ERC721AQueryable, Ownable, ReentrancyGuard, ERC2981 { using Strings for uint256; event NftsMinted(address owner, uint256[] std_ids, uint256 currentIndex, uint256 mintAmount); mapping(uint256 => bool) public freelistClaimed; string public uriPrefix = ''; uint256 public maxSupply = 18000; uint256 public maxMintAmountPerTx = 1; uint256 public cost = 0 ether; bytes32 public merkleRoot; string public tokenName = "Amber Vittoria X Save The Date"; string public tokenSymbol = "AVXSTD"; bool public paused = true; bool public whitelistMintEnabled = false; IERC721 internal saveTheDateContract; RefundContract internal refundContract; string internal uriSuffix = '.json'; constructor(string memory baseURI, address _saveTheDateContract, address _refundContract) ERC721A(tokenName, tokenSymbol) { setUriPrefix(baseURI); saveTheDateContract = IERC721(_saveTheDateContract); refundContract = RefundContract(_refundContract); } modifier mintCompliance(uint256 _mintAmount) { require(_mintAmount > 0 && _mintAmount <= maxMintAmountPerTx, 'Invalid mint amount!'); require(totalSupply() + _mintAmount <= maxSupply, 'Max supply exceeded!'); _; } modifier mintPriceCompliance(uint256 _mintAmount) { require(msg.value >= cost * _mintAmount, 'Insufficient funds!'); _; } function mint(uint256 std_id) public payable mintCompliance(1) mintPriceCompliance(1) { require(!paused, 'The contract is paused!'); require(!freelistClaimed[std_id], 'Token already claimed!'); address _owner = saveTheDateContract.ownerOf(std_id); require(_owner == msg.sender, "Must be an owner to mint"); safeMint(_msgSender(), std_id); freelistClaimed[std_id] = true; refundContract.claimReward(std_id); } function safeMint(address to, uint256 std_id) internal { uint256[] memory tmp = new uint256[](1); tmp[0] = std_id; bulkSafeMint(to, tmp); delete tmp; } function bulkSafeMint(address to, uint256[] memory std_ids) internal { uint256 currentIndex = _currentIndex; uint256 amount = std_ids.length; _safeMint(to, amount); emit NftsMinted(to, std_ids, currentIndex, amount); } function internalMint(uint256[] memory std_ids) external onlyOwner { require(totalSupply() + std_ids.length <= maxSupply, 'Max supply exceeded!'); bulkSafeMint(_msgSender(), std_ids); } function mintForAddress(uint256[] memory std_ids, address _receiver) public onlyOwner { require(totalSupply() + std_ids.length <= maxSupply, 'Max supply exceeded!'); bulkSafeMint(_receiver, std_ids); } function mintForAddresses(uint256[] memory std_ids, address[] memory _addresses) public onlyOwner { uint256[] memory tmp = new uint256[](1); for (uint i = 0; i < std_ids.length; i++) { tmp[0] = std_ids[i]; mintForAddress(tmp, _addresses[i]); } delete tmp; } function _startTokenId() internal view virtual override returns (uint256) { return 1; } function setMaxSupply(uint256 _maxSupply) public onlyOwner { maxSupply = _maxSupply; } function setMaxMintAmountPerTx(uint256 _maxMintAmountPerTx) public onlyOwner { maxMintAmountPerTx = _maxMintAmountPerTx; } function setUriPrefix(string memory _uriPrefix) public onlyOwner { uriPrefix = _uriPrefix; } function setUriSuffix(string memory _uriSuffix) public onlyOwner { uriSuffix = _uriSuffix; } function setCost(uint256 _cost) public onlyOwner { cost = _cost; } function setPaused(bool _state) public onlyOwner { paused = _state; } function setRoyaltyInfo(address payable receiver, uint96 numerator) public onlyOwner { _setDefaultRoyalty(receiver, numerator); } function withdraw() public onlyOwner nonReentrant { (bool os, ) = payable(owner()).call{value: address(this).balance}(''); require(os); } function _baseURI() internal view virtual override returns (string memory) { return uriPrefix; } function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721A, ERC2981) returns (bool) { return ERC721A.supportsInterface(interfaceId) || ERC2981.supportsInterface(interfaceId); } }
// 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/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol) pragma solidity ^0.8.0; import './ERC165.sol'; import './IERC2981.sol'; /** * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information. * * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first. * * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the * fee is specified in basis points by default. * * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported. * * _Available since v4.5._ */ abstract contract ERC2981 is IERC2981, ERC165 { struct RoyaltyInfo { address receiver; uint96 royaltyFraction; } RoyaltyInfo private _defaultRoyaltyInfo; mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) { return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId); } /** * @inheritdoc IERC2981 */ function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) { RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId]; if (royalty.receiver == address(0)) { royalty = _defaultRoyaltyInfo; } uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator(); return (royalty.receiver, royaltyAmount); } /** * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an * override. */ function _feeDenominator() internal pure virtual returns (uint96) { return 10000; } /** * @dev Sets the royalty information that all ids in this contract will default to. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: invalid receiver"); _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Removes default royalty information. */ function _deleteDefaultRoyalty() internal virtual { delete _defaultRoyaltyInfo; } /** * @dev Sets the royalty information for a specific token id, overriding the global default. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setTokenRoyalty( uint256 tokenId, address receiver, uint96 feeNumerator ) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: Invalid parameters"); _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Resets royalty information for the token id back to the global default. */ function _resetTokenRoyalty(uint256 tokenId) internal virtual { delete _tokenRoyaltyInfo[tokenId]; } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v3.3.0 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721A.sol'; import './IERC721Receiver.sol'; import './Address.sol'; import './Context.sol'; import './Strings.sol'; import './ERC165.sol'; /** * @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, IERC721A { using Address for address; using Strings for uint256; // The tokenId of the next token to be minted. uint256 internal _currentIndex; // The number of tokens burned. uint256 internal _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. See _ownershipOf implementation for details. mapping(uint256 => TokenOwnership) internal _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * To change the starting tokenId, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens. */ function totalSupply() public view override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than _currentIndex - _startTokenId() times unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to _startTokenId() unchecked { return _currentIndex - _startTokenId(); } } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return uint256(_addressData[owner].balance); } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberMinted); } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberBurned); } /** * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return _addressData[owner].aux; } /** * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal { _addressData[owner].aux = aux; } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (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) if(!isApprovedForAll(owner, _msgSender())) { revert ApprovalCallerNotOwnerNorApproved(); } _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSender()) revert ApproveToCaller(); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { _transfer(from, to, tokenId); if (to.isContract()) if(!_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; } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ 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 { 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 (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 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) 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; do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex < end); _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) private { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); if (prevOwnership.addr != from) revert TransferFromIncorrectOwner(); bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { _addressData[from].balance -= 1; _addressData[to].balance += 1; TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = to; currSlot.startTimestamp = uint64(block.timestamp); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); address from = prevOwnership.addr; if (approvalCheck) { bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { AddressData storage addressData = _addressData[from]; addressData.balance -= 1; addressData.numberBurned += 1; // Keep track of who burned the token, and the timestamp of burning. TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = from; currSlot.startTimestamp = uint64(block.timestamp); currSlot.burned = true; // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * And also called before burning one token. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} }
// SPDX-License-Identifier: MIT // ERC721A Contracts v3.3.0 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721AQueryable.sol'; import './ERC721A.sol'; /** * @title ERC721A Queryable * @dev ERC721A subclass with convenience query functions. */ abstract contract ERC721AQueryable is ERC721A, IERC721AQueryable { /** * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting. * * If the `tokenId` is out of bounds: * - `addr` = `address(0)` * - `startTimestamp` = `0` * - `burned` = `false` * * If the `tokenId` is burned: * - `addr` = `<Address of owner before token was burned>` * - `startTimestamp` = `<Timestamp when token was burned>` * - `burned = `true` * * Otherwise: * - `addr` = `<Address of owner>` * - `startTimestamp` = `<Timestamp of start of ownership>` * - `burned = `false` */ function explicitOwnershipOf(uint256 tokenId) public view override returns (TokenOwnership memory) { TokenOwnership memory ownership; if (tokenId < _startTokenId() || tokenId >= _currentIndex) { return ownership; } ownership = _ownerships[tokenId]; if (ownership.burned) { return ownership; } return _ownershipOf(tokenId); } /** * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order. * See {ERC721AQueryable-explicitOwnershipOf} */ function explicitOwnershipsOf(uint256[] memory tokenIds) external view override returns (TokenOwnership[] memory) { unchecked { uint256 tokenIdsLength = tokenIds.length; TokenOwnership[] memory ownerships = new TokenOwnership[](tokenIdsLength); for (uint256 i; i != tokenIdsLength; ++i) { ownerships[i] = explicitOwnershipOf(tokenIds[i]); } return ownerships; } } /** * @dev Returns an array of token IDs owned by `owner`, * in the range [`start`, `stop`) * (i.e. `start <= tokenId < stop`). * * This function allows for tokens to be queried if the collection * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}. * * Requirements: * * - `start` < `stop` */ function tokensOfOwnerIn( address owner, uint256 start, uint256 stop ) external view override returns (uint256[] memory) { unchecked { if (start >= stop) revert InvalidQueryRange(); uint256 tokenIdsIdx; uint256 stopLimit = _currentIndex; // Set `start = max(start, _startTokenId())`. if (start < _startTokenId()) { start = _startTokenId(); } // Set `stop = min(stop, _currentIndex)`. if (stop > stopLimit) { stop = stopLimit; } uint256 tokenIdsMaxLength = balanceOf(owner); // Set `tokenIdsMaxLength = min(balanceOf(owner), stop - start)`, // to cater for cases where `balanceOf(owner)` is too big. if (start < stop) { uint256 rangeLength = stop - start; if (rangeLength < tokenIdsMaxLength) { tokenIdsMaxLength = rangeLength; } } else { tokenIdsMaxLength = 0; } uint256[] memory tokenIds = new uint256[](tokenIdsMaxLength); if (tokenIdsMaxLength == 0) { return tokenIds; } // We need to call `explicitOwnershipOf(start)`, // because the slot at `start` may not be initialized. TokenOwnership memory ownership = explicitOwnershipOf(start); address currOwnershipAddr; // If the starting slot exists (i.e. not burned), initialize `currOwnershipAddr`. // `ownership.address` will not be zero, as `start` is clamped to the valid token ID range. if (!ownership.burned) { currOwnershipAddr = ownership.addr; } for (uint256 i = start; i != stop && tokenIdsIdx != tokenIdsMaxLength; ++i) { ownership = _ownerships[i]; if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { tokenIds[tokenIdsIdx++] = i; } } // Downsize the array to fit. assembly { mstore(tokenIds, tokenIdsIdx) } return tokenIds; } } /** * @dev Returns an array of token IDs owned by `owner`. * * This function scans the ownership mapping and is O(totalSupply) in complexity. * It is meant to be called off-chain. * * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into * multiple smaller scans if the collection is large enough to cause * an out-of-gas error (10K pfp collections should be fine). */ function tokensOfOwner(address owner) external view override returns (uint256[] memory) { unchecked { uint256 tokenIdsIdx; address currOwnershipAddr; uint256 tokenIdsLength = balanceOf(owner); uint256[] memory tokenIds = new uint256[](tokenIdsLength); TokenOwnership memory ownership; for (uint256 i = _startTokenId(); tokenIdsIdx != tokenIdsLength; ++i) { ownership = _ownerships[i]; if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { tokenIds[tokenIdsIdx++] = i; } } return tokenIds; } } }
// 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.6.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; import './IERC165.sol'; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be paid in that same unit of exchange. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "./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 // ERC721A Contracts v3.3.0 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721.sol'; import './IERC721Metadata.sol'; /** * @dev Interface of an ERC721A compliant contract. */ interface IERC721A is IERC721, IERC721Metadata { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * The caller cannot approve to the current owner. */ error ApprovalToCurrentOwner(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); // 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; } /** * @dev Returns the total amount of tokens stored by the contract. * * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens. */ function totalSupply() external view returns (uint256); }
// SPDX-License-Identifier: MIT // ERC721A Contracts v3.3.0 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721A.sol'; /** * @dev Interface of an ERC721AQueryable compliant contract. */ interface IERC721AQueryable is IERC721A { /** * Invalid query range (`start` >= `stop`). */ error InvalidQueryRange(); /** * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting. * * If the `tokenId` is out of bounds: * - `addr` = `address(0)` * - `startTimestamp` = `0` * - `burned` = `false` * * If the `tokenId` is burned: * - `addr` = `<Address of owner before token was burned>` * - `startTimestamp` = `<Timestamp when token was burned>` * - `burned = `true` * * Otherwise: * - `addr` = `<Address of owner>` * - `startTimestamp` = `<Timestamp of start of ownership>` * - `burned = `false` */ function explicitOwnershipOf(uint256 tokenId) external view returns (TokenOwnership memory); /** * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order. * See {ERC721AQueryable-explicitOwnershipOf} */ function explicitOwnershipsOf(uint256[] memory tokenIds) external view returns (TokenOwnership[] memory); /** * @dev Returns an array of token IDs owned by `owner`, * in the range [`start`, `stop`) * (i.e. `start <= tokenId < stop`). * * This function allows for tokens to be queried if the collection * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}. * * Requirements: * * - `start` < `stop` */ function tokensOfOwnerIn( address owner, uint256 start, uint256 stop ) external view returns (uint256[] memory); /** * @dev Returns an array of token IDs owned by `owner`. * * This function scans the ownership mapping and is O(totalSupply) in complexity. * It is meant to be called off-chain. * * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into * multiple smaller scans if the collection is large enough to cause * an out-of-gas error (10K pfp collections should be fine). */ function tokensOfOwner(address owner) external view returns (uint256[] memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (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 (last updated v4.5.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = _efficientHash(computedHash, proofElement); } else { // Hash(current element of the proof + current computed hash) computedHash = _efficientHash(proofElement, computedHash); } } return computedHash; } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "./Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT /*** * * 8""""8 * 8 eeeee ee e eeee * 8eeeee 8 8 88 8 8 * 88 8eee8 88 e8 8eee * e 88 88 8 8 8 88 * 8eee88 88 8 8ee8 88ee * ""8"" * 8 e e eeee * 8e 8 8 8 * 88 8eee8 8eee * 88 88 8 88 * 88 88 8 88ee * 8""""8 * 8 8 eeeee eeeee eeee * 8e 8 8 8 8 8 * 88 8 8eee8 8e 8eee * 88 8 88 8 88 88 * 88eee8 88 8 88 88ee * */ pragma solidity >=0.8.9 <0.9.0; import './IERC721.sol'; import './Ownable.sol'; import './MerkleProof.sol'; import './ReentrancyGuard.sol'; import './Strings.sol'; import './IERC721Receiver.sol'; contract RefundContract is Ownable, ReentrancyGuard, IERC721Receiver { using Strings for uint256; using Strings for address; event DateRefunded(address owner, uint256 tokenId); bytes32 public merkleRoot; bool public paused = true; uint256 public refundPrice = 0.07 ether; address public rewardsContractAddress; mapping(uint256 => bool) public claimedRewardTokens; IERC721 saveTheDateContract; constructor(address _saveTheDateContract) { saveTheDateContract = IERC721(_saveTheDateContract); } function refund(uint256 _tokenId, bytes32[] calldata _merkleProof) public nonReentrant { require(!paused, 'The contract is paused!'); verifyWhitelistRequirements(_tokenId, _merkleProof); require(!claimedRewardTokens[_tokenId], 'Token claimed reward already'); address _owner = saveTheDateContract.ownerOf(_tokenId); require(_owner == msg.sender, "Must be an owner to get refund"); saveTheDateContract.transferFrom(msg.sender, address(this), _tokenId); payable(msg.sender).transfer(refundPrice); emit DateRefunded(_owner, _tokenId); delete _owner; } function claimReward(uint256 _tokenId) public { require(rewardsContractAddress == msg.sender, "Must be rewardsContractAddress to mark the token as claimed"); claimedRewardTokens[_tokenId] = true; } function claimRewards(uint256[] calldata _tokenIds) public { require(rewardsContractAddress == msg.sender, "Must be rewardsContractAddress to mark the token as claimed"); for (uint256 i = 0; i < _tokenIds.length; i++) { claimedRewardTokens[_tokenIds[i]] = true; } } function verifyWhitelistRequirements(uint256 _tokenId, bytes32[] calldata _merkleProof) public view { bytes32 leaf = keccak256(buildMerkleLeaf(_tokenId)); require(MerkleProof.verify(_merkleProof, merkleRoot, leaf), 'Invalid proof!'); } function deposit() public payable onlyOwner { } function setSaveTheDateContract(address _contractAddress) public onlyOwner { saveTheDateContract = IERC721(_contractAddress); } function setRewardsContractAddress(address _rewardsContractAddress) public onlyOwner { rewardsContractAddress = _rewardsContractAddress; } function setMerkleRoot(bytes32 _merkleRoot) public onlyOwner { merkleRoot = _merkleRoot; } function setPaused(bool _state) public onlyOwner { paused = _state; } function setRefundPrice(uint256 _refundPrice) public onlyOwner { refundPrice = _refundPrice; } function withdraw() public onlyOwner nonReentrant { (bool os, ) = payable(owner()).call{value: address(this).balance}(''); require(os); } function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4) { return bytes4(keccak256("onERC721Received(address,uint256,bytes)")); } function buildMerkleLeaf(uint256 _tokenId) internal view returns(bytes memory){ return abi.encodePacked(_msgSender().toString(), "-", _tokenId.toString()); } }
// 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); } function toHexString(bytes memory data) internal pure returns(string memory) { bytes memory str = new bytes(2 + data.length * 2); str[0] = "0"; str[1] = "x"; for (uint i = 0; i < data.length; i++) { str[2+i*2] = _HEX_SYMBOLS[uint(uint8(data[i] >> 4))]; str[3+i*2] = _HEX_SYMBOLS[uint(uint8(data[i] & 0x0f))]; } return string(str); } function toString(address account) internal pure returns(string memory) { return toHexString(abi.encodePacked(account)); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"baseURI","type":"string"},{"internalType":"address","name":"_saveTheDateContract","type":"address"},{"internalType":"address","name":"_refundContract","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":"InvalidQueryRange","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","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":false,"internalType":"address","name":"owner","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"std_ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256","name":"currentIndex","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"mintAmount","type":"uint256"}],"name":"NftsMinted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"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":"tokenId","type":"uint256"}],"name":"explicitOwnershipOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"}],"internalType":"struct IERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"explicitOwnershipsOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"}],"internalType":"struct IERC721A.TokenOwnership[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"freelistClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"std_ids","type":"uint256[]"}],"name":"internalMint","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":"maxMintAmountPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"std_id","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"std_ids","type":"uint256[]"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"mintForAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"std_ids","type":"uint256[]"},{"internalType":"address[]","name":"_addresses","type":"address[]"}],"name":"mintForAddresses","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"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":"","type":"address"},{"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":"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":"uint256","name":"_cost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintAmountPerTx","type":"uint256"}],"name":"setMaxMintAmountPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"receiver","type":"address"},{"internalType":"uint96","name":"numerator","type":"uint96"}],"name":"setRoyaltyInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriPrefix","type":"string"}],"name":"setUriPrefix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriSuffix","type":"string"}],"name":"setUriSuffix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenName","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenSymbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"stop","type":"uint256"}],"name":"tokensOfOwnerIn","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uriPrefix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistMintEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60a06040819052600060808190526200001b91600d916200038d565b50614650600e556001600f55600060105560408051808201909152601e8082527f416d62657220566974746f726961205820536176652054686520446174650000602090920191825262000072916012916200038d565b506040805180820190915260068082526510559614d51160d21b6020909201918252620000a2916013916200038d565b506014805461ffff1916600117905560408051808201909152600580825264173539b7b760d91b6020909201918252620000df916016916200038d565b50348015620000ed57600080fd5b50604051620032c9380380620032c9833981016040819052620001109162000466565b601280546200011f9062000569565b80601f01602080910402602001604051908101604052809291908181526020018280546200014d9062000569565b80156200019e5780601f1062000172576101008083540402835291602001916200019e565b820191906000526020600020905b8154815290600101906020018083116200018057829003601f168201915b505050505060138054620001b29062000569565b80601f0160208091040260200160405190810160405280929190818152602001828054620001e09062000569565b8015620002315780601f10620002055761010080835404028352916020019162000231565b820191906000526020600020905b8154815290600101906020018083116200021357829003601f168201915b505084516200024b9350600292506020860191506200038d565b508051620002619060039060208401906200038d565b50506001600055506200027433620002c3565b6001600955620002848362000315565b6014805462010000600160b01b031916620100006001600160a01b0394851602179055601580546001600160a01b0319169190921617905550620005a6565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6008546001600160a01b03163314620003745760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b80516200038990600d9060208401906200038d565b5050565b8280546200039b9062000569565b90600052602060002090601f016020900481019282620003bf57600085556200040a565b82601f10620003da57805160ff19168380011785556200040a565b828001600101855582156200040a579182015b828111156200040a578251825591602001919060010190620003ed565b50620004189291506200041c565b5090565b5b808211156200041857600081556001016200041d565b634e487b7160e01b600052604160045260246000fd5b80516001600160a01b03811681146200046157600080fd5b919050565b6000806000606084860312156200047c57600080fd5b83516001600160401b03808211156200049457600080fd5b818601915086601f830112620004a957600080fd5b815181811115620004be57620004be62000433565b604051601f8201601f19908116603f01168101908382118183101715620004e957620004e962000433565b816040528281526020935089848487010111156200050657600080fd5b600091505b828210156200052a57848201840151818301850152908301906200050b565b828211156200053c5760008484830101525b96506200054e91505086820162000449565b93505050620005606040850162000449565b90509250925092565b600181811c908216806200057e57607f821691505b60208210811415620005a057634e487b7160e01b600052602260045260246000fd5b50919050565b612d1380620005b66000396000f3fe6080604052600436106102675760003560e01c80636c02a9311161014457806399a2557a116100b6578063b88d4fde1161007a578063b88d4fde1461073c578063c23dc68f1461075c578063c87b56dd14610789578063d5abeb01146107a9578063e985e9c5146107bf578063f2fde38b146107df57600080fd5b806399a2557a146106a9578063a0712d68146106c9578063a22cb465146106dc578063a5835424146106fc578063b071401b1461071c57600080fd5b80637b61c320116101085780637b61c320146105fe5780637ec4a659146106135780638462151c146106335780638da5cb5b1461066057806394354fd01461067e57806395d89b411461069457600080fd5b80636c02a931146105755780636caede3d1461058a5780636f8b44b0146105a957806370a08231146105c9578063715018a6146105e957600080fd5b80632a55205a116101dd57806344a0d68a116101a157806344a0d68a146104a95780635bbb2177146104c95780635c975abb146104f65780635ffa777d1461051057806362b99ad4146105405780636352211e1461055557600080fd5b80632a55205a146103ff5780632a8255691461043e5780632eb4a7ab1461045e5780633ccfd60b1461047457806342842e0e1461048957600080fd5b806313faede61161022f57806313faede61461033d57806316ba10e01461036157806316c38b3c1461038157806316da55c4146103a157806318160ddd146103c157806323b872dd146103df57600080fd5b806301ffc9a71461026c57806302fa7c47146102a157806306fdde03146102c3578063081812fc146102e5578063095ea7b31461031d575b600080fd5b34801561027857600080fd5b5061028c610287366004612404565b6107ff565b60405190151581526020015b60405180910390f35b3480156102ad57600080fd5b506102c16102bc366004612436565b61081f565b005b3480156102cf57600080fd5b506102d8610860565b60405161029891906124d3565b3480156102f157600080fd5b506103056103003660046124e6565b6108f2565b6040516001600160a01b039091168152602001610298565b34801561032957600080fd5b506102c16103383660046124ff565b610936565b34801561034957600080fd5b5061035360105481565b604051908152602001610298565b34801561036d57600080fd5b506102c161037c3660046125c8565b6109bd565b34801561038d57600080fd5b506102c161039c366004612625565b6109fa565b3480156103ad57600080fd5b506102c16103bc3660046126ce565b610a37565b3480156103cd57600080fd5b50610353600154600054036000190190565b3480156103eb57600080fd5b506102c16103fa366004612714565b610aa9565b34801561040b57600080fd5b5061041f61041a366004612755565b610ab4565b604080516001600160a01b039093168352602083019190915201610298565b34801561044a57600080fd5b506102c1610459366004612777565b610b60565b34801561046a57600080fd5b5061035360115481565b34801561048057600080fd5b506102c1610c2c565b34801561049557600080fd5b506102c16104a4366004612714565b610d27565b3480156104b557600080fd5b506102c16104c43660046124e6565b610d42565b3480156104d557600080fd5b506104e96104e436600461283a565b610d71565b604051610298919061286e565b34801561050257600080fd5b5060145461028c9060ff1681565b34801561051c57600080fd5b5061028c61052b3660046124e6565b600c6020526000908152604090205460ff1681565b34801561054c57600080fd5b506102d8610e37565b34801561056157600080fd5b506103056105703660046124e6565b610ec5565b34801561058157600080fd5b506102d8610ed7565b34801561059657600080fd5b5060145461028c90610100900460ff1681565b3480156105b557600080fd5b506102c16105c43660046124e6565b610ee4565b3480156105d557600080fd5b506103536105e43660046128d8565b610f13565b3480156105f557600080fd5b506102c1610f61565b34801561060a57600080fd5b506102d8610f97565b34801561061f57600080fd5b506102c161062e3660046125c8565b610fa4565b34801561063f57600080fd5b5061065361064e3660046128d8565b610fe1565b6040516102989190612930565b34801561066c57600080fd5b506008546001600160a01b0316610305565b34801561068a57600080fd5b50610353600f5481565b3480156106a057600080fd5b506102d861112e565b3480156106b557600080fd5b506106536106c4366004612943565b61113d565b6102c16106d73660046124e6565b611303565b3480156106e857600080fd5b506102c16106f7366004612978565b6115f0565b34801561070857600080fd5b506102c161071736600461283a565b611686565b34801561072857600080fd5b506102c16107373660046124e6565b6116fb565b34801561074857600080fd5b506102c16107573660046129ad565b61172a565b34801561076857600080fd5b5061077c6107773660046124e6565b61176e565b6040516102989190612a2c565b34801561079557600080fd5b506102d86107a43660046124e6565b611828565b3480156107b557600080fd5b50610353600e5481565b3480156107cb57600080fd5b5061028c6107da366004612a61565b6118ac565b3480156107eb57600080fd5b506102c16107fa3660046128d8565b6118da565b600061080a82611972565b806108195750610819826119c2565b92915050565b6008546001600160a01b031633146108525760405162461bcd60e51b815260040161084990612a8f565b60405180910390fd5b61085c82826119e7565b5050565b60606002805461086f90612ac4565b80601f016020809104026020016040519081016040528092919081815260200182805461089b90612ac4565b80156108e85780601f106108bd576101008083540402835291602001916108e8565b820191906000526020600020905b8154815290600101906020018083116108cb57829003601f168201915b5050505050905090565b60006108fd82611ae4565b61091a576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061094182610ec5565b9050806001600160a01b0316836001600160a01b031614156109765760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216146109ad5761099081336118ac565b6109ad576040516367d9dca160e11b815260040160405180910390fd5b6109b8838383611b1d565b505050565b6008546001600160a01b031633146109e75760405162461bcd60e51b815260040161084990612a8f565b805161085c906016906020840190612355565b6008546001600160a01b03163314610a245760405162461bcd60e51b815260040161084990612a8f565b6014805460ff1916911515919091179055565b6008546001600160a01b03163314610a615760405162461bcd60e51b815260040161084990612a8f565b600e548251610a77600154600054036000190190565b610a819190612b15565b1115610a9f5760405162461bcd60e51b815260040161084990612b2d565b61085c8183611b79565b6109b8838383611bcb565b6000828152600b602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b0316928201929092528291610b29575060408051808201909152600a546001600160a01b0381168252600160a01b90046001600160601b031660208201525b602081015160009061271090610b48906001600160601b031687612b5b565b610b529190612b90565b915196919550909350505050565b6008546001600160a01b03163314610b8a5760405162461bcd60e51b815260040161084990612a8f565b6040805160018082528183019092526000916020808301908036833701905050905060005b8351811015610c2657838181518110610bca57610bca612ba4565b602002602001015182600081518110610be557610be5612ba4565b602002602001018181525050610c1482848381518110610c0757610c07612ba4565b6020026020010151610a37565b80610c1e81612bba565b915050610baf565b50505050565b6008546001600160a01b03163314610c565760405162461bcd60e51b815260040161084990612a8f565b60026009541415610ca95760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610849565b60026009556000610cc26008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610d0c576040519150601f19603f3d011682016040523d82523d6000602084013e610d11565b606091505b5050905080610d1f57600080fd5b506001600955565b6109b88383836040518060200160405280600081525061172a565b6008546001600160a01b03163314610d6c5760405162461bcd60e51b815260040161084990612a8f565b601055565b80516060906000816001600160401b03811115610d9057610d9061252b565b604051908082528060200260200182016040528015610ddb57816020015b6040805160608101825260008082526020808301829052928201528252600019909201910181610dae5790505b50905060005b828114610e2f57610e0a858281518110610dfd57610dfd612ba4565b602002602001015161176e565b828281518110610e1c57610e1c612ba4565b6020908102919091010152600101610de1565b509392505050565b600d8054610e4490612ac4565b80601f0160208091040260200160405190810160405280929190818152602001828054610e7090612ac4565b8015610ebd5780601f10610e9257610100808354040283529160200191610ebd565b820191906000526020600020905b815481529060010190602001808311610ea057829003601f168201915b505050505081565b6000610ed082611db8565b5192915050565b60128054610e4490612ac4565b6008546001600160a01b03163314610f0e5760405162461bcd60e51b815260040161084990612a8f565b600e55565b60006001600160a01b038216610f3c576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6008546001600160a01b03163314610f8b5760405162461bcd60e51b815260040161084990612a8f565b610f956000611eda565b565b60138054610e4490612ac4565b6008546001600160a01b03163314610fce5760405162461bcd60e51b815260040161084990612a8f565b805161085c90600d906020840190612355565b60606000806000610ff185610f13565b90506000816001600160401b0381111561100d5761100d61252b565b604051908082528060200260200182016040528015611036578160200160208202803683370190505b50905061105c604080516060810182526000808252602082018190529181019190915290565b60015b83861461112257600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff161580159282019290925292506110c55761111a565b81516001600160a01b0316156110da57815194505b876001600160a01b0316856001600160a01b0316141561111a578083878060010198508151811061110d5761110d612ba4565b6020026020010181815250505b60010161105f565b50909695505050505050565b60606003805461086f90612ac4565b606081831061115f57604051631960ccad60e11b815260040160405180910390fd5b60008054600185101561117157600194505b8084111561117d578093505b600061118887610f13565b9050848610156111a757858503818110156111a1578091505b506111ab565b5060005b6000816001600160401b038111156111c5576111c561252b565b6040519080825280602002602001820160405280156111ee578160200160208202803683370190505b509050816112015793506112fc92505050565b600061120c8861176e565b90506000816040015161121d575080515b885b88811415801561122f5750848714155b156112f057600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff16158015928201929092529350611293576112e8565b82516001600160a01b0316156112a857825191505b8a6001600160a01b0316826001600160a01b031614156112e857808488806001019950815181106112db576112db612ba4565b6020026020010181815250505b60010161121f565b50505092835250909150505b9392505050565b6001600f5481111561134e5760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b6044820152606401610849565b600e5481611363600154600054036000190190565b61136d9190612b15565b111561138b5760405162461bcd60e51b815260040161084990612b2d565b60018060105461139b9190612b5b565b3410156113e05760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610849565b60145460ff16156114335760405162461bcd60e51b815260206004820152601760248201527f54686520636f6e747261637420697320706175736564210000000000000000006044820152606401610849565b6000838152600c602052604090205460ff161561148b5760405162461bcd60e51b8152602060048201526016602482015275546f6b656e20616c726561647920636c61696d65642160501b6044820152606401610849565b6014546040516331a9108f60e11b8152600481018590526000916201000090046001600160a01b031690636352211e9060240160206040518083038186803b1580156114d657600080fd5b505afa1580156114ea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061150e9190612bd5565b90506001600160a01b03811633146115685760405162461bcd60e51b815260206004820152601860248201527f4d75737420626520616e206f776e657220746f206d696e7400000000000000006044820152606401610849565b6115723385611f2c565b6000848152600c602052604090819020805460ff191660011790556015549051630ae169a560e41b8152600481018690526001600160a01b039091169063ae169a5090602401600060405180830381600087803b1580156115d257600080fd5b505af11580156115e6573d6000803e3d6000fd5b5050505050505050565b6001600160a01b03821633141561161a5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6008546001600160a01b031633146116b05760405162461bcd60e51b815260040161084990612a8f565b600e5481516116c6600154600054036000190190565b6116d09190612b15565b11156116ee5760405162461bcd60e51b815260040161084990612b2d565b6116f83382611b79565b50565b6008546001600160a01b031633146117255760405162461bcd60e51b815260040161084990612a8f565b600f55565b611735848484611bcb565b6001600160a01b0383163b15610c265761175184848484611f78565b610c26576040516368d2bf6b60e11b815260040160405180910390fd5b604080516060808201835260008083526020808401829052838501829052845192830185528183528201819052928101929092529060018310806117b457506000548310155b156117bf5792915050565b50600082815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff16158015928201929092529061181f5792915050565b6112fc83611db8565b606061183382611ae4565b61185057604051630a14c4b560e41b815260040160405180910390fd5b600061185a612070565b905080516000141561187b57604051806020016040528060008152506112fc565b806118858461207f565b604051602001611896929190612bf2565b6040516020818303038152906040529392505050565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6008546001600160a01b031633146119045760405162461bcd60e51b815260040161084990612a8f565b6001600160a01b0381166119695760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610849565b6116f881611eda565b60006001600160e01b031982166380ac58cd60e01b14806119a357506001600160e01b03198216635b5e139f60e01b145b8061081957506301ffc9a760e01b6001600160e01b0319831614610819565b60006001600160e01b0319821663152a902d60e11b1480610819575061081982611972565b6127106001600160601b0382161115611a555760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b6064820152608401610849565b6001600160a01b038216611aab5760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610849565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600a55565b600081600111158015611af8575060005482105b8015610819575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000548151611b88848261217c565b7f102e9d07c211550df36fe13636ecaa163325a38a6c48d8de1a7b6070601b215784848484604051611bbd9493929190612c21565b60405180910390a150505050565b6000611bd682611db8565b9050836001600160a01b031681600001516001600160a01b031614611c0d5760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b0386161480611c2b5750611c2b85336118ac565b80611c46575033611c3b846108f2565b6001600160a01b0316145b905080611c6657604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038416611c8d57604051633a954ecd60e21b815260040160405180910390fd5b611c9960008487611b1d565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b42909216919091021783558701808452922080549193909116611d6d576000548214611d6d57805460208601516001600160401b0316600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050505050565b60408051606081018252600080825260208201819052918101919091528180600111611ec157600054811015611ec157600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff16151591810182905290611ebf5780516001600160a01b031615611e56579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff1615159281019290925215611eba579392505050565b611e56565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604080516001808252818301909252600091602080830190803683370190505090508181600081518110611f6257611f62612ba4565b6020026020010181815250506109b88382611b79565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611fad903390899088908890600401612c58565b602060405180830381600087803b158015611fc757600080fd5b505af1925050508015611ff7575060408051601f3d908101601f19168201909252611ff491810190612c95565b60015b612052573d808015612025576040519150601f19603f3d011682016040523d82523d6000602084013e61202a565b606091505b50805161204a576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600d805461086f90612ac4565b6060816120a35750506040805180820190915260018152600360fc1b602082015290565b8160005b81156120cd57806120b781612bba565b91506120c69050600a83612b90565b91506120a7565b6000816001600160401b038111156120e7576120e761252b565b6040519080825280601f01601f191660200182016040528015612111576020820181803683370190505b5090505b841561206857612126600183612cb2565b9150612133600a86612cc9565b61213e906030612b15565b60f81b81838151811061215357612153612ba4565b60200101906001600160f81b031916908160001a905350612175600a86612b90565b9450612115565b61085c8282604051806020016040528060008152506000546001600160a01b0384166121ba57604051622e076360e81b815260040160405180910390fd5b826121d85760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038416600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168b0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168b01811690920217909155858452600490925290912080546001600160e01b0319168317600160a01b42909316929092029190911790558190818501903b15612300575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46122c96000878480600101955087611f78565b6122e6576040516368d2bf6b60e11b815260040160405180910390fd5b80821061227e5782600054146122fb57600080fd5b612345565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210612301575b506000908155610c269085838684565b82805461236190612ac4565b90600052602060002090601f01602090048101928261238357600085556123c9565b82601f1061239c57805160ff19168380011785556123c9565b828001600101855582156123c9579182015b828111156123c95782518255916020019190600101906123ae565b506123d59291506123d9565b5090565b5b808211156123d557600081556001016123da565b6001600160e01b0319811681146116f857600080fd5b60006020828403121561241657600080fd5b81356112fc816123ee565b6001600160a01b03811681146116f857600080fd5b6000806040838503121561244957600080fd5b823561245481612421565b915060208301356001600160601b038116811461247057600080fd5b809150509250929050565b60005b8381101561249657818101518382015260200161247e565b83811115610c265750506000910152565b600081518084526124bf81602086016020860161247b565b601f01601f19169290920160200192915050565b6020815260006112fc60208301846124a7565b6000602082840312156124f857600080fd5b5035919050565b6000806040838503121561251257600080fd5b823561251d81612421565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b03811182821017156125695761256961252b565b604052919050565b60006001600160401b0383111561258a5761258a61252b565b61259d601f8401601f1916602001612541565b90508281528383830111156125b157600080fd5b828260208301376000602084830101529392505050565b6000602082840312156125da57600080fd5b81356001600160401b038111156125f057600080fd5b8201601f8101841361260157600080fd5b61206884823560208401612571565b8035801515811461262057600080fd5b919050565b60006020828403121561263757600080fd5b6112fc82612610565b60006001600160401b038211156126595761265961252b565b5060051b60200190565b600082601f83011261267457600080fd5b8135602061268961268483612640565b612541565b82815260059290921b840181019181810190868411156126a857600080fd5b8286015b848110156126c357803583529183019183016126ac565b509695505050505050565b600080604083850312156126e157600080fd5b82356001600160401b038111156126f757600080fd5b61270385828601612663565b925050602083013561247081612421565b60008060006060848603121561272957600080fd5b833561273481612421565b9250602084013561274481612421565b929592945050506040919091013590565b6000806040838503121561276857600080fd5b50508035926020909101359150565b6000806040838503121561278a57600080fd5b82356001600160401b03808211156127a157600080fd5b6127ad86838701612663565b93506020915081850135818111156127c457600080fd5b85019050601f810186136127d757600080fd5b80356127e561268482612640565b81815260059190911b8201830190838101908883111561280457600080fd5b928401925b8284101561282b57833561281c81612421565b82529284019290840190612809565b80955050505050509250929050565b60006020828403121561284c57600080fd5b81356001600160401b0381111561286257600080fd5b61206884828501612663565b6020808252825182820181905260009190848201906040850190845b81811015611122576128c583855180516001600160a01b031682526020808201516001600160401b0316908301526040908101511515910152565b928401926060929092019160010161288a565b6000602082840312156128ea57600080fd5b81356112fc81612421565b600081518084526020808501945080840160005b8381101561292557815187529582019590820190600101612909565b509495945050505050565b6020815260006112fc60208301846128f5565b60008060006060848603121561295857600080fd5b833561296381612421565b95602085013595506040909401359392505050565b6000806040838503121561298b57600080fd5b823561299681612421565b91506129a460208401612610565b90509250929050565b600080600080608085870312156129c357600080fd5b84356129ce81612421565b935060208501356129de81612421565b92506040850135915060608501356001600160401b03811115612a0057600080fd5b8501601f81018713612a1157600080fd5b612a2087823560208401612571565b91505092959194509250565b81516001600160a01b031681526020808301516001600160401b03169082015260408083015115159082015260608101610819565b60008060408385031215612a7457600080fd5b8235612a7f81612421565b9150602083013561247081612421565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c90821680612ad857607f821691505b60208210811415612af957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008219821115612b2857612b28612aff565b500190565b6020808252601490820152734d617820737570706c792065786365656465642160601b604082015260600190565b6000816000190483118215151615612b7557612b75612aff565b500290565b634e487b7160e01b600052601260045260246000fd5b600082612b9f57612b9f612b7a565b500490565b634e487b7160e01b600052603260045260246000fd5b6000600019821415612bce57612bce612aff565b5060010190565b600060208284031215612be757600080fd5b81516112fc81612421565b60008351612c0481846020880161247b565b835190830190612c1881836020880161247b565b01949350505050565b6001600160a01b0385168152608060208201819052600090612c45908301866128f5565b6040830194909452506060015292915050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612c8b908301846124a7565b9695505050505050565b600060208284031215612ca757600080fd5b81516112fc816123ee565b600082821015612cc457612cc4612aff565b500390565b600082612cd857612cd8612b7a565b50069056fea26469706673582212208a981a2a75d360ab5563697f60c0934f1e7a5e967fcdaacc46327dfbfac0604c64736f6c63430008090033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000005e90ae496c133b2c22286767a20907b8fed8818000000000000000000000000e80f06f7ceb7f295643f1e83418d21f53c94fcd2000000000000000000000000000000000000000000000000000000000000002d687474703a2f2f6170692e776861746973796f7572646174652e78797a2f6d657461646174612f616d6265722f00000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102675760003560e01c80636c02a9311161014457806399a2557a116100b6578063b88d4fde1161007a578063b88d4fde1461073c578063c23dc68f1461075c578063c87b56dd14610789578063d5abeb01146107a9578063e985e9c5146107bf578063f2fde38b146107df57600080fd5b806399a2557a146106a9578063a0712d68146106c9578063a22cb465146106dc578063a5835424146106fc578063b071401b1461071c57600080fd5b80637b61c320116101085780637b61c320146105fe5780637ec4a659146106135780638462151c146106335780638da5cb5b1461066057806394354fd01461067e57806395d89b411461069457600080fd5b80636c02a931146105755780636caede3d1461058a5780636f8b44b0146105a957806370a08231146105c9578063715018a6146105e957600080fd5b80632a55205a116101dd57806344a0d68a116101a157806344a0d68a146104a95780635bbb2177146104c95780635c975abb146104f65780635ffa777d1461051057806362b99ad4146105405780636352211e1461055557600080fd5b80632a55205a146103ff5780632a8255691461043e5780632eb4a7ab1461045e5780633ccfd60b1461047457806342842e0e1461048957600080fd5b806313faede61161022f57806313faede61461033d57806316ba10e01461036157806316c38b3c1461038157806316da55c4146103a157806318160ddd146103c157806323b872dd146103df57600080fd5b806301ffc9a71461026c57806302fa7c47146102a157806306fdde03146102c3578063081812fc146102e5578063095ea7b31461031d575b600080fd5b34801561027857600080fd5b5061028c610287366004612404565b6107ff565b60405190151581526020015b60405180910390f35b3480156102ad57600080fd5b506102c16102bc366004612436565b61081f565b005b3480156102cf57600080fd5b506102d8610860565b60405161029891906124d3565b3480156102f157600080fd5b506103056103003660046124e6565b6108f2565b6040516001600160a01b039091168152602001610298565b34801561032957600080fd5b506102c16103383660046124ff565b610936565b34801561034957600080fd5b5061035360105481565b604051908152602001610298565b34801561036d57600080fd5b506102c161037c3660046125c8565b6109bd565b34801561038d57600080fd5b506102c161039c366004612625565b6109fa565b3480156103ad57600080fd5b506102c16103bc3660046126ce565b610a37565b3480156103cd57600080fd5b50610353600154600054036000190190565b3480156103eb57600080fd5b506102c16103fa366004612714565b610aa9565b34801561040b57600080fd5b5061041f61041a366004612755565b610ab4565b604080516001600160a01b039093168352602083019190915201610298565b34801561044a57600080fd5b506102c1610459366004612777565b610b60565b34801561046a57600080fd5b5061035360115481565b34801561048057600080fd5b506102c1610c2c565b34801561049557600080fd5b506102c16104a4366004612714565b610d27565b3480156104b557600080fd5b506102c16104c43660046124e6565b610d42565b3480156104d557600080fd5b506104e96104e436600461283a565b610d71565b604051610298919061286e565b34801561050257600080fd5b5060145461028c9060ff1681565b34801561051c57600080fd5b5061028c61052b3660046124e6565b600c6020526000908152604090205460ff1681565b34801561054c57600080fd5b506102d8610e37565b34801561056157600080fd5b506103056105703660046124e6565b610ec5565b34801561058157600080fd5b506102d8610ed7565b34801561059657600080fd5b5060145461028c90610100900460ff1681565b3480156105b557600080fd5b506102c16105c43660046124e6565b610ee4565b3480156105d557600080fd5b506103536105e43660046128d8565b610f13565b3480156105f557600080fd5b506102c1610f61565b34801561060a57600080fd5b506102d8610f97565b34801561061f57600080fd5b506102c161062e3660046125c8565b610fa4565b34801561063f57600080fd5b5061065361064e3660046128d8565b610fe1565b6040516102989190612930565b34801561066c57600080fd5b506008546001600160a01b0316610305565b34801561068a57600080fd5b50610353600f5481565b3480156106a057600080fd5b506102d861112e565b3480156106b557600080fd5b506106536106c4366004612943565b61113d565b6102c16106d73660046124e6565b611303565b3480156106e857600080fd5b506102c16106f7366004612978565b6115f0565b34801561070857600080fd5b506102c161071736600461283a565b611686565b34801561072857600080fd5b506102c16107373660046124e6565b6116fb565b34801561074857600080fd5b506102c16107573660046129ad565b61172a565b34801561076857600080fd5b5061077c6107773660046124e6565b61176e565b6040516102989190612a2c565b34801561079557600080fd5b506102d86107a43660046124e6565b611828565b3480156107b557600080fd5b50610353600e5481565b3480156107cb57600080fd5b5061028c6107da366004612a61565b6118ac565b3480156107eb57600080fd5b506102c16107fa3660046128d8565b6118da565b600061080a82611972565b806108195750610819826119c2565b92915050565b6008546001600160a01b031633146108525760405162461bcd60e51b815260040161084990612a8f565b60405180910390fd5b61085c82826119e7565b5050565b60606002805461086f90612ac4565b80601f016020809104026020016040519081016040528092919081815260200182805461089b90612ac4565b80156108e85780601f106108bd576101008083540402835291602001916108e8565b820191906000526020600020905b8154815290600101906020018083116108cb57829003601f168201915b5050505050905090565b60006108fd82611ae4565b61091a576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061094182610ec5565b9050806001600160a01b0316836001600160a01b031614156109765760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b038216146109ad5761099081336118ac565b6109ad576040516367d9dca160e11b815260040160405180910390fd5b6109b8838383611b1d565b505050565b6008546001600160a01b031633146109e75760405162461bcd60e51b815260040161084990612a8f565b805161085c906016906020840190612355565b6008546001600160a01b03163314610a245760405162461bcd60e51b815260040161084990612a8f565b6014805460ff1916911515919091179055565b6008546001600160a01b03163314610a615760405162461bcd60e51b815260040161084990612a8f565b600e548251610a77600154600054036000190190565b610a819190612b15565b1115610a9f5760405162461bcd60e51b815260040161084990612b2d565b61085c8183611b79565b6109b8838383611bcb565b6000828152600b602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b0316928201929092528291610b29575060408051808201909152600a546001600160a01b0381168252600160a01b90046001600160601b031660208201525b602081015160009061271090610b48906001600160601b031687612b5b565b610b529190612b90565b915196919550909350505050565b6008546001600160a01b03163314610b8a5760405162461bcd60e51b815260040161084990612a8f565b6040805160018082528183019092526000916020808301908036833701905050905060005b8351811015610c2657838181518110610bca57610bca612ba4565b602002602001015182600081518110610be557610be5612ba4565b602002602001018181525050610c1482848381518110610c0757610c07612ba4565b6020026020010151610a37565b80610c1e81612bba565b915050610baf565b50505050565b6008546001600160a01b03163314610c565760405162461bcd60e51b815260040161084990612a8f565b60026009541415610ca95760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610849565b60026009556000610cc26008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610d0c576040519150601f19603f3d011682016040523d82523d6000602084013e610d11565b606091505b5050905080610d1f57600080fd5b506001600955565b6109b88383836040518060200160405280600081525061172a565b6008546001600160a01b03163314610d6c5760405162461bcd60e51b815260040161084990612a8f565b601055565b80516060906000816001600160401b03811115610d9057610d9061252b565b604051908082528060200260200182016040528015610ddb57816020015b6040805160608101825260008082526020808301829052928201528252600019909201910181610dae5790505b50905060005b828114610e2f57610e0a858281518110610dfd57610dfd612ba4565b602002602001015161176e565b828281518110610e1c57610e1c612ba4565b6020908102919091010152600101610de1565b509392505050565b600d8054610e4490612ac4565b80601f0160208091040260200160405190810160405280929190818152602001828054610e7090612ac4565b8015610ebd5780601f10610e9257610100808354040283529160200191610ebd565b820191906000526020600020905b815481529060010190602001808311610ea057829003601f168201915b505050505081565b6000610ed082611db8565b5192915050565b60128054610e4490612ac4565b6008546001600160a01b03163314610f0e5760405162461bcd60e51b815260040161084990612a8f565b600e55565b60006001600160a01b038216610f3c576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b6008546001600160a01b03163314610f8b5760405162461bcd60e51b815260040161084990612a8f565b610f956000611eda565b565b60138054610e4490612ac4565b6008546001600160a01b03163314610fce5760405162461bcd60e51b815260040161084990612a8f565b805161085c90600d906020840190612355565b60606000806000610ff185610f13565b90506000816001600160401b0381111561100d5761100d61252b565b604051908082528060200260200182016040528015611036578160200160208202803683370190505b50905061105c604080516060810182526000808252602082018190529181019190915290565b60015b83861461112257600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff161580159282019290925292506110c55761111a565b81516001600160a01b0316156110da57815194505b876001600160a01b0316856001600160a01b0316141561111a578083878060010198508151811061110d5761110d612ba4565b6020026020010181815250505b60010161105f565b50909695505050505050565b60606003805461086f90612ac4565b606081831061115f57604051631960ccad60e11b815260040160405180910390fd5b60008054600185101561117157600194505b8084111561117d578093505b600061118887610f13565b9050848610156111a757858503818110156111a1578091505b506111ab565b5060005b6000816001600160401b038111156111c5576111c561252b565b6040519080825280602002602001820160405280156111ee578160200160208202803683370190505b509050816112015793506112fc92505050565b600061120c8861176e565b90506000816040015161121d575080515b885b88811415801561122f5750848714155b156112f057600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff16158015928201929092529350611293576112e8565b82516001600160a01b0316156112a857825191505b8a6001600160a01b0316826001600160a01b031614156112e857808488806001019950815181106112db576112db612ba4565b6020026020010181815250505b60010161121f565b50505092835250909150505b9392505050565b6001600f5481111561134e5760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b6044820152606401610849565b600e5481611363600154600054036000190190565b61136d9190612b15565b111561138b5760405162461bcd60e51b815260040161084990612b2d565b60018060105461139b9190612b5b565b3410156113e05760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610849565b60145460ff16156114335760405162461bcd60e51b815260206004820152601760248201527f54686520636f6e747261637420697320706175736564210000000000000000006044820152606401610849565b6000838152600c602052604090205460ff161561148b5760405162461bcd60e51b8152602060048201526016602482015275546f6b656e20616c726561647920636c61696d65642160501b6044820152606401610849565b6014546040516331a9108f60e11b8152600481018590526000916201000090046001600160a01b031690636352211e9060240160206040518083038186803b1580156114d657600080fd5b505afa1580156114ea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061150e9190612bd5565b90506001600160a01b03811633146115685760405162461bcd60e51b815260206004820152601860248201527f4d75737420626520616e206f776e657220746f206d696e7400000000000000006044820152606401610849565b6115723385611f2c565b6000848152600c602052604090819020805460ff191660011790556015549051630ae169a560e41b8152600481018690526001600160a01b039091169063ae169a5090602401600060405180830381600087803b1580156115d257600080fd5b505af11580156115e6573d6000803e3d6000fd5b5050505050505050565b6001600160a01b03821633141561161a5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6008546001600160a01b031633146116b05760405162461bcd60e51b815260040161084990612a8f565b600e5481516116c6600154600054036000190190565b6116d09190612b15565b11156116ee5760405162461bcd60e51b815260040161084990612b2d565b6116f83382611b79565b50565b6008546001600160a01b031633146117255760405162461bcd60e51b815260040161084990612a8f565b600f55565b611735848484611bcb565b6001600160a01b0383163b15610c265761175184848484611f78565b610c26576040516368d2bf6b60e11b815260040160405180910390fd5b604080516060808201835260008083526020808401829052838501829052845192830185528183528201819052928101929092529060018310806117b457506000548310155b156117bf5792915050565b50600082815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff16158015928201929092529061181f5792915050565b6112fc83611db8565b606061183382611ae4565b61185057604051630a14c4b560e41b815260040160405180910390fd5b600061185a612070565b905080516000141561187b57604051806020016040528060008152506112fc565b806118858461207f565b604051602001611896929190612bf2565b6040516020818303038152906040529392505050565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6008546001600160a01b031633146119045760405162461bcd60e51b815260040161084990612a8f565b6001600160a01b0381166119695760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610849565b6116f881611eda565b60006001600160e01b031982166380ac58cd60e01b14806119a357506001600160e01b03198216635b5e139f60e01b145b8061081957506301ffc9a760e01b6001600160e01b0319831614610819565b60006001600160e01b0319821663152a902d60e11b1480610819575061081982611972565b6127106001600160601b0382161115611a555760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b6064820152608401610849565b6001600160a01b038216611aab5760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610849565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600a55565b600081600111158015611af8575060005482105b8015610819575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000548151611b88848261217c565b7f102e9d07c211550df36fe13636ecaa163325a38a6c48d8de1a7b6070601b215784848484604051611bbd9493929190612c21565b60405180910390a150505050565b6000611bd682611db8565b9050836001600160a01b031681600001516001600160a01b031614611c0d5760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b0386161480611c2b5750611c2b85336118ac565b80611c46575033611c3b846108f2565b6001600160a01b0316145b905080611c6657604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038416611c8d57604051633a954ecd60e21b815260040160405180910390fd5b611c9960008487611b1d565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff198082166001600160401b0392831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b42909216919091021783558701808452922080549193909116611d6d576000548214611d6d57805460208601516001600160401b0316600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050505050565b60408051606081018252600080825260208201819052918101919091528180600111611ec157600054811015611ec157600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b81046001600160401b031692820192909252600160e01b90910460ff16151591810182905290611ebf5780516001600160a01b031615611e56579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b82046001600160401b031693830193909352600160e01b900460ff1615159281019290925215611eba579392505050565b611e56565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604080516001808252818301909252600091602080830190803683370190505090508181600081518110611f6257611f62612ba4565b6020026020010181815250506109b88382611b79565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611fad903390899088908890600401612c58565b602060405180830381600087803b158015611fc757600080fd5b505af1925050508015611ff7575060408051601f3d908101601f19168201909252611ff491810190612c95565b60015b612052573d808015612025576040519150601f19603f3d011682016040523d82523d6000602084013e61202a565b606091505b50805161204a576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600d805461086f90612ac4565b6060816120a35750506040805180820190915260018152600360fc1b602082015290565b8160005b81156120cd57806120b781612bba565b91506120c69050600a83612b90565b91506120a7565b6000816001600160401b038111156120e7576120e761252b565b6040519080825280601f01601f191660200182016040528015612111576020820181803683370190505b5090505b841561206857612126600183612cb2565b9150612133600a86612cc9565b61213e906030612b15565b60f81b81838151811061215357612153612ba4565b60200101906001600160f81b031916908160001a905350612175600a86612b90565b9450612115565b61085c8282604051806020016040528060008152506000546001600160a01b0384166121ba57604051622e076360e81b815260040160405180910390fd5b826121d85760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038416600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff1981166001600160401b038083168b0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168b01811690920217909155858452600490925290912080546001600160e01b0319168317600160a01b42909316929092029190911790558190818501903b15612300575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46122c96000878480600101955087611f78565b6122e6576040516368d2bf6b60e11b815260040160405180910390fd5b80821061227e5782600054146122fb57600080fd5b612345565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210612301575b506000908155610c269085838684565b82805461236190612ac4565b90600052602060002090601f01602090048101928261238357600085556123c9565b82601f1061239c57805160ff19168380011785556123c9565b828001600101855582156123c9579182015b828111156123c95782518255916020019190600101906123ae565b506123d59291506123d9565b5090565b5b808211156123d557600081556001016123da565b6001600160e01b0319811681146116f857600080fd5b60006020828403121561241657600080fd5b81356112fc816123ee565b6001600160a01b03811681146116f857600080fd5b6000806040838503121561244957600080fd5b823561245481612421565b915060208301356001600160601b038116811461247057600080fd5b809150509250929050565b60005b8381101561249657818101518382015260200161247e565b83811115610c265750506000910152565b600081518084526124bf81602086016020860161247b565b601f01601f19169290920160200192915050565b6020815260006112fc60208301846124a7565b6000602082840312156124f857600080fd5b5035919050565b6000806040838503121561251257600080fd5b823561251d81612421565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b03811182821017156125695761256961252b565b604052919050565b60006001600160401b0383111561258a5761258a61252b565b61259d601f8401601f1916602001612541565b90508281528383830111156125b157600080fd5b828260208301376000602084830101529392505050565b6000602082840312156125da57600080fd5b81356001600160401b038111156125f057600080fd5b8201601f8101841361260157600080fd5b61206884823560208401612571565b8035801515811461262057600080fd5b919050565b60006020828403121561263757600080fd5b6112fc82612610565b60006001600160401b038211156126595761265961252b565b5060051b60200190565b600082601f83011261267457600080fd5b8135602061268961268483612640565b612541565b82815260059290921b840181019181810190868411156126a857600080fd5b8286015b848110156126c357803583529183019183016126ac565b509695505050505050565b600080604083850312156126e157600080fd5b82356001600160401b038111156126f757600080fd5b61270385828601612663565b925050602083013561247081612421565b60008060006060848603121561272957600080fd5b833561273481612421565b9250602084013561274481612421565b929592945050506040919091013590565b6000806040838503121561276857600080fd5b50508035926020909101359150565b6000806040838503121561278a57600080fd5b82356001600160401b03808211156127a157600080fd5b6127ad86838701612663565b93506020915081850135818111156127c457600080fd5b85019050601f810186136127d757600080fd5b80356127e561268482612640565b81815260059190911b8201830190838101908883111561280457600080fd5b928401925b8284101561282b57833561281c81612421565b82529284019290840190612809565b80955050505050509250929050565b60006020828403121561284c57600080fd5b81356001600160401b0381111561286257600080fd5b61206884828501612663565b6020808252825182820181905260009190848201906040850190845b81811015611122576128c583855180516001600160a01b031682526020808201516001600160401b0316908301526040908101511515910152565b928401926060929092019160010161288a565b6000602082840312156128ea57600080fd5b81356112fc81612421565b600081518084526020808501945080840160005b8381101561292557815187529582019590820190600101612909565b509495945050505050565b6020815260006112fc60208301846128f5565b60008060006060848603121561295857600080fd5b833561296381612421565b95602085013595506040909401359392505050565b6000806040838503121561298b57600080fd5b823561299681612421565b91506129a460208401612610565b90509250929050565b600080600080608085870312156129c357600080fd5b84356129ce81612421565b935060208501356129de81612421565b92506040850135915060608501356001600160401b03811115612a0057600080fd5b8501601f81018713612a1157600080fd5b612a2087823560208401612571565b91505092959194509250565b81516001600160a01b031681526020808301516001600160401b03169082015260408083015115159082015260608101610819565b60008060408385031215612a7457600080fd5b8235612a7f81612421565b9150602083013561247081612421565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c90821680612ad857607f821691505b60208210811415612af957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008219821115612b2857612b28612aff565b500190565b6020808252601490820152734d617820737570706c792065786365656465642160601b604082015260600190565b6000816000190483118215151615612b7557612b75612aff565b500290565b634e487b7160e01b600052601260045260246000fd5b600082612b9f57612b9f612b7a565b500490565b634e487b7160e01b600052603260045260246000fd5b6000600019821415612bce57612bce612aff565b5060010190565b600060208284031215612be757600080fd5b81516112fc81612421565b60008351612c0481846020880161247b565b835190830190612c1881836020880161247b565b01949350505050565b6001600160a01b0385168152608060208201819052600090612c45908301866128f5565b6040830194909452506060015292915050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612c8b908301846124a7565b9695505050505050565b600060208284031215612ca757600080fd5b81516112fc816123ee565b600082821015612cc457612cc4612aff565b500390565b600082612cd857612cd8612b7a565b50069056fea26469706673582212208a981a2a75d360ab5563697f60c0934f1e7a5e967fcdaacc46327dfbfac0604c64736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000005e90ae496c133b2c22286767a20907b8fed8818000000000000000000000000e80f06f7ceb7f295643f1e83418d21f53c94fcd2000000000000000000000000000000000000000000000000000000000000002d687474703a2f2f6170692e776861746973796f7572646174652e78797a2f6d657461646174612f616d6265722f00000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : baseURI (string): http://api.whatisyourdate.xyz/metadata/amber/
Arg [1] : _saveTheDateContract (address): 0x05E90ae496C133B2c22286767a20907b8FEd8818
Arg [2] : _refundContract (address): 0xe80F06F7CeB7F295643F1e83418d21f53C94fCd2
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000005e90ae496c133b2c22286767a20907b8fed8818
Arg [2] : 000000000000000000000000e80f06f7ceb7f295643f1e83418d21f53c94fcd2
Arg [3] : 000000000000000000000000000000000000000000000000000000000000002d
Arg [4] : 687474703a2f2f6170692e776861746973796f7572646174652e78797a2f6d65
Arg [5] : 7461646174612f616d6265722f00000000000000000000000000000000000000
Deployed Bytecode Sourcemap
883:4359:1:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5030:209;;;;;;;;;;-1:-1:-1;5030:209:1;;;;;:::i;:::-;;:::i;:::-;;;565:14:19;;558:22;540:41;;528:2;513:18;5030:209:1;;;;;;;;4620:137;;;;;;;;;;-1:-1:-1;4620:137:1;;;;;:::i;:::-;;:::i;:::-;;6101:100:5;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;7605:204::-;;;;;;;;;;-1:-1:-1;7605:204:5;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2292:32:19;;;2274:51;;2262:2;2247:18;7605:204:5;2128:203:19;7167:372:5;;;;;;;;;;-1:-1:-1;7167:372:5;;;;;:::i;:::-;;:::i;1273:29:1:-;;;;;;;;;;;;;;;;;;;2810:25:19;;;2798:2;2783:18;1273:29:1;2664:177:19;4351:100:1;;;;;;;;;;-1:-1:-1;4351:100:1;;;;;:::i;:::-;;:::i;4537:77::-;;;;;;;;;;-1:-1:-1;4537:77:1;;;;;:::i;:::-;;:::i;3388:214::-;;;;;;;;;;-1:-1:-1;3388:214:1;;;;;:::i;:::-;;:::i;2226:312:5:-;;;;;;;;;;;;3996:1:1;2489:12:5;2279:7;2473:13;:28;-1:-1:-1;;2473:46:5;;2226:312;8470:170;;;;;;;;;;-1:-1:-1;8470:170:5;;;;;:::i;:::-;;:::i;1674:442:4:-;;;;;;;;;;-1:-1:-1;1674:442:4;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;6749:32:19;;;6731:51;;6813:2;6798:18;;6791:34;;;;6704:18;1674:442:4;6557:274:19;3608:294:1;;;;;;;;;;-1:-1:-1;3608:294:1;;;;;:::i;:::-;;:::i;1307:25::-;;;;;;;;;;;;;;;;4763:150;;;;;;;;;;;;;:::i;8711:185:5:-;;;;;;;;;;-1:-1:-1;8711:185:5;;;;;:::i;:::-;;:::i;4457:74:1:-;;;;;;;;;;-1:-1:-1;4457:74:1;;;;;:::i;:::-;;:::i;1547:468:6:-;;;;;;;;;;-1:-1:-1;1547:468:6;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;1445:25:1:-;;;;;;;;;;-1:-1:-1;1445:25:1;;;;;;;;1109:47;;;;;;;;;;-1:-1:-1;1109:47:1;;;;;:::i;:::-;;;;;;;;;;;;;;;;1161:28;;;;;;;;;;;;;:::i;5909:125:5:-;;;;;;;;;;-1:-1:-1;5909:125:5;;;;;:::i;:::-;;:::i;1339:59:1:-;;;;;;;;;;;;;:::i;1475:40::-;;;;;;;;;;-1:-1:-1;1475:40:1;;;;;;;;;;;4009:94;;;;;;;;;;-1:-1:-1;4009:94:1;;;;;:::i;:::-;;:::i;3355:206:5:-;;;;;;;;;;-1:-1:-1;3355:206:5;;;;;:::i;:::-;;:::i;1714:103:15:-;;;;;;;;;;;;;:::i;1403:37:1:-;;;;;;;;;;;;;:::i;4245:100::-;;;;;;;;;;-1:-1:-1;4245:100:1;;;;;:::i;:::-;;:::i;5361:891:6:-;;;;;;;;;;-1:-1:-1;5361:891:6;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;1063:87:15:-;;;;;;;;;;-1:-1:-1;1136:6:15;;-1:-1:-1;;;;;1136:6:15;1063:87;;1231:37:1;;;;;;;;;;;;;;;;6270:104:5;;;;;;;;;;;;;:::i;2405:2507:6:-;;;;;;;;;;-1:-1:-1;2405:2507:6;;;;;:::i;:::-;;:::i;2302:446:1:-;;;;;;:::i;:::-;;:::i;7881:287:5:-;;;;;;;;;;-1:-1:-1;7881:287:5;;;;;:::i;:::-;;:::i;3180:199:1:-;;;;;;;;;;-1:-1:-1;3180:199:1;;;;;:::i;:::-;;:::i;4109:130::-;;;;;;;;;;-1:-1:-1;4109:130:1;;;;;:::i;:::-;;:::i;8967:370:5:-;;;;;;;;;;-1:-1:-1;8967:370:5;;;;;:::i;:::-;;:::i;970:418:6:-;;;;;;;;;;-1:-1:-1;970:418:6;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;6445:318:5:-;;;;;;;;;;-1:-1:-1;6445:318:5;;;;;:::i;:::-;;:::i;1194:32:1:-;;;;;;;;;;;;;;;;8239:164:5;;;;;;;;;;-1:-1:-1;8239:164:5;;;;;:::i;:::-;;:::i;1972:201:15:-;;;;;;;;;;-1:-1:-1;1972:201:15;;;;;:::i;:::-;;:::i;5030:209:1:-;5133:4;5153:38;5179:11;5153:25;:38::i;:::-;:80;;;;5195:38;5221:11;5195:25;:38::i;:::-;5146:87;5030:209;-1:-1:-1;;5030:209:1:o;4620:137::-;1136:6:15;;-1:-1:-1;;;;;1136:6:15;736:10:2;1283:23:15;1275:68;;;;-1:-1:-1;;;1275:68:15;;;;;;;:::i;:::-;;;;;;;;;4712:39:1::1;4731:8;4741:9;4712:18;:39::i;:::-;4620:137:::0;;:::o;6101:100:5:-;6155:13;6188:5;6181:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6101:100;:::o;7605:204::-;7673:7;7698:16;7706:7;7698;:16::i;:::-;7693:64;;7723:34;;-1:-1:-1;;;7723:34:5;;;;;;;;;;;7693:64;-1:-1:-1;7777:24:5;;;;:15;:24;;;;;;-1:-1:-1;;;;;7777:24:5;;7605:204::o;7167:372::-;7240:13;7256:24;7272:7;7256:15;:24::i;:::-;7240:40;;7301:5;-1:-1:-1;;;;;7295:11:5;:2;-1:-1:-1;;;;;7295:11:5;;7291:48;;;7315:24;;-1:-1:-1;;;7315:24:5;;;;;;;;;;;7291:48;736:10:2;-1:-1:-1;;;;;7356:21:5;;;7352:139;;7383:37;7400:5;736:10:2;8239:164:5;:::i;7383:37::-;7379:112;;7444:35;;-1:-1:-1;;;7444:35:5;;;;;;;;;;;7379:112;7503:28;7512:2;7516:7;7525:5;7503:8;:28::i;:::-;7229:310;7167:372;;:::o;4351:100:1:-;1136:6:15;;-1:-1:-1;;;;;1136:6:15;736:10:2;1283:23:15;1275:68;;;;-1:-1:-1;;;1275:68:15;;;;;;;:::i;:::-;4423:22:1;;::::1;::::0;:9:::1;::::0;:22:::1;::::0;::::1;::::0;::::1;:::i;4537:77::-:0;1136:6:15;;-1:-1:-1;;;;;1136:6:15;736:10:2;1283:23:15;1275:68;;;;-1:-1:-1;;;1275:68:15;;;;;;;:::i;:::-;4593:6:1::1;:15:::0;;-1:-1:-1;;4593:15:1::1;::::0;::::1;;::::0;;;::::1;::::0;;4537:77::o;3388:214::-;1136:6:15;;-1:-1:-1;;;;;1136:6:15;736:10:2;1283:23:15;1275:68;;;;-1:-1:-1;;;1275:68:15;;;;;;;:::i;:::-;3523:9:1::1;;3505:7;:14;3489:13;3996:1:::0;2489:12:5;2279:7;2473:13;:28;-1:-1:-1;;2473:46:5;;2226:312;3489:13:1::1;:30;;;;:::i;:::-;:43;;3481:76;;;;-1:-1:-1::0;;;3481:76:1::1;;;;;;;:::i;:::-;3564:32;3577:9;3588:7;3564:12;:32::i;8470:170:5:-:0;8604:28;8614:4;8620:2;8624:7;8604:9;:28::i;1674:442:4:-;1771:7;1829:27;;;:17;:27;;;;;;;;1800:56;;;;;;;;;-1:-1:-1;;;;;1800:56:4;;;;;-1:-1:-1;;;1800:56:4;;;-1:-1:-1;;;;;1800:56:4;;;;;;;;1771:7;;1869:92;;-1:-1:-1;1920:29:4;;;;;;;;;1930:19;1920:29;-1:-1:-1;;;;;1920:29:4;;;;-1:-1:-1;;;1920:29:4;;-1:-1:-1;;;;;1920:29:4;;;;;1869:92;2011:23;;;;1973:21;;2482:5;;1998:36;;-1:-1:-1;;;;;1998:36:4;:10;:36;:::i;:::-;1997:58;;;;:::i;:::-;2076:16;;;;;-1:-1:-1;1674:442:4;;-1:-1:-1;;;;1674:442:4:o;3608:294:1:-;1136:6:15;;-1:-1:-1;;;;;1136:6:15;736:10:2;1283:23:15;1275:68;;;;-1:-1:-1;;;1275:68:15;;;;;;;:::i;:::-;3736:16:1::1;::::0;;3750:1:::1;3736:16:::0;;;;;::::1;::::0;;;3713:20:::1;::::0;3736:16:::1;::::0;;::::1;::::0;;::::1;::::0;::::1;;::::0;-1:-1:-1;3736:16:1::1;3713:39;;3764:6;3759:121;3780:7;:14;3776:1;:18;3759:121;;;3819:7;3827:1;3819:10;;;;;;;;:::i;:::-;;;;;;;3810:3;3814:1;3810:6;;;;;;;;:::i;:::-;;;;;;:19;;;::::0;::::1;3838:34;3853:3;3858:10;3869:1;3858:13;;;;;;;;:::i;:::-;;;;;;;3838:14;:34::i;:::-;3796:3:::0;::::1;::::0;::::1;:::i;:::-;;;;3759:121;;;-1:-1:-1::0;;;;3608:294:1:o;4763:150::-;1136:6:15;;-1:-1:-1;;;;;1136:6:15;736:10:2;1283:23:15;1275:68;;;;-1:-1:-1;;;1275:68:15;;;;;;;:::i;:::-;1778:1:16::1;2376:7;;:19;;2368:63;;;::::0;-1:-1:-1;;;2368:63:16;;15060:2:19;2368:63:16::1;::::0;::::1;15042:21:19::0;15099:2;15079:18;;;15072:30;15138:33;15118:18;;;15111:61;15189:18;;2368:63:16::1;14858:355:19::0;2368:63:16::1;1778:1;2509:7;:18:::0;4821:7:1::2;4842;1136:6:15::0;;-1:-1:-1;;;;;1136:6:15;;1063:87;4842:7:1::2;-1:-1:-1::0;;;;;4834:21:1::2;4863;4834:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4820:69;;;4904:2;4896:11;;;::::0;::::2;;-1:-1:-1::0;1734:1:16::1;2688:7;:22:::0;4763:150:1:o;8711:185:5:-;8849:39;8866:4;8872:2;8876:7;8849:39;;;;;;;;;;;;:16;:39::i;4457:74:1:-;1136:6:15;;-1:-1:-1;;;;;1136:6:15;736:10:2;1283:23:15;1275:68;;;;-1:-1:-1;;;1275:68:15;;;;;;;:::i;:::-;4513:4:1::1;:12:::0;4457:74::o;1547:468:6:-;1722:15;;1636:23;;1697:22;1722:15;-1:-1:-1;;;;;1789:36:6;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;1789:36:6;;-1:-1:-1;;1789:36:6;;;;;;;;;;;;1752:73;;1845:9;1840:125;1861:14;1856:1;:19;1840:125;;1917:32;1937:8;1946:1;1937:11;;;;;;;;:::i;:::-;;;;;;;1917:19;:32::i;:::-;1901:10;1912:1;1901:13;;;;;;;;:::i;:::-;;;;;;;;;;:48;1877:3;;1840:125;;;-1:-1:-1;1986:10:6;1547:468;-1:-1:-1;;;1547:468:6:o;1161:28:1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;5909:125:5:-;5973:7;6000:21;6013:7;6000:12;:21::i;:::-;:26;;5909:125;-1:-1:-1;;5909:125:5:o;1339:59:1:-;;;;;;;:::i;4009:94::-;1136:6:15;;-1:-1:-1;;;;;1136:6:15;736:10:2;1283:23:15;1275:68;;;;-1:-1:-1;;;1275:68:15;;;;;;;:::i;:::-;4075:9:1::1;:22:::0;4009:94::o;3355:206:5:-;3419:7;-1:-1:-1;;;;;3443:19:5;;3439:60;;3471:28;;-1:-1:-1;;;3471:28:5;;;;;;;;;;;3439:60;-1:-1:-1;;;;;;3525:19:5;;;;;:12;:19;;;;;:27;-1:-1:-1;;;;;3525:27:5;;3355:206::o;1714:103:15:-;1136:6;;-1:-1:-1;;;;;1136:6:15;736:10:2;1283:23:15;1275:68;;;;-1:-1:-1;;;1275:68:15;;;;;;;:::i;:::-;1779:30:::1;1806:1;1779:18;:30::i;:::-;1714:103::o:0;1403:37:1:-;;;;;;;:::i;4245:100::-;1136:6:15;;-1:-1:-1;;;;;1136:6:15;736:10:2;1283:23:15;1275:68;;;;-1:-1:-1;;;1275:68:15;;;;;;;:::i;:::-;4317:22:1;;::::1;::::0;:9:::1;::::0;:22:::1;::::0;::::1;::::0;::::1;:::i;5361:891:6:-:0;5431:16;5485:19;5519:25;5559:22;5584:16;5594:5;5584:9;:16::i;:::-;5559:41;;5615:25;5657:14;-1:-1:-1;;;;;5643:29:6;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5643:29:6;;5615:57;;5687:31;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;5687:31:6;3996:1:1;5733:471:6;5782:14;5767:11;:29;5733:471;;5834:14;;;;:11;:14;;;;;;;;;5822:26;;;;;;;;;-1:-1:-1;;;;;5822:26:6;;;;-1:-1:-1;;;5822:26:6;;-1:-1:-1;;;;;5822:26:6;;;;;;;;-1:-1:-1;;;5822:26:6;;;;;;;;;;;;;;;;-1:-1:-1;5867:73:6;;5912:8;;5867:73;5962:14;;-1:-1:-1;;;;;5962:28:6;;5958:111;;6035:14;;;-1:-1:-1;5958:111:6;6112:5;-1:-1:-1;;;;;6091:26:6;:17;-1:-1:-1;;;;;6091:26:6;;6087:102;;;6168:1;6142:8;6151:13;;;;;;6142:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;6087:102;5798:3;;5733:471;;;-1:-1:-1;6225:8:6;;5361:891;-1:-1:-1;;;;;;5361:891:6:o;6270:104:5:-;6326:13;6359:7;6352:14;;;;;:::i;2405:2507:6:-;2540:16;2607:4;2598:5;:13;2594:45;;2620:19;;-1:-1:-1;;;2620:19:6;;;;;;;;;;;2594:45;2654:19;2708:13;;3996:1:1;2799:5:6;:23;2795:87;;;3996:1:1;2843:23:6;;2795:87;2962:9;2955:4;:16;2951:73;;;2999:9;2992:16;;2951:73;3038:25;3066:16;3076:5;3066:9;:16::i;:::-;3038:44;;3260:4;3252:5;:12;3248:278;;;3307:12;;;3342:31;;;3338:111;;;3418:11;3398:31;;3338:111;3266:198;3248:278;;;-1:-1:-1;3509:1:6;3248:278;3540:25;3582:17;-1:-1:-1;;;;;3568:32:6;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3568:32:6;-1:-1:-1;3540:60:6;-1:-1:-1;3619:22:6;3615:78;;3669:8;-1:-1:-1;3662:15:6;;-1:-1:-1;;;3662:15:6;3615:78;3837:31;3871:26;3891:5;3871:19;:26::i;:::-;3837:60;;3912:25;4157:9;:16;;;4152:92;;-1:-1:-1;4214:14:6;;4152:92;4275:5;4258:477;4287:4;4282:1;:9;;:45;;;;;4310:17;4295:11;:32;;4282:45;4258:477;;;4365:14;;;;:11;:14;;;;;;;;;4353:26;;;;;;;;;-1:-1:-1;;;;;4353:26:6;;;;-1:-1:-1;;;4353:26:6;;-1:-1:-1;;;;;4353:26:6;;;;;;;;-1:-1:-1;;;4353:26:6;;;;;;;;;;;;;;;;-1:-1:-1;4398:73:6;;4443:8;;4398:73;4493:14;;-1:-1:-1;;;;;4493:28:6;;4489:111;;4566:14;;;-1:-1:-1;4489:111:6;4643:5;-1:-1:-1;;;;;4622:26:6;:17;-1:-1:-1;;;;;4622:26:6;;4618:102;;;4699:1;4673:8;4682:13;;;;;;4673:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;4618:102;4329:3;;4258:477;;;-1:-1:-1;;;4820:29:6;;;-1:-1:-1;4827:8:6;;-1:-1:-1;;2405:2507:6;;;;;;:::o;2302:446:1:-;2362:1;2019:18;;2004:11;:33;;1977:85;;;;-1:-1:-1;;;1977:85:1;;15630:2:19;1977:85:1;;;15612:21:19;15669:2;15649:18;;;15642:30;-1:-1:-1;;;15688:18:19;;;15681:50;15748:18;;1977:85:1;15428:344:19;1977:85:1;2108:9;;2093:11;2077:13;3996:1;2489:12:5;2279:7;2473:13;:28;-1:-1:-1;;2473:46:5;;2226:312;2077:13:1;:27;;;;:::i;:::-;:40;;2069:73;;;;-1:-1:-1;;;2069:73:1;;;;;;;:::i;:::-;2385:1:::1;2247:11;2240:4;;:18;;;;:::i;:::-;2227:9;:31;;2219:63;;;::::0;-1:-1:-1;;;2219:63:1;;15979:2:19;2219:63:1::1;::::0;::::1;15961:21:19::0;16018:2;15998:18;;;15991:30;-1:-1:-1;;;16037:18:19;;;16030:49;16096:18;;2219:63:1::1;15777:343:19::0;2219:63:1::1;2404:6:::2;::::0;::::2;;2403:7;2395:43;;;::::0;-1:-1:-1;;;2395:43:1;;16327:2:19;2395:43:1::2;::::0;::::2;16309:21:19::0;16366:2;16346:18;;;16339:30;16405:25;16385:18;;;16378:53;16448:18;;2395:43:1::2;16125:347:19::0;2395:43:1::2;2454:23;::::0;;;:15:::2;:23;::::0;;;;;::::2;;2453:24;2445:59;;;::::0;-1:-1:-1;;;2445:59:1;;16679:2:19;2445:59:1::2;::::0;::::2;16661:21:19::0;16718:2;16698:18;;;16691:30;-1:-1:-1;;;16737:18:19;;;16730:52;16799:18;;2445:59:1::2;16477:346:19::0;2445:59:1::2;2528:19;::::0;:35:::2;::::0;-1:-1:-1;;;2528:35:1;;::::2;::::0;::::2;2810:25:19::0;;;2511:14:1::2;::::0;2528:19;;::::2;-1:-1:-1::0;;;;;2528:19:1::2;::::0;:27:::2;::::0;2783:18:19;;2528:35:1::2;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2511:52:::0;-1:-1:-1;;;;;;2578:20:1;::::2;2588:10;2578:20;2570:57;;;::::0;-1:-1:-1;;;2570:57:1;;17294:2:19;2570:57:1::2;::::0;::::2;17276:21:19::0;17333:2;17313:18;;;17306:30;17372:26;17352:18;;;17345:54;17416:18;;2570:57:1::2;17092:348:19::0;2570:57:1::2;2634:30;736:10:2::0;2657:6:1::2;2634:8;:30::i;:::-;2671:23;::::0;;;:15:::2;:23;::::0;;;;;;:30;;-1:-1:-1;;2671:30:1::2;2697:4;2671:30;::::0;;2708:14:::2;::::0;:34;;-1:-1:-1;;;2708:34:1;;::::2;::::0;::::2;2810:25:19::0;;;-1:-1:-1;;;;;2708:14:1;;::::2;::::0;:26:::2;::::0;2783:18:19;;2708:34:1::2;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;2388:360;2149:1:::1;2302:446:::0;;:::o;7881:287:5:-;-1:-1:-1;;;;;7980:24:5;;736:10:2;7980:24:5;7976:54;;;8013:17;;-1:-1:-1;;;8013:17:5;;;;;;;;;;;7976:54;736:10:2;8043:32:5;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;8043:42:5;;;;;;;;;;;;:53;;-1:-1:-1;;8043:53:5;;;;;;;;;;8112:48;;540:41:19;;;8043:42:5;;736:10:2;8112:48:5;;513:18:19;8112:48:5;;;;;;;7881:287;;:::o;3180:199:1:-;1136:6:15;;-1:-1:-1;;;;;1136:6:15;736:10:2;1283:23:15;1275:68;;;;-1:-1:-1;;;1275:68:15;;;;;;;:::i;:::-;3297:9:1::1;;3279:7;:14;3263:13;3996:1:::0;2489:12:5;2279:7;2473:13;:28;-1:-1:-1;;2473:46:5;;2226:312;3263:13:1::1;:30;;;;:::i;:::-;:43;;3255:76;;;;-1:-1:-1::0;;;3255:76:1::1;;;;;;;:::i;:::-;3338:35;736:10:2::0;3365:7:1::1;3338:12;:35::i;:::-;3180:199:::0;:::o;4109:130::-;1136:6:15;;-1:-1:-1;;;;;1136:6:15;736:10:2;1283:23:15;1275:68;;;;-1:-1:-1;;;1275:68:15;;;;;;;:::i;:::-;4193:18:1::1;:40:::0;4109:130::o;8967:370:5:-;9134:28;9144:4;9150:2;9154:7;9134:9;:28::i;:::-;-1:-1:-1;;;;;9177:13:5;;1505:19:0;:23;9173:157:5;;9198:56;9229:4;9235:2;9239:7;9248:5;9198:30;:56::i;:::-;9194:136;;9278:40;;-1:-1:-1;;;9278:40:5;;;;;;;;;;;970:418:6;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3996:1:1;1126:25:6;;;:53;;;1166:13;;1155:7;:24;;1126:53;1122:102;;;1203:9;970:418;-1:-1:-1;;970:418:6:o;1122:102::-;-1:-1:-1;1246:20:6;;;;:11;:20;;;;;;;;;1234:32;;;;;;;;;-1:-1:-1;;;;;1234:32:6;;;;-1:-1:-1;;;1234:32:6;;-1:-1:-1;;;;;1234:32:6;;;;;;;;-1:-1:-1;;;1234:32:6;;;;;;;;;;;;;;;;1277:65;;1321:9;970:418;-1:-1:-1;;970:418:6:o;1277:65::-;1359:21;1372:7;1359:12;:21::i;6445:318:5:-;6518:13;6549:16;6557:7;6549;:16::i;:::-;6544:59;;6574:29;;-1:-1:-1;;;6574:29:5;;;;;;;;;;;6544:59;6616:21;6640:10;:8;:10::i;:::-;6616:34;;6674:7;6668:21;6693:1;6668:26;;:87;;;;;;;;;;;;;;;;;6721:7;6730:18;:7;:16;:18::i;:::-;6704:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;6661:94;6445:318;-1:-1:-1;;;6445:318:5:o;8239:164::-;-1:-1:-1;;;;;8360:25:5;;;8336:4;8360:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;8239:164::o;1972:201:15:-;1136:6;;-1:-1:-1;;;;;1136:6:15;736:10:2;1283:23:15;1275:68;;;;-1:-1:-1;;;1275:68:15;;;;;;;:::i;:::-;-1:-1:-1;;;;;2061:22:15;::::1;2053:73;;;::::0;-1:-1:-1;;;2053:73:15;;18122:2:19;2053:73:15::1;::::0;::::1;18104:21:19::0;18161:2;18141:18;;;18134:30;18200:34;18180:18;;;18173:62;-1:-1:-1;;;18251:18:19;;;18244:36;18297:19;;2053:73:15::1;17920:402:19::0;2053:73:15::1;2137:28;2156:8;2137:18;:28::i;2986:305:5:-:0;3088:4;-1:-1:-1;;;;;;3125:40:5;;-1:-1:-1;;;3125:40:5;;:105;;-1:-1:-1;;;;;;;3182:48:5;;-1:-1:-1;;;3182:48:5;3125:105;:158;;;-1:-1:-1;;;;;;;;;;963:40:3;;;3247:36:5;854:157:3;1404:215:4;1506:4;-1:-1:-1;;;;;;1530:41:4;;-1:-1:-1;;;1530:41:4;;:81;;;1575:36;1599:11;1575:23;:36::i;2766:332::-;2482:5;-1:-1:-1;;;;;2869:33:4;;;;2861:88;;;;-1:-1:-1;;;2861:88:4;;18529:2:19;2861:88:4;;;18511:21:19;18568:2;18548:18;;;18541:30;18607:34;18587:18;;;18580:62;-1:-1:-1;;;18658:18:19;;;18651:40;18708:19;;2861:88:4;18327:406:19;2861:88:4;-1:-1:-1;;;;;2968:22:4;;2960:60;;;;-1:-1:-1;;;2960:60:4;;18940:2:19;2960:60:4;;;18922:21:19;18979:2;18959:18;;;18952:30;19018:27;18998:18;;;18991:55;19063:18;;2960:60:4;18738:349:19;2960:60:4;3055:35;;;;;;;;;-1:-1:-1;;;;;3055:35:4;;;;;;-1:-1:-1;;;;;3055:35:4;;;;;;;;;;-1:-1:-1;;;3033:57:4;;;;:19;:57;2766:332::o;9592:174:5:-;9649:4;9692:7;3996:1:1;9673:26:5;;:53;;;;;9713:13;;9703:7;:23;9673:53;:85;;;;-1:-1:-1;;9731:20:5;;;;:11;:20;;;;;:27;-1:-1:-1;;;9731:27:5;;;;9730:28;;9592:174::o;18814:196::-;18929:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;18929:29:5;-1:-1:-1;;;;;18929:29:5;;;;;;;;;18974:28;;18929:24;;18974:28;;;;;;;18814:196;;;:::o;2934:241:1:-;3010:20;3033:13;3070:14;;3091:21;3101:2;3070:14;3091:9;:21::i;:::-;3124:45;3135:2;3139:7;3148:12;3162:6;3124:45;;;;;;;;;:::i;:::-;;;;;;;;3003:172;;2934:241;;:::o;13762:2130:5:-;13877:35;13915:21;13928:7;13915:12;:21::i;:::-;13877:59;;13975:4;-1:-1:-1;;;;;13953:26:5;:13;:18;;;-1:-1:-1;;;;;13953:26:5;;13949:67;;13988:28;;-1:-1:-1;;;13988:28:5;;;;;;;;;;;13949:67;14029:22;736:10:2;-1:-1:-1;;;;;14055:20:5;;;;:73;;-1:-1:-1;14092:36:5;14109:4;736:10:2;8239:164:5;:::i;14092:36::-;14055:126;;;-1:-1:-1;736:10:2;14145:20:5;14157:7;14145:11;:20::i;:::-;-1:-1:-1;;;;;14145:36:5;;14055:126;14029:153;;14200:17;14195:66;;14226:35;;-1:-1:-1;;;14226:35:5;;;;;;;;;;;14195:66;-1:-1:-1;;;;;14276:16:5;;14272:52;;14301:23;;-1:-1:-1;;;14301:23:5;;;;;;;;;;;14272:52;14445:35;14462:1;14466:7;14475:4;14445:8;:35::i;:::-;-1:-1:-1;;;;;14776:18:5;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;14776:31:5;;;-1:-1:-1;;;;;14776:31:5;;;-1:-1:-1;;14776:31:5;;;;;;;14822:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;14822:29:5;;;;;;;;;;;14902:20;;;:11;:20;;;;;;14937:18;;-1:-1:-1;;;;;;14970:49:5;;;;-1:-1:-1;;;15003:15:5;14970:49;;;;;;;;;;15293:11;;15353:24;;;;;15396:13;;14902:20;;15353:24;;15396:13;15392:384;;15606:13;;15591:11;:28;15587:174;;15644:20;;15713:28;;;;-1:-1:-1;;;;;15687:54:5;-1:-1:-1;;;15687:54:5;-1:-1:-1;;;;;;15687:54:5;;;-1:-1:-1;;;;;15644:20:5;;15687:54;;;;15587:174;14751:1036;;;15823:7;15819:2;-1:-1:-1;;;;;15804:27:5;15813:4;-1:-1:-1;;;;;15804:27:5;;;;;;;;;;;13866:2026;;13762:2130;;;:::o;4736:1111::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;4847:7:5;;3996:1:1;4896:23:5;4892:888;;4932:13;;4925:4;:20;4921:859;;;4966:31;5000:17;;;:11;:17;;;;;;;;;4966:51;;;;;;;;;-1:-1:-1;;;;;4966:51:5;;;;-1:-1:-1;;;4966:51:5;;-1:-1:-1;;;;;4966:51:5;;;;;;;;-1:-1:-1;;;4966:51:5;;;;;;;;;;;;;;5036:729;;5086:14;;-1:-1:-1;;;;;5086:28:5;;5082:101;;5150:9;4736:1111;-1:-1:-1;;;4736:1111:5:o;5082:101::-;-1:-1:-1;;;5525:6:5;5570:17;;;;:11;:17;;;;;;;;;5558:29;;;;;;;;;-1:-1:-1;;;;;5558:29:5;;;;;-1:-1:-1;;;5558:29:5;;-1:-1:-1;;;;;5558:29:5;;;;;;;;-1:-1:-1;;;5558:29:5;;;;;;;;;;;;;5618:28;5614:109;;5686:9;4736:1111;-1:-1:-1;;;4736:1111:5:o;5614:109::-;5485:261;;;4947:833;4921:859;5808:31;;-1:-1:-1;;;5808:31:5;;;;;;;;;;;2333:191:15;2426:6;;;-1:-1:-1;;;;;2443:17:15;;;-1:-1:-1;;;;;;2443:17:15;;;;;;;2476:40;;2426:6;;;2443:17;2426:6;;2476:40;;2407:16;;2476:40;2396:128;2333:191;:::o;2754:174:1:-;2839:16;;;2853:1;2839:16;;;;;;;;;2816:20;;2839:16;;;;;;;;;;;-1:-1:-1;2839:16:1;2816:39;;2871:6;2862:3;2866:1;2862:6;;;;;;;;:::i;:::-;;;;;;:15;;;;;2884:21;2897:2;2901:3;2884:12;:21::i;19502:667:5:-;19686:72;;-1:-1:-1;;;19686:72:5;;19665:4;;-1:-1:-1;;;;;19686:36:5;;;;;:72;;736:10:2;;19737:4:5;;19743:7;;19752:5;;19686:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;19686:72:5;;;;;;;;-1:-1:-1;;19686:72:5;;;;;;;;;;;;:::i;:::-;;;19682:480;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;19920:13:5;;19916:235;;19966:40;;-1:-1:-1;;;19966:40:5;;;;;;;;;;;19916:235;20109:6;20103:13;20094:6;20090:2;20086:15;20079:38;19682:480;-1:-1:-1;;;;;;19805:55:5;-1:-1:-1;;;19805:55:5;;-1:-1:-1;19682:480:5;19502:667;;;;;;:::o;4919:104:1:-;4979:13;5008:9;5001:16;;;;;:::i;342:723:18:-;398:13;619:10;615:53;;-1:-1:-1;;646:10:18;;;;;;;;;;;;-1:-1:-1;;;646:10:18;;;;;342:723::o;615:53::-;693:5;678:12;734:78;741:9;;734:78;;767:8;;;;:::i;:::-;;-1:-1:-1;790:10:18;;-1:-1:-1;798:2:18;790:10;;:::i;:::-;;;734:78;;;822:19;854:6;-1:-1:-1;;;;;844:17:18;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;844:17:18;;822:39;;872:154;879:10;;872:154;;906:11;916:1;906:11;;:::i;:::-;;-1:-1:-1;975:10:18;983:2;975:5;:10;:::i;:::-;962:24;;:2;:24;:::i;:::-;949:39;;932:6;939;932:14;;;;;;;;:::i;:::-;;;;:56;-1:-1:-1;;;;;932:56:18;;;;;;;;-1:-1:-1;1003:11:18;1012:2;1003:11;;:::i;:::-;;;872:154;;9850:104:5;9919:27;9929:2;9933:8;9919:27;;;;;;;;;;;;10450:20;10473:13;-1:-1:-1;;;;;10501:16:5;;10497:48;;10526:19;;-1:-1:-1;;;10526:19:5;;;;;;;;;;;10497:48;10560:13;10556:44;;10582:18;;-1:-1:-1;;;10582:18:5;;;;;;;;;;;10556:44;-1:-1:-1;;;;;10951:16:5;;;;;;:12;:16;;;;;;;;:44;;-1:-1:-1;;11010:49:5;;-1:-1:-1;;;;;10951:44:5;;;;;;;11010:49;;;;-1:-1:-1;;10951:44:5;;;;;;11010:49;;;;;;;;;;;;;;;;11076:25;;;:11;:25;;;;;;:35;;-1:-1:-1;;;;;;11126:66:5;;;-1:-1:-1;;;11176:15:5;11126:66;;;;;;;;;;;;;11076:25;;11273:23;;;;1505:19:0;:23;11313:631:5;;11353:313;11384:38;;11409:12;;-1:-1:-1;;;;;11384:38:5;;;11401:1;;11384:38;;11401:1;;11384:38;11450:69;11489:1;11493:2;11497:14;;;;;;11513:5;11450:30;:69::i;:::-;11445:174;;11555:40;;-1:-1:-1;;;11555:40:5;;;;;;;;;;;11445:174;11661:3;11646:12;:18;11353:313;;11747:12;11730:13;;:29;11726:43;;11761:8;;;11726:43;11313:631;;;11810:119;11841:40;;11866:14;;;;;-1:-1:-1;;;;;11841:40:5;;;11858:1;;11841:40;;11858:1;;11841:40;11924:3;11909:12;:18;11810:119;;11313:631;-1:-1:-1;11958:13:5;:28;;;12008:60;;12041:2;12045:12;12059:8;12008:60;:::i;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:131:19;-1:-1:-1;;;;;;88:32:19;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:139::-;-1:-1:-1;;;;;675:31:19;;665:42;;655:70;;721:1;718;711:12;736:451;811:6;819;872:2;860:9;851:7;847:23;843:32;840:52;;;888:1;885;878:12;840:52;927:9;914:23;946:39;979:5;946:39;:::i;:::-;1004:5;-1:-1:-1;1061:2:19;1046:18;;1033:32;-1:-1:-1;;;;;1096:40:19;;1084:53;;1074:81;;1151:1;1148;1141:12;1074:81;1174:7;1164:17;;;736:451;;;;;:::o;1192:258::-;1264:1;1274:113;1288:6;1285:1;1282:13;1274:113;;;1364:11;;;1358:18;1345:11;;;1338:39;1310:2;1303:10;1274:113;;;1405:6;1402:1;1399:13;1396:48;;;-1:-1:-1;;1440:1:19;1422:16;;1415:27;1192:258::o;1455:::-;1497:3;1535:5;1529:12;1562:6;1557:3;1550:19;1578:63;1634:6;1627:4;1622:3;1618:14;1611:4;1604:5;1600:16;1578:63;:::i;:::-;1695:2;1674:15;-1:-1:-1;;1670:29:19;1661:39;;;;1702:4;1657:50;;1455:258;-1:-1:-1;;1455:258:19:o;1718:220::-;1867:2;1856:9;1849:21;1830:4;1887:45;1928:2;1917:9;1913:18;1905:6;1887:45;:::i;1943:180::-;2002:6;2055:2;2043:9;2034:7;2030:23;2026:32;2023:52;;;2071:1;2068;2061:12;2023:52;-1:-1:-1;2094:23:19;;1943:180;-1:-1:-1;1943:180:19:o;2336:323::-;2404:6;2412;2465:2;2453:9;2444:7;2440:23;2436:32;2433:52;;;2481:1;2478;2471:12;2433:52;2520:9;2507:23;2539:39;2572:5;2539:39;:::i;:::-;2597:5;2649:2;2634:18;;;;2621:32;;-1:-1:-1;;;2336:323:19:o;2846:127::-;2907:10;2902:3;2898:20;2895:1;2888:31;2938:4;2935:1;2928:15;2962:4;2959:1;2952:15;2978:275;3049:2;3043:9;3114:2;3095:13;;-1:-1:-1;;3091:27:19;3079:40;;-1:-1:-1;;;;;3134:34:19;;3170:22;;;3131:62;3128:88;;;3196:18;;:::i;:::-;3232:2;3225:22;2978:275;;-1:-1:-1;2978:275:19:o;3258:407::-;3323:5;-1:-1:-1;;;;;3349:6:19;3346:30;3343:56;;;3379:18;;:::i;:::-;3417:57;3462:2;3441:15;;-1:-1:-1;;3437:29:19;3468:4;3433:40;3417:57;:::i;:::-;3408:66;;3497:6;3490:5;3483:21;3537:3;3528:6;3523:3;3519:16;3516:25;3513:45;;;3554:1;3551;3544:12;3513:45;3603:6;3598:3;3591:4;3584:5;3580:16;3567:43;3657:1;3650:4;3641:6;3634:5;3630:18;3626:29;3619:40;3258:407;;;;;:::o;3670:451::-;3739:6;3792:2;3780:9;3771:7;3767:23;3763:32;3760:52;;;3808:1;3805;3798:12;3760:52;3848:9;3835:23;-1:-1:-1;;;;;3873:6:19;3870:30;3867:50;;;3913:1;3910;3903:12;3867:50;3936:22;;3989:4;3981:13;;3977:27;-1:-1:-1;3967:55:19;;4018:1;4015;4008:12;3967:55;4041:74;4107:7;4102:2;4089:16;4084:2;4080;4076:11;4041:74;:::i;4126:160::-;4191:20;;4247:13;;4240:21;4230:32;;4220:60;;4276:1;4273;4266:12;4220:60;4126:160;;;:::o;4291:180::-;4347:6;4400:2;4388:9;4379:7;4375:23;4371:32;4368:52;;;4416:1;4413;4406:12;4368:52;4439:26;4455:9;4439:26;:::i;4476:183::-;4536:4;-1:-1:-1;;;;;4561:6:19;4558:30;4555:56;;;4591:18;;:::i;:::-;-1:-1:-1;4636:1:19;4632:14;4648:4;4628:25;;4476:183::o;4664:662::-;4718:5;4771:3;4764:4;4756:6;4752:17;4748:27;4738:55;;4789:1;4786;4779:12;4738:55;4825:6;4812:20;4851:4;4875:60;4891:43;4931:2;4891:43;:::i;:::-;4875:60;:::i;:::-;4969:15;;;5055:1;5051:10;;;;5039:23;;5035:32;;;5000:12;;;;5079:15;;;5076:35;;;5107:1;5104;5097:12;5076:35;5143:2;5135:6;5131:15;5155:142;5171:6;5166:3;5163:15;5155:142;;;5237:17;;5225:30;;5275:12;;;;5188;;5155:142;;;-1:-1:-1;5315:5:19;4664:662;-1:-1:-1;;;;;;4664:662:19:o;5331:491::-;5424:6;5432;5485:2;5473:9;5464:7;5460:23;5456:32;5453:52;;;5501:1;5498;5491:12;5453:52;5541:9;5528:23;-1:-1:-1;;;;;5566:6:19;5563:30;5560:50;;;5606:1;5603;5596:12;5560:50;5629:61;5682:7;5673:6;5662:9;5658:22;5629:61;:::i;:::-;5619:71;;;5740:2;5729:9;5725:18;5712:32;5753:39;5786:5;5753:39;:::i;5827:472::-;5904:6;5912;5920;5973:2;5961:9;5952:7;5948:23;5944:32;5941:52;;;5989:1;5986;5979:12;5941:52;6028:9;6015:23;6047:39;6080:5;6047:39;:::i;:::-;6105:5;-1:-1:-1;6162:2:19;6147:18;;6134:32;6175:41;6134:32;6175:41;:::i;:::-;5827:472;;6235:7;;-1:-1:-1;;;6289:2:19;6274:18;;;;6261:32;;5827:472::o;6304:248::-;6372:6;6380;6433:2;6421:9;6412:7;6408:23;6404:32;6401:52;;;6449:1;6446;6439:12;6401:52;-1:-1:-1;;6472:23:19;;;6542:2;6527:18;;;6514:32;;-1:-1:-1;6304:248:19:o;6836:1221::-;6954:6;6962;7015:2;7003:9;6994:7;6990:23;6986:32;6983:52;;;7031:1;7028;7021:12;6983:52;7071:9;7058:23;-1:-1:-1;;;;;7141:2:19;7133:6;7130:14;7127:34;;;7157:1;7154;7147:12;7127:34;7180:61;7233:7;7224:6;7213:9;7209:22;7180:61;:::i;:::-;7170:71;;7260:2;7250:12;;7315:2;7304:9;7300:18;7287:32;7344:2;7334:8;7331:16;7328:36;;;7360:1;7357;7350:12;7328:36;7383:24;;;-1:-1:-1;7438:4:19;7430:13;;7426:27;-1:-1:-1;7416:55:19;;7467:1;7464;7457:12;7416:55;7503:2;7490:16;7526:60;7542:43;7582:2;7542:43;:::i;7526:60::-;7620:15;;;7702:1;7698:10;;;;7690:19;;7686:28;;;7651:12;;;;7726:19;;;7723:39;;;7758:1;7755;7748:12;7723:39;7782:11;;;;7802:225;7818:6;7813:3;7810:15;7802:225;;;7898:3;7885:17;7915:39;7948:5;7915:39;:::i;:::-;7967:18;;7835:12;;;;8005;;;;7802:225;;;8046:5;8036:15;;;;;;;6836:1221;;;;;:::o;8244:348::-;8328:6;8381:2;8369:9;8360:7;8356:23;8352:32;8349:52;;;8397:1;8394;8387:12;8349:52;8437:9;8424:23;-1:-1:-1;;;;;8462:6:19;8459:30;8456:50;;;8502:1;8499;8492:12;8456:50;8525:61;8578:7;8569:6;8558:9;8554:22;8525:61;:::i;8880:724::-;9115:2;9167:21;;;9237:13;;9140:18;;;9259:22;;;9086:4;;9115:2;9338:15;;;;9312:2;9297:18;;;9086:4;9381:197;9395:6;9392:1;9389:13;9381:197;;;9444:52;9492:3;9483:6;9477:13;8681:12;;-1:-1:-1;;;;;8677:38:19;8665:51;;8769:4;8758:16;;;8752:23;-1:-1:-1;;;;;8748:48:19;8732:14;;;8725:72;8860:4;8849:16;;;8843:23;8836:31;8829:39;8813:14;;8806:63;8597:278;9444:52;9553:15;;;;9525:4;9516:14;;;;;9417:1;9410:9;9381:197;;9609:255;9668:6;9721:2;9709:9;9700:7;9696:23;9692:32;9689:52;;;9737:1;9734;9727:12;9689:52;9776:9;9763:23;9795:39;9828:5;9795:39;:::i;9869:435::-;9922:3;9960:5;9954:12;9987:6;9982:3;9975:19;10013:4;10042:2;10037:3;10033:12;10026:19;;10079:2;10072:5;10068:14;10100:1;10110:169;10124:6;10121:1;10118:13;10110:169;;;10185:13;;10173:26;;10219:12;;;;10254:15;;;;10146:1;10139:9;10110:169;;;-1:-1:-1;10295:3:19;;9869:435;-1:-1:-1;;;;;9869:435:19:o;10309:261::-;10488:2;10477:9;10470:21;10451:4;10508:56;10560:2;10549:9;10545:18;10537:6;10508:56;:::i;10575:391::-;10652:6;10660;10668;10721:2;10709:9;10700:7;10696:23;10692:32;10689:52;;;10737:1;10734;10727:12;10689:52;10776:9;10763:23;10795:39;10828:5;10795:39;:::i;:::-;10853:5;10905:2;10890:18;;10877:32;;-1:-1:-1;10956:2:19;10941:18;;;10928:32;;10575:391;-1:-1:-1;;;10575:391:19:o;10971:323::-;11036:6;11044;11097:2;11085:9;11076:7;11072:23;11068:32;11065:52;;;11113:1;11110;11103:12;11065:52;11152:9;11139:23;11171:39;11204:5;11171:39;:::i;:::-;11229:5;-1:-1:-1;11253:35:19;11284:2;11269:18;;11253:35;:::i;:::-;11243:45;;10971:323;;;;;:::o;11299:811::-;11394:6;11402;11410;11418;11471:3;11459:9;11450:7;11446:23;11442:33;11439:53;;;11488:1;11485;11478:12;11439:53;11527:9;11514:23;11546:39;11579:5;11546:39;:::i;:::-;11604:5;-1:-1:-1;11661:2:19;11646:18;;11633:32;11674:41;11633:32;11674:41;:::i;:::-;11734:7;-1:-1:-1;11788:2:19;11773:18;;11760:32;;-1:-1:-1;11843:2:19;11828:18;;11815:32;-1:-1:-1;;;;;11859:30:19;;11856:50;;;11902:1;11899;11892:12;11856:50;11925:22;;11978:4;11970:13;;11966:27;-1:-1:-1;11956:55:19;;12007:1;12004;11997:12;11956:55;12030:74;12096:7;12091:2;12078:16;12073:2;12069;12065:11;12030:74;:::i;:::-;12020:84;;;11299:811;;;;;;;:::o;12115:267::-;8681:12;;-1:-1:-1;;;;;8677:38:19;8665:51;;8769:4;8758:16;;;8752:23;-1:-1:-1;;;;;8748:48:19;8732:14;;;8725:72;8860:4;8849:16;;;8843:23;8836:31;8829:39;8813:14;;;8806:63;12313:2;12298:18;;12325:51;8597:278;12387:404;12455:6;12463;12516:2;12504:9;12495:7;12491:23;12487:32;12484:52;;;12532:1;12529;12522:12;12484:52;12571:9;12558:23;12590:39;12623:5;12590:39;:::i;:::-;12648:5;-1:-1:-1;12705:2:19;12690:18;;12677:32;12718:41;12677:32;12718:41;:::i;12796:356::-;12998:2;12980:21;;;13017:18;;;13010:30;13076:34;13071:2;13056:18;;13049:62;13143:2;13128:18;;12796:356::o;13157:380::-;13236:1;13232:12;;;;13279;;;13300:61;;13354:4;13346:6;13342:17;13332:27;;13300:61;13407:2;13399:6;13396:14;13376:18;13373:38;13370:161;;;13453:10;13448:3;13444:20;13441:1;13434:31;13488:4;13485:1;13478:15;13516:4;13513:1;13506:15;13370:161;;13157:380;;;:::o;13542:127::-;13603:10;13598:3;13594:20;13591:1;13584:31;13634:4;13631:1;13624:15;13658:4;13655:1;13648:15;13674:128;13714:3;13745:1;13741:6;13738:1;13735:13;13732:39;;;13751:18;;:::i;:::-;-1:-1:-1;13787:9:19;;13674:128::o;13807:344::-;14009:2;13991:21;;;14048:2;14028:18;;;14021:30;-1:-1:-1;;;14082:2:19;14067:18;;14060:50;14142:2;14127:18;;13807:344::o;14156:168::-;14196:7;14262:1;14258;14254:6;14250:14;14247:1;14244:21;14239:1;14232:9;14225:17;14221:45;14218:71;;;14269:18;;:::i;:::-;-1:-1:-1;14309:9:19;;14156:168::o;14329:127::-;14390:10;14385:3;14381:20;14378:1;14371:31;14421:4;14418:1;14411:15;14445:4;14442:1;14435:15;14461:120;14501:1;14527;14517:35;;14532:18;;:::i;:::-;-1:-1:-1;14566:9:19;;14461:120::o;14586:127::-;14647:10;14642:3;14638:20;14635:1;14628:31;14678:4;14675:1;14668:15;14702:4;14699:1;14692:15;14718:135;14757:3;-1:-1:-1;;14778:17:19;;14775:43;;;14798:18;;:::i;:::-;-1:-1:-1;14845:1:19;14834:13;;14718:135::o;16828:259::-;16898:6;16951:2;16939:9;16930:7;16926:23;16922:32;16919:52;;;16967:1;16964;16957:12;16919:52;16999:9;16993:16;17018:39;17051:5;17018:39;:::i;17445:470::-;17624:3;17662:6;17656:13;17678:53;17724:6;17719:3;17712:4;17704:6;17700:17;17678:53;:::i;:::-;17794:13;;17753:16;;;;17816:57;17794:13;17753:16;17850:4;17838:17;;17816:57;:::i;:::-;17889:20;;17445:470;-1:-1:-1;;;;17445:470:19:o;19092:502::-;-1:-1:-1;;;;;19355:32:19;;19337:51;;19424:3;19419:2;19404:18;;19397:31;;;-1:-1:-1;;19445:57:19;;19482:19;;19474:6;19445:57;:::i;:::-;19533:2;19518:18;;19511:34;;;;-1:-1:-1;19576:2:19;19561:18;19554:34;19437:65;19092:502;-1:-1:-1;;19092:502:19:o;19599:489::-;-1:-1:-1;;;;;19868:15:19;;;19850:34;;19920:15;;19915:2;19900:18;;19893:43;19967:2;19952:18;;19945:34;;;20015:3;20010:2;19995:18;;19988:31;;;19793:4;;20036:46;;20062:19;;20054:6;20036:46;:::i;:::-;20028:54;19599:489;-1:-1:-1;;;;;;19599:489:19:o;20093:249::-;20162:6;20215:2;20203:9;20194:7;20190:23;20186:32;20183:52;;;20231:1;20228;20221:12;20183:52;20263:9;20257:16;20282:30;20306:5;20282:30;:::i;20347:125::-;20387:4;20415:1;20412;20409:8;20406:34;;;20420:18;;:::i;:::-;-1:-1:-1;20457:9:19;;20347:125::o;20477:112::-;20509:1;20535;20525:35;;20540:18;;:::i;:::-;-1:-1:-1;20574:9:19;;20477:112::o
Swarm Source
ipfs://8a981a2a75d360ab5563697f60c0934f1e7a5e967fcdaacc46327dfbfac0604c
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.