ERC-721
Overview
Max Total Supply
9,626 MCDV1
Holders
4,077
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
6 MCDV1Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
MetaaniCapsuleDNAVol1
Compiler Version
v0.8.10+commit.fc410830
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: NONE pragma solidity 0.8.10; import "./OpenzeppelinERC721.sol"; import "./OpenZeppelinMerkleProof.sol"; contract MetaaniCapsuleDNAVol1 is ERC721Enumerable { uint public teamMintedAmount = 0; string private _ipfs_base; string private _baseBeforeRevealURI = "ipfs://QmVr7wahiVi7RNJvSfEXMfGh3CA8oMaHAMXNw4VRRK9om5/"; bool public isRevealed = false; bool public isFrozenBaseURI = false; uint public tokenIdCount = 1; mapping(uint => bool) public minted; uint public privateAmountLimit = 1; uint public publicAmountLimit = 1; bytes32 public allowListRoot = 0x493c228601905ea40eec37ae8423c901976d08e0ea1f9fa6fdc0924ea7633f58; enum MintTermStatus{ None, holderFreeMint, premintPublicFreeMint, publicFreeMint1, DNAHolderFreeMint, publicFreeMint2 } MintTermStatus private _mintTermStatus = MintTermStatus.None; mapping( address => uint ) public addressMintedMap1; mapping( address => uint ) public addressMintedMap2; mapping( address => uint ) public addressMintedMap3; mapping( address => uint ) public addressMintedMap4; mapping( address => uint ) public addressMintedMap5; address owner; address constant fundsWallet = 0x8837391C2634b62C4fCF4f0b01F0772A743A4Cf3; address constant fundsRescueSpareKey = 0xbDc378A75Fe1d1b53AdB3025541174B79474845b; address constant fundsRescueDestWallet = 0xeecE4544101f7C7198157c74A1cBfE12aa86718B; function setRoot(bytes32 _merkleroot) public { require( _msgSender() == owner ); allowListRoot = _merkleroot; } function setPrivateAmountLimit(uint amountLimit) public { require(_msgSender() == owner); privateAmountLimit = amountLimit; } function setPublicAmountLimit(uint amountLimit) public { require(_msgSender() == owner); publicAmountLimit = amountLimit; } function checkredeem(address account, uint256 allowedAmount, bytes32[] calldata proof) public view returns ( uint ) { if (_verify(_leaf(account, allowedAmount), proof)){ return allowedAmount; } else { return 0; } } function _leaf(address account, uint256 allowedAmount) internal pure returns (bytes32){ return keccak256(abi.encodePacked(account , allowedAmount)); } function _verify(bytes32 leaf, bytes32[] memory proof) internal view returns (bool){ return MerkleProof.verify(proof, allowListRoot, leaf); } function holderFreeMint(address account, uint256 allowedAmount, bytes32[] calldata proof) public { require(checkredeem( account , allowedAmount , proof ) > 0 , "account is not in allowlist"); require( _msgSender() == account); require( _mintTermStatus == MintTermStatus.holderFreeMint , "MintTermStatus Invalid"); require(tokenIdCount <= 6600, "out of stock"); require(addressMintedMap1[account] < allowedAmount, "amount limited in AL"); require(addressMintedMap1[account] < privateAmountLimit, "amount limited at this time"); _safeMint( account , tokenIdCount); addressMintedMap1[account]++; minted[tokenIdCount] = true; tokenIdCount++; } function premintPublicFreeMint(address account, uint256 allowedAmount, bytes32[] calldata proof) public { require(checkredeem( account , allowedAmount , proof ) > 0 , "account is not in allowlist"); require( _msgSender() == account); require( _mintTermStatus == MintTermStatus.premintPublicFreeMint , "MintTermStatus Invalid"); require(tokenIdCount <= 6600, "out of stock"); require(addressMintedMap2[account] < allowedAmount, "amount limited in AL"); require(addressMintedMap2[account] < privateAmountLimit, "amount limited at this time"); _safeMint( account , tokenIdCount); addressMintedMap2[account]++; minted[tokenIdCount] = true; tokenIdCount++; } function publicFreeMint1() public { address account = _msgSender(); require( _mintTermStatus == MintTermStatus.publicFreeMint1 , "MintTermStatus Invalid"); require(tokenIdCount <= 6600, "out of stock"); require(addressMintedMap3[account] < publicAmountLimit, "amount limited at this time"); _safeMint( account , tokenIdCount); addressMintedMap3[account]++; minted[tokenIdCount] = true; tokenIdCount++; } function DNAHolderFreeMint(address account, uint256 allowedAmount, bytes32[] calldata proof) public { require(checkredeem( account , allowedAmount , proof ) > 0 , "account is not in allowlist"); require( _msgSender() == account); require( _mintTermStatus == MintTermStatus.DNAHolderFreeMint , "MintTermStatus Invalid"); require(tokenIdCount <= 10000, "out of stock"); require(addressMintedMap4[account] < allowedAmount, "amount limited in AL"); require(addressMintedMap4[account] < privateAmountLimit, "amount limited at this time"); _safeMint( account , tokenIdCount); addressMintedMap4[account]++; minted[tokenIdCount] = true; tokenIdCount++; } function publicFreeMint2() public { address account = _msgSender(); require( _mintTermStatus == MintTermStatus.publicFreeMint2 , "MintTermStatus Invalid"); require(tokenIdCount <= 10000, "out of stock"); require(addressMintedMap5[account] < publicAmountLimit, "amount limited at this time"); _safeMint( account , tokenIdCount); addressMintedMap5[account]++; minted[tokenIdCount] = true; tokenIdCount++; } function teamMint(uint requestAmount) public { address account = _msgSender(); require(account == owner ); for(uint i=0; i<requestAmount; i++){ require(100 > teamMintedAmount, "out of team stock"); teamMintedAmount++; _safeMint( account , tokenIdCount); addressMintedMap1[account]++; minted[tokenIdCount] = true; tokenIdCount++; } } function getMintTermStatus() public view returns (MintTermStatus) { return _mintTermStatus; } function setMintTermStatus(MintTermStatus status) public { require(_msgSender() == owner ); _mintTermStatus = status; } function withdraw() public { require(msg.sender == fundsWallet); uint balance = address(this).balance; payable(fundsWallet).transfer(balance); } function withdrawSpare() public { require(msg.sender == fundsRescueSpareKey); uint balance = address(this).balance; payable(fundsRescueDestWallet).transfer(balance); } function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal override(ERC721Enumerable) { super._beforeTokenTransfer(from, to, tokenId); } function _burn(uint256 tokenId) internal override(ERC721) { super._burn(tokenId); } function burn(uint256 _id) public { require( msg.sender == ownerOf(_id)); _burn(_id); } function _baseURI() internal view override returns (string memory) { return _ipfs_base; } function freezeBaseURI() external { require(msg.sender == owner ); require(bytes(_baseURI()).length > 0, "baseURI is EMPTY"); require(tokenIdCount >= 10000, "Not Reached Amount"); isFrozenBaseURI = true; } function _baseURIBeforeReveal() internal view returns (string memory) { return _baseBeforeRevealURI; } function setBaseURI(string memory baseMetadataURI) external{ require(msg.sender == owner ); require(isFrozenBaseURI == false, "Metadata is Frozen"); _ipfs_base = baseMetadataURI; } function setRevealURI(string memory baseBeforeRevealURI) external { require(msg.sender == owner ); _baseBeforeRevealURI = baseBeforeRevealURI; } function reveal() external{ require(msg.sender == owner ); require(bytes(_baseURI()).length > 0, "baseURI is EMPTY"); isRevealed = true; } function tokenURI(uint256 _tokenId) public view override(ERC721) returns (string memory){ string memory baseURI; if(isRevealed){ baseURI = _baseURI(); }else{ return _baseURIBeforeReveal(); } return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, Strings.toString(_tokenId))) : ""; } function supportsInterface(bytes4 interfaceId) public view override(ERC721Enumerable) returns (bool) { return super.supportsInterface(interfaceId); } constructor() ERC721("Metaani Cupsel DNA Vol.1" , "MCDV1" ) { owner = msg.sender; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom(address from, address to, uint256 tokenId) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 tokenId) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external; } /** * @dev String operations. */ library Strings { bytes16 private constant alphabet = "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] = alphabet[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } } /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received(address operator, address from, uint256 tokenId, bytes calldata data) external returns (bytes4); } /** * @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); } /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (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"); // solhint-disable-next-line avoid-low-level-calls (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"); // solhint-disable-next-line avoid-low-level-calls (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"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private 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 // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } /* * @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) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } /** * @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; } } /** * @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}. Empty by default, can be overriden * in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require(_msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom(address from, address to, uint256 tokenId) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom(address from, address to, uint256 tokenId) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer(address from, address to, uint256 tokenId, bytes memory _data) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint(address to, uint256 tokenId, bytes memory _data) internal virtual { _mint(to, tokenId); require(_checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer(address from, address to, uint256 tokenId) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory _data) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { // solhint-disable-next-line no-inline-assembly 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` 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 { } } /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); } /** * @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(); } } /** * @dev ERC721 token with storage based token URI management. */ abstract contract ERC721URIStorage is ERC721 { using Strings for uint256; // Optional mapping for token URIs mapping (uint256 => string) private _tokenURIs; /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721URIStorage: URI query for nonexistent token"); string memory _tokenURI = _tokenURIs[tokenId]; string memory base = _baseURI(); // If there is no base URI, return the token URI. if (bytes(base).length == 0) { return _tokenURI; } // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked). if (bytes(_tokenURI).length > 0) { return string(abi.encodePacked(base, _tokenURI)); } return super.tokenURI(tokenId); } /** * @dev Sets `_tokenURI` as the tokenURI of `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual { require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token"); _tokenURIs[tokenId] = _tokenURI; } /** * @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 override { super._burn(tokenId); if (bytes(_tokenURIs[tokenId]).length != 0) { delete _tokenURIs[tokenId]; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. * * 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) } } }
{ "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":"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":"account","type":"address"},{"internalType":"uint256","name":"allowedAmount","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"DNAHolderFreeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressMintedMap1","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressMintedMap2","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressMintedMap3","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressMintedMap4","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressMintedMap5","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"allowListRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"allowedAmount","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"checkredeem","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freezeBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMintTermStatus","outputs":[{"internalType":"enum MetaaniCapsuleDNAVol1.MintTermStatus","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"allowedAmount","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"holderFreeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isFrozenBaseURI","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isRevealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"minted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"allowedAmount","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"premintPublicFreeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"privateAmountLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicAmountLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicFreeMint1","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"publicFreeMint2","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","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":"string","name":"baseMetadataURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum MetaaniCapsuleDNAVol1.MintTermStatus","name":"status","type":"uint8"}],"name":"setMintTermStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountLimit","type":"uint256"}],"name":"setPrivateAmountLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amountLimit","type":"uint256"}],"name":"setPublicAmountLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseBeforeRevealURI","type":"string"}],"name":"setRevealURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleroot","type":"bytes32"}],"name":"setRoot","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":"requestAmount","type":"uint256"}],"name":"teamMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"teamMintedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenIdCount","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":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawSpare","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526000600a556040518060600160405280603681526020016200580d60369139600c90805190602001906200003a929190620001ca565b506000600d60006101000a81548160ff0219169083151502179055506000600d60016101000a81548160ff0219169083151502179055506001600e55600160105560016011557f493c228601905ea40eec37ae8423c901976d08e0ea1f9fa6fdc0924ea7633f5860001b6012556000601360006101000a81548160ff02191690836005811115620000d057620000cf6200027a565b5b0217905550348015620000e257600080fd5b506040518060400160405280601881526020017f4d657461616e692043757073656c20444e4120566f6c2e3100000000000000008152506040518060400160405280600581526020017f4d43445631000000000000000000000000000000000000000000000000000000815250816000908051906020019062000167929190620001ca565b50806001908051906020019062000180929190620001ca565b50505033601960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506200030e565b828054620001d890620002d8565b90600052602060002090601f016020900481019282620001fc576000855562000248565b82601f106200021757805160ff191683800117855562000248565b8280016001018555821562000248579182015b82811115620002475782518255916020019190600101906200022a565b5b5090506200025791906200025b565b5090565b5b80821115620002765760008160009055506001016200025c565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620002f157607f821691505b60208210811415620003085762000307620002a9565b5b50919050565b6154ef806200031e6000396000f3fe608060405234801561001057600080fd5b50600436106102a05760003560e01c8063942d7b7f11610167578063d1f0fffe116100ce578063e316380811610087578063e3163808146107f9578063e7bc820814610817578063e97925b914610821578063e985e9c514610851578063f127394c14610881578063f65ffa7b1461089f576102a0565b8063d1f0fffe1461073b578063d3afbab714610757578063d65ae67714610773578063d691926d1461077d578063da9ab521146107ad578063dab5f340146107dd576102a0565b8063a811a37b11610120578063a811a37b14610667578063b88d4fde14610683578063c08790c91461069f578063c4373f7e146106bd578063c746035c146106db578063c87b56dd1461070b576102a0565b8063942d7b7f146105b957806395d89b41146105d55780639d589611146105f35780639de431f914610611578063a22cb46514610641578063a475b5dd1461065d576102a0565b806342842e0e1161020b5780636352211e116101c45780636352211e146104e557806370a082311461051557806373874359146105455780637dc0bf3f1461054f57806381df04a81461057f57806392eaa1d4146105af576102a0565b806342842e0e1461042557806342966c68146104415780634f6ccce71461045d57806354214f691461048d57806355f804b3146104ab5780635e080174146104c7576102a0565b806318160ddd1161025d57806318160ddd1461037957806323b872dd146103975780632f745c59146103b35780632fbba115146103e35780633b7e4aae146103ff5780633ccfd60b1461041b576102a0565b806301ffc9a7146102a557806306fdde03146102d557806307fd47e8146102f3578063081812fc1461030f578063095ea7b31461033f5780630f4f5a761461035b575b600080fd5b6102bf60048036038101906102ba9190613c21565b6108bb565b6040516102cc9190613c69565b60405180910390f35b6102dd6108cd565b6040516102ea9190613d1d565b60405180910390f35b61030d60048036038101906103089190613e38565b61095f565b005b61032960048036038101906103249190613eac565b610c5a565b6040516103369190613ee8565b60405180910390f35b61035960048036038101906103549190613f03565b610cdf565b005b610363610df7565b6040516103709190613fba565b60405180910390f35b610381610e0e565b60405161038e9190613fe4565b60405180910390f35b6103b160048036038101906103ac9190613fff565b610e1b565b005b6103cd60048036038101906103c89190613f03565b610e7b565b6040516103da9190613fe4565b60405180910390f35b6103fd60048036038101906103f89190613eac565b610f20565b005b61041960048036038101906104149190613e38565b6110ad565b005b6104236113a8565b005b61043f600480360381019061043a9190613fff565b611457565b005b61045b60048036038101906104569190613eac565b611477565b005b61047760048036038101906104729190613eac565b6114c3565b6040516104849190613fe4565b60405180910390f35b610495611534565b6040516104a29190613c69565b60405180910390f35b6104c560048036038101906104c09190614182565b611547565b005b6104cf611611565b6040516104dc9190613fe4565b60405180910390f35b6104ff60048036038101906104fa9190613eac565b611617565b60405161050c9190613ee8565b60405180910390f35b61052f600480360381019061052a91906141cb565b6116c9565b60405161053c9190613fe4565b60405180910390f35b61054d611781565b005b61056960048036038101906105649190613eac565b611976565b6040516105769190613c69565b60405180910390f35b610599600480360381019061059491906141cb565b611996565b6040516105a69190613fe4565b60405180910390f35b6105b76119ae565b005b6105d360048036038101906105ce9190613eac565b611ba4565b005b6105dd611c0f565b6040516105ea9190613d1d565b60405180910390f35b6105fb611ca1565b6040516106089190614211565b60405180910390f35b61062b600480360381019061062691906141cb565b611ca7565b6040516106389190613fe4565b60405180910390f35b61065b60048036038101906106569190614258565b611cbf565b005b610665611e40565b005b610681600480360381019061067c9190614182565b611f02565b005b61069d60048036038101906106989190614339565b611f76565b005b6106a7611fd8565b6040516106b49190613fe4565b60405180910390f35b6106c5611fde565b6040516106d29190613c69565b60405180910390f35b6106f560048036038101906106f091906141cb565b611ff1565b6040516107029190613fe4565b60405180910390f35b61072560048036038101906107209190613eac565b612009565b6040516107329190613d1d565b60405180910390f35b61075560048036038101906107509190613eac565b612092565b005b610771600480360381019061076c91906143e1565b6120fd565b005b61077b61218b565b005b610797600480360381019061079291906141cb565b61223a565b6040516107a49190613fe4565b60405180910390f35b6107c760048036038101906107c291906141cb565b612252565b6040516107d49190613fe4565b60405180910390f35b6107f760048036038101906107f2919061443a565b61226a565b005b6108016122d5565b60405161080e9190613fe4565b60405180910390f35b61081f6122db565b005b61083b60048036038101906108369190613e38565b6123e4565b6040516108489190613fe4565b60405180910390f35b61086b60048036038101906108669190614467565b612454565b6040516108789190613c69565b60405180910390f35b6108896124e8565b6040516108969190613fe4565b60405180910390f35b6108b960048036038101906108b49190613e38565b6124ee565b005b60006108c6826127e9565b9050919050565b6060600080546108dc906144d6565b80601f0160208091040260200160405190810160405280929190818152602001828054610908906144d6565b80156109555780601f1061092a57610100808354040283529160200191610955565b820191906000526020600020905b81548152906001019060200180831161093857829003601f168201915b5050505050905090565b600061096d858585856123e4565b116109ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109a490614554565b60405180910390fd5b8373ffffffffffffffffffffffffffffffffffffffff166109cc612863565b73ffffffffffffffffffffffffffffffffffffffff16146109ec57600080fd5b60016005811115610a00576109ff613f43565b5b601360009054906101000a900460ff166005811115610a2257610a21613f43565b5b14610a62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a59906145c0565b60405180910390fd5b6119c8600e541115610aa9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aa09061462c565b60405180910390fd5b82601460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410610b2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2190614698565b60405180910390fd5b601054601460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410610bad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba490614704565b60405180910390fd5b610bb984600e5461286b565b601460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190610c0990614753565b91905055506001600f6000600e54815260200190815260200160002060006101000a81548160ff021916908315150217905550600e6000815480929190610c4f90614753565b919050555050505050565b6000610c6582612889565b610ca4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9b9061480e565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610cea82611617565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d52906148a0565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610d7a612863565b73ffffffffffffffffffffffffffffffffffffffff161480610da95750610da881610da3612863565b612454565b5b610de8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ddf90614932565b60405180910390fd5b610df283836128f5565b505050565b6000601360009054906101000a900460ff16905090565b6000600880549050905090565b610e2c610e26612863565b826129ae565b610e6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e62906149c4565b60405180910390fd5b610e76838383612a8c565b505050565b6000610e86836116c9565b8210610ec7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ebe90614a56565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6000610f2a612863565b9050601960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610f8657600080fd5b60005b828110156110a857600a54606411610fd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fcd90614ac2565b60405180910390fd5b600a6000815480929190610fe990614753565b9190505550610ffa82600e5461286b565b601460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081548092919061104a90614753565b91905055506001600f6000600e54815260200190815260200160002060006101000a81548160ff021916908315150217905550600e600081548092919061109090614753565b919050555080806110a090614753565b915050610f89565b505050565b60006110bb858585856123e4565b116110fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f290614554565b60405180910390fd5b8373ffffffffffffffffffffffffffffffffffffffff1661111a612863565b73ffffffffffffffffffffffffffffffffffffffff161461113a57600080fd5b6004600581111561114e5761114d613f43565b5b601360009054906101000a900460ff1660058111156111705761116f613f43565b5b146111b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111a7906145c0565b60405180910390fd5b612710600e5411156111f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ee9061462c565b60405180910390fd5b82601760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410611278576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126f90614698565b60405180910390fd5b601054601760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054106112fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f290614704565b60405180910390fd5b61130784600e5461286b565b601760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081548092919061135790614753565b91905055506001600f6000600e54815260200190815260200160002060006101000a81548160ff021916908315150217905550600e600081548092919061139d90614753565b919050555050505050565b738837391c2634b62c4fcf4f0b01f0772a743a4cf373ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146113f457600080fd5b6000479050738837391c2634b62c4fcf4f0b01f0772a743a4cf373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611453573d6000803e3d6000fd5b5050565b61147283838360405180602001604052806000815250611f76565b505050565b61148081611617565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146114b757600080fd5b6114c081612ce8565b50565b60006114cd610e0e565b821061150e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150590614b54565b60405180910390fd5b6008828154811061152257611521614b74565b5b90600052602060002001549050919050565b600d60009054906101000a900460ff1681565b601960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146115a157600080fd5b60001515600d60019054906101000a900460ff161515146115f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ee90614bef565b60405180910390fd5b80600b908051906020019061160d929190613b12565b5050565b60105481565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156116c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b790614c81565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561173a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173190614d13565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600061178b612863565b90506005808111156117a05761179f613f43565b5b601360009054906101000a900460ff1660058111156117c2576117c1613f43565b5b14611802576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f9906145c0565b60405180910390fd5b612710600e541115611849576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118409061462c565b60405180910390fd5b601154601860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054106118cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118c390614704565b60405180910390fd5b6118d881600e5461286b565b601860008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081548092919061192890614753565b91905055506001600f6000600e54815260200190815260200160002060006101000a81548160ff021916908315150217905550600e600081548092919061196e90614753565b919050555050565b600f6020528060005260406000206000915054906101000a900460ff1681565b60146020528060005260406000206000915090505481565b60006119b8612863565b9050600360058111156119ce576119cd613f43565b5b601360009054906101000a900460ff1660058111156119f0576119ef613f43565b5b14611a30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a27906145c0565b60405180910390fd5b6119c8600e541115611a77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6e9061462c565b60405180910390fd5b601154601660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410611afa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af190614704565b60405180910390fd5b611b0681600e5461286b565b601660008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190611b5690614753565b91905055506001600f6000600e54815260200190815260200160002060006101000a81548160ff021916908315150217905550600e6000815480929190611b9c90614753565b919050555050565b601960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611be5612863565b73ffffffffffffffffffffffffffffffffffffffff1614611c0557600080fd5b8060118190555050565b606060018054611c1e906144d6565b80601f0160208091040260200160405190810160405280929190818152602001828054611c4a906144d6565b8015611c975780601f10611c6c57610100808354040283529160200191611c97565b820191906000526020600020905b815481529060010190602001808311611c7a57829003601f168201915b5050505050905090565b60125481565b60156020528060005260406000206000915090505481565b611cc7612863565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2c90614d7f565b60405180910390fd5b8060056000611d42612863565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611def612863565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611e349190613c69565b60405180910390a35050565b601960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611e9a57600080fd5b6000611ea4612cf4565b5111611ee5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611edc90614deb565b60405180910390fd5b6001600d60006101000a81548160ff021916908315150217905550565b601960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611f5c57600080fd5b80600c9080519060200190611f72929190613b12565b5050565b611f87611f81612863565b836129ae565b611fc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fbd906149c4565b60405180910390fd5b611fd284848484612d86565b50505050565b60115481565b600d60019054906101000a900460ff1681565b60166020528060005260406000206000915090505481565b606080600d60009054906101000a900460ff161561203057612029612cf4565b9050612040565b612038612de2565b91505061208d565b600081511161205e5760405180602001604052806000815250612089565b8061206884612e74565b604051602001612079929190614e47565b6040516020818303038152906040525b9150505b919050565b601960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166120d3612863565b73ffffffffffffffffffffffffffffffffffffffff16146120f357600080fd5b8060108190555050565b601960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661213e612863565b73ffffffffffffffffffffffffffffffffffffffff161461215e57600080fd5b80601360006101000a81548160ff0219169083600581111561218357612182613f43565b5b021790555050565b73bdc378a75fe1d1b53adb3025541174b79474845b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146121d757600080fd5b600047905073eece4544101f7c7198157c74a1cbfe12aa86718b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015612236573d6000803e3d6000fd5b5050565b60176020528060005260406000206000915090505481565b60186020528060005260406000206000915090505481565b601960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166122ab612863565b73ffffffffffffffffffffffffffffffffffffffff16146122cb57600080fd5b8060128190555050565b600a5481565b601960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461233557600080fd5b600061233f612cf4565b5111612380576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161237790614deb565b60405180910390fd5b612710600e5410156123c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123be90614eb7565b60405180910390fd5b6001600d60016101000a81548160ff021916908315150217905550565b600061243a6123f38686612fd5565b848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050613008565b156124475783905061244c565b600090505b949350505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600e5481565b60006124fc858585856123e4565b1161253c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161253390614554565b60405180910390fd5b8373ffffffffffffffffffffffffffffffffffffffff1661255b612863565b73ffffffffffffffffffffffffffffffffffffffff161461257b57600080fd5b6002600581111561258f5761258e613f43565b5b601360009054906101000a900460ff1660058111156125b1576125b0613f43565b5b146125f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125e8906145c0565b60405180910390fd5b6119c8600e541115612638576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161262f9061462c565b60405180910390fd5b82601560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054106126b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126b090614698565b60405180910390fd5b601054601560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541061273c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161273390614704565b60405180910390fd5b61274884600e5461286b565b601560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081548092919061279890614753565b91905055506001600f6000600e54815260200190815260200160002060006101000a81548160ff021916908315150217905550600e60008154809291906127de90614753565b919050555050505050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061285c575061285b8261301f565b5b9050919050565b600033905090565b612885828260405180602001604052806000815250613101565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661296883611617565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006129b982612889565b6129f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129ef90614f49565b60405180910390fd5b6000612a0383611617565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612a7257508373ffffffffffffffffffffffffffffffffffffffff16612a5a84610c5a565b73ffffffffffffffffffffffffffffffffffffffff16145b80612a835750612a828185612454565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612aac82611617565b73ffffffffffffffffffffffffffffffffffffffff1614612b02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612af990614fdb565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b699061506d565b60405180910390fd5b612b7d83838361315c565b612b886000826128f5565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612bd8919061508d565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c2f91906150c1565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b612cf18161316c565b50565b6060600b8054612d03906144d6565b80601f0160208091040260200160405190810160405280929190818152602001828054612d2f906144d6565b8015612d7c5780601f10612d5157610100808354040283529160200191612d7c565b820191906000526020600020905b815481529060010190602001808311612d5f57829003601f168201915b5050505050905090565b612d91848484612a8c565b612d9d8484848461327d565b612ddc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dd390615189565b60405180910390fd5b50505050565b6060600c8054612df1906144d6565b80601f0160208091040260200160405190810160405280929190818152602001828054612e1d906144d6565b8015612e6a5780601f10612e3f57610100808354040283529160200191612e6a565b820191906000526020600020905b815481529060010190602001808311612e4d57829003601f168201915b5050505050905090565b60606000821415612ebc576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612fd0565b600082905060005b60008214612eee578080612ed790614753565b915050600a82612ee791906151d8565b9150612ec4565b60008167ffffffffffffffff811115612f0a57612f09614057565b5b6040519080825280601f01601f191660200182016040528015612f3c5781602001600182028036833780820191505090505b5090505b60008514612fc957600182612f55919061508d565b9150600a85612f649190615209565b6030612f7091906150c1565b60f81b818381518110612f8657612f85614b74565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612fc291906151d8565b9450612f40565b8093505050505b919050565b60008282604051602001612fea9291906152a3565b60405160208183030381529060405280519060200120905092915050565b60006130178260125485613405565b905092915050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806130ea57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806130fa57506130f98261341c565b5b9050919050565b61310b8383613486565b613118600084848461327d565b613157576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161314e90615189565b60405180910390fd5b505050565b613167838383613654565b505050565b600061317782611617565b90506131858160008461315c565b6131906000836128f5565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546131e0919061508d565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600061329e8473ffffffffffffffffffffffffffffffffffffffff16613768565b156133f8578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026132c7612863565b8786866040518563ffffffff1660e01b81526004016132e99493929190615324565b6020604051808303816000875af192505050801561332557506040513d601f19601f820116820180604052508101906133229190615385565b60015b6133a8573d8060008114613355576040519150601f19603f3d011682016040523d82523d6000602084013e61335a565b606091505b506000815114156133a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161339790615189565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506133fd565b600190505b949350505050565b600082613412858461377b565b1490509392505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156134f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134ed906153fe565b60405180910390fd5b6134ff81612889565b1561353f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135369061546a565b60405180910390fd5b61354b6000838361315c565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461359b91906150c1565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b61365f8383836137f0565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156136a25761369d816137f5565b6136e1565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146136e0576136df838261383e565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156137245761371f816139ab565b613763565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613762576137618282613a7c565b5b5b505050565b600080823b905060008111915050919050565b60008082905060005b84518110156137e55760008582815181106137a2576137a1614b74565b5b602002602001015190508083116137c4576137bd8382613afb565b92506137d1565b6137ce8184613afb565b92505b5080806137dd90614753565b915050613784565b508091505092915050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161384b846116c9565b613855919061508d565b905060006007600084815260200190815260200160002054905081811461393a576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506139bf919061508d565b90506000600960008481526020019081526020016000205490506000600883815481106139ef576139ee614b74565b5b906000526020600020015490508060088381548110613a1157613a10614b74565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613a6057613a5f61548a565b5b6001900381819060005260206000200160009055905550505050565b6000613a87836116c9565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600082600052816020526040600020905092915050565b828054613b1e906144d6565b90600052602060002090601f016020900481019282613b405760008555613b87565b82601f10613b5957805160ff1916838001178555613b87565b82800160010185558215613b87579182015b82811115613b86578251825591602001919060010190613b6b565b5b509050613b949190613b98565b5090565b5b80821115613bb1576000816000905550600101613b99565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613bfe81613bc9565b8114613c0957600080fd5b50565b600081359050613c1b81613bf5565b92915050565b600060208284031215613c3757613c36613bbf565b5b6000613c4584828501613c0c565b91505092915050565b60008115159050919050565b613c6381613c4e565b82525050565b6000602082019050613c7e6000830184613c5a565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613cbe578082015181840152602081019050613ca3565b83811115613ccd576000848401525b50505050565b6000601f19601f8301169050919050565b6000613cef82613c84565b613cf98185613c8f565b9350613d09818560208601613ca0565b613d1281613cd3565b840191505092915050565b60006020820190508181036000830152613d378184613ce4565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613d6a82613d3f565b9050919050565b613d7a81613d5f565b8114613d8557600080fd5b50565b600081359050613d9781613d71565b92915050565b6000819050919050565b613db081613d9d565b8114613dbb57600080fd5b50565b600081359050613dcd81613da7565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f840112613df857613df7613dd3565b5b8235905067ffffffffffffffff811115613e1557613e14613dd8565b5b602083019150836020820283011115613e3157613e30613ddd565b5b9250929050565b60008060008060608587031215613e5257613e51613bbf565b5b6000613e6087828801613d88565b9450506020613e7187828801613dbe565b935050604085013567ffffffffffffffff811115613e9257613e91613bc4565b5b613e9e87828801613de2565b925092505092959194509250565b600060208284031215613ec257613ec1613bbf565b5b6000613ed084828501613dbe565b91505092915050565b613ee281613d5f565b82525050565b6000602082019050613efd6000830184613ed9565b92915050565b60008060408385031215613f1a57613f19613bbf565b5b6000613f2885828601613d88565b9250506020613f3985828601613dbe565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60068110613f8357613f82613f43565b5b50565b6000819050613f9482613f72565b919050565b6000613fa482613f86565b9050919050565b613fb481613f99565b82525050565b6000602082019050613fcf6000830184613fab565b92915050565b613fde81613d9d565b82525050565b6000602082019050613ff96000830184613fd5565b92915050565b60008060006060848603121561401857614017613bbf565b5b600061402686828701613d88565b935050602061403786828701613d88565b925050604061404886828701613dbe565b9150509250925092565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61408f82613cd3565b810181811067ffffffffffffffff821117156140ae576140ad614057565b5b80604052505050565b60006140c1613bb5565b90506140cd8282614086565b919050565b600067ffffffffffffffff8211156140ed576140ec614057565b5b6140f682613cd3565b9050602081019050919050565b82818337600083830152505050565b6000614125614120846140d2565b6140b7565b90508281526020810184848401111561414157614140614052565b5b61414c848285614103565b509392505050565b600082601f83011261416957614168613dd3565b5b8135614179848260208601614112565b91505092915050565b60006020828403121561419857614197613bbf565b5b600082013567ffffffffffffffff8111156141b6576141b5613bc4565b5b6141c284828501614154565b91505092915050565b6000602082840312156141e1576141e0613bbf565b5b60006141ef84828501613d88565b91505092915050565b6000819050919050565b61420b816141f8565b82525050565b60006020820190506142266000830184614202565b92915050565b61423581613c4e565b811461424057600080fd5b50565b6000813590506142528161422c565b92915050565b6000806040838503121561426f5761426e613bbf565b5b600061427d85828601613d88565b925050602061428e85828601614243565b9150509250929050565b600067ffffffffffffffff8211156142b3576142b2614057565b5b6142bc82613cd3565b9050602081019050919050565b60006142dc6142d784614298565b6140b7565b9050828152602081018484840111156142f8576142f7614052565b5b614303848285614103565b509392505050565b600082601f8301126143205761431f613dd3565b5b81356143308482602086016142c9565b91505092915050565b6000806000806080858703121561435357614352613bbf565b5b600061436187828801613d88565b945050602061437287828801613d88565b935050604061438387828801613dbe565b925050606085013567ffffffffffffffff8111156143a4576143a3613bc4565b5b6143b08782880161430b565b91505092959194509250565b600681106143c957600080fd5b50565b6000813590506143db816143bc565b92915050565b6000602082840312156143f7576143f6613bbf565b5b6000614405848285016143cc565b91505092915050565b614417816141f8565b811461442257600080fd5b50565b6000813590506144348161440e565b92915050565b6000602082840312156144505761444f613bbf565b5b600061445e84828501614425565b91505092915050565b6000806040838503121561447e5761447d613bbf565b5b600061448c85828601613d88565b925050602061449d85828601613d88565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806144ee57607f821691505b60208210811415614502576145016144a7565b5b50919050565b7f6163636f756e74206973206e6f7420696e20616c6c6f776c6973740000000000600082015250565b600061453e601b83613c8f565b915061454982614508565b602082019050919050565b6000602082019050818103600083015261456d81614531565b9050919050565b7f4d696e745465726d53746174757320496e76616c696400000000000000000000600082015250565b60006145aa601683613c8f565b91506145b582614574565b602082019050919050565b600060208201905081810360008301526145d98161459d565b9050919050565b7f6f7574206f662073746f636b0000000000000000000000000000000000000000600082015250565b6000614616600c83613c8f565b9150614621826145e0565b602082019050919050565b6000602082019050818103600083015261464581614609565b9050919050565b7f616d6f756e74206c696d6974656420696e20414c000000000000000000000000600082015250565b6000614682601483613c8f565b915061468d8261464c565b602082019050919050565b600060208201905081810360008301526146b181614675565b9050919050565b7f616d6f756e74206c696d6974656420617420746869732074696d650000000000600082015250565b60006146ee601b83613c8f565b91506146f9826146b8565b602082019050919050565b6000602082019050818103600083015261471d816146e1565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061475e82613d9d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561479157614790614724565b5b600182019050919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006147f8602c83613c8f565b91506148038261479c565b604082019050919050565b60006020820190508181036000830152614827816147eb565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b600061488a602183613c8f565b91506148958261482e565b604082019050919050565b600060208201905081810360008301526148b98161487d565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b600061491c603883613c8f565b9150614927826148c0565b604082019050919050565b6000602082019050818103600083015261494b8161490f565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b60006149ae603183613c8f565b91506149b982614952565b604082019050919050565b600060208201905081810360008301526149dd816149a1565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000614a40602b83613c8f565b9150614a4b826149e4565b604082019050919050565b60006020820190508181036000830152614a6f81614a33565b9050919050565b7f6f7574206f66207465616d2073746f636b000000000000000000000000000000600082015250565b6000614aac601183613c8f565b9150614ab782614a76565b602082019050919050565b60006020820190508181036000830152614adb81614a9f565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000614b3e602c83613c8f565b9150614b4982614ae2565b604082019050919050565b60006020820190508181036000830152614b6d81614b31565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4d657461646174612069732046726f7a656e0000000000000000000000000000600082015250565b6000614bd9601283613c8f565b9150614be482614ba3565b602082019050919050565b60006020820190508181036000830152614c0881614bcc565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000614c6b602983613c8f565b9150614c7682614c0f565b604082019050919050565b60006020820190508181036000830152614c9a81614c5e565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000614cfd602a83613c8f565b9150614d0882614ca1565b604082019050919050565b60006020820190508181036000830152614d2c81614cf0565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614d69601983613c8f565b9150614d7482614d33565b602082019050919050565b60006020820190508181036000830152614d9881614d5c565b9050919050565b7f6261736555524920697320454d50545900000000000000000000000000000000600082015250565b6000614dd5601083613c8f565b9150614de082614d9f565b602082019050919050565b60006020820190508181036000830152614e0481614dc8565b9050919050565b600081905092915050565b6000614e2182613c84565b614e2b8185614e0b565b9350614e3b818560208601613ca0565b80840191505092915050565b6000614e538285614e16565b9150614e5f8284614e16565b91508190509392505050565b7f4e6f74205265616368656420416d6f756e740000000000000000000000000000600082015250565b6000614ea1601283613c8f565b9150614eac82614e6b565b602082019050919050565b60006020820190508181036000830152614ed081614e94565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614f33602c83613c8f565b9150614f3e82614ed7565b604082019050919050565b60006020820190508181036000830152614f6281614f26565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b6000614fc5602983613c8f565b9150614fd082614f69565b604082019050919050565b60006020820190508181036000830152614ff481614fb8565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000615057602483613c8f565b915061506282614ffb565b604082019050919050565b600060208201905081810360008301526150868161504a565b9050919050565b600061509882613d9d565b91506150a383613d9d565b9250828210156150b6576150b5614724565b5b828203905092915050565b60006150cc82613d9d565b91506150d783613d9d565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561510c5761510b614724565b5b828201905092915050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000615173603283613c8f565b915061517e82615117565b604082019050919050565b600060208201905081810360008301526151a281615166565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006151e382613d9d565b91506151ee83613d9d565b9250826151fe576151fd6151a9565b5b828204905092915050565b600061521482613d9d565b915061521f83613d9d565b92508261522f5761522e6151a9565b5b828206905092915050565b60008160601b9050919050565b60006152528261523a565b9050919050565b600061526482615247565b9050919050565b61527c61527782613d5f565b615259565b82525050565b6000819050919050565b61529d61529882613d9d565b615282565b82525050565b60006152af828561526b565b6014820191506152bf828461528c565b6020820191508190509392505050565b600081519050919050565b600082825260208201905092915050565b60006152f6826152cf565b61530081856152da565b9350615310818560208601613ca0565b61531981613cd3565b840191505092915050565b60006080820190506153396000830187613ed9565b6153466020830186613ed9565b6153536040830185613fd5565b818103606083015261536581846152eb565b905095945050505050565b60008151905061537f81613bf5565b92915050565b60006020828403121561539b5761539a613bbf565b5b60006153a984828501615370565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006153e8602083613c8f565b91506153f3826153b2565b602082019050919050565b60006020820190508181036000830152615417816153db565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615454601c83613c8f565b915061545f8261541e565b602082019050919050565b6000602082019050818103600083015261548381615447565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea264697066735822122044ac94f8028a55e5f1a067c4c48bdbb3cdc9fdde457c0a9dac30be203c5adc1564736f6c634300080a0033697066733a2f2f516d56723777616869566937524e4a76536645584d664768334341386f4d6148414d584e77345652524b396f6d352f
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102a05760003560e01c8063942d7b7f11610167578063d1f0fffe116100ce578063e316380811610087578063e3163808146107f9578063e7bc820814610817578063e97925b914610821578063e985e9c514610851578063f127394c14610881578063f65ffa7b1461089f576102a0565b8063d1f0fffe1461073b578063d3afbab714610757578063d65ae67714610773578063d691926d1461077d578063da9ab521146107ad578063dab5f340146107dd576102a0565b8063a811a37b11610120578063a811a37b14610667578063b88d4fde14610683578063c08790c91461069f578063c4373f7e146106bd578063c746035c146106db578063c87b56dd1461070b576102a0565b8063942d7b7f146105b957806395d89b41146105d55780639d589611146105f35780639de431f914610611578063a22cb46514610641578063a475b5dd1461065d576102a0565b806342842e0e1161020b5780636352211e116101c45780636352211e146104e557806370a082311461051557806373874359146105455780637dc0bf3f1461054f57806381df04a81461057f57806392eaa1d4146105af576102a0565b806342842e0e1461042557806342966c68146104415780634f6ccce71461045d57806354214f691461048d57806355f804b3146104ab5780635e080174146104c7576102a0565b806318160ddd1161025d57806318160ddd1461037957806323b872dd146103975780632f745c59146103b35780632fbba115146103e35780633b7e4aae146103ff5780633ccfd60b1461041b576102a0565b806301ffc9a7146102a557806306fdde03146102d557806307fd47e8146102f3578063081812fc1461030f578063095ea7b31461033f5780630f4f5a761461035b575b600080fd5b6102bf60048036038101906102ba9190613c21565b6108bb565b6040516102cc9190613c69565b60405180910390f35b6102dd6108cd565b6040516102ea9190613d1d565b60405180910390f35b61030d60048036038101906103089190613e38565b61095f565b005b61032960048036038101906103249190613eac565b610c5a565b6040516103369190613ee8565b60405180910390f35b61035960048036038101906103549190613f03565b610cdf565b005b610363610df7565b6040516103709190613fba565b60405180910390f35b610381610e0e565b60405161038e9190613fe4565b60405180910390f35b6103b160048036038101906103ac9190613fff565b610e1b565b005b6103cd60048036038101906103c89190613f03565b610e7b565b6040516103da9190613fe4565b60405180910390f35b6103fd60048036038101906103f89190613eac565b610f20565b005b61041960048036038101906104149190613e38565b6110ad565b005b6104236113a8565b005b61043f600480360381019061043a9190613fff565b611457565b005b61045b60048036038101906104569190613eac565b611477565b005b61047760048036038101906104729190613eac565b6114c3565b6040516104849190613fe4565b60405180910390f35b610495611534565b6040516104a29190613c69565b60405180910390f35b6104c560048036038101906104c09190614182565b611547565b005b6104cf611611565b6040516104dc9190613fe4565b60405180910390f35b6104ff60048036038101906104fa9190613eac565b611617565b60405161050c9190613ee8565b60405180910390f35b61052f600480360381019061052a91906141cb565b6116c9565b60405161053c9190613fe4565b60405180910390f35b61054d611781565b005b61056960048036038101906105649190613eac565b611976565b6040516105769190613c69565b60405180910390f35b610599600480360381019061059491906141cb565b611996565b6040516105a69190613fe4565b60405180910390f35b6105b76119ae565b005b6105d360048036038101906105ce9190613eac565b611ba4565b005b6105dd611c0f565b6040516105ea9190613d1d565b60405180910390f35b6105fb611ca1565b6040516106089190614211565b60405180910390f35b61062b600480360381019061062691906141cb565b611ca7565b6040516106389190613fe4565b60405180910390f35b61065b60048036038101906106569190614258565b611cbf565b005b610665611e40565b005b610681600480360381019061067c9190614182565b611f02565b005b61069d60048036038101906106989190614339565b611f76565b005b6106a7611fd8565b6040516106b49190613fe4565b60405180910390f35b6106c5611fde565b6040516106d29190613c69565b60405180910390f35b6106f560048036038101906106f091906141cb565b611ff1565b6040516107029190613fe4565b60405180910390f35b61072560048036038101906107209190613eac565b612009565b6040516107329190613d1d565b60405180910390f35b61075560048036038101906107509190613eac565b612092565b005b610771600480360381019061076c91906143e1565b6120fd565b005b61077b61218b565b005b610797600480360381019061079291906141cb565b61223a565b6040516107a49190613fe4565b60405180910390f35b6107c760048036038101906107c291906141cb565b612252565b6040516107d49190613fe4565b60405180910390f35b6107f760048036038101906107f2919061443a565b61226a565b005b6108016122d5565b60405161080e9190613fe4565b60405180910390f35b61081f6122db565b005b61083b60048036038101906108369190613e38565b6123e4565b6040516108489190613fe4565b60405180910390f35b61086b60048036038101906108669190614467565b612454565b6040516108789190613c69565b60405180910390f35b6108896124e8565b6040516108969190613fe4565b60405180910390f35b6108b960048036038101906108b49190613e38565b6124ee565b005b60006108c6826127e9565b9050919050565b6060600080546108dc906144d6565b80601f0160208091040260200160405190810160405280929190818152602001828054610908906144d6565b80156109555780601f1061092a57610100808354040283529160200191610955565b820191906000526020600020905b81548152906001019060200180831161093857829003601f168201915b5050505050905090565b600061096d858585856123e4565b116109ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109a490614554565b60405180910390fd5b8373ffffffffffffffffffffffffffffffffffffffff166109cc612863565b73ffffffffffffffffffffffffffffffffffffffff16146109ec57600080fd5b60016005811115610a00576109ff613f43565b5b601360009054906101000a900460ff166005811115610a2257610a21613f43565b5b14610a62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a59906145c0565b60405180910390fd5b6119c8600e541115610aa9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aa09061462c565b60405180910390fd5b82601460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410610b2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2190614698565b60405180910390fd5b601054601460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410610bad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba490614704565b60405180910390fd5b610bb984600e5461286b565b601460008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190610c0990614753565b91905055506001600f6000600e54815260200190815260200160002060006101000a81548160ff021916908315150217905550600e6000815480929190610c4f90614753565b919050555050505050565b6000610c6582612889565b610ca4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9b9061480e565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610cea82611617565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d52906148a0565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610d7a612863565b73ffffffffffffffffffffffffffffffffffffffff161480610da95750610da881610da3612863565b612454565b5b610de8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ddf90614932565b60405180910390fd5b610df283836128f5565b505050565b6000601360009054906101000a900460ff16905090565b6000600880549050905090565b610e2c610e26612863565b826129ae565b610e6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e62906149c4565b60405180910390fd5b610e76838383612a8c565b505050565b6000610e86836116c9565b8210610ec7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ebe90614a56565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6000610f2a612863565b9050601960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610f8657600080fd5b60005b828110156110a857600a54606411610fd6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fcd90614ac2565b60405180910390fd5b600a6000815480929190610fe990614753565b9190505550610ffa82600e5461286b565b601460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081548092919061104a90614753565b91905055506001600f6000600e54815260200190815260200160002060006101000a81548160ff021916908315150217905550600e600081548092919061109090614753565b919050555080806110a090614753565b915050610f89565b505050565b60006110bb858585856123e4565b116110fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f290614554565b60405180910390fd5b8373ffffffffffffffffffffffffffffffffffffffff1661111a612863565b73ffffffffffffffffffffffffffffffffffffffff161461113a57600080fd5b6004600581111561114e5761114d613f43565b5b601360009054906101000a900460ff1660058111156111705761116f613f43565b5b146111b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111a7906145c0565b60405180910390fd5b612710600e5411156111f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ee9061462c565b60405180910390fd5b82601760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410611278576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126f90614698565b60405180910390fd5b601054601760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054106112fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f290614704565b60405180910390fd5b61130784600e5461286b565b601760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081548092919061135790614753565b91905055506001600f6000600e54815260200190815260200160002060006101000a81548160ff021916908315150217905550600e600081548092919061139d90614753565b919050555050505050565b738837391c2634b62c4fcf4f0b01f0772a743a4cf373ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146113f457600080fd5b6000479050738837391c2634b62c4fcf4f0b01f0772a743a4cf373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015611453573d6000803e3d6000fd5b5050565b61147283838360405180602001604052806000815250611f76565b505050565b61148081611617565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146114b757600080fd5b6114c081612ce8565b50565b60006114cd610e0e565b821061150e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150590614b54565b60405180910390fd5b6008828154811061152257611521614b74565b5b90600052602060002001549050919050565b600d60009054906101000a900460ff1681565b601960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146115a157600080fd5b60001515600d60019054906101000a900460ff161515146115f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ee90614bef565b60405180910390fd5b80600b908051906020019061160d929190613b12565b5050565b60105481565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156116c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b790614c81565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561173a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173190614d13565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600061178b612863565b90506005808111156117a05761179f613f43565b5b601360009054906101000a900460ff1660058111156117c2576117c1613f43565b5b14611802576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f9906145c0565b60405180910390fd5b612710600e541115611849576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118409061462c565b60405180910390fd5b601154601860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054106118cc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118c390614704565b60405180910390fd5b6118d881600e5461286b565b601860008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081548092919061192890614753565b91905055506001600f6000600e54815260200190815260200160002060006101000a81548160ff021916908315150217905550600e600081548092919061196e90614753565b919050555050565b600f6020528060005260406000206000915054906101000a900460ff1681565b60146020528060005260406000206000915090505481565b60006119b8612863565b9050600360058111156119ce576119cd613f43565b5b601360009054906101000a900460ff1660058111156119f0576119ef613f43565b5b14611a30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a27906145c0565b60405180910390fd5b6119c8600e541115611a77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6e9061462c565b60405180910390fd5b601154601660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410611afa576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af190614704565b60405180910390fd5b611b0681600e5461286b565b601660008273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815480929190611b5690614753565b91905055506001600f6000600e54815260200190815260200160002060006101000a81548160ff021916908315150217905550600e6000815480929190611b9c90614753565b919050555050565b601960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611be5612863565b73ffffffffffffffffffffffffffffffffffffffff1614611c0557600080fd5b8060118190555050565b606060018054611c1e906144d6565b80601f0160208091040260200160405190810160405280929190818152602001828054611c4a906144d6565b8015611c975780601f10611c6c57610100808354040283529160200191611c97565b820191906000526020600020905b815481529060010190602001808311611c7a57829003601f168201915b5050505050905090565b60125481565b60156020528060005260406000206000915090505481565b611cc7612863565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2c90614d7f565b60405180910390fd5b8060056000611d42612863565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611def612863565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611e349190613c69565b60405180910390a35050565b601960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611e9a57600080fd5b6000611ea4612cf4565b5111611ee5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611edc90614deb565b60405180910390fd5b6001600d60006101000a81548160ff021916908315150217905550565b601960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611f5c57600080fd5b80600c9080519060200190611f72929190613b12565b5050565b611f87611f81612863565b836129ae565b611fc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fbd906149c4565b60405180910390fd5b611fd284848484612d86565b50505050565b60115481565b600d60019054906101000a900460ff1681565b60166020528060005260406000206000915090505481565b606080600d60009054906101000a900460ff161561203057612029612cf4565b9050612040565b612038612de2565b91505061208d565b600081511161205e5760405180602001604052806000815250612089565b8061206884612e74565b604051602001612079929190614e47565b6040516020818303038152906040525b9150505b919050565b601960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166120d3612863565b73ffffffffffffffffffffffffffffffffffffffff16146120f357600080fd5b8060108190555050565b601960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661213e612863565b73ffffffffffffffffffffffffffffffffffffffff161461215e57600080fd5b80601360006101000a81548160ff0219169083600581111561218357612182613f43565b5b021790555050565b73bdc378a75fe1d1b53adb3025541174b79474845b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146121d757600080fd5b600047905073eece4544101f7c7198157c74a1cbfe12aa86718b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015612236573d6000803e3d6000fd5b5050565b60176020528060005260406000206000915090505481565b60186020528060005260406000206000915090505481565b601960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166122ab612863565b73ffffffffffffffffffffffffffffffffffffffff16146122cb57600080fd5b8060128190555050565b600a5481565b601960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461233557600080fd5b600061233f612cf4565b5111612380576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161237790614deb565b60405180910390fd5b612710600e5410156123c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123be90614eb7565b60405180910390fd5b6001600d60016101000a81548160ff021916908315150217905550565b600061243a6123f38686612fd5565b848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050613008565b156124475783905061244c565b600090505b949350505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600e5481565b60006124fc858585856123e4565b1161253c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161253390614554565b60405180910390fd5b8373ffffffffffffffffffffffffffffffffffffffff1661255b612863565b73ffffffffffffffffffffffffffffffffffffffff161461257b57600080fd5b6002600581111561258f5761258e613f43565b5b601360009054906101000a900460ff1660058111156125b1576125b0613f43565b5b146125f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125e8906145c0565b60405180910390fd5b6119c8600e541115612638576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161262f9061462c565b60405180910390fd5b82601560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054106126b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126b090614698565b60405180910390fd5b601054601560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541061273c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161273390614704565b60405180910390fd5b61274884600e5461286b565b601560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081548092919061279890614753565b91905055506001600f6000600e54815260200190815260200160002060006101000a81548160ff021916908315150217905550600e60008154809291906127de90614753565b919050555050505050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061285c575061285b8261301f565b5b9050919050565b600033905090565b612885828260405180602001604052806000815250613101565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661296883611617565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006129b982612889565b6129f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129ef90614f49565b60405180910390fd5b6000612a0383611617565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612a7257508373ffffffffffffffffffffffffffffffffffffffff16612a5a84610c5a565b73ffffffffffffffffffffffffffffffffffffffff16145b80612a835750612a828185612454565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612aac82611617565b73ffffffffffffffffffffffffffffffffffffffff1614612b02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612af990614fdb565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b699061506d565b60405180910390fd5b612b7d83838361315c565b612b886000826128f5565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612bd8919061508d565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c2f91906150c1565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b612cf18161316c565b50565b6060600b8054612d03906144d6565b80601f0160208091040260200160405190810160405280929190818152602001828054612d2f906144d6565b8015612d7c5780601f10612d5157610100808354040283529160200191612d7c565b820191906000526020600020905b815481529060010190602001808311612d5f57829003601f168201915b5050505050905090565b612d91848484612a8c565b612d9d8484848461327d565b612ddc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dd390615189565b60405180910390fd5b50505050565b6060600c8054612df1906144d6565b80601f0160208091040260200160405190810160405280929190818152602001828054612e1d906144d6565b8015612e6a5780601f10612e3f57610100808354040283529160200191612e6a565b820191906000526020600020905b815481529060010190602001808311612e4d57829003601f168201915b5050505050905090565b60606000821415612ebc576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612fd0565b600082905060005b60008214612eee578080612ed790614753565b915050600a82612ee791906151d8565b9150612ec4565b60008167ffffffffffffffff811115612f0a57612f09614057565b5b6040519080825280601f01601f191660200182016040528015612f3c5781602001600182028036833780820191505090505b5090505b60008514612fc957600182612f55919061508d565b9150600a85612f649190615209565b6030612f7091906150c1565b60f81b818381518110612f8657612f85614b74565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612fc291906151d8565b9450612f40565b8093505050505b919050565b60008282604051602001612fea9291906152a3565b60405160208183030381529060405280519060200120905092915050565b60006130178260125485613405565b905092915050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806130ea57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806130fa57506130f98261341c565b5b9050919050565b61310b8383613486565b613118600084848461327d565b613157576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161314e90615189565b60405180910390fd5b505050565b613167838383613654565b505050565b600061317782611617565b90506131858160008461315c565b6131906000836128f5565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546131e0919061508d565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600061329e8473ffffffffffffffffffffffffffffffffffffffff16613768565b156133f8578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026132c7612863565b8786866040518563ffffffff1660e01b81526004016132e99493929190615324565b6020604051808303816000875af192505050801561332557506040513d601f19601f820116820180604052508101906133229190615385565b60015b6133a8573d8060008114613355576040519150601f19603f3d011682016040523d82523d6000602084013e61335a565b606091505b506000815114156133a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161339790615189565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506133fd565b600190505b949350505050565b600082613412858461377b565b1490509392505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156134f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134ed906153fe565b60405180910390fd5b6134ff81612889565b1561353f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135369061546a565b60405180910390fd5b61354b6000838361315c565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461359b91906150c1565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b61365f8383836137f0565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156136a25761369d816137f5565b6136e1565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146136e0576136df838261383e565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156137245761371f816139ab565b613763565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613762576137618282613a7c565b5b5b505050565b600080823b905060008111915050919050565b60008082905060005b84518110156137e55760008582815181106137a2576137a1614b74565b5b602002602001015190508083116137c4576137bd8382613afb565b92506137d1565b6137ce8184613afb565b92505b5080806137dd90614753565b915050613784565b508091505092915050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161384b846116c9565b613855919061508d565b905060006007600084815260200190815260200160002054905081811461393a576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506139bf919061508d565b90506000600960008481526020019081526020016000205490506000600883815481106139ef576139ee614b74565b5b906000526020600020015490508060088381548110613a1157613a10614b74565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613a6057613a5f61548a565b5b6001900381819060005260206000200160009055905550505050565b6000613a87836116c9565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600082600052816020526040600020905092915050565b828054613b1e906144d6565b90600052602060002090601f016020900481019282613b405760008555613b87565b82601f10613b5957805160ff1916838001178555613b87565b82800160010185558215613b87579182015b82811115613b86578251825591602001919060010190613b6b565b5b509050613b949190613b98565b5090565b5b80821115613bb1576000816000905550600101613b99565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613bfe81613bc9565b8114613c0957600080fd5b50565b600081359050613c1b81613bf5565b92915050565b600060208284031215613c3757613c36613bbf565b5b6000613c4584828501613c0c565b91505092915050565b60008115159050919050565b613c6381613c4e565b82525050565b6000602082019050613c7e6000830184613c5a565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613cbe578082015181840152602081019050613ca3565b83811115613ccd576000848401525b50505050565b6000601f19601f8301169050919050565b6000613cef82613c84565b613cf98185613c8f565b9350613d09818560208601613ca0565b613d1281613cd3565b840191505092915050565b60006020820190508181036000830152613d378184613ce4565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613d6a82613d3f565b9050919050565b613d7a81613d5f565b8114613d8557600080fd5b50565b600081359050613d9781613d71565b92915050565b6000819050919050565b613db081613d9d565b8114613dbb57600080fd5b50565b600081359050613dcd81613da7565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f840112613df857613df7613dd3565b5b8235905067ffffffffffffffff811115613e1557613e14613dd8565b5b602083019150836020820283011115613e3157613e30613ddd565b5b9250929050565b60008060008060608587031215613e5257613e51613bbf565b5b6000613e6087828801613d88565b9450506020613e7187828801613dbe565b935050604085013567ffffffffffffffff811115613e9257613e91613bc4565b5b613e9e87828801613de2565b925092505092959194509250565b600060208284031215613ec257613ec1613bbf565b5b6000613ed084828501613dbe565b91505092915050565b613ee281613d5f565b82525050565b6000602082019050613efd6000830184613ed9565b92915050565b60008060408385031215613f1a57613f19613bbf565b5b6000613f2885828601613d88565b9250506020613f3985828601613dbe565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60068110613f8357613f82613f43565b5b50565b6000819050613f9482613f72565b919050565b6000613fa482613f86565b9050919050565b613fb481613f99565b82525050565b6000602082019050613fcf6000830184613fab565b92915050565b613fde81613d9d565b82525050565b6000602082019050613ff96000830184613fd5565b92915050565b60008060006060848603121561401857614017613bbf565b5b600061402686828701613d88565b935050602061403786828701613d88565b925050604061404886828701613dbe565b9150509250925092565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61408f82613cd3565b810181811067ffffffffffffffff821117156140ae576140ad614057565b5b80604052505050565b60006140c1613bb5565b90506140cd8282614086565b919050565b600067ffffffffffffffff8211156140ed576140ec614057565b5b6140f682613cd3565b9050602081019050919050565b82818337600083830152505050565b6000614125614120846140d2565b6140b7565b90508281526020810184848401111561414157614140614052565b5b61414c848285614103565b509392505050565b600082601f83011261416957614168613dd3565b5b8135614179848260208601614112565b91505092915050565b60006020828403121561419857614197613bbf565b5b600082013567ffffffffffffffff8111156141b6576141b5613bc4565b5b6141c284828501614154565b91505092915050565b6000602082840312156141e1576141e0613bbf565b5b60006141ef84828501613d88565b91505092915050565b6000819050919050565b61420b816141f8565b82525050565b60006020820190506142266000830184614202565b92915050565b61423581613c4e565b811461424057600080fd5b50565b6000813590506142528161422c565b92915050565b6000806040838503121561426f5761426e613bbf565b5b600061427d85828601613d88565b925050602061428e85828601614243565b9150509250929050565b600067ffffffffffffffff8211156142b3576142b2614057565b5b6142bc82613cd3565b9050602081019050919050565b60006142dc6142d784614298565b6140b7565b9050828152602081018484840111156142f8576142f7614052565b5b614303848285614103565b509392505050565b600082601f8301126143205761431f613dd3565b5b81356143308482602086016142c9565b91505092915050565b6000806000806080858703121561435357614352613bbf565b5b600061436187828801613d88565b945050602061437287828801613d88565b935050604061438387828801613dbe565b925050606085013567ffffffffffffffff8111156143a4576143a3613bc4565b5b6143b08782880161430b565b91505092959194509250565b600681106143c957600080fd5b50565b6000813590506143db816143bc565b92915050565b6000602082840312156143f7576143f6613bbf565b5b6000614405848285016143cc565b91505092915050565b614417816141f8565b811461442257600080fd5b50565b6000813590506144348161440e565b92915050565b6000602082840312156144505761444f613bbf565b5b600061445e84828501614425565b91505092915050565b6000806040838503121561447e5761447d613bbf565b5b600061448c85828601613d88565b925050602061449d85828601613d88565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806144ee57607f821691505b60208210811415614502576145016144a7565b5b50919050565b7f6163636f756e74206973206e6f7420696e20616c6c6f776c6973740000000000600082015250565b600061453e601b83613c8f565b915061454982614508565b602082019050919050565b6000602082019050818103600083015261456d81614531565b9050919050565b7f4d696e745465726d53746174757320496e76616c696400000000000000000000600082015250565b60006145aa601683613c8f565b91506145b582614574565b602082019050919050565b600060208201905081810360008301526145d98161459d565b9050919050565b7f6f7574206f662073746f636b0000000000000000000000000000000000000000600082015250565b6000614616600c83613c8f565b9150614621826145e0565b602082019050919050565b6000602082019050818103600083015261464581614609565b9050919050565b7f616d6f756e74206c696d6974656420696e20414c000000000000000000000000600082015250565b6000614682601483613c8f565b915061468d8261464c565b602082019050919050565b600060208201905081810360008301526146b181614675565b9050919050565b7f616d6f756e74206c696d6974656420617420746869732074696d650000000000600082015250565b60006146ee601b83613c8f565b91506146f9826146b8565b602082019050919050565b6000602082019050818103600083015261471d816146e1565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061475e82613d9d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561479157614790614724565b5b600182019050919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006147f8602c83613c8f565b91506148038261479c565b604082019050919050565b60006020820190508181036000830152614827816147eb565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b600061488a602183613c8f565b91506148958261482e565b604082019050919050565b600060208201905081810360008301526148b98161487d565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b600061491c603883613c8f565b9150614927826148c0565b604082019050919050565b6000602082019050818103600083015261494b8161490f565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b60006149ae603183613c8f565b91506149b982614952565b604082019050919050565b600060208201905081810360008301526149dd816149a1565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000614a40602b83613c8f565b9150614a4b826149e4565b604082019050919050565b60006020820190508181036000830152614a6f81614a33565b9050919050565b7f6f7574206f66207465616d2073746f636b000000000000000000000000000000600082015250565b6000614aac601183613c8f565b9150614ab782614a76565b602082019050919050565b60006020820190508181036000830152614adb81614a9f565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000614b3e602c83613c8f565b9150614b4982614ae2565b604082019050919050565b60006020820190508181036000830152614b6d81614b31565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4d657461646174612069732046726f7a656e0000000000000000000000000000600082015250565b6000614bd9601283613c8f565b9150614be482614ba3565b602082019050919050565b60006020820190508181036000830152614c0881614bcc565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000614c6b602983613c8f565b9150614c7682614c0f565b604082019050919050565b60006020820190508181036000830152614c9a81614c5e565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000614cfd602a83613c8f565b9150614d0882614ca1565b604082019050919050565b60006020820190508181036000830152614d2c81614cf0565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614d69601983613c8f565b9150614d7482614d33565b602082019050919050565b60006020820190508181036000830152614d9881614d5c565b9050919050565b7f6261736555524920697320454d50545900000000000000000000000000000000600082015250565b6000614dd5601083613c8f565b9150614de082614d9f565b602082019050919050565b60006020820190508181036000830152614e0481614dc8565b9050919050565b600081905092915050565b6000614e2182613c84565b614e2b8185614e0b565b9350614e3b818560208601613ca0565b80840191505092915050565b6000614e538285614e16565b9150614e5f8284614e16565b91508190509392505050565b7f4e6f74205265616368656420416d6f756e740000000000000000000000000000600082015250565b6000614ea1601283613c8f565b9150614eac82614e6b565b602082019050919050565b60006020820190508181036000830152614ed081614e94565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614f33602c83613c8f565b9150614f3e82614ed7565b604082019050919050565b60006020820190508181036000830152614f6281614f26565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b6000614fc5602983613c8f565b9150614fd082614f69565b604082019050919050565b60006020820190508181036000830152614ff481614fb8565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000615057602483613c8f565b915061506282614ffb565b604082019050919050565b600060208201905081810360008301526150868161504a565b9050919050565b600061509882613d9d565b91506150a383613d9d565b9250828210156150b6576150b5614724565b5b828203905092915050565b60006150cc82613d9d565b91506150d783613d9d565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561510c5761510b614724565b5b828201905092915050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000615173603283613c8f565b915061517e82615117565b604082019050919050565b600060208201905081810360008301526151a281615166565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006151e382613d9d565b91506151ee83613d9d565b9250826151fe576151fd6151a9565b5b828204905092915050565b600061521482613d9d565b915061521f83613d9d565b92508261522f5761522e6151a9565b5b828206905092915050565b60008160601b9050919050565b60006152528261523a565b9050919050565b600061526482615247565b9050919050565b61527c61527782613d5f565b615259565b82525050565b6000819050919050565b61529d61529882613d9d565b615282565b82525050565b60006152af828561526b565b6014820191506152bf828461528c565b6020820191508190509392505050565b600081519050919050565b600082825260208201905092915050565b60006152f6826152cf565b61530081856152da565b9350615310818560208601613ca0565b61531981613cd3565b840191505092915050565b60006080820190506153396000830187613ed9565b6153466020830186613ed9565b6153536040830185613fd5565b818103606083015261536581846152eb565b905095945050505050565b60008151905061537f81613bf5565b92915050565b60006020828403121561539b5761539a613bbf565b5b60006153a984828501615370565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006153e8602083613c8f565b91506153f3826153b2565b602082019050919050565b60006020820190508181036000830152615417816153db565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615454601c83613c8f565b915061545f8261541e565b602082019050919050565b6000602082019050818103600083015261548381615447565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea264697066735822122044ac94f8028a55e5f1a067c4c48bdbb3cdc9fdde457c0a9dac30be203c5adc1564736f6c634300080a0033
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.