Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
183 MOMENTS
Holders
154
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 MOMENTSLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Moments
Compiler Version
v0.8.6+commit.11564f7e
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.6; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "./base64.sol"; contract Moments is ERC721Enumerable, Ownable { using Strings for uint256; uint256 private _currentTokenId; uint256 private _priceInWei; mapping(uint256 => uint32) private _mintedTokenId2DateMap; mapping(uint32 => uint256[]) private _mintedDate2TokenIdsMap; bytes32 private _merkleRoot; mapping(address => bool) private _claimMap; constructor() ERC721("Moments N", "MOMENTS") { _currentTokenId = 1; _priceInWei = 30000000000000000; //0.03eth } function priceInWei() public view returns (uint256) { return _priceInWei; } function merkleRoot() public view returns (bytes32) { return _merkleRoot; } function isClaimed(address account) external view returns (bool) { return _claimMap[account]; } function getMintedTokenIds(uint32 date) public view returns (uint[] memory){ return _mintedDate2TokenIdsMap[date]; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "Moments: URI query for nonexistent token"); string memory svg1 = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 800"><defs><linearGradient id="b"><stop offset=".2" stop-color="#feac02"/><stop offset=".8" stop-color="#ff35b2"/></linearGradient><filter id="a"><feGaussianBlur stdDeviation="10"/></filter></defs><path fill="#01b9ff" d="M0 0h800v800H0z"/><g filter="url(#a)" fill="none"><path d="M0 0h800v800H0z"/><path stroke-linecap="round" stroke-linejoin="round" stroke-width="100" stroke="#000" d="m160 710 150-600 200 600 150-600"/></g><path stroke-linecap="round" stroke-linejoin="round" stroke-width="100" fill="none" stroke="url(#b)" d="m150 700 150-600 200 600 150-600"/><text x="50%" y="50%" stroke="#000" fill="#fff" font-size="100" font-weight="700" text-anchor="middle" dominant-baseline="central">'; string memory date = getDateString(_mintedTokenId2DateMap[tokenId]); string memory svg2 = '</text></svg>'; string memory image = string(abi.encodePacked(svg1,date,svg2)); string memory json = Base64.encode(bytes(string(abi.encodePacked('{"name": "Moments ', date, '", "description": "The minted date is embedded in the on-chain image.","attributes": [{"trait_type":"date","value":"' , date , '"}],"image": "data:image/svg+xml;base64,', Base64.encode(bytes(image)), '"}')))); return string(abi.encodePacked('data:application/json;base64,', json)); } function getDate(uint _timestamp) internal pure returns (uint32) { int __days = int(_timestamp/86400); int L = __days + 68569 + 2440588; int N = 4 * L / 146097; L = L - (146097 * N + 3) / 4; int _year = 4000 * (L + 1) / 1461001; L = L - 1461 * _year / 4 + 31; int _month = 80 * L / 2447; int _day = L - 2447 * _month / 80; L = _month / 11; _month = _month + 2 - 12 * L; _year = 100 * (N - 49) + _year + L; return uint32(uint256(_year * 10000 + _month * 100 + _day)); } function getDateString(uint32 _date) internal pure returns (string memory) { uint _year = uint(_date) / 10000; uint _month = (uint(_date) % 10000) / 100; uint _day = uint(_date) % 100; string memory separate1 = "/"; if(_month < 10)separate1 = "/0"; string memory separate2 = "/"; if(_day < 10)separate2 = "/0"; return string(abi.encodePacked(Strings.toString(_year),separate1,Strings.toString(_month),separate2,Strings.toString(_day))); } //****************************** // public functions //****************************** function mint(int256 timezoneOffset) external payable { require(msg.value == _priceInWei, "Moments: Invalid price"); require( -23 <= timezoneOffset && timezoneOffset <= 23, "Moments: Invalid timezoneOffset"); uint256 tokenId = _currentTokenId++; uint32 date = getDate(uint256(int256(block.timestamp) + timezoneOffset * int256(3600))); _mintedTokenId2DateMap[tokenId] = date; _mintedDate2TokenIdsMap[date].push(tokenId); _safeMint(msg.sender, tokenId); } function claim(int256 timezoneOffset, bytes32[] calldata merkleProof) external payable { require(_merkleRoot != "", "Moments: No merkle root"); require(!_claimMap[msg.sender], "Moments: Account minted token already"); require(MerkleProof.verify(merkleProof, _merkleRoot, keccak256(abi.encodePacked(msg.sender))), "Moments: Can not verify"); require( -23 <= timezoneOffset && timezoneOffset <= 23, "Moments: Invalid timezoneOffset"); _claimMap[msg.sender] = true; uint256 tokenId = _currentTokenId++; uint32 date = getDate(uint256(int256(block.timestamp) + timezoneOffset * int256(3600))); _mintedTokenId2DateMap[tokenId] = date; _mintedDate2TokenIdsMap[date].push(tokenId); _safeMint(msg.sender, tokenId); } //****************************** // admin functions //****************************** function setMerkleRoot(bytes32 __merkleRoot) external onlyOwner { _merkleRoot = __merkleRoot; } function setPrice(uint256 __priceInWei) external onlyOwner { _priceInWei = __priceInWei; } function withdraw(address payable to, uint256 amountInWei) external onlyOwner { Address.sendValue(to, amountInWei); } receive() external payable {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.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. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the merkle tree could be reinterpreted as a leaf value. */ 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 Merkle 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 "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/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/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0; /// @title Base64 /// @author Brecht Devos - <[email protected]> /// @notice Provides functions for encoding/decoding base64 library Base64 { string internal constant TABLE_ENCODE = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'; bytes internal constant TABLE_DECODE = hex"0000000000000000000000000000000000000000000000000000000000000000" hex"00000000000000000000003e0000003f3435363738393a3b3c3d000000000000" hex"00000102030405060708090a0b0c0d0e0f101112131415161718190000000000" hex"001a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132330000000000"; function encode(bytes memory data) internal pure returns (string memory) { if (data.length == 0) return ''; // load the table into memory string memory table = TABLE_ENCODE; // multiply by 4/3 rounded up uint256 encodedLen = 4 * ((data.length + 2) / 3); // add some extra buffer at the end required for the writing string memory result = new string(encodedLen + 32); assembly { // set the actual output length mstore(result, encodedLen) // prepare the lookup table let tablePtr := add(table, 1) // input ptr let dataPtr := data let endPtr := add(dataPtr, mload(data)) // result ptr, jump over length let resultPtr := add(result, 32) // run over the input, 3 bytes at a time for {} lt(dataPtr, endPtr) {} { // read 3 bytes dataPtr := add(dataPtr, 3) let input := mload(dataPtr) // write 4 characters mstore8(resultPtr, mload(add(tablePtr, and(shr(18, input), 0x3F)))) resultPtr := add(resultPtr, 1) mstore8(resultPtr, mload(add(tablePtr, and(shr(12, input), 0x3F)))) resultPtr := add(resultPtr, 1) mstore8(resultPtr, mload(add(tablePtr, and(shr( 6, input), 0x3F)))) resultPtr := add(resultPtr, 1) mstore8(resultPtr, mload(add(tablePtr, and( input, 0x3F)))) resultPtr := add(resultPtr, 1) } // padding with '=' switch mod(mload(data), 3) case 1 { mstore(sub(resultPtr, 2), shl(240, 0x3d3d)) } case 2 { mstore(sub(resultPtr, 1), shl(248, 0x3d)) } } return result; } function decode(string memory _data) internal pure returns (bytes memory) { bytes memory data = bytes(_data); if (data.length == 0) return new bytes(0); require(data.length % 4 == 0, "invalid base64 decoder input"); // load the table into memory bytes memory table = TABLE_DECODE; // every 4 characters represent 3 bytes uint256 decodedLen = (data.length / 4) * 3; // add some extra buffer at the end required for the writing bytes memory result = new bytes(decodedLen + 32); assembly { // padding with '=' let lastBytes := mload(add(data, mload(data))) if eq(and(lastBytes, 0xFF), 0x3d) { decodedLen := sub(decodedLen, 1) if eq(and(lastBytes, 0xFFFF), 0x3d3d) { decodedLen := sub(decodedLen, 1) } } // set the actual output length mstore(result, decodedLen) // prepare the lookup table let tablePtr := add(table, 1) // input ptr let dataPtr := data let endPtr := add(dataPtr, mload(data)) // result ptr, jump over length let resultPtr := add(result, 32) // run over the input, 4 characters at a time for {} lt(dataPtr, endPtr) {} { // read 4 characters dataPtr := add(dataPtr, 4) let input := mload(dataPtr) // write 3 bytes let output := add( add( shl(18, and(mload(add(tablePtr, and(shr(24, input), 0xFF))), 0xFF)), shl(12, and(mload(add(tablePtr, and(shr(16, input), 0xFF))), 0xFF))), add( shl( 6, and(mload(add(tablePtr, and(shr( 8, input), 0xFF))), 0xFF)), and(mload(add(tablePtr, and( input , 0xFF))), 0xFF) ) ) mstore(resultPtr, shl(232, output)) resultPtr := add(resultPtr, 3) } } return result; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * 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; /** * @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 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 the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (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 `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"int256","name":"timezoneOffset","type":"int256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"claim","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint32","name":"date","type":"uint32"}],"name":"getMintedTokenIds","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"int256","name":"timezoneOffset","type":"int256"}],"name":"mint","outputs":[],"stateMutability":"payable","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":"priceInWei","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"__merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"__priceInWei","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"to","type":"address"},{"internalType":"uint256","name":"amountInWei","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040523480156200001157600080fd5b506040518060400160405280600981526020017f4d6f6d656e7473204e00000000000000000000000000000000000000000000008152506040518060400160405280600781526020017f4d4f4d454e545300000000000000000000000000000000000000000000000000815250816000908051906020019062000096929190620001bc565b508060019080519060200190620000af929190620001bc565b505050620000d2620000c6620000ee60201b60201c565b620000f660201b60201c565b6001600b81905550666a94d74f430000600c81905550620002d1565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001ca906200026c565b90600052602060002090601f016020900481019282620001ee57600085556200023a565b82601f106200020957805160ff19168380011785556200023a565b828001600101855582156200023a579182015b82811115620002395782518255916020019190600101906200021c565b5b5090506200024991906200024d565b5090565b5b80821115620002685760008160009055506001016200024e565b5090565b600060028204905060018216806200028557607f821691505b602082108114156200029c576200029b620002a2565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b61546480620002e16000396000f3fe6080604052600436106101bb5760003560e01c806370a08231116100ec578063a22cb4651161008a578063c87b56dd11610064578063c87b56dd1461061f578063e985e9c51461065c578063f2fde38b14610699578063f3fef3a3146106c2576101c2565b8063a22cb465146105b1578063b88d4fde146105da578063bdbaae6314610603576101c2565b80638cc08025116100c65780638cc08025146104f55780638da5cb5b1461053257806391b7f5ed1461055d57806395d89b4114610586576101c2565b806370a0823114610478578063715018a6146104b55780637cb64759146104cc576101c2565b80632c7a34db116101595780633c8da588116101335780633c8da588146103aa57806342842e0e146103d55780634f6ccce7146103fe5780636352211e1461043b576101c2565b80632c7a34db146103265780632eb4a7ab146103425780632f745c591461036d576101c2565b8063095ea7b311610195578063095ea7b31461026c57806316563d5f1461029557806318160ddd146102d257806323b872dd146102fd576101c2565b806301ffc9a7146101c757806306fdde0314610204578063081812fc1461022f576101c2565b366101c257005b600080fd5b3480156101d357600080fd5b506101ee60048036038101906101e9919061345e565b6106eb565b6040516101fb9190613d0b565b60405180910390f35b34801561021057600080fd5b50610219610765565b6040516102269190613d41565b60405180910390f35b34801561023b57600080fd5b5061025660048036038101906102519190613545565b6107f7565b6040516102639190613c82565b60405180910390f35b34801561027857600080fd5b50610293600480360381019061028e91906133f1565b61087c565b005b3480156102a157600080fd5b506102bc60048036038101906102b79190613572565b610994565b6040516102c99190613ce9565b60405180910390f35b3480156102de57600080fd5b506102e7610a0b565b6040516102f49190614083565b60405180910390f35b34801561030957600080fd5b50610324600480360381019061031f91906132db565b610a18565b005b610340600480360381019061033b91906134e5565b610a78565b005b34801561034e57600080fd5b50610357610d8f565b6040516103649190613d26565b60405180910390f35b34801561037957600080fd5b50610394600480360381019061038f91906133f1565b610d99565b6040516103a19190614083565b60405180910390f35b3480156103b657600080fd5b506103bf610e3e565b6040516103cc9190614083565b60405180910390f35b3480156103e157600080fd5b506103fc60048036038101906103f791906132db565b610e48565b005b34801561040a57600080fd5b5061042560048036038101906104209190613545565b610e68565b6040516104329190614083565b60405180910390f35b34801561044757600080fd5b50610462600480360381019061045d9190613545565b610ed9565b60405161046f9190613c82565b60405180910390f35b34801561048457600080fd5b5061049f600480360381019061049a919061322e565b610f8b565b6040516104ac9190614083565b60405180910390f35b3480156104c157600080fd5b506104ca611043565b005b3480156104d857600080fd5b506104f360048036038101906104ee9190613431565b6110cb565b005b34801561050157600080fd5b5061051c6004803603810190610517919061322e565b611151565b6040516105299190613d0b565b60405180910390f35b34801561053e57600080fd5b506105476111a7565b6040516105549190613c82565b60405180910390f35b34801561056957600080fd5b50610584600480360381019061057f9190613545565b6111d1565b005b34801561059257600080fd5b5061059b611257565b6040516105a89190613d41565b60405180910390f35b3480156105bd57600080fd5b506105d860048036038101906105d391906133b1565b6112e9565b005b3480156105e657600080fd5b5061060160048036038101906105fc919061332e565b6112ff565b005b61061d600480360381019061061891906134b8565b611361565b005b34801561062b57600080fd5b5061064660048036038101906106419190613545565b6114dc565b6040516106539190613d41565b60405180910390f35b34801561066857600080fd5b50610683600480360381019061067e919061329b565b61163c565b6040516106909190613d0b565b60405180910390f35b3480156106a557600080fd5b506106c060048036038101906106bb919061322e565b6116d0565b005b3480156106ce57600080fd5b506106e960048036038101906106e4919061325b565b6117c8565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061075e575061075d82611852565b5b9050919050565b60606000805461077490614625565b80601f01602080910402602001604051908101604052809291908181526020018280546107a090614625565b80156107ed5780601f106107c2576101008083540402835291602001916107ed565b820191906000526020600020905b8154815290600101906020018083116107d057829003601f168201915b5050505050905090565b600061080282611934565b610841576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161083890613fc3565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061088782610ed9565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156108f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ef90614003565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166109176119a0565b73ffffffffffffffffffffffffffffffffffffffff1614806109465750610945816109406119a0565b61163c565b5b610985576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097c90613f43565b60405180910390fd5b61098f83836119a8565b505050565b6060600e60008363ffffffff1663ffffffff1681526020019081526020016000208054806020026020016040519081016040528092919081815260200182805480156109ff57602002820191906000526020600020905b8154815260200190600101908083116109eb575b50505050509050919050565b6000600880549050905090565b610a29610a236119a0565b82611a61565b610a68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a5f90614023565b60405180910390fd5b610a73838383611b3f565b505050565b6000600f541415610abe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ab590613f23565b60405180910390fd5b601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615610b4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4290613dc3565b60405180910390fd5b610bbf828280806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600f5433604051602001610ba49190613b57565b60405160208183030381529060405280519060200120611da6565b610bfe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf590613ea3565b60405180910390fd5b827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe913158015610c2f575060178313155b610c6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6590614063565b60405180910390fd5b6001601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506000600b6000815480929190610cdb90614688565b9190505590506000610d04610e1086610cf49190614300565b42610cff919061417b565b611dbd565b905080600d600084815260200190815260200160002060006101000a81548163ffffffff021916908363ffffffff160217905550600e60008263ffffffff1663ffffffff168152602001908152602001600020829080600181540180825580915050600190039060005260206000200160009091909190915055610d883383611f8e565b5050505050565b6000600f54905090565b6000610da483610f8b565b8210610de5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ddc90613d83565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6000600c54905090565b610e63838383604051806020016040528060008152506112ff565b505050565b6000610e72610a0b565b8210610eb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eaa90614043565b60405180910390fd5b60088281548110610ec757610ec66147e2565b5b90600052602060002001549050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610f82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7990613f83565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610ffc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff390613f63565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61104b6119a0565b73ffffffffffffffffffffffffffffffffffffffff166110696111a7565b73ffffffffffffffffffffffffffffffffffffffff16146110bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b690613fe3565b60405180910390fd5b6110c96000611fac565b565b6110d36119a0565b73ffffffffffffffffffffffffffffffffffffffff166110f16111a7565b73ffffffffffffffffffffffffffffffffffffffff1614611147576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113e90613fe3565b60405180910390fd5b80600f8190555050565b6000601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6111d96119a0565b73ffffffffffffffffffffffffffffffffffffffff166111f76111a7565b73ffffffffffffffffffffffffffffffffffffffff161461124d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124490613fe3565b60405180910390fd5b80600c8190555050565b60606001805461126690614625565b80601f016020809104026020016040519081016040528092919081815260200182805461129290614625565b80156112df5780601f106112b4576101008083540402835291602001916112df565b820191906000526020600020905b8154815290600101906020018083116112c257829003601f168201915b5050505050905090565b6112fb6112f46119a0565b8383612072565b5050565b61131061130a6119a0565b83611a61565b61134f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134690614023565b60405180910390fd5b61135b848484846121df565b50505050565b600c5434146113a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139c90613d63565b60405180910390fd5b807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe9131580156113d6575060178113155b611415576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140c90614063565b60405180910390fd5b6000600b600081548092919061142a90614688565b9190505590506000611453610e10846114439190614300565b4261144e919061417b565b611dbd565b905080600d600084815260200190815260200160002060006101000a81548163ffffffff021916908363ffffffff160217905550600e60008263ffffffff1663ffffffff1681526020019081526020016000208290806001815401808255809150506001900390600052602060002001600090919091909150556114d73383611f8e565b505050565b60606114e782611934565b611526576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151d90613de3565b60405180910390fd5b60006040518061032001604052806102f181526020016150fe6102f1913990506000611574600d600086815260200190815260200160002060009054906101000a900463ffffffff1661223b565b905060006040518060400160405280600d81526020017f3c2f746578743e3c2f7376673e00000000000000000000000000000000000000815250905060008383836040516020016115c793929190613b72565b6040516020818303038152906040529050600061160e84856115e8856123d4565b6040516020016115fa93929190613bee565b6040516020818303038152906040526123d4565b9050806040516020016116219190613c4b565b60405160208183030381529060405295505050505050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6116d86119a0565b73ffffffffffffffffffffffffffffffffffffffff166116f66111a7565b73ffffffffffffffffffffffffffffffffffffffff161461174c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174390613fe3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156117bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117b390613e03565b60405180910390fd5b6117c581611fac565b50565b6117d06119a0565b73ffffffffffffffffffffffffffffffffffffffff166117ee6111a7565b73ffffffffffffffffffffffffffffffffffffffff1614611844576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183b90613fe3565b60405180910390fd5b61184e828261254d565b5050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061191d57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061192d575061192c82612641565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611a1b83610ed9565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611a6c82611934565b611aab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aa290613f03565b60405180910390fd5b6000611ab683610ed9565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611af85750611af7818561163c565b5b80611b3657508373ffffffffffffffffffffffffffffffffffffffff16611b1e846107f7565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611b5f82610ed9565b73ffffffffffffffffffffffffffffffffffffffff1614611bb5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bac90613e23565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c1c90613e63565b60405180910390fd5b611c308383836126ab565b611c3b6000826119a8565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611c8b9190614505565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ce2919061420f565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611da18383836127bf565b505050565b600082611db385846127c4565b1490509392505050565b6000806201518083611dcf91906142cf565b9050600062253d8c62010bd983611de6919061417b565b611df0919061417b565b9050600062023ab1826004611e059190614300565b611e0f9190614265565b9050600460038262023ab1611e249190614300565b611e2e919061417b565b611e389190614265565b82611e439190614471565b9150600062164b09600184611e58919061417b565b610fa0611e659190614300565b611e6f9190614265565b9050601f6004826105b5611e839190614300565b611e8d9190614265565b84611e989190614471565b611ea2919061417b565b9250600061098f846050611eb69190614300565b611ec09190614265565b9050600060508261098f611ed49190614300565b611ede9190614265565b85611ee99190614471565b9050600b82611ef89190614265565b945084600c611f079190614300565b600283611f14919061417b565b611f1e9190614471565b91508483603186611f2f9190614471565b6064611f3b9190614300565b611f45919061417b565b611f4f919061417b565b925080606483611f5f9190614300565b61271085611f6d9190614300565b611f77919061417b565b611f81919061417b565b9650505050505050919050565b611fa8828260405180602001604052806000815250612839565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156120e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120d890613e83565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516121d29190613d0b565b60405180910390a3505050565b6121ea848484611b3f565b6121f684848484612894565b612235576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161222c90613da3565b60405180910390fd5b50505050565b606060006127108363ffffffff1661225391906142cf565b9050600060646127108563ffffffff1661226d91906146f5565b61227791906142cf565b9050600060648563ffffffff1661228e91906146f5565b905060006040518060400160405280600181526020017f2f000000000000000000000000000000000000000000000000000000000000008152509050600a83101561230c576040518060400160405280600281526020017f2f3000000000000000000000000000000000000000000000000000000000000081525090505b60006040518060400160405280600181526020017f2f000000000000000000000000000000000000000000000000000000000000008152509050600a831015612388576040518060400160405280600281526020017f2f3000000000000000000000000000000000000000000000000000000000000081525090505b61239185612a2b565b8261239b86612a2b565b836123a587612a2b565b6040516020016123b9959493929190613ba3565b60405160208183030381529060405295505050505050919050565b60606000825114156123f757604051806020016040528060008152509050612548565b60006040518060600160405280604081526020016153ef6040913990506000600360028551612426919061420f565b61243091906142cf565b600461243c9190614417565b9050600060208261244d919061420f565b67ffffffffffffffff81111561246657612465614811565b5b6040519080825280601f01601f1916602001820160405280156124985781602001600182028036833780820191505090505b509050818152600183018586518101602084015b81831015612507576003830192508251603f8160121c168501518253600182019150603f81600c1c168501518253600182019150603f8160061c168501518253600182019150603f81168501518253600182019150506124ac565b60038951066001811461252157600281146125315761253c565b613d3d60f01b600283035261253c565b603d60f81b60018303525b50505050508093505050505b919050565b80471015612590576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161258790613ee3565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516125b690613c6d565b60006040518083038185875af1925050503d80600081146125f3576040519150601f19603f3d011682016040523d82523d6000602084013e6125f8565b606091505b505090508061263c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161263390613ec3565b60405180910390fd5b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6126b6838383612b8c565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156126f9576126f481612b91565b612738565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612737576127368382612bda565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561277b5761277681612d47565b6127ba565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146127b9576127b88282612e18565b5b5b505050565b505050565b60008082905060005b845181101561282e5760008582815181106127eb576127ea6147e2565b5b6020026020010151905080831161280d576128068382612e97565b925061281a565b6128178184612e97565b92505b50808061282690614688565b9150506127cd565b508091505092915050565b6128438383612eae565b6128506000848484612894565b61288f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161288690613da3565b60405180910390fd5b505050565b60006128b58473ffffffffffffffffffffffffffffffffffffffff16613088565b15612a1e578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026128de6119a0565b8786866040518563ffffffff1660e01b81526004016129009493929190613c9d565b602060405180830381600087803b15801561291a57600080fd5b505af192505050801561294b57506040513d601f19601f82011682018060405250810190612948919061348b565b60015b6129ce573d806000811461297b576040519150601f19603f3d011682016040523d82523d6000602084013e612980565b606091505b506000815114156129c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129bd90613da3565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612a23565b600190505b949350505050565b60606000821415612a73576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612b87565b600082905060005b60008214612aa5578080612a8e90614688565b915050600a82612a9e91906142cf565b9150612a7b565b60008167ffffffffffffffff811115612ac157612ac0614811565b5b6040519080825280601f01601f191660200182016040528015612af35781602001600182028036833780820191505090505b5090505b60008514612b8057600182612b0c9190614505565b9150600a85612b1b91906146f5565b6030612b27919061420f565b60f81b818381518110612b3d57612b3c6147e2565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612b7991906142cf565b9450612af7565b8093505050505b919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612be784610f8b565b612bf19190614505565b9050600060076000848152602001908152602001600020549050818114612cd6576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612d5b9190614505565b9050600060096000848152602001908152602001600020549050600060088381548110612d8b57612d8a6147e2565b5b906000526020600020015490508060088381548110612dad57612dac6147e2565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612dfc57612dfb6147b3565b5b6001900381819060005260206000200160009055905550505050565b6000612e2383610f8b565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600082600052816020526040600020905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612f1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f1590613fa3565b60405180910390fd5b612f2781611934565b15612f67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f5e90613e43565b60405180910390fd5b612f73600083836126ab565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612fc3919061420f565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613084600083836127bf565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60006130be6130b9846140c3565b61409e565b9050828152602081018484840111156130da576130d961484f565b5b6130e58482856145e3565b509392505050565b6000813590506130fc81615045565b92915050565b6000813590506131118161505c565b92915050565b60008083601f84011261312d5761312c614845565b5b8235905067ffffffffffffffff81111561314a57613149614840565b5b6020830191508360208202830111156131665761316561484a565b5b9250929050565b60008135905061317c81615073565b92915050565b6000813590506131918161508a565b92915050565b6000813590506131a6816150a1565b92915050565b6000815190506131bb816150a1565b92915050565b600082601f8301126131d6576131d5614845565b5b81356131e68482602086016130ab565b91505092915050565b6000813590506131fe816150b8565b92915050565b600081359050613213816150cf565b92915050565b600081359050613228816150e6565b92915050565b60006020828403121561324457613243614859565b5b6000613252848285016130ed565b91505092915050565b6000806040838503121561327257613271614859565b5b600061328085828601613102565b925050602061329185828601613204565b9150509250929050565b600080604083850312156132b2576132b1614859565b5b60006132c0858286016130ed565b92505060206132d1858286016130ed565b9150509250929050565b6000806000606084860312156132f4576132f3614859565b5b6000613302868287016130ed565b9350506020613313868287016130ed565b925050604061332486828701613204565b9150509250925092565b6000806000806080858703121561334857613347614859565b5b6000613356878288016130ed565b9450506020613367878288016130ed565b935050604061337887828801613204565b925050606085013567ffffffffffffffff81111561339957613398614854565b5b6133a5878288016131c1565b91505092959194509250565b600080604083850312156133c8576133c7614859565b5b60006133d6858286016130ed565b92505060206133e78582860161316d565b9150509250929050565b6000806040838503121561340857613407614859565b5b6000613416858286016130ed565b925050602061342785828601613204565b9150509250929050565b60006020828403121561344757613446614859565b5b600061345584828501613182565b91505092915050565b60006020828403121561347457613473614859565b5b600061348284828501613197565b91505092915050565b6000602082840312156134a1576134a0614859565b5b60006134af848285016131ac565b91505092915050565b6000602082840312156134ce576134cd614859565b5b60006134dc848285016131ef565b91505092915050565b6000806000604084860312156134fe576134fd614859565b5b600061350c868287016131ef565b935050602084013567ffffffffffffffff81111561352d5761352c614854565b5b61353986828701613117565b92509250509250925092565b60006020828403121561355b5761355a614859565b5b600061356984828501613204565b91505092915050565b60006020828403121561358857613587614859565b5b600061359684828501613219565b91505092915050565b60006135ab8383613b39565b60208301905092915050565b6135c081614539565b82525050565b6135d76135d282614539565b6146d1565b82525050565b60006135e882614104565b6135f28185614132565b93506135fd836140f4565b8060005b8381101561362e578151613615888261359f565b975061362083614125565b925050600181019050613601565b5085935050505092915050565b6136448161455d565b82525050565b61365381614569565b82525050565b60006136648261410f565b61366e8185614143565b935061367e8185602086016145f2565b6136878161485e565b840191505092915050565b600061369d8261411a565b6136a7818561415f565b93506136b78185602086016145f2565b6136c08161485e565b840191505092915050565b60006136d68261411a565b6136e08185614170565b93506136f08185602086016145f2565b80840191505092915050565b6000613709602883614170565b91506137148261487c565b602882019050919050565b600061372c60168361415f565b9150613737826148cb565b602082019050919050565b600061374f602b8361415f565b915061375a826148f4565b604082019050919050565b600061377260328361415f565b915061377d82614943565b604082019050919050565b600061379560258361415f565b91506137a082614992565b604082019050919050565b60006137b860288361415f565b91506137c3826149e1565b604082019050919050565b60006137db60268361415f565b91506137e682614a30565b604082019050919050565b60006137fe60258361415f565b915061380982614a7f565b604082019050919050565b6000613821601c8361415f565b915061382c82614ace565b602082019050919050565b600061384460248361415f565b915061384f82614af7565b604082019050919050565b600061386760198361415f565b915061387282614b46565b602082019050919050565b600061388a60178361415f565b915061389582614b6f565b602082019050919050565b60006138ad603a8361415f565b91506138b882614b98565b604082019050919050565b60006138d0601283614170565b91506138db82614be7565b601282019050919050565b60006138f3601d8361415f565b91506138fe82614c10565b602082019050919050565b6000613916602c8361415f565b915061392182614c39565b604082019050919050565b600061393960178361415f565b915061394482614c88565b602082019050919050565b600061395c60388361415f565b915061396782614cb1565b604082019050919050565b600061397f602a8361415f565b915061398a82614d00565b604082019050919050565b60006139a260298361415f565b91506139ad82614d4f565b604082019050919050565b60006139c5607483614170565b91506139d082614d9e565b607482019050919050565b60006139e8600283614170565b91506139f382614e39565b600282019050919050565b6000613a0b60208361415f565b9150613a1682614e62565b602082019050919050565b6000613a2e602c8361415f565b9150613a3982614e8b565b604082019050919050565b6000613a5160208361415f565b9150613a5c82614eda565b602082019050919050565b6000613a7460218361415f565b9150613a7f82614f03565b604082019050919050565b6000613a97601d83614170565b9150613aa282614f52565b601d82019050919050565b6000613aba600083614154565b9150613ac582614f7b565b600082019050919050565b6000613add60318361415f565b9150613ae882614f7e565b604082019050919050565b6000613b00602c8361415f565b9150613b0b82614fcd565b604082019050919050565b6000613b23601f8361415f565b9150613b2e8261501c565b602082019050919050565b613b42816145c9565b82525050565b613b51816145c9565b82525050565b6000613b6382846135c6565b60148201915081905092915050565b6000613b7e82866136cb565b9150613b8a82856136cb565b9150613b9682846136cb565b9150819050949350505050565b6000613baf82886136cb565b9150613bbb82876136cb565b9150613bc782866136cb565b9150613bd382856136cb565b9150613bdf82846136cb565b91508190509695505050505050565b6000613bf9826138c3565b9150613c0582866136cb565b9150613c10826139b8565b9150613c1c82856136cb565b9150613c27826136fc565b9150613c3382846136cb565b9150613c3e826139db565b9150819050949350505050565b6000613c5682613a8a565b9150613c6282846136cb565b915081905092915050565b6000613c7882613aad565b9150819050919050565b6000602082019050613c9760008301846135b7565b92915050565b6000608082019050613cb260008301876135b7565b613cbf60208301866135b7565b613ccc6040830185613b48565b8181036060830152613cde8184613659565b905095945050505050565b60006020820190508181036000830152613d0381846135dd565b905092915050565b6000602082019050613d20600083018461363b565b92915050565b6000602082019050613d3b600083018461364a565b92915050565b60006020820190508181036000830152613d5b8184613692565b905092915050565b60006020820190508181036000830152613d7c8161371f565b9050919050565b60006020820190508181036000830152613d9c81613742565b9050919050565b60006020820190508181036000830152613dbc81613765565b9050919050565b60006020820190508181036000830152613ddc81613788565b9050919050565b60006020820190508181036000830152613dfc816137ab565b9050919050565b60006020820190508181036000830152613e1c816137ce565b9050919050565b60006020820190508181036000830152613e3c816137f1565b9050919050565b60006020820190508181036000830152613e5c81613814565b9050919050565b60006020820190508181036000830152613e7c81613837565b9050919050565b60006020820190508181036000830152613e9c8161385a565b9050919050565b60006020820190508181036000830152613ebc8161387d565b9050919050565b60006020820190508181036000830152613edc816138a0565b9050919050565b60006020820190508181036000830152613efc816138e6565b9050919050565b60006020820190508181036000830152613f1c81613909565b9050919050565b60006020820190508181036000830152613f3c8161392c565b9050919050565b60006020820190508181036000830152613f5c8161394f565b9050919050565b60006020820190508181036000830152613f7c81613972565b9050919050565b60006020820190508181036000830152613f9c81613995565b9050919050565b60006020820190508181036000830152613fbc816139fe565b9050919050565b60006020820190508181036000830152613fdc81613a21565b9050919050565b60006020820190508181036000830152613ffc81613a44565b9050919050565b6000602082019050818103600083015261401c81613a67565b9050919050565b6000602082019050818103600083015261403c81613ad0565b9050919050565b6000602082019050818103600083015261405c81613af3565b9050919050565b6000602082019050818103600083015261407c81613b16565b9050919050565b60006020820190506140986000830184613b48565b92915050565b60006140a86140b9565b90506140b48282614657565b919050565b6000604051905090565b600067ffffffffffffffff8211156140de576140dd614811565b5b6140e78261485e565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006141868261459f565b91506141918361459f565b9250817f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038313600083121516156141cc576141cb614726565b5b817f800000000000000000000000000000000000000000000000000000000000000003831260008312161561420457614203614726565b5b828201905092915050565b600061421a826145c9565b9150614225836145c9565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561425a57614259614726565b5b828201905092915050565b60006142708261459f565b915061427b8361459f565b92508261428b5761428a614755565b5b600160000383147f8000000000000000000000000000000000000000000000000000000000000000831416156142c4576142c3614726565b5b828205905092915050565b60006142da826145c9565b91506142e5836145c9565b9250826142f5576142f4614755565b5b828204905092915050565b600061430b8261459f565b91506143168361459f565b9250827f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048211600084136000841316161561435557614354614726565b5b817f8000000000000000000000000000000000000000000000000000000000000000058312600084126000841316161561439257614391614726565b5b827f800000000000000000000000000000000000000000000000000000000000000005821260008413600084121616156143cf576143ce614726565b5b827f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff058212600084126000841216161561440c5761440b614726565b5b828202905092915050565b6000614422826145c9565b915061442d836145c9565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561446657614465614726565b5b828202905092915050565b600061447c8261459f565b91506144878361459f565b9250827f8000000000000000000000000000000000000000000000000000000000000000018212600084121516156144c2576144c1614726565b5b827f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0182136000841216156144fa576144f9614726565b5b828203905092915050565b6000614510826145c9565b915061451b836145c9565b92508282101561452e5761452d614726565b5b828203905092915050565b6000614544826145a9565b9050919050565b6000614556826145a9565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600063ffffffff82169050919050565b82818337600083830152505050565b60005b838110156146105780820151818401526020810190506145f5565b8381111561461f576000848401525b50505050565b6000600282049050600182168061463d57607f821691505b6020821081141561465157614650614784565b5b50919050565b6146608261485e565b810181811067ffffffffffffffff8211171561467f5761467e614811565b5b80604052505050565b6000614693826145c9565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156146c6576146c5614726565b5b600182019050919050565b60006146dc826146e3565b9050919050565b60006146ee8261486f565b9050919050565b6000614700826145c9565b915061470b836145c9565b92508261471b5761471a614755565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f227d5d2c22696d616765223a2022646174613a696d6167652f7376672b786d6c60008201527f3b6261736536342c000000000000000000000000000000000000000000000000602082015250565b7f4d6f6d656e74733a20496e76616c696420707269636500000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4d6f6d656e74733a204163636f756e74206d696e74656420746f6b656e20616c60008201527f7265616479000000000000000000000000000000000000000000000000000000602082015250565b7f4d6f6d656e74733a2055524920717565727920666f72206e6f6e65786973746560008201527f6e7420746f6b656e000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4d6f6d656e74733a2043616e206e6f7420766572696679000000000000000000600082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f7b226e616d65223a20224d6f6d656e7473200000000000000000000000000000600082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4d6f6d656e74733a204e6f206d65726b6c6520726f6f74000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f222c20226465736372697074696f6e223a2022546865206d696e74656420646160008201527f746520697320656d62656464656420696e20746865206f6e2d636861696e206960208201527f6d6167652e222c2261747472696275746573223a205b7b2274726169745f747960408201527f7065223a2264617465222c2276616c7565223a22000000000000000000000000606082015250565b7f227d000000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f4d6f6d656e74733a20496e76616c69642074696d657a6f6e654f666673657400600082015250565b61504e81614539565b811461505957600080fd5b50565b6150658161454b565b811461507057600080fd5b50565b61507c8161455d565b811461508757600080fd5b50565b61509381614569565b811461509e57600080fd5b50565b6150aa81614573565b81146150b557600080fd5b50565b6150c18161459f565b81146150cc57600080fd5b50565b6150d8816145c9565b81146150e357600080fd5b50565b6150ef816145d3565b81146150fa57600080fd5b5056fe3c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f737667222076696577426f783d223020302038303020383030223e3c646566733e3c6c696e6561724772616469656e742069643d2262223e3c73746f70206f66667365743d222e32222073746f702d636f6c6f723d2223666561633032222f3e3c73746f70206f66667365743d222e38222073746f702d636f6c6f723d2223666633356232222f3e3c2f6c696e6561724772616469656e743e3c66696c7465722069643d2261223e3c6665476175737369616e426c757220737464446576696174696f6e3d223130222f3e3c2f66696c7465723e3c2f646566733e3c706174682066696c6c3d22233031623966662220643d224d302030683830307638303048307a222f3e3c672066696c7465723d2275726c28236129222066696c6c3d226e6f6e65223e3c7061746820643d224d302030683830307638303048307a222f3e3c70617468207374726f6b652d6c696e656361703d22726f756e6422207374726f6b652d6c696e656a6f696e3d22726f756e6422207374726f6b652d77696474683d2231303022207374726f6b653d22233030302220643d226d31363020373130203135302d3630302032303020363030203135302d363030222f3e3c2f673e3c70617468207374726f6b652d6c696e656361703d22726f756e6422207374726f6b652d6c696e656a6f696e3d22726f756e6422207374726f6b652d77696474683d22313030222066696c6c3d226e6f6e6522207374726f6b653d2275726c282362292220643d226d31353020373030203135302d3630302032303020363030203135302d363030222f3e3c7465787420783d223530252220793d2235302522207374726f6b653d2223303030222066696c6c3d22236666662220666f6e742d73697a653d223130302220666f6e742d7765696768743d223730302220746578742d616e63686f723d226d6964646c652220646f6d696e616e742d626173656c696e653d2263656e7472616c223e4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa26469706673582212203310b1905abd88b1ca6557354f5e31e756c5c893c93c89204778af6d6de6358e64736f6c63430008060033
Deployed Bytecode
0x6080604052600436106101bb5760003560e01c806370a08231116100ec578063a22cb4651161008a578063c87b56dd11610064578063c87b56dd1461061f578063e985e9c51461065c578063f2fde38b14610699578063f3fef3a3146106c2576101c2565b8063a22cb465146105b1578063b88d4fde146105da578063bdbaae6314610603576101c2565b80638cc08025116100c65780638cc08025146104f55780638da5cb5b1461053257806391b7f5ed1461055d57806395d89b4114610586576101c2565b806370a0823114610478578063715018a6146104b55780637cb64759146104cc576101c2565b80632c7a34db116101595780633c8da588116101335780633c8da588146103aa57806342842e0e146103d55780634f6ccce7146103fe5780636352211e1461043b576101c2565b80632c7a34db146103265780632eb4a7ab146103425780632f745c591461036d576101c2565b8063095ea7b311610195578063095ea7b31461026c57806316563d5f1461029557806318160ddd146102d257806323b872dd146102fd576101c2565b806301ffc9a7146101c757806306fdde0314610204578063081812fc1461022f576101c2565b366101c257005b600080fd5b3480156101d357600080fd5b506101ee60048036038101906101e9919061345e565b6106eb565b6040516101fb9190613d0b565b60405180910390f35b34801561021057600080fd5b50610219610765565b6040516102269190613d41565b60405180910390f35b34801561023b57600080fd5b5061025660048036038101906102519190613545565b6107f7565b6040516102639190613c82565b60405180910390f35b34801561027857600080fd5b50610293600480360381019061028e91906133f1565b61087c565b005b3480156102a157600080fd5b506102bc60048036038101906102b79190613572565b610994565b6040516102c99190613ce9565b60405180910390f35b3480156102de57600080fd5b506102e7610a0b565b6040516102f49190614083565b60405180910390f35b34801561030957600080fd5b50610324600480360381019061031f91906132db565b610a18565b005b610340600480360381019061033b91906134e5565b610a78565b005b34801561034e57600080fd5b50610357610d8f565b6040516103649190613d26565b60405180910390f35b34801561037957600080fd5b50610394600480360381019061038f91906133f1565b610d99565b6040516103a19190614083565b60405180910390f35b3480156103b657600080fd5b506103bf610e3e565b6040516103cc9190614083565b60405180910390f35b3480156103e157600080fd5b506103fc60048036038101906103f791906132db565b610e48565b005b34801561040a57600080fd5b5061042560048036038101906104209190613545565b610e68565b6040516104329190614083565b60405180910390f35b34801561044757600080fd5b50610462600480360381019061045d9190613545565b610ed9565b60405161046f9190613c82565b60405180910390f35b34801561048457600080fd5b5061049f600480360381019061049a919061322e565b610f8b565b6040516104ac9190614083565b60405180910390f35b3480156104c157600080fd5b506104ca611043565b005b3480156104d857600080fd5b506104f360048036038101906104ee9190613431565b6110cb565b005b34801561050157600080fd5b5061051c6004803603810190610517919061322e565b611151565b6040516105299190613d0b565b60405180910390f35b34801561053e57600080fd5b506105476111a7565b6040516105549190613c82565b60405180910390f35b34801561056957600080fd5b50610584600480360381019061057f9190613545565b6111d1565b005b34801561059257600080fd5b5061059b611257565b6040516105a89190613d41565b60405180910390f35b3480156105bd57600080fd5b506105d860048036038101906105d391906133b1565b6112e9565b005b3480156105e657600080fd5b5061060160048036038101906105fc919061332e565b6112ff565b005b61061d600480360381019061061891906134b8565b611361565b005b34801561062b57600080fd5b5061064660048036038101906106419190613545565b6114dc565b6040516106539190613d41565b60405180910390f35b34801561066857600080fd5b50610683600480360381019061067e919061329b565b61163c565b6040516106909190613d0b565b60405180910390f35b3480156106a557600080fd5b506106c060048036038101906106bb919061322e565b6116d0565b005b3480156106ce57600080fd5b506106e960048036038101906106e4919061325b565b6117c8565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061075e575061075d82611852565b5b9050919050565b60606000805461077490614625565b80601f01602080910402602001604051908101604052809291908181526020018280546107a090614625565b80156107ed5780601f106107c2576101008083540402835291602001916107ed565b820191906000526020600020905b8154815290600101906020018083116107d057829003601f168201915b5050505050905090565b600061080282611934565b610841576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161083890613fc3565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061088782610ed9565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156108f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ef90614003565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166109176119a0565b73ffffffffffffffffffffffffffffffffffffffff1614806109465750610945816109406119a0565b61163c565b5b610985576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097c90613f43565b60405180910390fd5b61098f83836119a8565b505050565b6060600e60008363ffffffff1663ffffffff1681526020019081526020016000208054806020026020016040519081016040528092919081815260200182805480156109ff57602002820191906000526020600020905b8154815260200190600101908083116109eb575b50505050509050919050565b6000600880549050905090565b610a29610a236119a0565b82611a61565b610a68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a5f90614023565b60405180910390fd5b610a73838383611b3f565b505050565b6000600f541415610abe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ab590613f23565b60405180910390fd5b601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615610b4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4290613dc3565b60405180910390fd5b610bbf828280806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600f5433604051602001610ba49190613b57565b60405160208183030381529060405280519060200120611da6565b610bfe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf590613ea3565b60405180910390fd5b827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe913158015610c2f575060178313155b610c6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c6590614063565b60405180910390fd5b6001601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506000600b6000815480929190610cdb90614688565b9190505590506000610d04610e1086610cf49190614300565b42610cff919061417b565b611dbd565b905080600d600084815260200190815260200160002060006101000a81548163ffffffff021916908363ffffffff160217905550600e60008263ffffffff1663ffffffff168152602001908152602001600020829080600181540180825580915050600190039060005260206000200160009091909190915055610d883383611f8e565b5050505050565b6000600f54905090565b6000610da483610f8b565b8210610de5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ddc90613d83565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6000600c54905090565b610e63838383604051806020016040528060008152506112ff565b505050565b6000610e72610a0b565b8210610eb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eaa90614043565b60405180910390fd5b60088281548110610ec757610ec66147e2565b5b90600052602060002001549050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610f82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7990613f83565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610ffc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff390613f63565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61104b6119a0565b73ffffffffffffffffffffffffffffffffffffffff166110696111a7565b73ffffffffffffffffffffffffffffffffffffffff16146110bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b690613fe3565b60405180910390fd5b6110c96000611fac565b565b6110d36119a0565b73ffffffffffffffffffffffffffffffffffffffff166110f16111a7565b73ffffffffffffffffffffffffffffffffffffffff1614611147576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113e90613fe3565b60405180910390fd5b80600f8190555050565b6000601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6111d96119a0565b73ffffffffffffffffffffffffffffffffffffffff166111f76111a7565b73ffffffffffffffffffffffffffffffffffffffff161461124d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124490613fe3565b60405180910390fd5b80600c8190555050565b60606001805461126690614625565b80601f016020809104026020016040519081016040528092919081815260200182805461129290614625565b80156112df5780601f106112b4576101008083540402835291602001916112df565b820191906000526020600020905b8154815290600101906020018083116112c257829003601f168201915b5050505050905090565b6112fb6112f46119a0565b8383612072565b5050565b61131061130a6119a0565b83611a61565b61134f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134690614023565b60405180910390fd5b61135b848484846121df565b50505050565b600c5434146113a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161139c90613d63565b60405180910390fd5b807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe9131580156113d6575060178113155b611415576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161140c90614063565b60405180910390fd5b6000600b600081548092919061142a90614688565b9190505590506000611453610e10846114439190614300565b4261144e919061417b565b611dbd565b905080600d600084815260200190815260200160002060006101000a81548163ffffffff021916908363ffffffff160217905550600e60008263ffffffff1663ffffffff1681526020019081526020016000208290806001815401808255809150506001900390600052602060002001600090919091909150556114d73383611f8e565b505050565b60606114e782611934565b611526576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151d90613de3565b60405180910390fd5b60006040518061032001604052806102f181526020016150fe6102f1913990506000611574600d600086815260200190815260200160002060009054906101000a900463ffffffff1661223b565b905060006040518060400160405280600d81526020017f3c2f746578743e3c2f7376673e00000000000000000000000000000000000000815250905060008383836040516020016115c793929190613b72565b6040516020818303038152906040529050600061160e84856115e8856123d4565b6040516020016115fa93929190613bee565b6040516020818303038152906040526123d4565b9050806040516020016116219190613c4b565b60405160208183030381529060405295505050505050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6116d86119a0565b73ffffffffffffffffffffffffffffffffffffffff166116f66111a7565b73ffffffffffffffffffffffffffffffffffffffff161461174c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174390613fe3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156117bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117b390613e03565b60405180910390fd5b6117c581611fac565b50565b6117d06119a0565b73ffffffffffffffffffffffffffffffffffffffff166117ee6111a7565b73ffffffffffffffffffffffffffffffffffffffff1614611844576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183b90613fe3565b60405180910390fd5b61184e828261254d565b5050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061191d57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061192d575061192c82612641565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611a1b83610ed9565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611a6c82611934565b611aab576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aa290613f03565b60405180910390fd5b6000611ab683610ed9565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611af85750611af7818561163c565b5b80611b3657508373ffffffffffffffffffffffffffffffffffffffff16611b1e846107f7565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611b5f82610ed9565b73ffffffffffffffffffffffffffffffffffffffff1614611bb5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bac90613e23565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c1c90613e63565b60405180910390fd5b611c308383836126ab565b611c3b6000826119a8565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611c8b9190614505565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ce2919061420f565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611da18383836127bf565b505050565b600082611db385846127c4565b1490509392505050565b6000806201518083611dcf91906142cf565b9050600062253d8c62010bd983611de6919061417b565b611df0919061417b565b9050600062023ab1826004611e059190614300565b611e0f9190614265565b9050600460038262023ab1611e249190614300565b611e2e919061417b565b611e389190614265565b82611e439190614471565b9150600062164b09600184611e58919061417b565b610fa0611e659190614300565b611e6f9190614265565b9050601f6004826105b5611e839190614300565b611e8d9190614265565b84611e989190614471565b611ea2919061417b565b9250600061098f846050611eb69190614300565b611ec09190614265565b9050600060508261098f611ed49190614300565b611ede9190614265565b85611ee99190614471565b9050600b82611ef89190614265565b945084600c611f079190614300565b600283611f14919061417b565b611f1e9190614471565b91508483603186611f2f9190614471565b6064611f3b9190614300565b611f45919061417b565b611f4f919061417b565b925080606483611f5f9190614300565b61271085611f6d9190614300565b611f77919061417b565b611f81919061417b565b9650505050505050919050565b611fa8828260405180602001604052806000815250612839565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156120e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120d890613e83565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516121d29190613d0b565b60405180910390a3505050565b6121ea848484611b3f565b6121f684848484612894565b612235576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161222c90613da3565b60405180910390fd5b50505050565b606060006127108363ffffffff1661225391906142cf565b9050600060646127108563ffffffff1661226d91906146f5565b61227791906142cf565b9050600060648563ffffffff1661228e91906146f5565b905060006040518060400160405280600181526020017f2f000000000000000000000000000000000000000000000000000000000000008152509050600a83101561230c576040518060400160405280600281526020017f2f3000000000000000000000000000000000000000000000000000000000000081525090505b60006040518060400160405280600181526020017f2f000000000000000000000000000000000000000000000000000000000000008152509050600a831015612388576040518060400160405280600281526020017f2f3000000000000000000000000000000000000000000000000000000000000081525090505b61239185612a2b565b8261239b86612a2b565b836123a587612a2b565b6040516020016123b9959493929190613ba3565b60405160208183030381529060405295505050505050919050565b60606000825114156123f757604051806020016040528060008152509050612548565b60006040518060600160405280604081526020016153ef6040913990506000600360028551612426919061420f565b61243091906142cf565b600461243c9190614417565b9050600060208261244d919061420f565b67ffffffffffffffff81111561246657612465614811565b5b6040519080825280601f01601f1916602001820160405280156124985781602001600182028036833780820191505090505b509050818152600183018586518101602084015b81831015612507576003830192508251603f8160121c168501518253600182019150603f81600c1c168501518253600182019150603f8160061c168501518253600182019150603f81168501518253600182019150506124ac565b60038951066001811461252157600281146125315761253c565b613d3d60f01b600283035261253c565b603d60f81b60018303525b50505050508093505050505b919050565b80471015612590576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161258790613ee3565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516125b690613c6d565b60006040518083038185875af1925050503d80600081146125f3576040519150601f19603f3d011682016040523d82523d6000602084013e6125f8565b606091505b505090508061263c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161263390613ec3565b60405180910390fd5b505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6126b6838383612b8c565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156126f9576126f481612b91565b612738565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612737576127368382612bda565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561277b5761277681612d47565b6127ba565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146127b9576127b88282612e18565b5b5b505050565b505050565b60008082905060005b845181101561282e5760008582815181106127eb576127ea6147e2565b5b6020026020010151905080831161280d576128068382612e97565b925061281a565b6128178184612e97565b92505b50808061282690614688565b9150506127cd565b508091505092915050565b6128438383612eae565b6128506000848484612894565b61288f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161288690613da3565b60405180910390fd5b505050565b60006128b58473ffffffffffffffffffffffffffffffffffffffff16613088565b15612a1e578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026128de6119a0565b8786866040518563ffffffff1660e01b81526004016129009493929190613c9d565b602060405180830381600087803b15801561291a57600080fd5b505af192505050801561294b57506040513d601f19601f82011682018060405250810190612948919061348b565b60015b6129ce573d806000811461297b576040519150601f19603f3d011682016040523d82523d6000602084013e612980565b606091505b506000815114156129c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129bd90613da3565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612a23565b600190505b949350505050565b60606000821415612a73576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612b87565b600082905060005b60008214612aa5578080612a8e90614688565b915050600a82612a9e91906142cf565b9150612a7b565b60008167ffffffffffffffff811115612ac157612ac0614811565b5b6040519080825280601f01601f191660200182016040528015612af35781602001600182028036833780820191505090505b5090505b60008514612b8057600182612b0c9190614505565b9150600a85612b1b91906146f5565b6030612b27919061420f565b60f81b818381518110612b3d57612b3c6147e2565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612b7991906142cf565b9450612af7565b8093505050505b919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612be784610f8b565b612bf19190614505565b9050600060076000848152602001908152602001600020549050818114612cd6576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050612d5b9190614505565b9050600060096000848152602001908152602001600020549050600060088381548110612d8b57612d8a6147e2565b5b906000526020600020015490508060088381548110612dad57612dac6147e2565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612dfc57612dfb6147b3565b5b6001900381819060005260206000200160009055905550505050565b6000612e2383610f8b565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600082600052816020526040600020905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612f1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f1590613fa3565b60405180910390fd5b612f2781611934565b15612f67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f5e90613e43565b60405180910390fd5b612f73600083836126ab565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612fc3919061420f565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613084600083836127bf565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60006130be6130b9846140c3565b61409e565b9050828152602081018484840111156130da576130d961484f565b5b6130e58482856145e3565b509392505050565b6000813590506130fc81615045565b92915050565b6000813590506131118161505c565b92915050565b60008083601f84011261312d5761312c614845565b5b8235905067ffffffffffffffff81111561314a57613149614840565b5b6020830191508360208202830111156131665761316561484a565b5b9250929050565b60008135905061317c81615073565b92915050565b6000813590506131918161508a565b92915050565b6000813590506131a6816150a1565b92915050565b6000815190506131bb816150a1565b92915050565b600082601f8301126131d6576131d5614845565b5b81356131e68482602086016130ab565b91505092915050565b6000813590506131fe816150b8565b92915050565b600081359050613213816150cf565b92915050565b600081359050613228816150e6565b92915050565b60006020828403121561324457613243614859565b5b6000613252848285016130ed565b91505092915050565b6000806040838503121561327257613271614859565b5b600061328085828601613102565b925050602061329185828601613204565b9150509250929050565b600080604083850312156132b2576132b1614859565b5b60006132c0858286016130ed565b92505060206132d1858286016130ed565b9150509250929050565b6000806000606084860312156132f4576132f3614859565b5b6000613302868287016130ed565b9350506020613313868287016130ed565b925050604061332486828701613204565b9150509250925092565b6000806000806080858703121561334857613347614859565b5b6000613356878288016130ed565b9450506020613367878288016130ed565b935050604061337887828801613204565b925050606085013567ffffffffffffffff81111561339957613398614854565b5b6133a5878288016131c1565b91505092959194509250565b600080604083850312156133c8576133c7614859565b5b60006133d6858286016130ed565b92505060206133e78582860161316d565b9150509250929050565b6000806040838503121561340857613407614859565b5b6000613416858286016130ed565b925050602061342785828601613204565b9150509250929050565b60006020828403121561344757613446614859565b5b600061345584828501613182565b91505092915050565b60006020828403121561347457613473614859565b5b600061348284828501613197565b91505092915050565b6000602082840312156134a1576134a0614859565b5b60006134af848285016131ac565b91505092915050565b6000602082840312156134ce576134cd614859565b5b60006134dc848285016131ef565b91505092915050565b6000806000604084860312156134fe576134fd614859565b5b600061350c868287016131ef565b935050602084013567ffffffffffffffff81111561352d5761352c614854565b5b61353986828701613117565b92509250509250925092565b60006020828403121561355b5761355a614859565b5b600061356984828501613204565b91505092915050565b60006020828403121561358857613587614859565b5b600061359684828501613219565b91505092915050565b60006135ab8383613b39565b60208301905092915050565b6135c081614539565b82525050565b6135d76135d282614539565b6146d1565b82525050565b60006135e882614104565b6135f28185614132565b93506135fd836140f4565b8060005b8381101561362e578151613615888261359f565b975061362083614125565b925050600181019050613601565b5085935050505092915050565b6136448161455d565b82525050565b61365381614569565b82525050565b60006136648261410f565b61366e8185614143565b935061367e8185602086016145f2565b6136878161485e565b840191505092915050565b600061369d8261411a565b6136a7818561415f565b93506136b78185602086016145f2565b6136c08161485e565b840191505092915050565b60006136d68261411a565b6136e08185614170565b93506136f08185602086016145f2565b80840191505092915050565b6000613709602883614170565b91506137148261487c565b602882019050919050565b600061372c60168361415f565b9150613737826148cb565b602082019050919050565b600061374f602b8361415f565b915061375a826148f4565b604082019050919050565b600061377260328361415f565b915061377d82614943565b604082019050919050565b600061379560258361415f565b91506137a082614992565b604082019050919050565b60006137b860288361415f565b91506137c3826149e1565b604082019050919050565b60006137db60268361415f565b91506137e682614a30565b604082019050919050565b60006137fe60258361415f565b915061380982614a7f565b604082019050919050565b6000613821601c8361415f565b915061382c82614ace565b602082019050919050565b600061384460248361415f565b915061384f82614af7565b604082019050919050565b600061386760198361415f565b915061387282614b46565b602082019050919050565b600061388a60178361415f565b915061389582614b6f565b602082019050919050565b60006138ad603a8361415f565b91506138b882614b98565b604082019050919050565b60006138d0601283614170565b91506138db82614be7565b601282019050919050565b60006138f3601d8361415f565b91506138fe82614c10565b602082019050919050565b6000613916602c8361415f565b915061392182614c39565b604082019050919050565b600061393960178361415f565b915061394482614c88565b602082019050919050565b600061395c60388361415f565b915061396782614cb1565b604082019050919050565b600061397f602a8361415f565b915061398a82614d00565b604082019050919050565b60006139a260298361415f565b91506139ad82614d4f565b604082019050919050565b60006139c5607483614170565b91506139d082614d9e565b607482019050919050565b60006139e8600283614170565b91506139f382614e39565b600282019050919050565b6000613a0b60208361415f565b9150613a1682614e62565b602082019050919050565b6000613a2e602c8361415f565b9150613a3982614e8b565b604082019050919050565b6000613a5160208361415f565b9150613a5c82614eda565b602082019050919050565b6000613a7460218361415f565b9150613a7f82614f03565b604082019050919050565b6000613a97601d83614170565b9150613aa282614f52565b601d82019050919050565b6000613aba600083614154565b9150613ac582614f7b565b600082019050919050565b6000613add60318361415f565b9150613ae882614f7e565b604082019050919050565b6000613b00602c8361415f565b9150613b0b82614fcd565b604082019050919050565b6000613b23601f8361415f565b9150613b2e8261501c565b602082019050919050565b613b42816145c9565b82525050565b613b51816145c9565b82525050565b6000613b6382846135c6565b60148201915081905092915050565b6000613b7e82866136cb565b9150613b8a82856136cb565b9150613b9682846136cb565b9150819050949350505050565b6000613baf82886136cb565b9150613bbb82876136cb565b9150613bc782866136cb565b9150613bd382856136cb565b9150613bdf82846136cb565b91508190509695505050505050565b6000613bf9826138c3565b9150613c0582866136cb565b9150613c10826139b8565b9150613c1c82856136cb565b9150613c27826136fc565b9150613c3382846136cb565b9150613c3e826139db565b9150819050949350505050565b6000613c5682613a8a565b9150613c6282846136cb565b915081905092915050565b6000613c7882613aad565b9150819050919050565b6000602082019050613c9760008301846135b7565b92915050565b6000608082019050613cb260008301876135b7565b613cbf60208301866135b7565b613ccc6040830185613b48565b8181036060830152613cde8184613659565b905095945050505050565b60006020820190508181036000830152613d0381846135dd565b905092915050565b6000602082019050613d20600083018461363b565b92915050565b6000602082019050613d3b600083018461364a565b92915050565b60006020820190508181036000830152613d5b8184613692565b905092915050565b60006020820190508181036000830152613d7c8161371f565b9050919050565b60006020820190508181036000830152613d9c81613742565b9050919050565b60006020820190508181036000830152613dbc81613765565b9050919050565b60006020820190508181036000830152613ddc81613788565b9050919050565b60006020820190508181036000830152613dfc816137ab565b9050919050565b60006020820190508181036000830152613e1c816137ce565b9050919050565b60006020820190508181036000830152613e3c816137f1565b9050919050565b60006020820190508181036000830152613e5c81613814565b9050919050565b60006020820190508181036000830152613e7c81613837565b9050919050565b60006020820190508181036000830152613e9c8161385a565b9050919050565b60006020820190508181036000830152613ebc8161387d565b9050919050565b60006020820190508181036000830152613edc816138a0565b9050919050565b60006020820190508181036000830152613efc816138e6565b9050919050565b60006020820190508181036000830152613f1c81613909565b9050919050565b60006020820190508181036000830152613f3c8161392c565b9050919050565b60006020820190508181036000830152613f5c8161394f565b9050919050565b60006020820190508181036000830152613f7c81613972565b9050919050565b60006020820190508181036000830152613f9c81613995565b9050919050565b60006020820190508181036000830152613fbc816139fe565b9050919050565b60006020820190508181036000830152613fdc81613a21565b9050919050565b60006020820190508181036000830152613ffc81613a44565b9050919050565b6000602082019050818103600083015261401c81613a67565b9050919050565b6000602082019050818103600083015261403c81613ad0565b9050919050565b6000602082019050818103600083015261405c81613af3565b9050919050565b6000602082019050818103600083015261407c81613b16565b9050919050565b60006020820190506140986000830184613b48565b92915050565b60006140a86140b9565b90506140b48282614657565b919050565b6000604051905090565b600067ffffffffffffffff8211156140de576140dd614811565b5b6140e78261485e565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006141868261459f565b91506141918361459f565b9250817f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038313600083121516156141cc576141cb614726565b5b817f800000000000000000000000000000000000000000000000000000000000000003831260008312161561420457614203614726565b5b828201905092915050565b600061421a826145c9565b9150614225836145c9565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561425a57614259614726565b5b828201905092915050565b60006142708261459f565b915061427b8361459f565b92508261428b5761428a614755565b5b600160000383147f8000000000000000000000000000000000000000000000000000000000000000831416156142c4576142c3614726565b5b828205905092915050565b60006142da826145c9565b91506142e5836145c9565b9250826142f5576142f4614755565b5b828204905092915050565b600061430b8261459f565b91506143168361459f565b9250827f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048211600084136000841316161561435557614354614726565b5b817f8000000000000000000000000000000000000000000000000000000000000000058312600084126000841316161561439257614391614726565b5b827f800000000000000000000000000000000000000000000000000000000000000005821260008413600084121616156143cf576143ce614726565b5b827f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff058212600084126000841216161561440c5761440b614726565b5b828202905092915050565b6000614422826145c9565b915061442d836145c9565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561446657614465614726565b5b828202905092915050565b600061447c8261459f565b91506144878361459f565b9250827f8000000000000000000000000000000000000000000000000000000000000000018212600084121516156144c2576144c1614726565b5b827f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0182136000841216156144fa576144f9614726565b5b828203905092915050565b6000614510826145c9565b915061451b836145c9565b92508282101561452e5761452d614726565b5b828203905092915050565b6000614544826145a9565b9050919050565b6000614556826145a9565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600063ffffffff82169050919050565b82818337600083830152505050565b60005b838110156146105780820151818401526020810190506145f5565b8381111561461f576000848401525b50505050565b6000600282049050600182168061463d57607f821691505b6020821081141561465157614650614784565b5b50919050565b6146608261485e565b810181811067ffffffffffffffff8211171561467f5761467e614811565b5b80604052505050565b6000614693826145c9565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156146c6576146c5614726565b5b600182019050919050565b60006146dc826146e3565b9050919050565b60006146ee8261486f565b9050919050565b6000614700826145c9565b915061470b836145c9565b92508261471b5761471a614755565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f227d5d2c22696d616765223a2022646174613a696d6167652f7376672b786d6c60008201527f3b6261736536342c000000000000000000000000000000000000000000000000602082015250565b7f4d6f6d656e74733a20496e76616c696420707269636500000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4d6f6d656e74733a204163636f756e74206d696e74656420746f6b656e20616c60008201527f7265616479000000000000000000000000000000000000000000000000000000602082015250565b7f4d6f6d656e74733a2055524920717565727920666f72206e6f6e65786973746560008201527f6e7420746f6b656e000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4d6f6d656e74733a2043616e206e6f7420766572696679000000000000000000600082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f7b226e616d65223a20224d6f6d656e7473200000000000000000000000000000600082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4d6f6d656e74733a204e6f206d65726b6c6520726f6f74000000000000000000600082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f222c20226465736372697074696f6e223a2022546865206d696e74656420646160008201527f746520697320656d62656464656420696e20746865206f6e2d636861696e206960208201527f6d6167652e222c2261747472696275746573223a205b7b2274726169745f747960408201527f7065223a2264617465222c2276616c7565223a22000000000000000000000000606082015250565b7f227d000000000000000000000000000000000000000000000000000000000000600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c000000600082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f4d6f6d656e74733a20496e76616c69642074696d657a6f6e654f666673657400600082015250565b61504e81614539565b811461505957600080fd5b50565b6150658161454b565b811461507057600080fd5b50565b61507c8161455d565b811461508757600080fd5b50565b61509381614569565b811461509e57600080fd5b50565b6150aa81614573565b81146150b557600080fd5b50565b6150c18161459f565b81146150cc57600080fd5b50565b6150d8816145c9565b81146150e357600080fd5b50565b6150ef816145d3565b81146150fa57600080fd5b5056fe3c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f737667222076696577426f783d223020302038303020383030223e3c646566733e3c6c696e6561724772616469656e742069643d2262223e3c73746f70206f66667365743d222e32222073746f702d636f6c6f723d2223666561633032222f3e3c73746f70206f66667365743d222e38222073746f702d636f6c6f723d2223666633356232222f3e3c2f6c696e6561724772616469656e743e3c66696c7465722069643d2261223e3c6665476175737369616e426c757220737464446576696174696f6e3d223130222f3e3c2f66696c7465723e3c2f646566733e3c706174682066696c6c3d22233031623966662220643d224d302030683830307638303048307a222f3e3c672066696c7465723d2275726c28236129222066696c6c3d226e6f6e65223e3c7061746820643d224d302030683830307638303048307a222f3e3c70617468207374726f6b652d6c696e656361703d22726f756e6422207374726f6b652d6c696e656a6f696e3d22726f756e6422207374726f6b652d77696474683d2231303022207374726f6b653d22233030302220643d226d31363020373130203135302d3630302032303020363030203135302d363030222f3e3c2f673e3c70617468207374726f6b652d6c696e656361703d22726f756e6422207374726f6b652d6c696e656a6f696e3d22726f756e6422207374726f6b652d77696474683d22313030222066696c6c3d226e6f6e6522207374726f6b653d2275726c282362292220643d226d31353020373030203135302d3630302032303020363030203135302d363030222f3e3c7465787420783d223530252220793d2235302522207374726f6b653d2223303030222066696c6c3d22236666662220666f6e742d73697a653d223130302220666f6e742d7765696768743d223730302220746578742d616e63686f723d226d6964646c652220646f6d696e616e742d626173656c696e653d2263656e7472616c223e4142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa26469706673582212203310b1905abd88b1ca6557354f5e31e756c5c893c93c89204778af6d6de6358e64736f6c63430008060033
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.