ERC-721
Overview
Max Total Supply
674 MA
Holders
323
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
2 MALoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
MetaaniArea
Compiler Version
v0.8.17+commit.8df45f5f
Contract Source Code (Solidity Multiple files format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.17; import "./ERC721.sol"; import "./Ownable.sol"; import "./IConataNFT.sol"; import "./IDNA.sol"; // contract MetaaniArea is IConataNFT, ERC721, Ownable{ IDNA public dna; uint private _mintedAmount = 0; uint private _burnedAmount = 0; string private _metadataBaseUri; mapping (uint => bool) public claimedTokenMap; bool public isOpenClaim = false; // address constant fundsWallet = 0x8837391C2634b62C4fCF4f0b01F0772A743A4Cf3; address constant fundsRescueSpareKey = 0xbDc378A75Fe1d1b53AdB3025541174B79474845b; address constant fundsRescueDestWallet = 0xeecE4544101f7C7198157c74A1cBfE12aa86718B; // constructor( string memory name, string memory symbol, string memory metadataBaseUri, address dnaAddr ) ERC721(name, symbol) { _metadataBaseUri = metadataBaseUri; dna = IDNA(dnaAddr); } // function mint(bytes calldata data) override(IConataNFT) external payable{ _claim(data); } function mint() override(IConataNFT) external payable{ revert("Not Implement"); } function isClaimableTokenId(address account, uint tokenId) public view returns(bool) { bool isNotMinted = claimedTokenMap[tokenId] == false; bool isOwnedDna; try dna.ownerOf(tokenId) returns (address owner) { isOwnedDna = owner == account; } catch { isOwnedDna = false; } return isNotMinted && isOwnedDna; } function getDnaTokenIds(address account) public view returns(uint[] memory){ uint tokenCount = dna.balanceOf(account); uint[] memory tokenIds = new uint[](tokenCount); for(uint i=0; i < tokenCount; i++){ uint tokenId = dna.tokenOfOwnerByIndex(account, i); tokenIds[i] = tokenId; } return tokenIds; } // function getClaimableTokenIds(address account) public view returns(uint[] memory){ uint[] memory tokenIds = getDnaTokenIds(account); uint count = 0; for (uint i = 0; i < tokenIds.length; i++) { if (isClaimableTokenId(account, tokenIds[i])) { count++; } } uint[] memory claimableTokenIds = new uint[](count); uint index = 0; for (uint i = 0; i < tokenIds.length; i++) { if (isClaimableTokenId(account, tokenIds[i])) { claimableTokenIds[index] = tokenIds[i]; index++; } } return claimableTokenIds; } function totalSupply() override(IConataNFT) external view returns(uint256){ return _mintedAmount - _burnedAmount; } // function burn(uint tokenId, uint amount) override(IConataNFT) external{ require(_msgSender() == ownerOf(tokenId), "Not Owner Of Token"); _burn(tokenId); _burnedAmount++; } // function _baseURI() internal view override(ERC721) returns (string memory) { return _metadataBaseUri; } // function _claim(bytes calldata data) internal{ require(isOpenClaim, "Not Open"); address account = _msgSender(); (uint[] memory tokenIds) = abi.decode(data, (uint[])); // for (uint i = 0; i < tokenIds.length; i++) { uint tokenId = tokenIds[i]; require(isClaimableTokenId(account, tokenId), "Invalid TokenId"); _safeMint( account , tokenId); claimedTokenMap[tokenId] = true; _mintedAmount++; emit Minted(account, tokenId); } } // function setDNA(address newAddr) external onlyOwner{ dna = IDNA(newAddr); } function setIsOpenClaim(bool state) external onlyOwner{ isOpenClaim = state; } function setURI(string memory metadataBaseUri) override(IConataNFT) external onlyOwner { _metadataBaseUri = metadataBaseUri; } // function withdraw() override(IConataNFT) external { require(_msgSender() == fundsWallet); uint balance = address(this).balance; payable(fundsWallet).transfer(balance); } function withdrawSpare() override(IConataNFT) external { require(_msgSender() == fundsRescueSpareKey); uint balance = address(this).balance; payable(fundsRescueDestWallet).transfer(balance); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, "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"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, 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) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, 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) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // 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 /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.17; library Convert{ // function boolToString(bool _from) internal pure returns(string memory){ return _from == true ? "true" : "false"; } function bytes32ToHexString(bytes memory buffer) internal pure returns (string memory) { // Fixed buffer size for hexadecimal convertion bytes memory converted = new bytes(buffer.length * 2); bytes memory _base = "0123456789abcdef"; for (uint256 i = 0; i < buffer.length; i++) { converted[i * 2] = _base[uint8(buffer[i]) / _base.length]; converted[i * 2 + 1] = _base[uint8(buffer[i]) % _base.length]; } return string(abi.encodePacked("0x", converted)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./IERC721Metadata.sol"; import "./Address.sol"; import "./Context.sol"; import "./Strings.sol"; import "./ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, 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: address zero is not a valid owner"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _ownerOf(tokenId); require(owner != address(0), "ERC721: invalid token ID"); 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) { _requireMinted(tokenId); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not token owner or approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { _requireMinted(tokenId); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or 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: caller is not token owner or 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 the owner of the `tokenId`. Does NOT revert if token doesn't exist */ function _ownerOf(uint256 tokenId) internal view virtual returns (address) { return _owners[tokenId]; } /** * @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 _ownerOf(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) { address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId, 1); // Check that tokenId was not minted by `_beforeTokenTransfer` hook require(!_exists(tokenId), "ERC721: token already minted"); unchecked { // Will not overflow unless all 2**256 token ids are minted to the same owner. // Given that tokens are minted one by one, it is impossible in practice that // this ever happens. Might change if we allow batch minting. // The ERC fails to describe this case. _balances[to] += 1; } _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId, 1); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * This is an internal function that does not check if the sender is authorized to operate on the token. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId, 1); // Update ownership in case tokenId was transferred by `_beforeTokenTransfer` hook owner = ERC721.ownerOf(tokenId); // Clear approvals delete _tokenApprovals[tokenId]; unchecked { // Cannot overflow, as that would require more tokens to be burned/transferred // out than the owner initially received through minting and transferring in. _balances[owner] -= 1; } delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId, 1); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId, 1); // Check that tokenId was not transferred by `_beforeTokenTransfer` hook require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); // Clear approvals from the previous owner delete _tokenApprovals[tokenId]; unchecked { // `_balances[from]` cannot overflow for the same reason as described in `_burn`: // `from`'s balance is the number of token held, which is at least one before the current // transfer. // `_balances[to]` could overflow in the conditions described in `_mint`. That would require // all 2**256 token ids to be minted, which in practice is impossible. _balances[from] -= 1; _balances[to] += 1; } _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId, 1); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { /// @solidity memory-safe-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. If {ERC721Consecutive} is * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s tokens will be transferred to `to`. * - When `from` is zero, the tokens will be minted for `to`. * - When `to` is zero, ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * - `batchSize` is non-zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256, /* firstTokenId */ uint256 batchSize ) internal virtual { if (batchSize > 1) { if (from != address(0)) { _balances[from] -= batchSize; } if (to != address(0)) { _balances[to] += batchSize; } } } /** * @dev Hook that is called after any token transfer. This includes minting and burning. If {ERC721Consecutive} is * used, the hook may be called as part of a consecutive (batch) mint, as indicated by `batchSize` greater than 1. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s tokens were transferred to `to`. * - When `from` is zero, the tokens were minted for `to`. * - When `to` is zero, ``from``'s tokens were burned. * - `from` and `to` are never both zero. * - `batchSize` is non-zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 firstTokenId, uint256 batchSize ) internal virtual {} }
// SPDX-License-Identifier: MIT pragma solidity 0.8.17; // interface IConataNFT{ event Log(string message); event Minted(address account, uint tokenId); // WRITE //////////////////////////////////////////////////////////////////////////// function mint(bytes calldata data) external payable; function mint() external payable; function burn(uint tokenId, uint amount) external; function setURI(string memory newURI) external; function withdraw() external; function withdrawSpare() external; // READ //////////////////////////////////////////////////////////////////////////// function totalSupply() external view returns (uint256); }
// SPDX-License-Identifier: MIT pragma solidity 0.8.17; interface IDNA{ // function balanceOf(address owner) external view returns (uint256 balance); // function ownerOf(uint256 tokenId) external view returns (address owner); function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must 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: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721 * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must * understand this adds an external call which potentially creates a reentrancy vulnerability. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv( uint256 x, uint256 y, uint256 denominator ) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv( uint256 x, uint256 y, uint256 denominator, Rounding rounding ) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10**64) { value /= 10**64; result += 64; } if (value >= 10**32) { value /= 10**32; result += 32; } if (value >= 10**16) { value /= 10**16; result += 16; } if (value >= 10**8) { value /= 10**8; result += 8; } if (value >= 10**4) { value /= 10**4; result += 4; } if (value >= 10**2) { value /= 10**2; result += 2; } if (value >= 10**1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Tree proofs. * * The tree and the proofs can be generated using our * https://github.com/OpenZeppelin/merkle-tree[JavaScript library]. * You will find a quickstart guide in the readme. * * 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. * OpenZeppelin's JavaScript library generates merkle trees that are safe * against this attack out of the box. */ 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 Calldata version of {verify} * * _Available since v4.7._ */ function verifyCalldata( bytes32[] calldata proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProofCalldata(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++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Calldata version of {processProof} * * _Available since v4.7._ */ function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function multiProofVerify( bytes32[] memory proof, bool[] memory proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProof(proof, proofFlags, leaves) == root; } /** * @dev Calldata version of {multiProofVerify} * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function multiProofVerifyCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProofCalldata(proof, proofFlags, leaves) == root; } /** * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false * respectively. * * CAUTION: Not all merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer). * * _Available since v4.7._ */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Calldata version of {processMultiProof}. * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { /// @solidity memory-safe-assembly assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.17; /** * @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.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "./Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol) pragma solidity ^0.8.0; import "./Math.sol"; /** * @dev String operations. */ library Strings { bytes16 private constant _SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @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] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"metadataBaseUri","type":"string"},{"internalType":"address","name":"dnaAddr","type":"address"}],"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":false,"internalType":"string","name":"message","type":"string"}],"name":"Log","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Minted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"claimedTokenMap","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dna","outputs":[{"internalType":"contract IDNA","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getClaimableTokenIds","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getDnaTokenIds","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"isClaimableTokenId","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isOpenClaim","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes","name":"data","type":"bytes"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddr","type":"address"}],"name":"setDNA","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"state","type":"bool"}],"name":"setIsOpenClaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"metadataBaseUri","type":"string"}],"name":"setURI","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":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawSpare","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052600060085560006009556000600c60006101000a81548160ff0219169083151502179055503480156200003657600080fd5b5060405162004a4338038062004a4383398181016040528101906200005c9190620003c7565b838381600090816200006f9190620006e1565b508060019081620000819190620006e1565b505050620000a4620000986200010160201b60201c565b6200010960201b60201c565b81600a9081620000b59190620006e1565b5080600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050505050620007c8565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200023882620001ed565b810181811067ffffffffffffffff821117156200025a5762000259620001fe565b5b80604052505050565b60006200026f620001cf565b90506200027d82826200022d565b919050565b600067ffffffffffffffff821115620002a0576200029f620001fe565b5b620002ab82620001ed565b9050602081019050919050565b60005b83811015620002d8578082015181840152602081019050620002bb565b60008484015250505050565b6000620002fb620002f58462000282565b62000263565b9050828152602081018484840111156200031a5762000319620001e8565b5b62000327848285620002b8565b509392505050565b600082601f830112620003475762000346620001e3565b5b815162000359848260208601620002e4565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200038f8262000362565b9050919050565b620003a18162000382565b8114620003ad57600080fd5b50565b600081519050620003c18162000396565b92915050565b60008060008060808587031215620003e457620003e3620001d9565b5b600085015167ffffffffffffffff811115620004055762000404620001de565b5b62000413878288016200032f565b945050602085015167ffffffffffffffff811115620004375762000436620001de565b5b62000445878288016200032f565b935050604085015167ffffffffffffffff811115620004695762000468620001de565b5b62000477878288016200032f565b92505060606200048a87828801620003b0565b91505092959194509250565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620004e957607f821691505b602082108103620004ff57620004fe620004a1565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620005697fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826200052a565b6200057586836200052a565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620005c2620005bc620005b6846200058d565b62000597565b6200058d565b9050919050565b6000819050919050565b620005de83620005a1565b620005f6620005ed82620005c9565b84845462000537565b825550505050565b600090565b6200060d620005fe565b6200061a818484620005d3565b505050565b5b8181101562000642576200063660008262000603565b60018101905062000620565b5050565b601f82111562000691576200065b8162000505565b62000666846200051a565b8101602085101562000676578190505b6200068e62000685856200051a565b8301826200061f565b50505b505050565b600082821c905092915050565b6000620006b66000198460080262000696565b1980831691505092915050565b6000620006d18383620006a3565b9150826002028217905092915050565b620006ec8262000496565b67ffffffffffffffff811115620007085762000707620001fe565b5b620007148254620004d0565b6200072182828562000646565b600060209050601f83116001811462000759576000841562000744578287015190505b620007508582620006c3565b865550620007c0565b601f198416620007698662000505565b60005b8281101562000793578489015182556001820191506020850194506020810190506200076c565b86831015620007b35784890151620007af601f891682620006a3565b8355505b6001600288020188555050505b505050505050565b61426b80620007d86000396000f3fe6080604052600436106101d85760003560e01c806370a0823111610102578063a22cb46511610095578063c87b56dd11610064578063c87b56dd1461068c578063d65ae677146106c9578063e985e9c5146106e0578063f2fde38b1461071d576101d8565b8063a22cb465146105e8578063b390c0ab14610611578063b4c75bac1461063a578063b88d4fde14610663576101d8565b80637e904090116100d15780637e9040901461053c5780638da5cb5b1461056757806395d89b411461059257806395ded8a0146105bd576101d8565b806370a082311461048f578063715018a6146104cc5780637a8cb15d146104e35780637ba0e2e714610520576101d8565b806318160ddd1161017a5780633ccfd60b116101495780633ccfd60b146103d557806342842e0e146103ec57806358e900aa146104155780636352211e14610452576101d8565b806318160ddd1461030757806323b872dd146103325780633a51dd8c1461035b5780633b79f5ae14610398576101d8565b806306fdde03116101b657806306fdde031461026c578063081812fc14610297578063095ea7b3146102d45780631249c58b146102fd576101d8565b806301ffc9a7146101dd57806302fe53051461021a57806303d7884c14610243575b600080fd5b3480156101e957600080fd5b5061020460048036038101906101ff9190612a20565b610746565b6040516102119190612a68565b60405180910390f35b34801561022657600080fd5b50610241600480360381019061023c9190612bc9565b610828565b005b34801561024f57600080fd5b5061026a60048036038101906102659190612c70565b610843565b005b34801561027857600080fd5b5061028161088f565b60405161028e9190612d1c565b60405180910390f35b3480156102a357600080fd5b506102be60048036038101906102b99190612d74565b610921565b6040516102cb9190612db0565b60405180910390f35b3480156102e057600080fd5b506102fb60048036038101906102f69190612dcb565b610967565b005b610305610a7e565b005b34801561031357600080fd5b5061031c610ab9565b6040516103299190612e1a565b60405180910390f35b34801561033e57600080fd5b5061035960048036038101906103549190612e35565b610ad0565b005b34801561036757600080fd5b50610382600480360381019061037d9190612dcb565b610b30565b60405161038f9190612a68565b60405180910390f35b3480156103a457600080fd5b506103bf60048036038101906103ba9190612d74565b610c48565b6040516103cc9190612a68565b60405180910390f35b3480156103e157600080fd5b506103ea610c68565b005b3480156103f857600080fd5b50610413600480360381019061040e9190612e35565b610d1e565b005b34801561042157600080fd5b5061043c60048036038101906104379190612c70565b610d3e565b6040516104499190612f46565b60405180910390f35b34801561045e57600080fd5b5061047960048036038101906104749190612d74565b610f19565b6040516104869190612db0565b60405180910390f35b34801561049b57600080fd5b506104b660048036038101906104b19190612c70565b610f9f565b6040516104c39190612e1a565b60405180910390f35b3480156104d857600080fd5b506104e1611056565b005b3480156104ef57600080fd5b5061050a60048036038101906105059190612c70565b61106a565b6040516105179190612f46565b60405180910390f35b61053a60048036038101906105359190612fc8565b6111be565b005b34801561054857600080fd5b506105516111cc565b60405161055e9190613074565b60405180910390f35b34801561057357600080fd5b5061057c6111f2565b6040516105899190612db0565b60405180910390f35b34801561059e57600080fd5b506105a761121c565b6040516105b49190612d1c565b60405180910390f35b3480156105c957600080fd5b506105d26112ae565b6040516105df9190612a68565b60405180910390f35b3480156105f457600080fd5b5061060f600480360381019061060a91906130bb565b6112c1565b005b34801561061d57600080fd5b50610638600480360381019061063391906130fb565b6112d7565b005b34801561064657600080fd5b50610661600480360381019061065c919061313b565b611379565b005b34801561066f57600080fd5b5061068a60048036038101906106859190613209565b61139e565b005b34801561069857600080fd5b506106b360048036038101906106ae9190612d74565b611400565b6040516106c09190612d1c565b60405180910390f35b3480156106d557600080fd5b506106de611468565b005b3480156106ec57600080fd5b506107076004803603810190610702919061328c565b61151e565b6040516107149190612a68565b60405180910390f35b34801561072957600080fd5b50610744600480360381019061073f9190612c70565b6115b2565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061081157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610821575061082082611635565b5b9050919050565b61083061169f565b80600a908161083f91906134ce565b5050565b61084b61169f565b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60606000805461089e906132fb565b80601f01602080910402602001604051908101604052809291908181526020018280546108ca906132fb565b80156109175780601f106108ec57610100808354040283529160200191610917565b820191906000526020600020905b8154815290600101906020018083116108fa57829003601f168201915b5050505050905090565b600061092c8261171d565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061097282610f19565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036109e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109d990613612565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a01611768565b73ffffffffffffffffffffffffffffffffffffffff161480610a305750610a2f81610a2a611768565b61151e565b5b610a6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a66906136a4565b60405180910390fd5b610a798383611770565b505050565b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ab090613710565b60405180910390fd5b6000600954600854610acb919061375f565b905090565b610ae1610adb611768565b82611829565b610b20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1790613805565b60405180910390fd5b610b2b8383836118be565b505050565b60008060001515600b600085815260200190815260200160002060009054906101000a900460ff1615151490506000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e856040518263ffffffff1660e01b8152600401610bba9190612e1a565b602060405180830381865afa925050508015610bf457506040513d601f19601f82011682018060405250810190610bf1919061383a565b60015b610c015760009050610c34565b8573ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16149150505b818015610c3e5750805b9250505092915050565b600b6020528060005260406000206000915054906101000a900460ff1681565b738837391c2634b62c4fcf4f0b01f0772a743a4cf373ffffffffffffffffffffffffffffffffffffffff16610c9b611768565b73ffffffffffffffffffffffffffffffffffffffff1614610cbb57600080fd5b6000479050738837391c2634b62c4fcf4f0b01f0772a743a4cf373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610d1a573d6000803e3d6000fd5b5050565b610d398383836040518060200160405280600081525061139e565b505050565b60606000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b8152600401610d9d9190612db0565b602060405180830381865afa158015610dba573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dde919061387c565b905060008167ffffffffffffffff811115610dfc57610dfb612a9e565b5b604051908082528060200260200182016040528015610e2a5781602001602082028036833780820191505090505b50905060005b82811015610f0e576000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632f745c5987846040518363ffffffff1660e01b8152600401610e979291906138a9565b602060405180830381865afa158015610eb4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ed8919061387c565b905080838381518110610eee57610eed6138d2565b5b602002602001018181525050508080610f0690613901565b915050610e30565b508092505050919050565b600080610f2583611bb7565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610f96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8d90613995565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361100f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100690613a27565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61105e61169f565b6110686000611bf4565b565b6060600061107783610d3e565b90506000805b82518110156110d1576110aa8584838151811061109d5761109c6138d2565b5b6020026020010151610b30565b156110be5781806110ba90613901565b9250505b80806110c990613901565b91505061107d565b5060008167ffffffffffffffff8111156110ee576110ed612a9e565b5b60405190808252806020026020018201604052801561111c5781602001602082028036833780820191505090505b5090506000805b84518110156111b15761115087868381518110611143576111426138d2565b5b6020026020010151610b30565b1561119e57848181518110611168576111676138d2565b5b6020026020010151838381518110611183576111826138d2565b5b602002602001018181525050818061119a90613901565b9250505b80806111a990613901565b915050611123565b5081945050505050919050565b6111c88282611cba565b5050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461122b906132fb565b80601f0160208091040260200160405190810160405280929190818152602001828054611257906132fb565b80156112a45780601f10611279576101008083540402835291602001916112a4565b820191906000526020600020905b81548152906001019060200180831161128757829003601f168201915b5050505050905090565b600c60009054906101000a900460ff1681565b6112d36112cc611768565b8383611e3e565b5050565b6112e082610f19565b73ffffffffffffffffffffffffffffffffffffffff166112fe611768565b73ffffffffffffffffffffffffffffffffffffffff1614611354576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134b90613a93565b60405180910390fd5b61135d82611faa565b6009600081548092919061137090613901565b91905055505050565b61138161169f565b80600c60006101000a81548160ff02191690831515021790555050565b6113af6113a9611768565b83611829565b6113ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e590613805565b60405180910390fd5b6113fa848484846120f8565b50505050565b606061140b8261171d565b6000611415612154565b905060008151116114355760405180602001604052806000815250611460565b8061143f846121e6565b604051602001611450929190613aef565b6040516020818303038152906040525b915050919050565b73bdc378a75fe1d1b53adb3025541174b79474845b73ffffffffffffffffffffffffffffffffffffffff1661149b611768565b73ffffffffffffffffffffffffffffffffffffffff16146114bb57600080fd5b600047905073eece4544101f7c7198157c74a1cbfe12aa86718b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505015801561151a573d6000803e3d6000fd5b5050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6115ba61169f565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611629576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162090613b85565b60405180910390fd5b61163281611bf4565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6116a7611768565b73ffffffffffffffffffffffffffffffffffffffff166116c56111f2565b73ffffffffffffffffffffffffffffffffffffffff161461171b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171290613bf1565b60405180910390fd5b565b611726816122b4565b611765576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175c90613995565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166117e383610f19565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008061183583610f19565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806118775750611876818561151e565b5b806118b557508373ffffffffffffffffffffffffffffffffffffffff1661189d84610921565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166118de82610f19565b73ffffffffffffffffffffffffffffffffffffffff1614611934576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192b90613c83565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036119a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199a90613d15565b60405180910390fd5b6119b083838360016122f5565b8273ffffffffffffffffffffffffffffffffffffffff166119d082610f19565b73ffffffffffffffffffffffffffffffffffffffff1614611a26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1d90613c83565b60405180910390fd5b6004600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611bb2838383600161241b565b505050565b60006002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600c60009054906101000a900460ff16611d09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0090613d81565b60405180910390fd5b6000611d13611768565b905060008383810190611d269190613e64565b905060005b8151811015611e37576000828281518110611d4957611d486138d2565b5b60200260200101519050611d5d8482610b30565b611d9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9390613ef9565b60405180910390fd5b611da68482612421565b6001600b600083815260200190815260200160002060006101000a81548160ff02191690831515021790555060086000815480929190611de590613901565b91905055507f30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfe8482604051611e1b9291906138a9565b60405180910390a1508080611e2f90613901565b915050611d2b565b5050505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611eac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea390613f65565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611f9d9190612a68565b60405180910390a3505050565b6000611fb582610f19565b9050611fc58160008460016122f5565b611fce82610f19565b90506004600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46120f481600084600161241b565b5050565b6121038484846118be565b61210f8484848461243f565b61214e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161214590613ff7565b60405180910390fd5b50505050565b6060600a8054612163906132fb565b80601f016020809104026020016040519081016040528092919081815260200182805461218f906132fb565b80156121dc5780601f106121b1576101008083540402835291602001916121dc565b820191906000526020600020905b8154815290600101906020018083116121bf57829003601f168201915b5050505050905090565b6060600060016121f5846125c6565b01905060008167ffffffffffffffff81111561221457612213612a9e565b5b6040519080825280601f01601f1916602001820160405280156122465781602001600182028036833780820191505090505b509050600082602001820190505b6001156122a9578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a858161229d5761229c614017565b5b04945060008503612254575b819350505050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166122d683611bb7565b73ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600181111561241557600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16146123895780600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612381919061375f565b925050819055505b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146124145780600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461240c9190614046565b925050819055505b5b50505050565b50505050565b61243b828260405180602001604052806000815250612719565b5050565b60006124608473ffffffffffffffffffffffffffffffffffffffff16612774565b156125b9578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612489611768565b8786866040518563ffffffff1660e01b81526004016124ab94939291906140cf565b6020604051808303816000875af19250505080156124e757506040513d601f19601f820116820180604052508101906124e49190614130565b60015b612569573d8060008114612517576040519150601f19603f3d011682016040523d82523d6000602084013e61251c565b606091505b506000815103612561576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161255890613ff7565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506125be565b600190505b949350505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310612624577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000838161261a57612619614017565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310612661576d04ee2d6d415b85acef8100000000838161265757612656614017565b5b0492506020810190505b662386f26fc10000831061269057662386f26fc10000838161268657612685614017565b5b0492506010810190505b6305f5e10083106126b9576305f5e10083816126af576126ae614017565b5b0492506008810190505b61271083106126de5761271083816126d4576126d3614017565b5b0492506004810190505b6064831061270157606483816126f7576126f6614017565b5b0492506002810190505b600a8310612710576001810190505b80915050919050565b6127238383612797565b612730600084848461243f565b61276f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161276690613ff7565b60405180910390fd5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612806576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127fd906141a9565b60405180910390fd5b61280f816122b4565b1561284f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161284690614215565b60405180910390fd5b61285d6000838360016122f5565b612866816122b4565b156128a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161289d90614215565b60405180910390fd5b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46129b060008383600161241b565b5050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6129fd816129c8565b8114612a0857600080fd5b50565b600081359050612a1a816129f4565b92915050565b600060208284031215612a3657612a356129be565b5b6000612a4484828501612a0b565b91505092915050565b60008115159050919050565b612a6281612a4d565b82525050565b6000602082019050612a7d6000830184612a59565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612ad682612a8d565b810181811067ffffffffffffffff82111715612af557612af4612a9e565b5b80604052505050565b6000612b086129b4565b9050612b148282612acd565b919050565b600067ffffffffffffffff821115612b3457612b33612a9e565b5b612b3d82612a8d565b9050602081019050919050565b82818337600083830152505050565b6000612b6c612b6784612b19565b612afe565b905082815260208101848484011115612b8857612b87612a88565b5b612b93848285612b4a565b509392505050565b600082601f830112612bb057612baf612a83565b5b8135612bc0848260208601612b59565b91505092915050565b600060208284031215612bdf57612bde6129be565b5b600082013567ffffffffffffffff811115612bfd57612bfc6129c3565b5b612c0984828501612b9b565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612c3d82612c12565b9050919050565b612c4d81612c32565b8114612c5857600080fd5b50565b600081359050612c6a81612c44565b92915050565b600060208284031215612c8657612c856129be565b5b6000612c9484828501612c5b565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612cd7578082015181840152602081019050612cbc565b60008484015250505050565b6000612cee82612c9d565b612cf88185612ca8565b9350612d08818560208601612cb9565b612d1181612a8d565b840191505092915050565b60006020820190508181036000830152612d368184612ce3565b905092915050565b6000819050919050565b612d5181612d3e565b8114612d5c57600080fd5b50565b600081359050612d6e81612d48565b92915050565b600060208284031215612d8a57612d896129be565b5b6000612d9884828501612d5f565b91505092915050565b612daa81612c32565b82525050565b6000602082019050612dc56000830184612da1565b92915050565b60008060408385031215612de257612de16129be565b5b6000612df085828601612c5b565b9250506020612e0185828601612d5f565b9150509250929050565b612e1481612d3e565b82525050565b6000602082019050612e2f6000830184612e0b565b92915050565b600080600060608486031215612e4e57612e4d6129be565b5b6000612e5c86828701612c5b565b9350506020612e6d86828701612c5b565b9250506040612e7e86828701612d5f565b9150509250925092565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b612ebd81612d3e565b82525050565b6000612ecf8383612eb4565b60208301905092915050565b6000602082019050919050565b6000612ef382612e88565b612efd8185612e93565b9350612f0883612ea4565b8060005b83811015612f39578151612f208882612ec3565b9750612f2b83612edb565b925050600181019050612f0c565b5085935050505092915050565b60006020820190508181036000830152612f608184612ee8565b905092915050565b600080fd5b600080fd5b60008083601f840112612f8857612f87612a83565b5b8235905067ffffffffffffffff811115612fa557612fa4612f68565b5b602083019150836001820283011115612fc157612fc0612f6d565b5b9250929050565b60008060208385031215612fdf57612fde6129be565b5b600083013567ffffffffffffffff811115612ffd57612ffc6129c3565b5b61300985828601612f72565b92509250509250929050565b6000819050919050565b600061303a61303561303084612c12565b613015565b612c12565b9050919050565b600061304c8261301f565b9050919050565b600061305e82613041565b9050919050565b61306e81613053565b82525050565b60006020820190506130896000830184613065565b92915050565b61309881612a4d565b81146130a357600080fd5b50565b6000813590506130b58161308f565b92915050565b600080604083850312156130d2576130d16129be565b5b60006130e085828601612c5b565b92505060206130f1858286016130a6565b9150509250929050565b60008060408385031215613112576131116129be565b5b600061312085828601612d5f565b925050602061313185828601612d5f565b9150509250929050565b600060208284031215613151576131506129be565b5b600061315f848285016130a6565b91505092915050565b600067ffffffffffffffff82111561318357613182612a9e565b5b61318c82612a8d565b9050602081019050919050565b60006131ac6131a784613168565b612afe565b9050828152602081018484840111156131c8576131c7612a88565b5b6131d3848285612b4a565b509392505050565b600082601f8301126131f0576131ef612a83565b5b8135613200848260208601613199565b91505092915050565b60008060008060808587031215613223576132226129be565b5b600061323187828801612c5b565b945050602061324287828801612c5b565b935050604061325387828801612d5f565b925050606085013567ffffffffffffffff811115613274576132736129c3565b5b613280878288016131db565b91505092959194509250565b600080604083850312156132a3576132a26129be565b5b60006132b185828601612c5b565b92505060206132c285828601612c5b565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061331357607f821691505b602082108103613326576133256132cc565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261338e7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613351565b6133988683613351565b95508019841693508086168417925050509392505050565b60006133cb6133c66133c184612d3e565b613015565b612d3e565b9050919050565b6000819050919050565b6133e5836133b0565b6133f96133f1826133d2565b84845461335e565b825550505050565b600090565b61340e613401565b6134198184846133dc565b505050565b5b8181101561343d57613432600082613406565b60018101905061341f565b5050565b601f821115613482576134538161332c565b61345c84613341565b8101602085101561346b578190505b61347f61347785613341565b83018261341e565b50505b505050565b600082821c905092915050565b60006134a560001984600802613487565b1980831691505092915050565b60006134be8383613494565b9150826002028217905092915050565b6134d782612c9d565b67ffffffffffffffff8111156134f0576134ef612a9e565b5b6134fa82546132fb565b613505828285613441565b600060209050601f8311600181146135385760008415613526578287015190505b61353085826134b2565b865550613598565b601f1984166135468661332c565b60005b8281101561356e57848901518255600182019150602085019450602081019050613549565b8683101561358b5784890151613587601f891682613494565b8355505b6001600288020188555050505b505050505050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006135fc602183612ca8565b9150613607826135a0565b604082019050919050565b6000602082019050818103600083015261362b816135ef565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000602082015250565b600061368e603d83612ca8565b915061369982613632565b604082019050919050565b600060208201905081810360008301526136bd81613681565b9050919050565b7f4e6f7420496d706c656d656e7400000000000000000000000000000000000000600082015250565b60006136fa600d83612ca8565b9150613705826136c4565b602082019050919050565b60006020820190508181036000830152613729816136ed565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061376a82612d3e565b915061377583612d3e565b925082820390508181111561378d5761378c613730565b5b92915050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206f7220617070726f76656400000000000000000000000000000000000000602082015250565b60006137ef602d83612ca8565b91506137fa82613793565b604082019050919050565b6000602082019050818103600083015261381e816137e2565b9050919050565b60008151905061383481612c44565b92915050565b6000602082840312156138505761384f6129be565b5b600061385e84828501613825565b91505092915050565b60008151905061387681612d48565b92915050565b600060208284031215613892576138916129be565b5b60006138a084828501613867565b91505092915050565b60006040820190506138be6000830185612da1565b6138cb6020830184612e0b565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600061390c82612d3e565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361393e5761393d613730565b5b600182019050919050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b600061397f601883612ca8565b915061398a82613949565b602082019050919050565b600060208201905081810360008301526139ae81613972565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000613a11602983612ca8565b9150613a1c826139b5565b604082019050919050565b60006020820190508181036000830152613a4081613a04565b9050919050565b7f4e6f74204f776e6572204f6620546f6b656e0000000000000000000000000000600082015250565b6000613a7d601283612ca8565b9150613a8882613a47565b602082019050919050565b60006020820190508181036000830152613aac81613a70565b9050919050565b600081905092915050565b6000613ac982612c9d565b613ad38185613ab3565b9350613ae3818560208601612cb9565b80840191505092915050565b6000613afb8285613abe565b9150613b078284613abe565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613b6f602683612ca8565b9150613b7a82613b13565b604082019050919050565b60006020820190508181036000830152613b9e81613b62565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613bdb602083612ca8565b9150613be682613ba5565b602082019050919050565b60006020820190508181036000830152613c0a81613bce565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000613c6d602583612ca8565b9150613c7882613c11565b604082019050919050565b60006020820190508181036000830152613c9c81613c60565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000613cff602483612ca8565b9150613d0a82613ca3565b604082019050919050565b60006020820190508181036000830152613d2e81613cf2565b9050919050565b7f4e6f74204f70656e000000000000000000000000000000000000000000000000600082015250565b6000613d6b600883612ca8565b9150613d7682613d35565b602082019050919050565b60006020820190508181036000830152613d9a81613d5e565b9050919050565b600067ffffffffffffffff821115613dbc57613dbb612a9e565b5b602082029050602081019050919050565b6000613de0613ddb84613da1565b612afe565b90508083825260208201905060208402830185811115613e0357613e02612f6d565b5b835b81811015613e2c5780613e188882612d5f565b845260208401935050602081019050613e05565b5050509392505050565b600082601f830112613e4b57613e4a612a83565b5b8135613e5b848260208601613dcd565b91505092915050565b600060208284031215613e7a57613e796129be565b5b600082013567ffffffffffffffff811115613e9857613e976129c3565b5b613ea484828501613e36565b91505092915050565b7f496e76616c696420546f6b656e49640000000000000000000000000000000000600082015250565b6000613ee3600f83612ca8565b9150613eee82613ead565b602082019050919050565b60006020820190508181036000830152613f1281613ed6565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000613f4f601983612ca8565b9150613f5a82613f19565b602082019050919050565b60006020820190508181036000830152613f7e81613f42565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000613fe1603283612ca8565b9150613fec82613f85565b604082019050919050565b6000602082019050818103600083015261401081613fd4565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061405182612d3e565b915061405c83612d3e565b925082820190508082111561407457614073613730565b5b92915050565b600081519050919050565b600082825260208201905092915050565b60006140a18261407a565b6140ab8185614085565b93506140bb818560208601612cb9565b6140c481612a8d565b840191505092915050565b60006080820190506140e46000830187612da1565b6140f16020830186612da1565b6140fe6040830185612e0b565b81810360608301526141108184614096565b905095945050505050565b60008151905061412a816129f4565b92915050565b600060208284031215614146576141456129be565b5b60006141548482850161411b565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614193602083612ca8565b915061419e8261415d565b602082019050919050565b600060208201905081810360008301526141c281614186565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006141ff601c83612ca8565b915061420a826141c9565b602082019050919050565b6000602082019050818103600083015261422e816141f2565b905091905056fea2646970667358221220aac66a4a4b1e645709eab22fde2a78c7eeac17faa311aaa44e26fe556df8194464736f6c63430008110033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000f8527def19d2d40226e5ebccf3cd5a27cca63efa000000000000000000000000000000000000000000000000000000000000000b4d657461616e694172656100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000024d410000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d6534326250474259677a667a686e4e7a595131637570377a594c38713933613570536566526979504e75726f2f00000000000000000000
Deployed Bytecode
0x6080604052600436106101d85760003560e01c806370a0823111610102578063a22cb46511610095578063c87b56dd11610064578063c87b56dd1461068c578063d65ae677146106c9578063e985e9c5146106e0578063f2fde38b1461071d576101d8565b8063a22cb465146105e8578063b390c0ab14610611578063b4c75bac1461063a578063b88d4fde14610663576101d8565b80637e904090116100d15780637e9040901461053c5780638da5cb5b1461056757806395d89b411461059257806395ded8a0146105bd576101d8565b806370a082311461048f578063715018a6146104cc5780637a8cb15d146104e35780637ba0e2e714610520576101d8565b806318160ddd1161017a5780633ccfd60b116101495780633ccfd60b146103d557806342842e0e146103ec57806358e900aa146104155780636352211e14610452576101d8565b806318160ddd1461030757806323b872dd146103325780633a51dd8c1461035b5780633b79f5ae14610398576101d8565b806306fdde03116101b657806306fdde031461026c578063081812fc14610297578063095ea7b3146102d45780631249c58b146102fd576101d8565b806301ffc9a7146101dd57806302fe53051461021a57806303d7884c14610243575b600080fd5b3480156101e957600080fd5b5061020460048036038101906101ff9190612a20565b610746565b6040516102119190612a68565b60405180910390f35b34801561022657600080fd5b50610241600480360381019061023c9190612bc9565b610828565b005b34801561024f57600080fd5b5061026a60048036038101906102659190612c70565b610843565b005b34801561027857600080fd5b5061028161088f565b60405161028e9190612d1c565b60405180910390f35b3480156102a357600080fd5b506102be60048036038101906102b99190612d74565b610921565b6040516102cb9190612db0565b60405180910390f35b3480156102e057600080fd5b506102fb60048036038101906102f69190612dcb565b610967565b005b610305610a7e565b005b34801561031357600080fd5b5061031c610ab9565b6040516103299190612e1a565b60405180910390f35b34801561033e57600080fd5b5061035960048036038101906103549190612e35565b610ad0565b005b34801561036757600080fd5b50610382600480360381019061037d9190612dcb565b610b30565b60405161038f9190612a68565b60405180910390f35b3480156103a457600080fd5b506103bf60048036038101906103ba9190612d74565b610c48565b6040516103cc9190612a68565b60405180910390f35b3480156103e157600080fd5b506103ea610c68565b005b3480156103f857600080fd5b50610413600480360381019061040e9190612e35565b610d1e565b005b34801561042157600080fd5b5061043c60048036038101906104379190612c70565b610d3e565b6040516104499190612f46565b60405180910390f35b34801561045e57600080fd5b5061047960048036038101906104749190612d74565b610f19565b6040516104869190612db0565b60405180910390f35b34801561049b57600080fd5b506104b660048036038101906104b19190612c70565b610f9f565b6040516104c39190612e1a565b60405180910390f35b3480156104d857600080fd5b506104e1611056565b005b3480156104ef57600080fd5b5061050a60048036038101906105059190612c70565b61106a565b6040516105179190612f46565b60405180910390f35b61053a60048036038101906105359190612fc8565b6111be565b005b34801561054857600080fd5b506105516111cc565b60405161055e9190613074565b60405180910390f35b34801561057357600080fd5b5061057c6111f2565b6040516105899190612db0565b60405180910390f35b34801561059e57600080fd5b506105a761121c565b6040516105b49190612d1c565b60405180910390f35b3480156105c957600080fd5b506105d26112ae565b6040516105df9190612a68565b60405180910390f35b3480156105f457600080fd5b5061060f600480360381019061060a91906130bb565b6112c1565b005b34801561061d57600080fd5b50610638600480360381019061063391906130fb565b6112d7565b005b34801561064657600080fd5b50610661600480360381019061065c919061313b565b611379565b005b34801561066f57600080fd5b5061068a60048036038101906106859190613209565b61139e565b005b34801561069857600080fd5b506106b360048036038101906106ae9190612d74565b611400565b6040516106c09190612d1c565b60405180910390f35b3480156106d557600080fd5b506106de611468565b005b3480156106ec57600080fd5b506107076004803603810190610702919061328c565b61151e565b6040516107149190612a68565b60405180910390f35b34801561072957600080fd5b50610744600480360381019061073f9190612c70565b6115b2565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061081157507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610821575061082082611635565b5b9050919050565b61083061169f565b80600a908161083f91906134ce565b5050565b61084b61169f565b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60606000805461089e906132fb565b80601f01602080910402602001604051908101604052809291908181526020018280546108ca906132fb565b80156109175780601f106108ec57610100808354040283529160200191610917565b820191906000526020600020905b8154815290600101906020018083116108fa57829003601f168201915b5050505050905090565b600061092c8261171d565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061097282610f19565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036109e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109d990613612565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a01611768565b73ffffffffffffffffffffffffffffffffffffffff161480610a305750610a2f81610a2a611768565b61151e565b5b610a6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a66906136a4565b60405180910390fd5b610a798383611770565b505050565b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ab090613710565b60405180910390fd5b6000600954600854610acb919061375f565b905090565b610ae1610adb611768565b82611829565b610b20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1790613805565b60405180910390fd5b610b2b8383836118be565b505050565b60008060001515600b600085815260200190815260200160002060009054906101000a900460ff1615151490506000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e856040518263ffffffff1660e01b8152600401610bba9190612e1a565b602060405180830381865afa925050508015610bf457506040513d601f19601f82011682018060405250810190610bf1919061383a565b60015b610c015760009050610c34565b8573ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16149150505b818015610c3e5750805b9250505092915050565b600b6020528060005260406000206000915054906101000a900460ff1681565b738837391c2634b62c4fcf4f0b01f0772a743a4cf373ffffffffffffffffffffffffffffffffffffffff16610c9b611768565b73ffffffffffffffffffffffffffffffffffffffff1614610cbb57600080fd5b6000479050738837391c2634b62c4fcf4f0b01f0772a743a4cf373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610d1a573d6000803e3d6000fd5b5050565b610d398383836040518060200160405280600081525061139e565b505050565b60606000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231846040518263ffffffff1660e01b8152600401610d9d9190612db0565b602060405180830381865afa158015610dba573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dde919061387c565b905060008167ffffffffffffffff811115610dfc57610dfb612a9e565b5b604051908082528060200260200182016040528015610e2a5781602001602082028036833780820191505090505b50905060005b82811015610f0e576000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632f745c5987846040518363ffffffff1660e01b8152600401610e979291906138a9565b602060405180830381865afa158015610eb4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ed8919061387c565b905080838381518110610eee57610eed6138d2565b5b602002602001018181525050508080610f0690613901565b915050610e30565b508092505050919050565b600080610f2583611bb7565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610f96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8d90613995565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361100f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161100690613a27565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61105e61169f565b6110686000611bf4565b565b6060600061107783610d3e565b90506000805b82518110156110d1576110aa8584838151811061109d5761109c6138d2565b5b6020026020010151610b30565b156110be5781806110ba90613901565b9250505b80806110c990613901565b91505061107d565b5060008167ffffffffffffffff8111156110ee576110ed612a9e565b5b60405190808252806020026020018201604052801561111c5781602001602082028036833780820191505090505b5090506000805b84518110156111b15761115087868381518110611143576111426138d2565b5b6020026020010151610b30565b1561119e57848181518110611168576111676138d2565b5b6020026020010151838381518110611183576111826138d2565b5b602002602001018181525050818061119a90613901565b9250505b80806111a990613901565b915050611123565b5081945050505050919050565b6111c88282611cba565b5050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461122b906132fb565b80601f0160208091040260200160405190810160405280929190818152602001828054611257906132fb565b80156112a45780601f10611279576101008083540402835291602001916112a4565b820191906000526020600020905b81548152906001019060200180831161128757829003601f168201915b5050505050905090565b600c60009054906101000a900460ff1681565b6112d36112cc611768565b8383611e3e565b5050565b6112e082610f19565b73ffffffffffffffffffffffffffffffffffffffff166112fe611768565b73ffffffffffffffffffffffffffffffffffffffff1614611354576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134b90613a93565b60405180910390fd5b61135d82611faa565b6009600081548092919061137090613901565b91905055505050565b61138161169f565b80600c60006101000a81548160ff02191690831515021790555050565b6113af6113a9611768565b83611829565b6113ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e590613805565b60405180910390fd5b6113fa848484846120f8565b50505050565b606061140b8261171d565b6000611415612154565b905060008151116114355760405180602001604052806000815250611460565b8061143f846121e6565b604051602001611450929190613aef565b6040516020818303038152906040525b915050919050565b73bdc378a75fe1d1b53adb3025541174b79474845b73ffffffffffffffffffffffffffffffffffffffff1661149b611768565b73ffffffffffffffffffffffffffffffffffffffff16146114bb57600080fd5b600047905073eece4544101f7c7198157c74a1cbfe12aa86718b73ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505015801561151a573d6000803e3d6000fd5b5050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6115ba61169f565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611629576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162090613b85565b60405180910390fd5b61163281611bf4565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6116a7611768565b73ffffffffffffffffffffffffffffffffffffffff166116c56111f2565b73ffffffffffffffffffffffffffffffffffffffff161461171b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171290613bf1565b60405180910390fd5b565b611726816122b4565b611765576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175c90613995565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166117e383610f19565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008061183583610f19565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806118775750611876818561151e565b5b806118b557508373ffffffffffffffffffffffffffffffffffffffff1661189d84610921565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166118de82610f19565b73ffffffffffffffffffffffffffffffffffffffff1614611934576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192b90613c83565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036119a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199a90613d15565b60405180910390fd5b6119b083838360016122f5565b8273ffffffffffffffffffffffffffffffffffffffff166119d082610f19565b73ffffffffffffffffffffffffffffffffffffffff1614611a26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1d90613c83565b60405180910390fd5b6004600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611bb2838383600161241b565b505050565b60006002600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600c60009054906101000a900460ff16611d09576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0090613d81565b60405180910390fd5b6000611d13611768565b905060008383810190611d269190613e64565b905060005b8151811015611e37576000828281518110611d4957611d486138d2565b5b60200260200101519050611d5d8482610b30565b611d9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9390613ef9565b60405180910390fd5b611da68482612421565b6001600b600083815260200190815260200160002060006101000a81548160ff02191690831515021790555060086000815480929190611de590613901565b91905055507f30385c845b448a36257a6a1716e6ad2e1bc2cbe333cde1e69fe849ad6511adfe8482604051611e1b9291906138a9565b60405180910390a1508080611e2f90613901565b915050611d2b565b5050505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611eac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea390613f65565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611f9d9190612a68565b60405180910390a3505050565b6000611fb582610f19565b9050611fc58160008460016122f5565b611fce82610f19565b90506004600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825403925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46120f481600084600161241b565b5050565b6121038484846118be565b61210f8484848461243f565b61214e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161214590613ff7565b60405180910390fd5b50505050565b6060600a8054612163906132fb565b80601f016020809104026020016040519081016040528092919081815260200182805461218f906132fb565b80156121dc5780601f106121b1576101008083540402835291602001916121dc565b820191906000526020600020905b8154815290600101906020018083116121bf57829003601f168201915b5050505050905090565b6060600060016121f5846125c6565b01905060008167ffffffffffffffff81111561221457612213612a9e565b5b6040519080825280601f01601f1916602001820160405280156122465781602001600182028036833780820191505090505b509050600082602001820190505b6001156122a9578080600190039150507f3031323334353637383961626364656600000000000000000000000000000000600a86061a8153600a858161229d5761229c614017565b5b04945060008503612254575b819350505050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166122d683611bb7565b73ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600181111561241557600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16146123895780600360008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612381919061375f565b925050819055505b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146124145780600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461240c9190614046565b925050819055505b5b50505050565b50505050565b61243b828260405180602001604052806000815250612719565b5050565b60006124608473ffffffffffffffffffffffffffffffffffffffff16612774565b156125b9578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612489611768565b8786866040518563ffffffff1660e01b81526004016124ab94939291906140cf565b6020604051808303816000875af19250505080156124e757506040513d601f19601f820116820180604052508101906124e49190614130565b60015b612569573d8060008114612517576040519150601f19603f3d011682016040523d82523d6000602084013e61251c565b606091505b506000815103612561576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161255890613ff7565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506125be565b600190505b949350505050565b600080600090507a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008310612624577a184f03e93ff9f4daa797ed6e38ed64bf6a1f010000000000000000838161261a57612619614017565b5b0492506040810190505b6d04ee2d6d415b85acef81000000008310612661576d04ee2d6d415b85acef8100000000838161265757612656614017565b5b0492506020810190505b662386f26fc10000831061269057662386f26fc10000838161268657612685614017565b5b0492506010810190505b6305f5e10083106126b9576305f5e10083816126af576126ae614017565b5b0492506008810190505b61271083106126de5761271083816126d4576126d3614017565b5b0492506004810190505b6064831061270157606483816126f7576126f6614017565b5b0492506002810190505b600a8310612710576001810190505b80915050919050565b6127238383612797565b612730600084848461243f565b61276f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161276690613ff7565b60405180910390fd5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612806576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127fd906141a9565b60405180910390fd5b61280f816122b4565b1561284f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161284690614215565b60405180910390fd5b61285d6000838360016122f5565b612866816122b4565b156128a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161289d90614215565b60405180910390fd5b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46129b060008383600161241b565b5050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6129fd816129c8565b8114612a0857600080fd5b50565b600081359050612a1a816129f4565b92915050565b600060208284031215612a3657612a356129be565b5b6000612a4484828501612a0b565b91505092915050565b60008115159050919050565b612a6281612a4d565b82525050565b6000602082019050612a7d6000830184612a59565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612ad682612a8d565b810181811067ffffffffffffffff82111715612af557612af4612a9e565b5b80604052505050565b6000612b086129b4565b9050612b148282612acd565b919050565b600067ffffffffffffffff821115612b3457612b33612a9e565b5b612b3d82612a8d565b9050602081019050919050565b82818337600083830152505050565b6000612b6c612b6784612b19565b612afe565b905082815260208101848484011115612b8857612b87612a88565b5b612b93848285612b4a565b509392505050565b600082601f830112612bb057612baf612a83565b5b8135612bc0848260208601612b59565b91505092915050565b600060208284031215612bdf57612bde6129be565b5b600082013567ffffffffffffffff811115612bfd57612bfc6129c3565b5b612c0984828501612b9b565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612c3d82612c12565b9050919050565b612c4d81612c32565b8114612c5857600080fd5b50565b600081359050612c6a81612c44565b92915050565b600060208284031215612c8657612c856129be565b5b6000612c9484828501612c5b565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612cd7578082015181840152602081019050612cbc565b60008484015250505050565b6000612cee82612c9d565b612cf88185612ca8565b9350612d08818560208601612cb9565b612d1181612a8d565b840191505092915050565b60006020820190508181036000830152612d368184612ce3565b905092915050565b6000819050919050565b612d5181612d3e565b8114612d5c57600080fd5b50565b600081359050612d6e81612d48565b92915050565b600060208284031215612d8a57612d896129be565b5b6000612d9884828501612d5f565b91505092915050565b612daa81612c32565b82525050565b6000602082019050612dc56000830184612da1565b92915050565b60008060408385031215612de257612de16129be565b5b6000612df085828601612c5b565b9250506020612e0185828601612d5f565b9150509250929050565b612e1481612d3e565b82525050565b6000602082019050612e2f6000830184612e0b565b92915050565b600080600060608486031215612e4e57612e4d6129be565b5b6000612e5c86828701612c5b565b9350506020612e6d86828701612c5b565b9250506040612e7e86828701612d5f565b9150509250925092565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b612ebd81612d3e565b82525050565b6000612ecf8383612eb4565b60208301905092915050565b6000602082019050919050565b6000612ef382612e88565b612efd8185612e93565b9350612f0883612ea4565b8060005b83811015612f39578151612f208882612ec3565b9750612f2b83612edb565b925050600181019050612f0c565b5085935050505092915050565b60006020820190508181036000830152612f608184612ee8565b905092915050565b600080fd5b600080fd5b60008083601f840112612f8857612f87612a83565b5b8235905067ffffffffffffffff811115612fa557612fa4612f68565b5b602083019150836001820283011115612fc157612fc0612f6d565b5b9250929050565b60008060208385031215612fdf57612fde6129be565b5b600083013567ffffffffffffffff811115612ffd57612ffc6129c3565b5b61300985828601612f72565b92509250509250929050565b6000819050919050565b600061303a61303561303084612c12565b613015565b612c12565b9050919050565b600061304c8261301f565b9050919050565b600061305e82613041565b9050919050565b61306e81613053565b82525050565b60006020820190506130896000830184613065565b92915050565b61309881612a4d565b81146130a357600080fd5b50565b6000813590506130b58161308f565b92915050565b600080604083850312156130d2576130d16129be565b5b60006130e085828601612c5b565b92505060206130f1858286016130a6565b9150509250929050565b60008060408385031215613112576131116129be565b5b600061312085828601612d5f565b925050602061313185828601612d5f565b9150509250929050565b600060208284031215613151576131506129be565b5b600061315f848285016130a6565b91505092915050565b600067ffffffffffffffff82111561318357613182612a9e565b5b61318c82612a8d565b9050602081019050919050565b60006131ac6131a784613168565b612afe565b9050828152602081018484840111156131c8576131c7612a88565b5b6131d3848285612b4a565b509392505050565b600082601f8301126131f0576131ef612a83565b5b8135613200848260208601613199565b91505092915050565b60008060008060808587031215613223576132226129be565b5b600061323187828801612c5b565b945050602061324287828801612c5b565b935050604061325387828801612d5f565b925050606085013567ffffffffffffffff811115613274576132736129c3565b5b613280878288016131db565b91505092959194509250565b600080604083850312156132a3576132a26129be565b5b60006132b185828601612c5b565b92505060206132c285828601612c5b565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061331357607f821691505b602082108103613326576133256132cc565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261338e7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613351565b6133988683613351565b95508019841693508086168417925050509392505050565b60006133cb6133c66133c184612d3e565b613015565b612d3e565b9050919050565b6000819050919050565b6133e5836133b0565b6133f96133f1826133d2565b84845461335e565b825550505050565b600090565b61340e613401565b6134198184846133dc565b505050565b5b8181101561343d57613432600082613406565b60018101905061341f565b5050565b601f821115613482576134538161332c565b61345c84613341565b8101602085101561346b578190505b61347f61347785613341565b83018261341e565b50505b505050565b600082821c905092915050565b60006134a560001984600802613487565b1980831691505092915050565b60006134be8383613494565b9150826002028217905092915050565b6134d782612c9d565b67ffffffffffffffff8111156134f0576134ef612a9e565b5b6134fa82546132fb565b613505828285613441565b600060209050601f8311600181146135385760008415613526578287015190505b61353085826134b2565b865550613598565b601f1984166135468661332c565b60005b8281101561356e57848901518255600182019150602085019450602081019050613549565b8683101561358b5784890151613587601f891682613494565b8355505b6001600288020188555050505b505050505050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006135fc602183612ca8565b9150613607826135a0565b604082019050919050565b6000602082019050818103600083015261362b816135ef565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000602082015250565b600061368e603d83612ca8565b915061369982613632565b604082019050919050565b600060208201905081810360008301526136bd81613681565b9050919050565b7f4e6f7420496d706c656d656e7400000000000000000000000000000000000000600082015250565b60006136fa600d83612ca8565b9150613705826136c4565b602082019050919050565b60006020820190508181036000830152613729816136ed565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061376a82612d3e565b915061377583612d3e565b925082820390508181111561378d5761378c613730565b5b92915050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206f7220617070726f76656400000000000000000000000000000000000000602082015250565b60006137ef602d83612ca8565b91506137fa82613793565b604082019050919050565b6000602082019050818103600083015261381e816137e2565b9050919050565b60008151905061383481612c44565b92915050565b6000602082840312156138505761384f6129be565b5b600061385e84828501613825565b91505092915050565b60008151905061387681612d48565b92915050565b600060208284031215613892576138916129be565b5b60006138a084828501613867565b91505092915050565b60006040820190506138be6000830185612da1565b6138cb6020830184612e0b565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600061390c82612d3e565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361393e5761393d613730565b5b600182019050919050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b600061397f601883612ca8565b915061398a82613949565b602082019050919050565b600060208201905081810360008301526139ae81613972565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000613a11602983612ca8565b9150613a1c826139b5565b604082019050919050565b60006020820190508181036000830152613a4081613a04565b9050919050565b7f4e6f74204f776e6572204f6620546f6b656e0000000000000000000000000000600082015250565b6000613a7d601283612ca8565b9150613a8882613a47565b602082019050919050565b60006020820190508181036000830152613aac81613a70565b9050919050565b600081905092915050565b6000613ac982612c9d565b613ad38185613ab3565b9350613ae3818560208601612cb9565b80840191505092915050565b6000613afb8285613abe565b9150613b078284613abe565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613b6f602683612ca8565b9150613b7a82613b13565b604082019050919050565b60006020820190508181036000830152613b9e81613b62565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613bdb602083612ca8565b9150613be682613ba5565b602082019050919050565b60006020820190508181036000830152613c0a81613bce565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b6000613c6d602583612ca8565b9150613c7882613c11565b604082019050919050565b60006020820190508181036000830152613c9c81613c60565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000613cff602483612ca8565b9150613d0a82613ca3565b604082019050919050565b60006020820190508181036000830152613d2e81613cf2565b9050919050565b7f4e6f74204f70656e000000000000000000000000000000000000000000000000600082015250565b6000613d6b600883612ca8565b9150613d7682613d35565b602082019050919050565b60006020820190508181036000830152613d9a81613d5e565b9050919050565b600067ffffffffffffffff821115613dbc57613dbb612a9e565b5b602082029050602081019050919050565b6000613de0613ddb84613da1565b612afe565b90508083825260208201905060208402830185811115613e0357613e02612f6d565b5b835b81811015613e2c5780613e188882612d5f565b845260208401935050602081019050613e05565b5050509392505050565b600082601f830112613e4b57613e4a612a83565b5b8135613e5b848260208601613dcd565b91505092915050565b600060208284031215613e7a57613e796129be565b5b600082013567ffffffffffffffff811115613e9857613e976129c3565b5b613ea484828501613e36565b91505092915050565b7f496e76616c696420546f6b656e49640000000000000000000000000000000000600082015250565b6000613ee3600f83612ca8565b9150613eee82613ead565b602082019050919050565b60006020820190508181036000830152613f1281613ed6565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000613f4f601983612ca8565b9150613f5a82613f19565b602082019050919050565b60006020820190508181036000830152613f7e81613f42565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000613fe1603283612ca8565b9150613fec82613f85565b604082019050919050565b6000602082019050818103600083015261401081613fd4565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061405182612d3e565b915061405c83612d3e565b925082820190508082111561407457614073613730565b5b92915050565b600081519050919050565b600082825260208201905092915050565b60006140a18261407a565b6140ab8185614085565b93506140bb818560208601612cb9565b6140c481612a8d565b840191505092915050565b60006080820190506140e46000830187612da1565b6140f16020830186612da1565b6140fe6040830185612e0b565b81810360608301526141108184614096565b905095945050505050565b60008151905061412a816129f4565b92915050565b600060208284031215614146576141456129be565b5b60006141548482850161411b565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614193602083612ca8565b915061419e8261415d565b602082019050919050565b600060208201905081810360008301526141c281614186565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006141ff601c83612ca8565b915061420a826141c9565b602082019050919050565b6000602082019050818103600083015261422e816141f2565b905091905056fea2646970667358221220aac66a4a4b1e645709eab22fde2a78c7eeac17faa311aaa44e26fe556df8194464736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000f8527def19d2d40226e5ebccf3cd5a27cca63efa000000000000000000000000000000000000000000000000000000000000000b4d657461616e694172656100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000024d410000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d6534326250474259677a667a686e4e7a595131637570377a594c38713933613570536566526979504e75726f2f00000000000000000000
-----Decoded View---------------
Arg [0] : name (string): MetaaniArea
Arg [1] : symbol (string): MA
Arg [2] : metadataBaseUri (string): ipfs://Qme42bPGBYgzfzhnNzYQ1cup7zYL8q93a5pSefRiyPNuro/
Arg [3] : dnaAddr (address): 0xf8527DEf19D2D40226E5eBCCF3cD5a27cCa63efA
-----Encoded View---------------
11 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [3] : 000000000000000000000000f8527def19d2d40226e5ebccf3cd5a27cca63efa
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [5] : 4d657461616e6941726561000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [7] : 4d41000000000000000000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [9] : 697066733a2f2f516d6534326250474259677a667a686e4e7a59513163757037
Arg [10] : 7a594c38713933613570536566526979504e75726f2f00000000000000000000
Deployed Bytecode Sourcemap
170:4500:13:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1566:305:4;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;4078:140:13;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;3867:89;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;2494:100:4;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;4006:171;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;3524:416;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;1121:95:13;;;:::i;:::-;;2763:129;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;4706:335:4;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;1240:394:13;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;362:45;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;4234:201;;;;;;;;;;;;;:::i;:::-;;5112:185:4;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;1648:375:13;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;2204:223:4;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1935:207;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1882:103:15;;;;;;;;;;;;;:::i;:::-;;2039:710:13;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1012:103;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;228:15;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1234:87:15;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;2663:104:4;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;414:31:13;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;4249:155:4;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;2908:203:13;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;3970:92;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;5368:322:4;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;2838:281;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;4441:224:13;;;;;;;;;;;;;:::i;:::-;;4475:164:4;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;2140:201:15;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;1566:305:4;1668:4;1720:25;1705:40;;;:11;:40;;;;:105;;;;1777:33;1762:48;;;:11;:48;;;;1705:105;:158;;;;1827:36;1851:11;1827:23;:36::i;:::-;1705:158;1685:178;;1566:305;;;:::o;4078:140:13:-;1120:13:15;:11;:13::i;:::-;4195:15:13::1;4176:16;:34;;;;;;:::i;:::-;;4078:140:::0;:::o;3867:89::-;1120:13:15;:11;:13::i;:::-;3940:7:13::1;3929:3;;:19;;;;;;;;;;;;;;;;;;3867:89:::0;:::o;2494:100:4:-;2548:13;2581:5;2574:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2494:100;:::o;4006:171::-;4082:7;4102:23;4117:7;4102:14;:23::i;:::-;4145:15;:24;4161:7;4145:24;;;;;;;;;;;;;;;;;;;;;4138:31;;4006:171;;;:::o;3524:416::-;3605:13;3621:23;3636:7;3621:14;:23::i;:::-;3605:39;;3669:5;3663:11;;:2;:11;;;3655:57;;;;;;;;;;;;:::i;:::-;;;;;;;;;3763:5;3747:21;;:12;:10;:12::i;:::-;:21;;;:62;;;;3772:37;3789:5;3796:12;:10;:12::i;:::-;3772:16;:37::i;:::-;3747:62;3725:173;;;;;;;;;;;;:::i;:::-;;;;;;;;;3911:21;3920:2;3924:7;3911:8;:21::i;:::-;3594:346;3524:416;;:::o;1121:95:13:-;1185:23;;;;;;;;;;:::i;:::-;;;;;;;;2763:129;2829:7;2871:13;;2855;;:29;;;;:::i;:::-;2848:36;;2763:129;:::o;4706:335:4:-;4901:41;4920:12;:10;:12::i;:::-;4934:7;4901:18;:41::i;:::-;4893:99;;;;;;;;;;;;:::i;:::-;;;;;;;;;5005:28;5015:4;5021:2;5025:7;5005:9;:28::i;:::-;4706:335;;;:::o;1240:394:13:-;1319:4;1336:16;1383:5;1355:33;;:15;:24;1371:7;1355:24;;;;;;;;;;;;;;;;;;;;;:33;;;1336:52;;1399:15;1429:3;;;;;;;;;;;:11;;;1441:7;1429:20;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;1425:159;;1567:5;1554:18;;1425:159;;;1512:7;1503:16;;:5;:16;;;1490:29;;1451:80;1425:159;1601:11;:25;;;;;1616:10;1601:25;1594:32;;;;1240:394;;;;:::o;362:45::-;;;;;;;;;;;;;;;;;;;;;;:::o;4234:201::-;501:42;4303:27;;:12;:10;:12::i;:::-;:27;;;4295:36;;;;;;4342:12;4357:21;4342:36;;501:42;4389:29;;:38;4419:7;4389:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4284:151;4234:201::o;5112:185:4:-;5250:39;5267:4;5273:2;5277:7;5250:39;;;;;;;;;;;;:16;:39::i;:::-;5112:185;;;:::o;1648:375:13:-;1709:13;1734:15;1752:3;;;;;;;;;;;:13;;;1766:7;1752:22;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1734:40;;1785:22;1821:10;1810:22;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1785:47;;1847:6;1843:147;1861:10;1857:1;:14;1843:147;;;1892:12;1907:3;;;;;;;;;;;:23;;;1931:7;1940:1;1907:35;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1892:50;;1971:7;1957:8;1966:1;1957:11;;;;;;;;:::i;:::-;;;;;;;:21;;;;;1877:113;1873:3;;;;;:::i;:::-;;;;1843:147;;;;2007:8;2000:15;;;;1648:375;;;:::o;2204:223:4:-;2276:7;2296:13;2312:17;2321:7;2312:8;:17::i;:::-;2296:33;;2365:1;2348:19;;:5;:19;;;2340:56;;;;;;;;;;;;:::i;:::-;;;;;;;;;2414:5;2407:12;;;2204:223;;;:::o;1935:207::-;2007:7;2052:1;2035:19;;:5;:19;;;2027:73;;;;;;;;;;;;:::i;:::-;;;;;;;;;2118:9;:16;2128:5;2118:16;;;;;;;;;;;;;;;;2111:23;;1935:207;;;:::o;1882:103:15:-;1120:13;:11;:13::i;:::-;1947:30:::1;1974:1;1947:18;:30::i;:::-;1882:103::o:0;2039:710:13:-;2106:13;2131:22;2156:23;2171:7;2156:14;:23::i;:::-;2131:48;;2202:10;2232:6;2227:157;2248:8;:15;2244:1;:19;2227:157;;;2289:40;2308:7;2317:8;2326:1;2317:11;;;;;;;;:::i;:::-;;;;;;;;2289:18;:40::i;:::-;2285:88;;;2350:7;;;;;:::i;:::-;;;;2285:88;2265:3;;;;;:::i;:::-;;;;2227:157;;;;2406:31;2451:5;2440:17;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2406:51;;2468:10;2498:6;2493:214;2514:8;:15;2510:1;:19;2493:214;;;2555:40;2574:7;2583:8;2592:1;2583:11;;;;;;;;:::i;:::-;;;;;;;;2555:18;:40::i;:::-;2551:145;;;2643:8;2652:1;2643:11;;;;;;;;:::i;:::-;;;;;;;;2616:17;2634:5;2616:24;;;;;;;;:::i;:::-;;;;;;;:38;;;;;2673:7;;;;;:::i;:::-;;;;2551:145;2531:3;;;;;:::i;:::-;;;;2493:214;;;;2724:17;2717:24;;;;;;2039:710;;;:::o;1012:103::-;1095:12;1102:4;;1095:6;:12::i;:::-;1012:103;;:::o;228:15::-;;;;;;;;;;;;;:::o;1234:87:15:-;1280:7;1307:6;;;;;;;;;;;1300:13;;1234:87;:::o;2663:104:4:-;2719:13;2752:7;2745:14;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2663:104;:::o;414:31:13:-;;;;;;;;;;;;;:::o;4249:155:4:-;4344:52;4363:12;:10;:12::i;:::-;4377:8;4387;4344:18;:52::i;:::-;4249:155;;:::o;2908:203:13:-;3013:16;3021:7;3013;:16::i;:::-;2997:32;;:12;:10;:12::i;:::-;:32;;;2989:63;;;;;;;;;;;;:::i;:::-;;;;;;;;;3063:14;3069:7;3063:5;:14::i;:::-;3088:13;;:15;;;;;;;;;:::i;:::-;;;;;;2908:203;;:::o;3970:92::-;1120:13:15;:11;:13::i;:::-;4049:5:13::1;4035:11;;:19;;;;;;;;;;;;;;;;;;3970:92:::0;:::o;5368:322:4:-;5542:41;5561:12;:10;:12::i;:::-;5575:7;5542:18;:41::i;:::-;5534:99;;;;;;;;;;;;:::i;:::-;;;;;;;;;5644:38;5658:4;5664:2;5668:7;5677:4;5644:13;:38::i;:::-;5368:322;;;;:::o;2838:281::-;2911:13;2937:23;2952:7;2937:14;:23::i;:::-;2973:21;2997:10;:8;:10::i;:::-;2973:34;;3049:1;3031:7;3025:21;:25;:86;;;;;;;;;;;;;;;;;3077:7;3086:18;:7;:16;:18::i;:::-;3060:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;3025:86;3018:93;;;2838:281;;;:::o;4441:224:13:-;591:42;4515:35;;:12;:10;:12::i;:::-;:35;;;4507:44;;;;;;4562:12;4577:21;4562:36;;681:42;4609:39;;:48;4649:7;4609:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4496:169;4441:224::o;4475:164:4:-;4572:4;4596:18;:25;4615:5;4596:25;;;;;;;;;;;;;;;:35;4622:8;4596:35;;;;;;;;;;;;;;;;;;;;;;;;;4589:42;;4475:164;;;;:::o;2140:201:15:-;1120:13;:11;:13::i;:::-;2249:1:::1;2229:22;;:8;:22;;::::0;2221:73:::1;;;;;;;;;;;;:::i;:::-;;;;;;;;;2305:28;2324:8;2305:18;:28::i;:::-;2140:201:::0;:::o;852:157:3:-;937:4;976:25;961:40;;;:11;:40;;;;954:47;;852:157;;;:::o;1399:132:15:-;1474:12;:10;:12::i;:::-;1463:23;;:7;:5;:7::i;:::-;:23;;;1455:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;1399:132::o;13825:135:4:-;13907:16;13915:7;13907;:16::i;:::-;13899:53;;;;;;;;;;;;:::i;:::-;;;;;;;;;13825:135;:::o;656:98:1:-;709:7;736:10;729:17;;656:98;:::o;13104:174:4:-;13206:2;13179:15;:24;13195:7;13179:24;;;;;;;;;;;;:29;;;;;;;;;;;;;;;;;;13262:7;13258:2;13224:46;;13233:23;13248:7;13233:14;:23::i;:::-;13224:46;;;;;;;;;;;;13104:174;;:::o;7723:264::-;7816:4;7833:13;7849:23;7864:7;7849:14;:23::i;:::-;7833:39;;7902:5;7891:16;;:7;:16;;;:52;;;;7911:32;7928:5;7935:7;7911:16;:32::i;:::-;7891:52;:87;;;;7971:7;7947:31;;:20;7959:7;7947:11;:20::i;:::-;:31;;;7891:87;7883:96;;;7723:264;;;;:::o;11722:1263::-;11881:4;11854:31;;:23;11869:7;11854:14;:23::i;:::-;:31;;;11846:81;;;;;;;;;;;;:::i;:::-;;;;;;;;;11960:1;11946:16;;:2;:16;;;11938:65;;;;;;;;;;;;:::i;:::-;;;;;;;;;12016:42;12037:4;12043:2;12047:7;12056:1;12016:20;:42::i;:::-;12188:4;12161:31;;:23;12176:7;12161:14;:23::i;:::-;:31;;;12153:81;;;;;;;;;;;;:::i;:::-;;;;;;;;;12306:15;:24;12322:7;12306:24;;;;;;;;;;;;12299:31;;;;;;;;;;;12801:1;12782:9;:15;12792:4;12782:15;;;;;;;;;;;;;;;;:20;;;;;;;;;;;12834:1;12817:9;:13;12827:2;12817:13;;;;;;;;;;;;;;;;:18;;;;;;;;;;;12876:2;12857:7;:16;12865:7;12857:16;;;;;;;;;;;;:21;;;;;;;;;;;;;;;;;;12915:7;12911:2;12896:27;;12905:4;12896:27;;;;;;;;;;;;12936:41;12956:4;12962:2;12966:7;12975:1;12936:19;:41::i;:::-;11722:1263;;;:::o;6998:117::-;7064:7;7091;:16;7099:7;7091:16;;;;;;;;;;;;;;;;;;;;;7084:23;;6998:117;;;:::o;2501:191:15:-;2575:16;2594:6;;;;;;;;;;;2575:25;;2620:8;2611:6;;:17;;;;;;;;;;;;;;;;;;2675:8;2644:40;;2665:8;2644:40;;;;;;;;;;;;2564:128;2501:191;:::o;3273:562:13:-;3337:11;;;;;;;;;;;3329:32;;;;;;;;;;;;:::i;:::-;;;;;;;;;3372:15;3390:12;:10;:12::i;:::-;3372:30;;3414:22;3451:4;;3440:26;;;;;;;:::i;:::-;3413:53;;3494:6;3489:339;3510:8;:15;3506:1;:19;3489:339;;;3547:12;3562:8;3571:1;3562:11;;;;;;;;:::i;:::-;;;;;;;;3547:26;;3596:36;3615:7;3624;3596:18;:36::i;:::-;3588:64;;;;;;;;;;;;:::i;:::-;;;;;;;;;3667:29;3678:7;3688;3667:9;:29::i;:::-;3738:4;3711:15;:24;3727:7;3711:24;;;;;;;;;;;;:31;;;;;;;;;;;;;;;;;;3757:13;;:15;;;;;;;;;:::i;:::-;;;;;;3792:24;3799:7;3808;3792:24;;;;;;;:::i;:::-;;;;;;;;3532:296;3527:3;;;;;:::i;:::-;;;;3489:339;;;;3318:517;;3273:562;;:::o;13421:315:4:-;13576:8;13567:17;;:5;:17;;;13559:55;;;;;;;;;;;;:::i;:::-;;;;;;;;;13663:8;13625:18;:25;13644:5;13625:25;;;;;;;;;;;;;;;:35;13651:8;13625:35;;;;;;;;;;;;;;;;:46;;;;;;;;;;;;;;;;;;13709:8;13687:41;;13702:5;13687:41;;;13719:8;13687:41;;;;;;:::i;:::-;;;;;;;;13421:315;;;:::o;10602:783::-;10662:13;10678:23;10693:7;10678:14;:23::i;:::-;10662:39;;10714:51;10735:5;10750:1;10754:7;10763:1;10714:20;:51::i;:::-;10878:23;10893:7;10878:14;:23::i;:::-;10870:31;;10949:15;:24;10965:7;10949:24;;;;;;;;;;;;10942:31;;;;;;;;;;;11214:1;11194:9;:16;11204:5;11194:16;;;;;;;;;;;;;;;;:21;;;;;;;;;;;11244:7;:16;11252:7;11244:16;;;;;;;;;;;;11237:23;;;;;;;;;;;11306:7;11302:1;11278:36;;11287:5;11278:36;;;;;;;;;;;;11327:50;11347:5;11362:1;11366:7;11375:1;11327:19;:50::i;:::-;10651:734;10602:783;:::o;6571:313::-;6727:28;6737:4;6743:2;6747:7;6727:9;:28::i;:::-;6774:47;6797:4;6803:2;6807:7;6816:4;6774:22;:47::i;:::-;6766:110;;;;;;;;;;;;:::i;:::-;;;;;;;;;6571:313;;;;:::o;3135:117:13:-;3195:13;3228:16;3221:23;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3135:117;:::o;425:716:16:-;481:13;532:14;569:1;549:17;560:5;549:10;:17::i;:::-;:21;532:38;;585:20;619:6;608:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;585:41;;641:11;770:6;766:2;762:15;754:6;750:28;743:35;;807:288;814:4;807:288;;;839:5;;;;;;;;981:8;976:2;969:5;965:14;960:30;955:3;947:44;1037:2;1028:11;;;;;;:::i;:::-;;;;;1071:1;1062:5;:10;807:288;1058:21;807:288;1116:6;1109:13;;;;;425:716;;;:::o;7428:128:4:-;7493:4;7546:1;7517:31;;:17;7526:7;7517:8;:17::i;:::-;:31;;;;7510:38;;7428:128;;;:::o;16109:410::-;16299:1;16287:9;:13;16283:229;;;16337:1;16321:18;;:4;:18;;;16317:87;;16379:9;16360;:15;16370:4;16360:15;;;;;;;;;;;;;;;;:28;;;;;;;:::i;:::-;;;;;;;;16317:87;16436:1;16422:16;;:2;:16;;;16418:83;;16476:9;16459;:13;16469:2;16459:13;;;;;;;;;;;;;;;;:26;;;;;;;:::i;:::-;;;;;;;;16418:83;16283:229;16109:410;;;;:::o;17241:158::-;;;;;:::o;8329:110::-;8405:26;8415:2;8419:7;8405:26;;;;;;;;;;;;:9;:26::i;:::-;8329:110;;:::o;14524:853::-;14678:4;14699:15;:2;:13;;;:15::i;:::-;14695:675;;;14751:2;14735:36;;;14772:12;:10;:12::i;:::-;14786:4;14792:7;14801:4;14735:71;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;14731:584;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14993:1;14976:6;:13;:18;14972:328;;15019:60;;;;;;;;;;:::i;:::-;;;;;;;;14972:328;15250:6;15244:13;15235:6;15231:2;15227:15;15220:38;14731:584;14867:41;;;14857:51;;;:6;:51;;;;14850:58;;;;;14695:675;15354:4;15347:11;;14524:853;;;;;;;:::o;10146:922:11:-;10199:7;10219:14;10236:1;10219:18;;10286:6;10277:5;:15;10273:102;;10322:6;10313:15;;;;;;:::i;:::-;;;;;10357:2;10347:12;;;;10273:102;10402:6;10393:5;:15;10389:102;;10438:6;10429:15;;;;;;:::i;:::-;;;;;10473:2;10463:12;;;;10389:102;10518:6;10509:5;:15;10505:102;;10554:6;10545:15;;;;;;:::i;:::-;;;;;10589:2;10579:12;;;;10505:102;10634:5;10625;:14;10621:99;;10669:5;10660:14;;;;;;:::i;:::-;;;;;10703:1;10693:11;;;;10621:99;10747:5;10738;:14;10734:99;;10782:5;10773:14;;;;;;:::i;:::-;;;;;10816:1;10806:11;;;;10734:99;10860:5;10851;:14;10847:99;;10895:5;10886:14;;;;;;:::i;:::-;;;;;10929:1;10919:11;;;;10847:99;10973:5;10964;:14;10960:66;;11009:1;10999:11;;;;10960:66;11054:6;11047:13;;;10146:922;;;:::o;8666:319:4:-;8795:18;8801:2;8805:7;8795:5;:18::i;:::-;8846:53;8877:1;8881:2;8885:7;8894:4;8846:22;:53::i;:::-;8824:153;;;;;;;;;;;;:::i;:::-;;;;;;;;;8666:319;;;:::o;1210:326:0:-;1270:4;1527:1;1505:7;:19;;;:23;1498:30;;1210:326;;;:::o;9321:942:4:-;9415:1;9401:16;;:2;:16;;;9393:61;;;;;;;;;;;;:::i;:::-;;;;;;;;;9474:16;9482:7;9474;:16::i;:::-;9473:17;9465:58;;;;;;;;;;;;:::i;:::-;;;;;;;;;9536:48;9565:1;9569:2;9573:7;9582:1;9536:20;:48::i;:::-;9683:16;9691:7;9683;:16::i;:::-;9682:17;9674:58;;;;;;;;;;;;:::i;:::-;;;;;;;;;10098:1;10081:9;:13;10091:2;10081:13;;;;;;;;;;;;;;;;:18;;;;;;;;;;;10142:2;10123:7;:16;10131:7;10123:16;;;;;;;;;;;;:21;;;;;;;;;;;;;;;;;;10187:7;10183:2;10162:33;;10179:1;10162:33;;;;;;;;;;;;10208:47;10236:1;10240:2;10244:7;10253:1;10208:19;:47::i;:::-;9321:942;;:::o;7:75:17:-;40:6;73:2;67:9;57:19;;7:75;:::o;88:117::-;197:1;194;187:12;211:117;320:1;317;310:12;334:149;370:7;410:66;403:5;399:78;388:89;;334:149;;;:::o;489:120::-;561:23;578:5;561:23;:::i;:::-;554:5;551:34;541:62;;599:1;596;589:12;541:62;489:120;:::o;615:137::-;660:5;698:6;685:20;676:29;;714:32;740:5;714:32;:::i;:::-;615:137;;;;:::o;758:327::-;816:6;865:2;853:9;844:7;840:23;836:32;833:119;;;871:79;;:::i;:::-;833:119;991:1;1016:52;1060:7;1051:6;1040:9;1036:22;1016:52;:::i;:::-;1006:62;;962:116;758:327;;;;:::o;1091:90::-;1125:7;1168:5;1161:13;1154:21;1143:32;;1091:90;;;:::o;1187:109::-;1268:21;1283:5;1268:21;:::i;:::-;1263:3;1256:34;1187:109;;:::o;1302:210::-;1389:4;1427:2;1416:9;1412:18;1404:26;;1440:65;1502:1;1491:9;1487:17;1478:6;1440:65;:::i;:::-;1302:210;;;;:::o;1518:117::-;1627:1;1624;1617:12;1641:117;1750:1;1747;1740:12;1764:102;1805:6;1856:2;1852:7;1847:2;1840:5;1836:14;1832:28;1822:38;;1764:102;;;:::o;1872:180::-;1920:77;1917:1;1910:88;2017:4;2014:1;2007:15;2041:4;2038:1;2031:15;2058:281;2141:27;2163:4;2141:27;:::i;:::-;2133:6;2129:40;2271:6;2259:10;2256:22;2235:18;2223:10;2220:34;2217:62;2214:88;;;2282:18;;:::i;:::-;2214:88;2322:10;2318:2;2311:22;2101:238;2058:281;;:::o;2345:129::-;2379:6;2406:20;;:::i;:::-;2396:30;;2435:33;2463:4;2455:6;2435:33;:::i;:::-;2345:129;;;:::o;2480:308::-;2542:4;2632:18;2624:6;2621:30;2618:56;;;2654:18;;:::i;:::-;2618:56;2692:29;2714:6;2692:29;:::i;:::-;2684:37;;2776:4;2770;2766:15;2758:23;;2480:308;;;:::o;2794:146::-;2891:6;2886:3;2881;2868:30;2932:1;2923:6;2918:3;2914:16;2907:27;2794:146;;;:::o;2946:425::-;3024:5;3049:66;3065:49;3107:6;3065:49;:::i;:::-;3049:66;:::i;:::-;3040:75;;3138:6;3131:5;3124:21;3176:4;3169:5;3165:16;3214:3;3205:6;3200:3;3196:16;3193:25;3190:112;;;3221:79;;:::i;:::-;3190:112;3311:54;3358:6;3353:3;3348;3311:54;:::i;:::-;3030:341;2946:425;;;;;:::o;3391:340::-;3447:5;3496:3;3489:4;3481:6;3477:17;3473:27;3463:122;;3504:79;;:::i;:::-;3463:122;3621:6;3608:20;3646:79;3721:3;3713:6;3706:4;3698:6;3694:17;3646:79;:::i;:::-;3637:88;;3453:278;3391:340;;;;:::o;3737:509::-;3806:6;3855:2;3843:9;3834:7;3830:23;3826:32;3823:119;;;3861:79;;:::i;:::-;3823:119;4009:1;3998:9;3994:17;3981:31;4039:18;4031:6;4028:30;4025:117;;;4061:79;;:::i;:::-;4025:117;4166:63;4221:7;4212:6;4201:9;4197:22;4166:63;:::i;:::-;4156:73;;3952:287;3737:509;;;;:::o;4252:126::-;4289:7;4329:42;4322:5;4318:54;4307:65;;4252:126;;;:::o;4384:96::-;4421:7;4450:24;4468:5;4450:24;:::i;:::-;4439:35;;4384:96;;;:::o;4486:122::-;4559:24;4577:5;4559:24;:::i;:::-;4552:5;4549:35;4539:63;;4598:1;4595;4588:12;4539:63;4486:122;:::o;4614:139::-;4660:5;4698:6;4685:20;4676:29;;4714:33;4741:5;4714:33;:::i;:::-;4614:139;;;;:::o;4759:329::-;4818:6;4867:2;4855:9;4846:7;4842:23;4838:32;4835:119;;;4873:79;;:::i;:::-;4835:119;4993:1;5018:53;5063:7;5054:6;5043:9;5039:22;5018:53;:::i;:::-;5008:63;;4964:117;4759:329;;;;:::o;5094:99::-;5146:6;5180:5;5174:12;5164:22;;5094:99;;;:::o;5199:169::-;5283:11;5317:6;5312:3;5305:19;5357:4;5352:3;5348:14;5333:29;;5199:169;;;;:::o;5374:246::-;5455:1;5465:113;5479:6;5476:1;5473:13;5465:113;;;5564:1;5559:3;5555:11;5549:18;5545:1;5540:3;5536:11;5529:39;5501:2;5498:1;5494:10;5489:15;;5465:113;;;5612:1;5603:6;5598:3;5594:16;5587:27;5436:184;5374:246;;;:::o;5626:377::-;5714:3;5742:39;5775:5;5742:39;:::i;:::-;5797:71;5861:6;5856:3;5797:71;:::i;:::-;5790:78;;5877:65;5935:6;5930:3;5923:4;5916:5;5912:16;5877:65;:::i;:::-;5967:29;5989:6;5967:29;:::i;:::-;5962:3;5958:39;5951:46;;5718:285;5626:377;;;;:::o;6009:313::-;6122:4;6160:2;6149:9;6145:18;6137:26;;6209:9;6203:4;6199:20;6195:1;6184:9;6180:17;6173:47;6237:78;6310:4;6301:6;6237:78;:::i;:::-;6229:86;;6009:313;;;;:::o;6328:77::-;6365:7;6394:5;6383:16;;6328:77;;;:::o;6411:122::-;6484:24;6502:5;6484:24;:::i;:::-;6477:5;6474:35;6464:63;;6523:1;6520;6513:12;6464:63;6411:122;:::o;6539:139::-;6585:5;6623:6;6610:20;6601:29;;6639:33;6666:5;6639:33;:::i;:::-;6539:139;;;;:::o;6684:329::-;6743:6;6792:2;6780:9;6771:7;6767:23;6763:32;6760:119;;;6798:79;;:::i;:::-;6760:119;6918:1;6943:53;6988:7;6979:6;6968:9;6964:22;6943:53;:::i;:::-;6933:63;;6889:117;6684:329;;;;:::o;7019:118::-;7106:24;7124:5;7106:24;:::i;:::-;7101:3;7094:37;7019:118;;:::o;7143:222::-;7236:4;7274:2;7263:9;7259:18;7251:26;;7287:71;7355:1;7344:9;7340:17;7331:6;7287:71;:::i;:::-;7143:222;;;;:::o;7371:474::-;7439:6;7447;7496:2;7484:9;7475:7;7471:23;7467:32;7464:119;;;7502:79;;:::i;:::-;7464:119;7622:1;7647:53;7692:7;7683:6;7672:9;7668:22;7647:53;:::i;:::-;7637:63;;7593:117;7749:2;7775:53;7820:7;7811:6;7800:9;7796:22;7775:53;:::i;:::-;7765:63;;7720:118;7371:474;;;;;:::o;7851:118::-;7938:24;7956:5;7938:24;:::i;:::-;7933:3;7926:37;7851:118;;:::o;7975:222::-;8068:4;8106:2;8095:9;8091:18;8083:26;;8119:71;8187:1;8176:9;8172:17;8163:6;8119:71;:::i;:::-;7975:222;;;;:::o;8203:619::-;8280:6;8288;8296;8345:2;8333:9;8324:7;8320:23;8316:32;8313:119;;;8351:79;;:::i;:::-;8313:119;8471:1;8496:53;8541:7;8532:6;8521:9;8517:22;8496:53;:::i;:::-;8486:63;;8442:117;8598:2;8624:53;8669:7;8660:6;8649:9;8645:22;8624:53;:::i;:::-;8614:63;;8569:118;8726:2;8752:53;8797:7;8788:6;8777:9;8773:22;8752:53;:::i;:::-;8742:63;;8697:118;8203:619;;;;;:::o;8828:114::-;8895:6;8929:5;8923:12;8913:22;;8828:114;;;:::o;8948:184::-;9047:11;9081:6;9076:3;9069:19;9121:4;9116:3;9112:14;9097:29;;8948:184;;;;:::o;9138:132::-;9205:4;9228:3;9220:11;;9258:4;9253:3;9249:14;9241:22;;9138:132;;;:::o;9276:108::-;9353:24;9371:5;9353:24;:::i;:::-;9348:3;9341:37;9276:108;;:::o;9390:179::-;9459:10;9480:46;9522:3;9514:6;9480:46;:::i;:::-;9558:4;9553:3;9549:14;9535:28;;9390:179;;;;:::o;9575:113::-;9645:4;9677;9672:3;9668:14;9660:22;;9575:113;;;:::o;9724:732::-;9843:3;9872:54;9920:5;9872:54;:::i;:::-;9942:86;10021:6;10016:3;9942:86;:::i;:::-;9935:93;;10052:56;10102:5;10052:56;:::i;:::-;10131:7;10162:1;10147:284;10172:6;10169:1;10166:13;10147:284;;;10248:6;10242:13;10275:63;10334:3;10319:13;10275:63;:::i;:::-;10268:70;;10361:60;10414:6;10361:60;:::i;:::-;10351:70;;10207:224;10194:1;10191;10187:9;10182:14;;10147:284;;;10151:14;10447:3;10440:10;;9848:608;;;9724:732;;;;:::o;10462:373::-;10605:4;10643:2;10632:9;10628:18;10620:26;;10692:9;10686:4;10682:20;10678:1;10667:9;10663:17;10656:47;10720:108;10823:4;10814:6;10720:108;:::i;:::-;10712:116;;10462:373;;;;:::o;10841:117::-;10950:1;10947;10940:12;10964:117;11073:1;11070;11063:12;11100:552;11157:8;11167:6;11217:3;11210:4;11202:6;11198:17;11194:27;11184:122;;11225:79;;:::i;:::-;11184:122;11338:6;11325:20;11315:30;;11368:18;11360:6;11357:30;11354:117;;;11390:79;;:::i;:::-;11354:117;11504:4;11496:6;11492:17;11480:29;;11558:3;11550:4;11542:6;11538:17;11528:8;11524:32;11521:41;11518:128;;;11565:79;;:::i;:::-;11518:128;11100:552;;;;;:::o;11658:527::-;11728:6;11736;11785:2;11773:9;11764:7;11760:23;11756:32;11753:119;;;11791:79;;:::i;:::-;11753:119;11939:1;11928:9;11924:17;11911:31;11969:18;11961:6;11958:30;11955:117;;;11991:79;;:::i;:::-;11955:117;12104:64;12160:7;12151:6;12140:9;12136:22;12104:64;:::i;:::-;12086:82;;;;11882:296;11658:527;;;;;:::o;12191:60::-;12219:3;12240:5;12233:12;;12191:60;;;:::o;12257:142::-;12307:9;12340:53;12358:34;12367:24;12385:5;12367:24;:::i;:::-;12358:34;:::i;:::-;12340:53;:::i;:::-;12327:66;;12257:142;;;:::o;12405:126::-;12455:9;12488:37;12519:5;12488:37;:::i;:::-;12475:50;;12405:126;;;:::o;12537:139::-;12600:9;12633:37;12664:5;12633:37;:::i;:::-;12620:50;;12537:139;;;:::o;12682:157::-;12782:50;12826:5;12782:50;:::i;:::-;12777:3;12770:63;12682:157;;:::o;12845:248::-;12951:4;12989:2;12978:9;12974:18;12966:26;;13002:84;13083:1;13072:9;13068:17;13059:6;13002:84;:::i;:::-;12845:248;;;;:::o;13099:116::-;13169:21;13184:5;13169:21;:::i;:::-;13162:5;13159:32;13149:60;;13205:1;13202;13195:12;13149:60;13099:116;:::o;13221:133::-;13264:5;13302:6;13289:20;13280:29;;13318:30;13342:5;13318:30;:::i;:::-;13221:133;;;;:::o;13360:468::-;13425:6;13433;13482:2;13470:9;13461:7;13457:23;13453:32;13450:119;;;13488:79;;:::i;:::-;13450:119;13608:1;13633:53;13678:7;13669:6;13658:9;13654:22;13633:53;:::i;:::-;13623:63;;13579:117;13735:2;13761:50;13803:7;13794:6;13783:9;13779:22;13761:50;:::i;:::-;13751:60;;13706:115;13360:468;;;;;:::o;13834:474::-;13902:6;13910;13959:2;13947:9;13938:7;13934:23;13930:32;13927:119;;;13965:79;;:::i;:::-;13927:119;14085:1;14110:53;14155:7;14146:6;14135:9;14131:22;14110:53;:::i;:::-;14100:63;;14056:117;14212:2;14238:53;14283:7;14274:6;14263:9;14259:22;14238:53;:::i;:::-;14228:63;;14183:118;13834:474;;;;;:::o;14314:323::-;14370:6;14419:2;14407:9;14398:7;14394:23;14390:32;14387:119;;;14425:79;;:::i;:::-;14387:119;14545:1;14570:50;14612:7;14603:6;14592:9;14588:22;14570:50;:::i;:::-;14560:60;;14516:114;14314:323;;;;:::o;14643:307::-;14704:4;14794:18;14786:6;14783:30;14780:56;;;14816:18;;:::i;:::-;14780:56;14854:29;14876:6;14854:29;:::i;:::-;14846:37;;14938:4;14932;14928:15;14920:23;;14643:307;;;:::o;14956:423::-;15033:5;15058:65;15074:48;15115:6;15074:48;:::i;:::-;15058:65;:::i;:::-;15049:74;;15146:6;15139:5;15132:21;15184:4;15177:5;15173:16;15222:3;15213:6;15208:3;15204:16;15201:25;15198:112;;;15229:79;;:::i;:::-;15198:112;15319:54;15366:6;15361:3;15356;15319:54;:::i;:::-;15039:340;14956:423;;;;;:::o;15398:338::-;15453:5;15502:3;15495:4;15487:6;15483:17;15479:27;15469:122;;15510:79;;:::i;:::-;15469:122;15627:6;15614:20;15652:78;15726:3;15718:6;15711:4;15703:6;15699:17;15652:78;:::i;:::-;15643:87;;15459:277;15398:338;;;;:::o;15742:943::-;15837:6;15845;15853;15861;15910:3;15898:9;15889:7;15885:23;15881:33;15878:120;;;15917:79;;:::i;:::-;15878:120;16037:1;16062:53;16107:7;16098:6;16087:9;16083:22;16062:53;:::i;:::-;16052:63;;16008:117;16164:2;16190:53;16235:7;16226:6;16215:9;16211:22;16190:53;:::i;:::-;16180:63;;16135:118;16292:2;16318:53;16363:7;16354:6;16343:9;16339:22;16318:53;:::i;:::-;16308:63;;16263:118;16448:2;16437:9;16433:18;16420:32;16479:18;16471:6;16468:30;16465:117;;;16501:79;;:::i;:::-;16465:117;16606:62;16660:7;16651:6;16640:9;16636:22;16606:62;:::i;:::-;16596:72;;16391:287;15742:943;;;;;;;:::o;16691:474::-;16759:6;16767;16816:2;16804:9;16795:7;16791:23;16787:32;16784:119;;;16822:79;;:::i;:::-;16784:119;16942:1;16967:53;17012:7;17003:6;16992:9;16988:22;16967:53;:::i;:::-;16957:63;;16913:117;17069:2;17095:53;17140:7;17131:6;17120:9;17116:22;17095:53;:::i;:::-;17085:63;;17040:118;16691:474;;;;;:::o;17171:180::-;17219:77;17216:1;17209:88;17316:4;17313:1;17306:15;17340:4;17337:1;17330:15;17357:320;17401:6;17438:1;17432:4;17428:12;17418:22;;17485:1;17479:4;17475:12;17506:18;17496:81;;17562:4;17554:6;17550:17;17540:27;;17496:81;17624:2;17616:6;17613:14;17593:18;17590:38;17587:84;;17643:18;;:::i;:::-;17587:84;17408:269;17357:320;;;:::o;17683:141::-;17732:4;17755:3;17747:11;;17778:3;17775:1;17768:14;17812:4;17809:1;17799:18;17791:26;;17683:141;;;:::o;17830:93::-;17867:6;17914:2;17909;17902:5;17898:14;17894:23;17884:33;;17830:93;;;:::o;17929:107::-;17973:8;18023:5;18017:4;18013:16;17992:37;;17929:107;;;;:::o;18042:393::-;18111:6;18161:1;18149:10;18145:18;18184:97;18214:66;18203:9;18184:97;:::i;:::-;18302:39;18332:8;18321:9;18302:39;:::i;:::-;18290:51;;18374:4;18370:9;18363:5;18359:21;18350:30;;18423:4;18413:8;18409:19;18402:5;18399:30;18389:40;;18118:317;;18042:393;;;;;:::o;18441:142::-;18491:9;18524:53;18542:34;18551:24;18569:5;18551:24;:::i;:::-;18542:34;:::i;:::-;18524:53;:::i;:::-;18511:66;;18441:142;;;:::o;18589:75::-;18632:3;18653:5;18646:12;;18589:75;;;:::o;18670:269::-;18780:39;18811:7;18780:39;:::i;:::-;18841:91;18890:41;18914:16;18890:41;:::i;:::-;18882:6;18875:4;18869:11;18841:91;:::i;:::-;18835:4;18828:105;18746:193;18670:269;;;:::o;18945:73::-;18990:3;18945:73;:::o;19024:189::-;19101:32;;:::i;:::-;19142:65;19200:6;19192;19186:4;19142:65;:::i;:::-;19077:136;19024:189;;:::o;19219:186::-;19279:120;19296:3;19289:5;19286:14;19279:120;;;19350:39;19387:1;19380:5;19350:39;:::i;:::-;19323:1;19316:5;19312:13;19303:22;;19279:120;;;19219:186;;:::o;19411:543::-;19512:2;19507:3;19504:11;19501:446;;;19546:38;19578:5;19546:38;:::i;:::-;19630:29;19648:10;19630:29;:::i;:::-;19620:8;19616:44;19813:2;19801:10;19798:18;19795:49;;;19834:8;19819:23;;19795:49;19857:80;19913:22;19931:3;19913:22;:::i;:::-;19903:8;19899:37;19886:11;19857:80;:::i;:::-;19516:431;;19501:446;19411:543;;;:::o;19960:117::-;20014:8;20064:5;20058:4;20054:16;20033:37;;19960:117;;;;:::o;20083:169::-;20127:6;20160:51;20208:1;20204:6;20196:5;20193:1;20189:13;20160:51;:::i;:::-;20156:56;20241:4;20235;20231:15;20221:25;;20134:118;20083:169;;;;:::o;20257:295::-;20333:4;20479:29;20504:3;20498:4;20479:29;:::i;:::-;20471:37;;20541:3;20538:1;20534:11;20528:4;20525:21;20517:29;;20257:295;;;;:::o;20557:1395::-;20674:37;20707:3;20674:37;:::i;:::-;20776:18;20768:6;20765:30;20762:56;;;20798:18;;:::i;:::-;20762:56;20842:38;20874:4;20868:11;20842:38;:::i;:::-;20927:67;20987:6;20979;20973:4;20927:67;:::i;:::-;21021:1;21045:4;21032:17;;21077:2;21069:6;21066:14;21094:1;21089:618;;;;21751:1;21768:6;21765:77;;;21817:9;21812:3;21808:19;21802:26;21793:35;;21765:77;21868:67;21928:6;21921:5;21868:67;:::i;:::-;21862:4;21855:81;21724:222;21059:887;;21089:618;21141:4;21137:9;21129:6;21125:22;21175:37;21207:4;21175:37;:::i;:::-;21234:1;21248:208;21262:7;21259:1;21256:14;21248:208;;;21341:9;21336:3;21332:19;21326:26;21318:6;21311:42;21392:1;21384:6;21380:14;21370:24;;21439:2;21428:9;21424:18;21411:31;;21285:4;21282:1;21278:12;21273:17;;21248:208;;;21484:6;21475:7;21472:19;21469:179;;;21542:9;21537:3;21533:19;21527:26;21585:48;21627:4;21619:6;21615:17;21604:9;21585:48;:::i;:::-;21577:6;21570:64;21492:156;21469:179;21694:1;21690;21682:6;21678:14;21674:22;21668:4;21661:36;21096:611;;;21059:887;;20649:1303;;;20557:1395;;:::o;21958:220::-;22098:34;22094:1;22086:6;22082:14;22075:58;22167:3;22162:2;22154:6;22150:15;22143:28;21958:220;:::o;22184:366::-;22326:3;22347:67;22411:2;22406:3;22347:67;:::i;:::-;22340:74;;22423:93;22512:3;22423:93;:::i;:::-;22541:2;22536:3;22532:12;22525:19;;22184:366;;;:::o;22556:419::-;22722:4;22760:2;22749:9;22745:18;22737:26;;22809:9;22803:4;22799:20;22795:1;22784:9;22780:17;22773:47;22837:131;22963:4;22837:131;:::i;:::-;22829:139;;22556:419;;;:::o;22981:248::-;23121:34;23117:1;23109:6;23105:14;23098:58;23190:31;23185:2;23177:6;23173:15;23166:56;22981:248;:::o;23235:366::-;23377:3;23398:67;23462:2;23457:3;23398:67;:::i;:::-;23391:74;;23474:93;23563:3;23474:93;:::i;:::-;23592:2;23587:3;23583:12;23576:19;;23235:366;;;:::o;23607:419::-;23773:4;23811:2;23800:9;23796:18;23788:26;;23860:9;23854:4;23850:20;23846:1;23835:9;23831:17;23824:47;23888:131;24014:4;23888:131;:::i;:::-;23880:139;;23607:419;;;:::o;24032:163::-;24172:15;24168:1;24160:6;24156:14;24149:39;24032:163;:::o;24201:366::-;24343:3;24364:67;24428:2;24423:3;24364:67;:::i;:::-;24357:74;;24440:93;24529:3;24440:93;:::i;:::-;24558:2;24553:3;24549:12;24542:19;;24201:366;;;:::o;24573:419::-;24739:4;24777:2;24766:9;24762:18;24754:26;;24826:9;24820:4;24816:20;24812:1;24801:9;24797:17;24790:47;24854:131;24980:4;24854:131;:::i;:::-;24846:139;;24573:419;;;:::o;24998:180::-;25046:77;25043:1;25036:88;25143:4;25140:1;25133:15;25167:4;25164:1;25157:15;25184:194;25224:4;25244:20;25262:1;25244:20;:::i;:::-;25239:25;;25278:20;25296:1;25278:20;:::i;:::-;25273:25;;25322:1;25319;25315:9;25307:17;;25346:1;25340:4;25337:11;25334:37;;;25351:18;;:::i;:::-;25334:37;25184:194;;;;:::o;25384:232::-;25524:34;25520:1;25512:6;25508:14;25501:58;25593:15;25588:2;25580:6;25576:15;25569:40;25384:232;:::o;25622:366::-;25764:3;25785:67;25849:2;25844:3;25785:67;:::i;:::-;25778:74;;25861:93;25950:3;25861:93;:::i;:::-;25979:2;25974:3;25970:12;25963:19;;25622:366;;;:::o;25994:419::-;26160:4;26198:2;26187:9;26183:18;26175:26;;26247:9;26241:4;26237:20;26233:1;26222:9;26218:17;26211:47;26275:131;26401:4;26275:131;:::i;:::-;26267:139;;25994:419;;;:::o;26419:143::-;26476:5;26507:6;26501:13;26492:22;;26523:33;26550:5;26523:33;:::i;:::-;26419:143;;;;:::o;26568:351::-;26638:6;26687:2;26675:9;26666:7;26662:23;26658:32;26655:119;;;26693:79;;:::i;:::-;26655:119;26813:1;26838:64;26894:7;26885:6;26874:9;26870:22;26838:64;:::i;:::-;26828:74;;26784:128;26568:351;;;;:::o;26925:143::-;26982:5;27013:6;27007:13;26998:22;;27029:33;27056:5;27029:33;:::i;:::-;26925:143;;;;:::o;27074:351::-;27144:6;27193:2;27181:9;27172:7;27168:23;27164:32;27161:119;;;27199:79;;:::i;:::-;27161:119;27319:1;27344:64;27400:7;27391:6;27380:9;27376:22;27344:64;:::i;:::-;27334:74;;27290:128;27074:351;;;;:::o;27431:332::-;27552:4;27590:2;27579:9;27575:18;27567:26;;27603:71;27671:1;27660:9;27656:17;27647:6;27603:71;:::i;:::-;27684:72;27752:2;27741:9;27737:18;27728:6;27684:72;:::i;:::-;27431:332;;;;;:::o;27769:180::-;27817:77;27814:1;27807:88;27914:4;27911:1;27904:15;27938:4;27935:1;27928:15;27955:233;27994:3;28017:24;28035:5;28017:24;:::i;:::-;28008:33;;28063:66;28056:5;28053:77;28050:103;;28133:18;;:::i;:::-;28050:103;28180:1;28173:5;28169:13;28162:20;;27955:233;;;:::o;28194:174::-;28334:26;28330:1;28322:6;28318:14;28311:50;28194:174;:::o;28374:366::-;28516:3;28537:67;28601:2;28596:3;28537:67;:::i;:::-;28530:74;;28613:93;28702:3;28613:93;:::i;:::-;28731:2;28726:3;28722:12;28715:19;;28374:366;;;:::o;28746:419::-;28912:4;28950:2;28939:9;28935:18;28927:26;;28999:9;28993:4;28989:20;28985:1;28974:9;28970:17;28963:47;29027:131;29153:4;29027:131;:::i;:::-;29019:139;;28746:419;;;:::o;29171:228::-;29311:34;29307:1;29299:6;29295:14;29288:58;29380:11;29375:2;29367:6;29363:15;29356:36;29171:228;:::o;29405:366::-;29547:3;29568:67;29632:2;29627:3;29568:67;:::i;:::-;29561:74;;29644:93;29733:3;29644:93;:::i;:::-;29762:2;29757:3;29753:12;29746:19;;29405:366;;;:::o;29777:419::-;29943:4;29981:2;29970:9;29966:18;29958:26;;30030:9;30024:4;30020:20;30016:1;30005:9;30001:17;29994:47;30058:131;30184:4;30058:131;:::i;:::-;30050:139;;29777:419;;;:::o;30202:168::-;30342:20;30338:1;30330:6;30326:14;30319:44;30202:168;:::o;30376:366::-;30518:3;30539:67;30603:2;30598:3;30539:67;:::i;:::-;30532:74;;30615:93;30704:3;30615:93;:::i;:::-;30733:2;30728:3;30724:12;30717:19;;30376:366;;;:::o;30748:419::-;30914:4;30952:2;30941:9;30937:18;30929:26;;31001:9;30995:4;30991:20;30987:1;30976:9;30972:17;30965:47;31029:131;31155:4;31029:131;:::i;:::-;31021:139;;30748:419;;;:::o;31173:148::-;31275:11;31312:3;31297:18;;31173:148;;;;:::o;31327:390::-;31433:3;31461:39;31494:5;31461:39;:::i;:::-;31516:89;31598:6;31593:3;31516:89;:::i;:::-;31509:96;;31614:65;31672:6;31667:3;31660:4;31653:5;31649:16;31614:65;:::i;:::-;31704:6;31699:3;31695:16;31688:23;;31437:280;31327:390;;;;:::o;31723:435::-;31903:3;31925:95;32016:3;32007:6;31925:95;:::i;:::-;31918:102;;32037:95;32128:3;32119:6;32037:95;:::i;:::-;32030:102;;32149:3;32142:10;;31723:435;;;;;:::o;32164:225::-;32304:34;32300:1;32292:6;32288:14;32281:58;32373:8;32368:2;32360:6;32356:15;32349:33;32164:225;:::o;32395:366::-;32537:3;32558:67;32622:2;32617:3;32558:67;:::i;:::-;32551:74;;32634:93;32723:3;32634:93;:::i;:::-;32752:2;32747:3;32743:12;32736:19;;32395:366;;;:::o;32767:419::-;32933:4;32971:2;32960:9;32956:18;32948:26;;33020:9;33014:4;33010:20;33006:1;32995:9;32991:17;32984:47;33048:131;33174:4;33048:131;:::i;:::-;33040:139;;32767:419;;;:::o;33192:182::-;33332:34;33328:1;33320:6;33316:14;33309:58;33192:182;:::o;33380:366::-;33522:3;33543:67;33607:2;33602:3;33543:67;:::i;:::-;33536:74;;33619:93;33708:3;33619:93;:::i;:::-;33737:2;33732:3;33728:12;33721:19;;33380:366;;;:::o;33752:419::-;33918:4;33956:2;33945:9;33941:18;33933:26;;34005:9;33999:4;33995:20;33991:1;33980:9;33976:17;33969:47;34033:131;34159:4;34033:131;:::i;:::-;34025:139;;33752:419;;;:::o;34177:224::-;34317:34;34313:1;34305:6;34301:14;34294:58;34386:7;34381:2;34373:6;34369:15;34362:32;34177:224;:::o;34407:366::-;34549:3;34570:67;34634:2;34629:3;34570:67;:::i;:::-;34563:74;;34646:93;34735:3;34646:93;:::i;:::-;34764:2;34759:3;34755:12;34748:19;;34407:366;;;:::o;34779:419::-;34945:4;34983:2;34972:9;34968:18;34960:26;;35032:9;35026:4;35022:20;35018:1;35007:9;35003:17;34996:47;35060:131;35186:4;35060:131;:::i;:::-;35052:139;;34779:419;;;:::o;35204:223::-;35344:34;35340:1;35332:6;35328:14;35321:58;35413:6;35408:2;35400:6;35396:15;35389:31;35204:223;:::o;35433:366::-;35575:3;35596:67;35660:2;35655:3;35596:67;:::i;:::-;35589:74;;35672:93;35761:3;35672:93;:::i;:::-;35790:2;35785:3;35781:12;35774:19;;35433:366;;;:::o;35805:419::-;35971:4;36009:2;35998:9;35994:18;35986:26;;36058:9;36052:4;36048:20;36044:1;36033:9;36029:17;36022:47;36086:131;36212:4;36086:131;:::i;:::-;36078:139;;35805:419;;;:::o;36230:158::-;36370:10;36366:1;36358:6;36354:14;36347:34;36230:158;:::o;36394:365::-;36536:3;36557:66;36621:1;36616:3;36557:66;:::i;:::-;36550:73;;36632:93;36721:3;36632:93;:::i;:::-;36750:2;36745:3;36741:12;36734:19;;36394:365;;;:::o;36765:419::-;36931:4;36969:2;36958:9;36954:18;36946:26;;37018:9;37012:4;37008:20;37004:1;36993:9;36989:17;36982:47;37046:131;37172:4;37046:131;:::i;:::-;37038:139;;36765:419;;;:::o;37190:311::-;37267:4;37357:18;37349:6;37346:30;37343:56;;;37379:18;;:::i;:::-;37343:56;37429:4;37421:6;37417:17;37409:25;;37489:4;37483;37479:15;37471:23;;37190:311;;;:::o;37524:710::-;37620:5;37645:81;37661:64;37718:6;37661:64;:::i;:::-;37645:81;:::i;:::-;37636:90;;37746:5;37775:6;37768:5;37761:21;37809:4;37802:5;37798:16;37791:23;;37862:4;37854:6;37850:17;37842:6;37838:30;37891:3;37883:6;37880:15;37877:122;;;37910:79;;:::i;:::-;37877:122;38025:6;38008:220;38042:6;38037:3;38034:15;38008:220;;;38117:3;38146:37;38179:3;38167:10;38146:37;:::i;:::-;38141:3;38134:50;38213:4;38208:3;38204:14;38197:21;;38084:144;38068:4;38063:3;38059:14;38052:21;;38008:220;;;38012:21;37626:608;;37524:710;;;;;:::o;38257:370::-;38328:5;38377:3;38370:4;38362:6;38358:17;38354:27;38344:122;;38385:79;;:::i;:::-;38344:122;38502:6;38489:20;38527:94;38617:3;38609:6;38602:4;38594:6;38590:17;38527:94;:::i;:::-;38518:103;;38334:293;38257:370;;;;:::o;38633:539::-;38717:6;38766:2;38754:9;38745:7;38741:23;38737:32;38734:119;;;38772:79;;:::i;:::-;38734:119;38920:1;38909:9;38905:17;38892:31;38950:18;38942:6;38939:30;38936:117;;;38972:79;;:::i;:::-;38936:117;39077:78;39147:7;39138:6;39127:9;39123:22;39077:78;:::i;:::-;39067:88;;38863:302;38633:539;;;;:::o;39178:165::-;39318:17;39314:1;39306:6;39302:14;39295:41;39178:165;:::o;39349:366::-;39491:3;39512:67;39576:2;39571:3;39512:67;:::i;:::-;39505:74;;39588:93;39677:3;39588:93;:::i;:::-;39706:2;39701:3;39697:12;39690:19;;39349:366;;;:::o;39721:419::-;39887:4;39925:2;39914:9;39910:18;39902:26;;39974:9;39968:4;39964:20;39960:1;39949:9;39945:17;39938:47;40002:131;40128:4;40002:131;:::i;:::-;39994:139;;39721:419;;;:::o;40146:175::-;40286:27;40282:1;40274:6;40270:14;40263:51;40146:175;:::o;40327:366::-;40469:3;40490:67;40554:2;40549:3;40490:67;:::i;:::-;40483:74;;40566:93;40655:3;40566:93;:::i;:::-;40684:2;40679:3;40675:12;40668:19;;40327:366;;;:::o;40699:419::-;40865:4;40903:2;40892:9;40888:18;40880:26;;40952:9;40946:4;40942:20;40938:1;40927:9;40923:17;40916:47;40980:131;41106:4;40980:131;:::i;:::-;40972:139;;40699:419;;;:::o;41124:237::-;41264:34;41260:1;41252:6;41248:14;41241:58;41333:20;41328:2;41320:6;41316:15;41309:45;41124:237;:::o;41367:366::-;41509:3;41530:67;41594:2;41589:3;41530:67;:::i;:::-;41523:74;;41606:93;41695:3;41606:93;:::i;:::-;41724:2;41719:3;41715:12;41708:19;;41367:366;;;:::o;41739:419::-;41905:4;41943:2;41932:9;41928:18;41920:26;;41992:9;41986:4;41982:20;41978:1;41967:9;41963:17;41956:47;42020:131;42146:4;42020:131;:::i;:::-;42012:139;;41739:419;;;:::o;42164:180::-;42212:77;42209:1;42202:88;42309:4;42306:1;42299:15;42333:4;42330:1;42323:15;42350:191;42390:3;42409:20;42427:1;42409:20;:::i;:::-;42404:25;;42443:20;42461:1;42443:20;:::i;:::-;42438:25;;42486:1;42483;42479:9;42472:16;;42507:3;42504:1;42501:10;42498:36;;;42514:18;;:::i;:::-;42498:36;42350:191;;;;:::o;42547:98::-;42598:6;42632:5;42626:12;42616:22;;42547:98;;;:::o;42651:168::-;42734:11;42768:6;42763:3;42756:19;42808:4;42803:3;42799:14;42784:29;;42651:168;;;;:::o;42825:373::-;42911:3;42939:38;42971:5;42939:38;:::i;:::-;42993:70;43056:6;43051:3;42993:70;:::i;:::-;42986:77;;43072:65;43130:6;43125:3;43118:4;43111:5;43107:16;43072:65;:::i;:::-;43162:29;43184:6;43162:29;:::i;:::-;43157:3;43153:39;43146:46;;42915:283;42825:373;;;;:::o;43204:640::-;43399:4;43437:3;43426:9;43422:19;43414:27;;43451:71;43519:1;43508:9;43504:17;43495:6;43451:71;:::i;:::-;43532:72;43600:2;43589:9;43585:18;43576:6;43532:72;:::i;:::-;43614;43682:2;43671:9;43667:18;43658:6;43614:72;:::i;:::-;43733:9;43727:4;43723:20;43718:2;43707:9;43703:18;43696:48;43761:76;43832:4;43823:6;43761:76;:::i;:::-;43753:84;;43204:640;;;;;;;:::o;43850:141::-;43906:5;43937:6;43931:13;43922:22;;43953:32;43979:5;43953:32;:::i;:::-;43850:141;;;;:::o;43997:349::-;44066:6;44115:2;44103:9;44094:7;44090:23;44086:32;44083:119;;;44121:79;;:::i;:::-;44083:119;44241:1;44266:63;44321:7;44312:6;44301:9;44297:22;44266:63;:::i;:::-;44256:73;;44212:127;43997:349;;;;:::o;44352:182::-;44492:34;44488:1;44480:6;44476:14;44469:58;44352:182;:::o;44540:366::-;44682:3;44703:67;44767:2;44762:3;44703:67;:::i;:::-;44696:74;;44779:93;44868:3;44779:93;:::i;:::-;44897:2;44892:3;44888:12;44881:19;;44540:366;;;:::o;44912:419::-;45078:4;45116:2;45105:9;45101:18;45093:26;;45165:9;45159:4;45155:20;45151:1;45140:9;45136:17;45129:47;45193:131;45319:4;45193:131;:::i;:::-;45185:139;;44912:419;;;:::o;45337:178::-;45477:30;45473:1;45465:6;45461:14;45454:54;45337:178;:::o;45521:366::-;45663:3;45684:67;45748:2;45743:3;45684:67;:::i;:::-;45677:74;;45760:93;45849:3;45760:93;:::i;:::-;45878:2;45873:3;45869:12;45862:19;;45521:366;;;:::o;45893:419::-;46059:4;46097:2;46086:9;46082:18;46074:26;;46146:9;46140:4;46136:20;46132:1;46121:9;46117:17;46110:47;46174:131;46300:4;46174:131;:::i;:::-;46166:139;;45893:419;;;:::o
Swarm Source
ipfs://aac66a4a4b1e645709eab22fde2a78c7eeac17faa311aaa44e26fe556df81944
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.