ERC-1155
Overview
Max Total Supply
1,086 DM
Holders
769
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.
Contract Name:
DearMetaverse
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
pragma solidity ^0.8.9; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; /* ______ _______ _______ ______ __ __ _______ _______ _______ __ __ _______ ______ _______ _______ | | | || _ || _ | | |_| || || || _ || | | || || _ | | || | | _ || ___|| |_| || | || | || ___||_ _|| |_| || |_| || ___|| | || | _____|| ___| | | | || |___ | || |_||_ | || |___ | | | || || |___ | |_||_ | |_____ | |___ | |_| || ___|| || __ | | || ___| | | | || || ___|| __ ||_____ || ___| | || |___ | _ || | | | | ||_|| || |___ | | | _ | | | | |___ | | | | _____| || |___ |______| |_______||__| |__||___| |_| |_| |_||_______| |___| |__| |__| |___| |_______||___| |_||_______||_______| A METACITZN COLLECTION developed by base64.tech */ contract DearMetaverse is ERC1155, Ownable, Pausable { using ECDSA for bytes32; using Strings for uint256; uint256 public constant TOTAL_MAX_SUPPLY = 2000; uint256 public constant MIN_TOKEN_INDEX = 0; uint256 public constant MAX_TOKEN_INDEX = 22; string public constant name = "DearMetaverse"; string public constant symbol = "DM"; address constant METACITZN_CONTRACT = 0x2FFfDa1d3268681BB8B518E5ee6c049C1C53bdA9; IERC721 public metacitznContract; address public signatureVerifier; uint256 public totalTokenSupply = 0; mapping(address => uint256) public addressToAmountWLMintedSoFar; mapping(uint256 => uint256) public tokenSupply; mapping(uint256 => bool) public metaCITZNTokenIdsMinted; uint[] unmintedIndexArray = [0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22]; uint[] unmintedIndexCountArray = [85,85,85,85,85,85,85,85,85,85,85,85,85,85,90,90,90,90,90,90,90,90,90]; string private _tokenBaseURI; event PermanentURI(string _value, uint256 indexed _id); event randomCollectionEvent(address, bytes, uint256, uint256); event randomCollectionGenerationEvent(uint256); constructor() ERC1155("") { _pause(); metacitznContract = IERC721(METACITZN_CONTRACT); } function isValidTokenId(uint256 _id) internal pure returns (bool) { return _id >= MIN_TOKEN_INDEX && _id <= MAX_TOKEN_INDEX; } function getRandomCollectionId() internal returns (uint256) { uint256 randIndex = getRandomTokenIndex(unmintedIndexArray.length); uint256 collectionId = unmintedIndexArray[randIndex]; unmintedIndexCountArray[collectionId]--; //if index count is zero, swap that index in unmintedIndexArray to end of array and pop //this is necessary to delete the item from the array if(unmintedIndexCountArray[collectionId] == 0) { unmintedIndexArray[randIndex] = unmintedIndexArray[unmintedIndexArray.length-1]; unmintedIndexArray.pop(); } emit randomCollectionGenerationEvent(collectionId); return collectionId; } function getRandomTokenIndex(uint256 _range) view internal returns (uint256) { uint randomHash = uint(keccak256(abi.encodePacked(totalTokenSupply, unmintedIndexArray.length, msg.sender,block.timestamp, block.difficulty))); return randomHash % _range; } function metaCitznMint(uint256[] memory _metaCitznTokenIds) whenNotPaused external { require(totalTokenSupply + _metaCitznTokenIds.length < TOTAL_MAX_SUPPLY + 1, "Max supply reached"); for (uint256 i = 0; i < _metaCitznTokenIds.length; i++) { uint256 _metaCitznTokenId = _metaCitznTokenIds[i]; require(metaCITZNTokenIdsMinted[_metaCitznTokenId] == false, "metaCITZN token provided has already been utilized to mint"); require(metacitznContract.ownerOf(_metaCitznTokenId) == msg.sender, "You are not the owner of this token" ); } for (uint256 i = 0; i < _metaCitznTokenIds.length; i++) { uint256 _metaCitznTokenId = _metaCitznTokenIds[i]; metaCITZNTokenIdsMinted[_metaCitznTokenId] = true; uint256 collectionId = getRandomCollectionId(); _mint(msg.sender, collectionId, 1, ""); totalTokenSupply++; tokenSupply[collectionId]++; } } function hashMessage(address sender, uint256 nonce) public pure returns(bytes32) { bytes32 hash = keccak256(abi.encodePacked( "\x19Ethereum Signed Message:\n32", keccak256(abi.encodePacked(sender, nonce)))); return hash; } function whitelistMint(bytes memory _signature, uint256 _nonce) whenNotPaused external { require(addressToAmountWLMintedSoFar[msg.sender] + 1 < 2, "1 WL mint per wallet allocation exceeded"); require(totalTokenSupply + 1 < TOTAL_MAX_SUPPLY + 1, "Purchase would exceed max supply"); bytes32 messageHash = hashMessage(msg.sender, _nonce); require(messageHash.recover(_signature) == signatureVerifier, "Unrecognizable Hash"); addressToAmountWLMintedSoFar[msg.sender] += 1; uint256 collectionId = getRandomCollectionId(); emit randomCollectionEvent(msg.sender, _signature, _nonce, collectionId) ; _mint(msg.sender, collectionId, 1, ""); totalTokenSupply++; tokenSupply[collectionId]++; } function uri(uint256 _tokenId) override public view returns (string memory) { require(isValidTokenId(_tokenId), "invalid id"); return string(abi.encodePacked(_tokenBaseURI, _tokenId.toString(), ".json")); } function totalSupply(uint256 _id) external view returns (uint256) { require(isValidTokenId(_id), "invalid id"); return tokenSupply[_id]; } function getUnmintedIndexLength() external view returns (uint256) { return unmintedIndexCountArray.length; } /* OWNER FUNCTIONS */ function ownerMint(uint256 _numberToMint) external onlyOwner { require(totalTokenSupply + _numberToMint < TOTAL_MAX_SUPPLY + 1, "Purchase would exceed max supply"); for(uint256 i = 0; i < _numberToMint; i++) { uint256 collectionId = getRandomCollectionId(); _mint(msg.sender, collectionId, 1, ""); totalTokenSupply++; } } function ownerMintToAddress(address _recipient, uint256 _numberToMint) external onlyOwner { require(totalTokenSupply + _numberToMint < TOTAL_MAX_SUPPLY + 1, "Purchase would exceed max supply"); for(uint256 i = 0; i < _numberToMint; i++) { uint256 collectionId = getRandomCollectionId(); _mint(_recipient, collectionId, 1, ""); totalTokenSupply++; } } function setMetacitznContract(IERC721 _metacitznContract) external onlyOwner { // this method is used to allow for mocking in testing metacitznContract = _metacitznContract; } function setSignatureVerifier(address _signatureVerifier) external onlyOwner { signatureVerifier = _signatureVerifier; } function freezeMetadata(uint256 _id) external onlyOwner { require(isValidTokenId(_id), "invalid id"); emit PermanentURI(uri(_id), _id); } function setBaseURI(string memory _URI) external onlyOwner { _tokenBaseURI = _URI; } function pause() external onlyOwner { _pause(); } function unpause() external onlyOwner { _unpause(); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/Pausable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/ERC1155.sol) pragma solidity ^0.8.0; import "./IERC1155.sol"; import "./IERC1155Receiver.sol"; import "./extensions/IERC1155MetadataURI.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of the basic standard multi-token. * See https://eips.ethereum.org/EIPS/eip-1155 * Originally based on code by Enjin: https://github.com/enjin/erc-1155 * * _Available since v3.1._ */ contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI { using Address for address; // Mapping from token ID to account balances mapping(uint256 => mapping(address => uint256)) private _balances; // Mapping from account to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json string private _uri; /** * @dev See {_setURI}. */ constructor(string memory uri_) { _setURI(uri_); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC1155).interfaceId || interfaceId == type(IERC1155MetadataURI).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC1155MetadataURI-uri}. * * This implementation returns the same URI for *all* token types. It relies * on the token type ID substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * Clients calling this function must replace the `\{id\}` substring with the * actual token type ID. */ function uri(uint256) public view virtual override returns (string memory) { return _uri; } /** * @dev See {IERC1155-balanceOf}. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) public view virtual override returns (uint256) { require(account != address(0), "ERC1155: balance query for the zero address"); return _balances[id][account]; } /** * @dev See {IERC1155-balanceOfBatch}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] memory accounts, uint256[] memory ids) public view virtual override returns (uint256[] memory) { require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch"); uint256[] memory batchBalances = new uint256[](accounts.length); for (uint256 i = 0; i < accounts.length; ++i) { batchBalances[i] = balanceOf(accounts[i], ids[i]); } return batchBalances; } /** * @dev See {IERC1155-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC1155-isApprovedForAll}. */ function isApprovedForAll(address account, address operator) public view virtual override returns (bool) { return _operatorApprovals[account][operator]; } /** * @dev See {IERC1155-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: caller is not owner nor approved" ); _safeTransferFrom(from, to, id, amount, data); } /** * @dev See {IERC1155-safeBatchTransferFrom}. */ function safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: transfer caller is not owner nor approved" ); _safeBatchTransferFrom(from, to, ids, amounts, data); } /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, _asSingletonArray(id), _asSingletonArray(amount), data); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; emit TransferSingle(operator, from, to, id, amount); _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, ids, amounts, data); for (uint256 i = 0; i < ids.length; ++i) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; } emit TransferBatch(operator, from, to, ids, amounts); _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data); } /** * @dev Sets a new URI for all token types, by relying on the token type ID * substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * By this mechanism, any occurrence of the `\{id\}` substring in either the * URI or any of the amounts in the JSON file at said URI will be replaced by * clients with the token type ID. * * For example, the `https://token-cdn-domain/\{id\}.json` URI would be * interpreted by clients as * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json` * for token type ID 0x4cce0. * * See {uri}. * * Because these URIs cannot be meaningfully represented by the {URI} event, * this function emits no events. */ function _setURI(string memory newuri) internal virtual { _uri = newuri; } /** * @dev Creates `amount` tokens of token type `id`, and assigns them to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _mint( address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), to, _asSingletonArray(id), _asSingletonArray(amount), data); _balances[id][to] += amount; emit TransferSingle(operator, address(0), to, id, amount); _doSafeTransferAcceptanceCheck(operator, address(0), to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _mintBatch( address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), to, ids, amounts, data); for (uint256 i = 0; i < ids.length; i++) { _balances[ids[i]][to] += amounts[i]; } emit TransferBatch(operator, address(0), to, ids, amounts); _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data); } /** * @dev Destroys `amount` tokens of token type `id` from `from` * * Requirements: * * - `from` cannot be the zero address. * - `from` must have at least `amount` tokens of token type `id`. */ function _burn( address from, uint256 id, uint256 amount ) internal virtual { require(from != address(0), "ERC1155: burn from the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, address(0), _asSingletonArray(id), _asSingletonArray(amount), ""); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][from] = fromBalance - amount; } emit TransferSingle(operator, from, address(0), id, amount); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}. * * Requirements: * * - `ids` and `amounts` must have the same length. */ function _burnBatch( address from, uint256[] memory ids, uint256[] memory amounts ) internal virtual { require(from != address(0), "ERC1155: burn from the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, address(0), ids, amounts, ""); for (uint256 i = 0; i < ids.length; i++) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][from] = fromBalance - amount; } } emit TransferBatch(operator, from, address(0), ids, amounts); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC1155: setting approval status for self"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Hook that is called before any token transfer. This includes minting * and burning, as well as batched variants. * * The same hook is called on both single and batched variants. For single * transfers, the length of the `id` and `amount` arrays will be 1. * * Calling conditions (for each `id` and `amount` pair): * * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens * of token type `id` will be transferred to `to`. * - When `from` is zero, `amount` tokens of token type `id` will be minted * for `to`. * - when `to` is zero, `amount` of ``from``'s tokens of token type `id` * will be burned. * - `from` and `to` are never both zero. * - `ids` and `amounts` have the same, non-zero length. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual {} function _doSafeTransferAcceptanceCheck( address operator, address from, address to, uint256 id, uint256 amount, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) { if (response != IERC1155Receiver.onERC1155Received.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _doSafeBatchTransferAcceptanceCheck( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns ( bytes4 response ) { if (response != IERC1155Receiver.onERC1155BatchReceived.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) { uint256[] memory array = new uint256[](1); array[0] = element; return array; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/cryptography/ECDSA.sol) pragma solidity ^0.8.0; import "../Strings.sol"; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } else if (error == RecoverError.InvalidSignatureV) { revert("ECDSA: invalid signature 'v' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { // Check the signature length // - case 65: r,s,v signature (standard) // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._ if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else if (signature.length == 64) { bytes32 r; bytes32 vs; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) vs := mload(add(signature, 0x40)) } return tryRecover(hash, r, vs); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s; uint8 v; assembly { s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) v := add(shr(255, vs), 27) } return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } if (v != 27 && v != 28) { return (address(0), RecoverError.InvalidSignatureV); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Message, created from `s`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC1155 compliant contract, as defined in the * https://eips.ethereum.org/EIPS/eip-1155[EIP]. * * _Available since v3.1._ */ interface IERC1155 is IERC165 { /** * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`. */ event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value); /** * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all * transfers. */ event TransferBatch( address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values ); /** * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to * `approved`. */ event ApprovalForAll(address indexed account, address indexed operator, bool approved); /** * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI. * * If an {URI} event was emitted for `id`, the standard * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value * returned by {IERC1155MetadataURI-uri}. */ event URI(string value, uint256 indexed id); /** * @dev Returns the amount of tokens of token type `id` owned by `account`. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) external view returns (uint256); /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids) external view returns (uint256[] memory); /** * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`, * * Emits an {ApprovalForAll} event. * * Requirements: * * - `operator` cannot be the caller. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns true if `operator` is approved to transfer ``account``'s tokens. * * See {setApprovalForAll}. */ function isApprovedForAll(address account, address operator) external view returns (bool); /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes calldata data ) external; /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function safeBatchTransferFrom( address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155Receiver.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev _Available since v3.1._ */ interface IERC1155Receiver is IERC165 { /** @dev Handles the receipt of a single ERC1155 token type. This function is called at the end of a `safeTransferFrom` after the balance has been updated. To accept the transfer, this must return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` (i.e. 0xf23a6e61, or its own function selector). @param operator The address which initiated the transfer (i.e. msg.sender) @param from The address which previously owned the token @param id The ID of the token being transferred @param value The amount of tokens being transferred @param data Additional data with no specified format @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed */ function onERC1155Received( address operator, address from, uint256 id, uint256 value, bytes calldata data ) external returns (bytes4); /** @dev Handles the receipt of a multiple ERC1155 token types. This function is called at the end of a `safeBatchTransferFrom` after the balances have been updated. To accept the transfer(s), this must return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` (i.e. 0xbc197c81, or its own function selector). @param operator The address which initiated the batch transfer (i.e. msg.sender) @param from The address which previously owned the token @param ids An array containing ids of each token being transferred (order and length must match values array) @param values An array containing amounts of each token being transferred (order and length must match ids array) @param data Additional data with no specified format @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed */ function onERC1155BatchReceived( address operator, address from, uint256[] calldata ids, uint256[] calldata values, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol) pragma solidity ^0.8.0; import "../IERC1155.sol"; /** * @dev Interface of the optional ERC1155MetadataExtension interface, as defined * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP]. * * _Available since v3.1._ */ interface IERC1155MetadataURI is IERC1155 { /** * @dev Returns the URI for token type `id`. * * If the `\{id\}` substring is present in the URI, it must be replaced by * clients with the actual token type ID. */ function uri(uint256 id) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Address.sol) pragma solidity ^0.8.0; /** * @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; 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"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "metadata": { "useLiteralContent": true }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"_value","type":"string"},{"indexed":true,"internalType":"uint256","name":"_id","type":"uint256"}],"name":"PermanentURI","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"","type":"address"},{"indexed":false,"internalType":"bytes","name":"","type":"bytes"},{"indexed":false,"internalType":"uint256","name":"","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"","type":"uint256"}],"name":"randomCollectionEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"","type":"uint256"}],"name":"randomCollectionGenerationEvent","type":"event"},{"inputs":[],"name":"MAX_TOKEN_INDEX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MIN_TOKEN_INDEX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOTAL_MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressToAmountWLMintedSoFar","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"freezeMetadata","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getUnmintedIndexLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"}],"name":"hashMessage","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"metaCITZNTokenIdsMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_metaCitznTokenIds","type":"uint256[]"}],"name":"metaCitznMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"metacitznContract","outputs":[{"internalType":"contract IERC721","name":"","type":"address"}],"stateMutability":"view","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":"_numberToMint","type":"uint256"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_recipient","type":"address"},{"internalType":"uint256","name":"_numberToMint","type":"uint256"}],"name":"ownerMintToAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_URI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC721","name":"_metacitznContract","type":"address"}],"name":"setMetacitznContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_signatureVerifier","type":"address"}],"name":"setSignatureVerifier","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"signatureVerifier","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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":"","type":"uint256"}],"name":"tokenSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalTokenSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"_signature","type":"bytes"},{"internalType":"uint256","name":"_nonce","type":"uint256"}],"name":"whitelistMint","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526000600655604051806102e00160405280600060ff168152602001600160ff168152602001600260ff168152602001600360ff168152602001600460ff168152602001600560ff168152602001600660ff168152602001600760ff168152602001600860ff168152602001600960ff168152602001600a60ff168152602001600b60ff168152602001600c60ff168152602001600d60ff168152602001600e60ff168152602001600f60ff168152602001601060ff168152602001601160ff168152602001601260ff168152602001601360ff168152602001601460ff168152602001601560ff168152602001601660ff16815250600a9060176200010b9291906200049e565b50604051806102e00160405280605560ff168152602001605560ff168152602001605560ff168152602001605560ff168152602001605560ff168152602001605560ff168152602001605560ff168152602001605560ff168152602001605560ff168152602001605560ff168152602001605560ff168152602001605560ff168152602001605560ff168152602001605560ff168152602001605a60ff168152602001605a60ff168152602001605a60ff168152602001605a60ff168152602001605a60ff168152602001605a60ff168152602001605a60ff168152602001605a60ff168152602001605a60ff16815250600b9060176200020e9291906200049e565b503480156200021c57600080fd5b50604051806020016040528060008152506200023e81620002e560201b60201c565b506200025f620002536200030160201b60201c565b6200030960201b60201c565b6000600360146101000a81548160ff0219169083151502179055506200028a620003cf60201b60201c565b732fffda1d3268681bb8b518e5ee6c049c1c53bda9600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550620006ef565b8060029080519060200190620002fd929190620004f5565b5050565b600033905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620003df6200048760201b60201c565b1562000422576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004199062000606565b60405180910390fd5b6001600360146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586200046e6200030160201b60201c565b6040516200047d91906200066d565b60405180910390a1565b6000600360149054906101000a900460ff16905090565b828054828255906000526020600020908101928215620004e2579160200282015b82811115620004e1578251829060ff16905591602001919060010190620004bf565b5b509050620004f1919062000586565b5090565b8280546200050390620006b9565b90600052602060002090601f01602090048101928262000527576000855562000573565b82601f106200054257805160ff191683800117855562000573565b8280016001018555821562000573579182015b828111156200057257825182559160200191906001019062000555565b5b50905062000582919062000586565b5090565b5b80821115620005a157600081600090555060010162000587565b5090565b600082825260208201905092915050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000620005ee601083620005a5565b9150620005fb82620005b6565b602082019050919050565b600060208201905081810360008301526200062181620005df565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620006558262000628565b9050919050565b620006678162000648565b82525050565b60006020820190506200068460008301846200065c565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620006d257607f821691505b60208210811415620006e957620006e86200068a565b5b50919050565b6155ea80620006ff6000396000f3fe608060405234801561001057600080fd5b506004361061021b5760003560e01c806378cee42e11610125578063e08a6605116100ad578063f0c85d9a1161007c578063f0c85d9a14610628578063f19e75d414610646578063f242432a14610662578063f2fde38b1461067e578063fde919f61461069a5761021b565b8063e08a66051461058e578063e8a53325146105aa578063e985e9c5146105da578063ea802ac81461060a5761021b565b806397e8b431116100f457806397e8b431146104da5780639aaf21f4146104f6578063a22cb46514610512578063bd85b0391461052e578063d906268b1461055e5761021b565b806378cee42e146104765780638456cb59146104945780638da5cb5b1461049e57806395d89b41146104bc5761021b565b80633f4ba83a116101a857806355f804b31161017757806355f804b3146103f65780635a4010a0146104125780635c975abb1461043057806365b1de201461044e578063715018a61461046c5761021b565b80633f4ba83a146103845780634dcf6ad61461038e5780634e1273f4146103aa578063557ae82b146103da5761021b565b80630e89341c116101ef5780630e89341c146102ba5780631ca8b6cb146102ea5780632693ebf21461030857806328b559b9146103385780632eb2c2d6146103685761021b565b8062fdd58e1461022057806301ffc9a71461025057806306fdde031461028057806308e3f8681461029e575b600080fd5b61023a60048036038101906102359190613416565b6106b8565b6040516102479190613465565b60405180910390f35b61026a600480360381019061026591906134d8565b610781565b6040516102779190613520565b60405180910390f35b610288610863565b60405161029591906135d4565b60405180910390f35b6102b860048036038101906102b3919061372b565b61089c565b005b6102d460048036038101906102cf9190613787565b610b83565b6040516102e191906135d4565b60405180910390f35b6102f2610bff565b6040516102ff9190613465565b60405180910390f35b610322600480360381019061031d9190613787565b610c05565b60405161032f9190613465565b60405180910390f35b610352600480360381019061034d9190613416565b610c1d565b60405161035f91906137cd565b60405180910390f35b610382600480360381019061037d91906138b0565b610c7b565b005b61038c610d1c565b005b6103a860048036038101906103a39190613787565b610da2565b005b6103c460048036038101906103bf9190613a42565b610ea9565b6040516103d19190613b78565b60405180910390f35b6103f460048036038101906103ef9190613b9a565b610fc2565b005b610410600480360381019061040b9190613c84565b611300565b005b61041a611396565b6040516104279190613465565b60405180910390f35b6104386113a3565b6040516104459190613520565b60405180910390f35b6104566113ba565b6040516104639190613465565b60405180910390f35b6104746113c0565b005b61047e611448565b60405161048b9190613d2c565b60405180910390f35b61049c61146e565b005b6104a66114f4565b6040516104b39190613d56565b60405180910390f35b6104c461151e565b6040516104d191906135d4565b60405180910390f35b6104f460048036038101906104ef9190613daf565b611557565b005b610510600480360381019061050b9190613416565b611617565b005b61052c60048036038101906105279190613e08565b611754565b005b61054860048036038101906105439190613787565b61176a565b6040516105559190613465565b60405180910390f35b61057860048036038101906105739190613e48565b6117cf565b6040516105859190613465565b60405180910390f35b6105a860048036038101906105a39190613e48565b6117e7565b005b6105c460048036038101906105bf9190613787565b6118a7565b6040516105d19190613520565b60405180910390f35b6105f460048036038101906105ef9190613e75565b6118c7565b6040516106019190613520565b60405180910390f35b61061261195b565b60405161061f9190613465565b60405180910390f35b610630611960565b60405161063d9190613465565b60405180910390f35b610660600480360381019061065b9190613787565b611965565b005b61067c60048036038101906106779190613eb5565b611aa1565b005b61069860048036038101906106939190613e48565b611b42565b005b6106a2611c3a565b6040516106af9190613d56565b60405180910390f35b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610729576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161072090613fbe565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061084c57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061085c575061085b82611c60565b5b9050919050565b6040518060400160405280600d81526020017f446561724d65746176657273650000000000000000000000000000000000000081525081565b6108a46113a3565b156108e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108db9061402a565b60405180910390fd5b60026001600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546109329190614079565b10610972576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161096990614141565b60405180910390fd5b60016107d06109819190614079565b60016006546109909190614079565b106109d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109c7906141ad565b60405180910390fd5b60006109dc3383610c1d565b9050600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610a2a8483611cca90919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff1614610a80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7790614219565b60405180910390fd5b6001600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610ad09190614079565b925050819055506000610ae1611cf1565b90507fa8f61c72386615c5da995693c06908ee8d5bd0b822e2d45f263210d70c28927e33858584604051610b18949392919061428e565b60405180910390a1610b3c3382600160405180602001604052806000815250611e3c565b60066000815480929190610b4f906142da565b9190505550600860008281526020019081526020016000206000815480929190610b78906142da565b919050555050505050565b6060610b8e82611fd2565b610bcd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc49061436f565b60405180910390fd5b600c610bd883611fec565b604051602001610be992919061450c565b6040516020818303038152906040529050919050565b60065481565b60086020528060005260406000206000915090505481565b6000808383604051602001610c339291906145a4565b60405160208183030381529060405280519060200120604051602001610c59919061463d565b6040516020818303038152906040528051906020012090508091505092915050565b610c8361214d565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610cc95750610cc885610cc361214d565b6118c7565b5b610d08576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cff906146d5565b60405180910390fd5b610d158585858585612155565b5050505050565b610d2461214d565b73ffffffffffffffffffffffffffffffffffffffff16610d426114f4565b73ffffffffffffffffffffffffffffffffffffffff1614610d98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8f90614741565b60405180910390fd5b610da0612469565b565b610daa61214d565b73ffffffffffffffffffffffffffffffffffffffff16610dc86114f4565b73ffffffffffffffffffffffffffffffffffffffff1614610e1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1590614741565b60405180910390fd5b610e2781611fd2565b610e66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5d9061436f565b60405180910390fd5b807fa109ba539900bf1b633f956d63c96fc89b814c7287f7aa50a9216d0b55657207610e9183610b83565b604051610e9e91906135d4565b60405180910390a250565b60608151835114610eef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee6906147d3565b60405180910390fd5b6000835167ffffffffffffffff811115610f0c57610f0b613600565b5b604051908082528060200260200182016040528015610f3a5781602001602082028036833780820191505090505b50905060005b8451811015610fb757610f87858281518110610f5f57610f5e6147f3565b5b6020026020010151858381518110610f7a57610f796147f3565b5b60200260200101516106b8565b828281518110610f9a57610f996147f3565b5b60200260200101818152505080610fb0906142da565b9050610f40565b508091505092915050565b610fca6113a3565b1561100a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110019061402a565b60405180910390fd5b60016107d06110199190614079565b81516006546110289190614079565b10611068576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105f9061486e565b60405180910390fd5b60005b8151811015611226576000828281518110611089576110886147f3565b5b60200260200101519050600015156009600083815260200190815260200160002060009054906101000a900460ff161515146110fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f190614900565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b815260040161116c9190613465565b60206040518083038186803b15801561118457600080fd5b505afa158015611198573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111bc9190614935565b73ffffffffffffffffffffffffffffffffffffffff1614611212576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611209906149d4565b60405180910390fd5b50808061121e906142da565b91505061106b565b5060005b81518110156112fc576000828281518110611248576112476147f3565b5b6020026020010151905060016009600083815260200190815260200160002060006101000a81548160ff0219169083151502179055506000611288611cf1565b90506112a63382600160405180602001604052806000815250611e3c565b600660008154809291906112b9906142da565b91905055506008600082815260200190815260200160002060008154809291906112e2906142da565b9190505550505080806112f4906142da565b91505061122a565b5050565b61130861214d565b73ffffffffffffffffffffffffffffffffffffffff166113266114f4565b73ffffffffffffffffffffffffffffffffffffffff161461137c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137390614741565b60405180910390fd5b80600c90805190602001906113929291906132cb565b5050565b6000600b80549050905090565b6000600360149054906101000a900460ff16905090565b6107d081565b6113c861214d565b73ffffffffffffffffffffffffffffffffffffffff166113e66114f4565b73ffffffffffffffffffffffffffffffffffffffff161461143c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143390614741565b60405180910390fd5b611446600061250b565b565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61147661214d565b73ffffffffffffffffffffffffffffffffffffffff166114946114f4565b73ffffffffffffffffffffffffffffffffffffffff16146114ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e190614741565b60405180910390fd5b6114f26125d1565b565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6040518060400160405280600281526020017f444d00000000000000000000000000000000000000000000000000000000000081525081565b61155f61214d565b73ffffffffffffffffffffffffffffffffffffffff1661157d6114f4565b73ffffffffffffffffffffffffffffffffffffffff16146115d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ca90614741565b60405180910390fd5b80600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61161f61214d565b73ffffffffffffffffffffffffffffffffffffffff1661163d6114f4565b73ffffffffffffffffffffffffffffffffffffffff1614611693576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168a90614741565b60405180910390fd5b60016107d06116a29190614079565b816006546116b09190614079565b106116f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116e7906141ad565b60405180910390fd5b60005b8181101561174f576000611705611cf1565b90506117238482600160405180602001604052806000815250611e3c565b60066000815480929190611736906142da565b9190505550508080611747906142da565b9150506116f3565b505050565b61176661175f61214d565b8383612674565b5050565b600061177582611fd2565b6117b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ab9061436f565b60405180910390fd5b60086000838152602001908152602001600020549050919050565b60076020528060005260406000206000915090505481565b6117ef61214d565b73ffffffffffffffffffffffffffffffffffffffff1661180d6114f4565b73ffffffffffffffffffffffffffffffffffffffff1614611863576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185a90614741565b60405180910390fd5b80600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60096020528060005260406000206000915054906101000a900460ff1681565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b601681565b600081565b61196d61214d565b73ffffffffffffffffffffffffffffffffffffffff1661198b6114f4565b73ffffffffffffffffffffffffffffffffffffffff16146119e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d890614741565b60405180910390fd5b60016107d06119f09190614079565b816006546119fe9190614079565b10611a3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a35906141ad565b60405180910390fd5b60005b81811015611a9d576000611a53611cf1565b9050611a713382600160405180602001604052806000815250611e3c565b60066000815480929190611a84906142da565b9190505550508080611a95906142da565b915050611a41565b5050565b611aa961214d565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480611aef5750611aee85611ae961214d565b6118c7565b5b611b2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2590614a66565b60405180910390fd5b611b3b85858585856127e1565b5050505050565b611b4a61214d565b73ffffffffffffffffffffffffffffffffffffffff16611b686114f4565b73ffffffffffffffffffffffffffffffffffffffff1614611bbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb590614741565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611c2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2590614af8565b60405180910390fd5b611c378161250b565b50565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000806000611cd98585612a63565b91509150611ce681612ae6565b819250505092915050565b600080611d02600a80549050612cbb565b90506000600a8281548110611d1a57611d196147f3565b5b90600052602060002001549050600b8181548110611d3b57611d3a6147f3565b5b906000526020600020016000815480929190611d5690614b18565b91905055506000600b8281548110611d7157611d706147f3565b5b90600052602060002001541415611dfd57600a6001600a80549050611d969190614b42565b81548110611da757611da66147f3565b5b9060005260206000200154600a8381548110611dc657611dc56147f3565b5b9060005260206000200181905550600a805480611de657611de5614b76565b5b600190038181906000526020600020016000905590555b7fac29a88f7b2ffdf4e621e21125550098122e2a5f5af42ce0e2164f75abaeb66a81604051611e2c9190613465565b60405180910390a1809250505090565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611eac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea390614c17565b60405180910390fd5b6000611eb661214d565b9050611ed781600087611ec888612d0d565b611ed188612d0d565b87612d87565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f369190614079565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051611fb4929190614c37565b60405180910390a4611fcb81600087878787612d8f565b5050505050565b6000808210158015611fe5575060168211155b9050919050565b60606000821415612034576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612148565b600082905060005b6000821461206657808061204f906142da565b915050600a8261205f9190614c8f565b915061203c565b60008167ffffffffffffffff81111561208257612081613600565b5b6040519080825280601f01601f1916602001820160405280156120b45781602001600182028036833780820191505090505b5090505b60008514612141576001826120cd9190614b42565b9150600a856120dc9190614cc0565b60306120e89190614079565b60f81b8183815181106120fe576120fd6147f3565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561213a9190614c8f565b94506120b8565b8093505050505b919050565b600033905090565b8151835114612199576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161219090614d63565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612209576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220090614df5565b60405180910390fd5b600061221361214d565b9050612223818787878787612d87565b60005b84518110156123d4576000858281518110612244576122436147f3565b5b602002602001015190506000858381518110612263576122626147f3565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612304576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122fb90614e87565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123b99190614079565b92505081905550505050806123cd906142da565b9050612226565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb878760405161244b929190614ea7565b60405180910390a4612461818787878787612f76565b505050505050565b6124716113a3565b6124b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124a790614f2a565b60405180910390fd5b6000600360146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6124f461214d565b6040516125019190613d56565b60405180910390a1565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6125d96113a3565b15612619576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126109061402a565b60405180910390fd5b6001600360146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861265d61214d565b60405161266a9190613d56565b60405180910390a1565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156126e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126da90614fbc565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516127d49190613520565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612851576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161284890614df5565b60405180910390fd5b600061285b61214d565b905061287b81878761286c88612d0d565b61287588612d0d565b87612d87565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015612912576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161290990614e87565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129c79190614079565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628888604051612a44929190614c37565b60405180910390a4612a5a828888888888612d8f565b50505050505050565b600080604183511415612aa55760008060006020860151925060408601519150606086015160001a9050612a998782858561315d565b94509450505050612adf565b604083511415612ad6576000806020850151915060408501519050612acb86838361326a565b935093505050612adf565b60006002915091505b9250929050565b60006004811115612afa57612af9614fdc565b5b816004811115612b0d57612b0c614fdc565b5b1415612b1857612cb8565b60016004811115612b2c57612b2b614fdc565b5b816004811115612b3f57612b3e614fdc565b5b1415612b80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b7790615057565b60405180910390fd5b60026004811115612b9457612b93614fdc565b5b816004811115612ba757612ba6614fdc565b5b1415612be8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bdf906150c3565b60405180910390fd5b60036004811115612bfc57612bfb614fdc565b5b816004811115612c0f57612c0e614fdc565b5b1415612c50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c4790615155565b60405180910390fd5b600480811115612c6357612c62614fdc565b5b816004811115612c7657612c75614fdc565b5b1415612cb7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cae906151e7565b60405180910390fd5b5b50565b600080600654600a80549050334244604051602001612cde959493929190615207565b6040516020818303038152906040528051906020012060001c90508281612d059190614cc0565b915050919050565b60606000600167ffffffffffffffff811115612d2c57612d2b613600565b5b604051908082528060200260200182016040528015612d5a5781602001602082028036833780820191505090505b5090508281600081518110612d7257612d716147f3565b5b60200260200101818152505080915050919050565b505050505050565b612dae8473ffffffffffffffffffffffffffffffffffffffff166132b8565b15612f6e578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401612df4959493929190615266565b602060405180830381600087803b158015612e0e57600080fd5b505af1925050508015612e3f57506040513d601f19601f82011682018060405250810190612e3c91906152d5565b60015b612ee557612e4b61530f565b806308c379a01415612ea85750612e60615331565b80612e6b5750612eaa565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e9f91906135d4565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612edc90615439565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612f6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f63906154cb565b60405180910390fd5b505b505050505050565b612f958473ffffffffffffffffffffffffffffffffffffffff166132b8565b15613155578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401612fdb9594939291906154eb565b602060405180830381600087803b158015612ff557600080fd5b505af192505050801561302657506040513d601f19601f8201168201806040525081019061302391906152d5565b60015b6130cc5761303261530f565b806308c379a0141561308f5750613047615331565b806130525750613091565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161308691906135d4565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130c390615439565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614613153576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161314a906154cb565b60405180910390fd5b505b505050505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115613198576000600391509150613261565b601b8560ff16141580156131b05750601c8560ff1614155b156131c2576000600491509150613261565b6000600187878787604051600081526020016040526040516131e7949392919061556f565b6020604051602081039080840390855afa158015613209573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561325857600060019250925050613261565b80600092509250505b94509492505050565b6000806000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85169150601b8560ff1c0190506132aa8782888561315d565b935093505050935093915050565b600080823b905060008111915050919050565b8280546132d7906143be565b90600052602060002090601f0160209004810192826132f95760008555613340565b82601f1061331257805160ff1916838001178555613340565b82800160010185558215613340579182015b8281111561333f578251825591602001919060010190613324565b5b50905061334d9190613351565b5090565b5b8082111561336a576000816000905550600101613352565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006133ad82613382565b9050919050565b6133bd816133a2565b81146133c857600080fd5b50565b6000813590506133da816133b4565b92915050565b6000819050919050565b6133f3816133e0565b81146133fe57600080fd5b50565b600081359050613410816133ea565b92915050565b6000806040838503121561342d5761342c613378565b5b600061343b858286016133cb565b925050602061344c85828601613401565b9150509250929050565b61345f816133e0565b82525050565b600060208201905061347a6000830184613456565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6134b581613480565b81146134c057600080fd5b50565b6000813590506134d2816134ac565b92915050565b6000602082840312156134ee576134ed613378565b5b60006134fc848285016134c3565b91505092915050565b60008115159050919050565b61351a81613505565b82525050565b60006020820190506135356000830184613511565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561357557808201518184015260208101905061355a565b83811115613584576000848401525b50505050565b6000601f19601f8301169050919050565b60006135a68261353b565b6135b08185613546565b93506135c0818560208601613557565b6135c98161358a565b840191505092915050565b600060208201905081810360008301526135ee818461359b565b905092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6136388261358a565b810181811067ffffffffffffffff8211171561365757613656613600565b5b80604052505050565b600061366a61336e565b9050613676828261362f565b919050565b600067ffffffffffffffff82111561369657613695613600565b5b61369f8261358a565b9050602081019050919050565b82818337600083830152505050565b60006136ce6136c98461367b565b613660565b9050828152602081018484840111156136ea576136e96135fb565b5b6136f58482856136ac565b509392505050565b600082601f830112613712576137116135f6565b5b81356137228482602086016136bb565b91505092915050565b6000806040838503121561374257613741613378565b5b600083013567ffffffffffffffff8111156137605761375f61337d565b5b61376c858286016136fd565b925050602061377d85828601613401565b9150509250929050565b60006020828403121561379d5761379c613378565b5b60006137ab84828501613401565b91505092915050565b6000819050919050565b6137c7816137b4565b82525050565b60006020820190506137e260008301846137be565b92915050565b600067ffffffffffffffff82111561380357613802613600565b5b602082029050602081019050919050565b600080fd5b600061382c613827846137e8565b613660565b9050808382526020820190506020840283018581111561384f5761384e613814565b5b835b8181101561387857806138648882613401565b845260208401935050602081019050613851565b5050509392505050565b600082601f830112613897576138966135f6565b5b81356138a7848260208601613819565b91505092915050565b600080600080600060a086880312156138cc576138cb613378565b5b60006138da888289016133cb565b95505060206138eb888289016133cb565b945050604086013567ffffffffffffffff81111561390c5761390b61337d565b5b61391888828901613882565b935050606086013567ffffffffffffffff8111156139395761393861337d565b5b61394588828901613882565b925050608086013567ffffffffffffffff8111156139665761396561337d565b5b613972888289016136fd565b9150509295509295909350565b600067ffffffffffffffff82111561399a57613999613600565b5b602082029050602081019050919050565b60006139be6139b98461397f565b613660565b905080838252602082019050602084028301858111156139e1576139e0613814565b5b835b81811015613a0a57806139f688826133cb565b8452602084019350506020810190506139e3565b5050509392505050565b600082601f830112613a2957613a286135f6565b5b8135613a398482602086016139ab565b91505092915050565b60008060408385031215613a5957613a58613378565b5b600083013567ffffffffffffffff811115613a7757613a7661337d565b5b613a8385828601613a14565b925050602083013567ffffffffffffffff811115613aa457613aa361337d565b5b613ab085828601613882565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613aef816133e0565b82525050565b6000613b018383613ae6565b60208301905092915050565b6000602082019050919050565b6000613b2582613aba565b613b2f8185613ac5565b9350613b3a83613ad6565b8060005b83811015613b6b578151613b528882613af5565b9750613b5d83613b0d565b925050600181019050613b3e565b5085935050505092915050565b60006020820190508181036000830152613b928184613b1a565b905092915050565b600060208284031215613bb057613baf613378565b5b600082013567ffffffffffffffff811115613bce57613bcd61337d565b5b613bda84828501613882565b91505092915050565b600067ffffffffffffffff821115613bfe57613bfd613600565b5b613c078261358a565b9050602081019050919050565b6000613c27613c2284613be3565b613660565b905082815260208101848484011115613c4357613c426135fb565b5b613c4e8482856136ac565b509392505050565b600082601f830112613c6b57613c6a6135f6565b5b8135613c7b848260208601613c14565b91505092915050565b600060208284031215613c9a57613c99613378565b5b600082013567ffffffffffffffff811115613cb857613cb761337d565b5b613cc484828501613c56565b91505092915050565b6000819050919050565b6000613cf2613ced613ce884613382565b613ccd565b613382565b9050919050565b6000613d0482613cd7565b9050919050565b6000613d1682613cf9565b9050919050565b613d2681613d0b565b82525050565b6000602082019050613d416000830184613d1d565b92915050565b613d50816133a2565b82525050565b6000602082019050613d6b6000830184613d47565b92915050565b6000613d7c826133a2565b9050919050565b613d8c81613d71565b8114613d9757600080fd5b50565b600081359050613da981613d83565b92915050565b600060208284031215613dc557613dc4613378565b5b6000613dd384828501613d9a565b91505092915050565b613de581613505565b8114613df057600080fd5b50565b600081359050613e0281613ddc565b92915050565b60008060408385031215613e1f57613e1e613378565b5b6000613e2d858286016133cb565b9250506020613e3e85828601613df3565b9150509250929050565b600060208284031215613e5e57613e5d613378565b5b6000613e6c848285016133cb565b91505092915050565b60008060408385031215613e8c57613e8b613378565b5b6000613e9a858286016133cb565b9250506020613eab858286016133cb565b9150509250929050565b600080600080600060a08688031215613ed157613ed0613378565b5b6000613edf888289016133cb565b9550506020613ef0888289016133cb565b9450506040613f0188828901613401565b9350506060613f1288828901613401565b925050608086013567ffffffffffffffff811115613f3357613f3261337d565b5b613f3f888289016136fd565b9150509295509295909350565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b6000613fa8602b83613546565b9150613fb382613f4c565b604082019050919050565b60006020820190508181036000830152613fd781613f9b565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000614014601083613546565b915061401f82613fde565b602082019050919050565b6000602082019050818103600083015261404381614007565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614084826133e0565b915061408f836133e0565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156140c4576140c361404a565b5b828201905092915050565b7f3120574c206d696e74207065722077616c6c657420616c6c6f636174696f6e2060008201527f6578636565646564000000000000000000000000000000000000000000000000602082015250565b600061412b602883613546565b9150614136826140cf565b604082019050919050565b6000602082019050818103600083015261415a8161411e565b9050919050565b7f507572636861736520776f756c6420657863656564206d617820737570706c79600082015250565b6000614197602083613546565b91506141a282614161565b602082019050919050565b600060208201905081810360008301526141c68161418a565b9050919050565b7f556e7265636f676e697a61626c65204861736800000000000000000000000000600082015250565b6000614203601383613546565b915061420e826141cd565b602082019050919050565b60006020820190508181036000830152614232816141f6565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061426082614239565b61426a8185614244565b935061427a818560208601613557565b6142838161358a565b840191505092915050565b60006080820190506142a36000830187613d47565b81810360208301526142b58186614255565b90506142c46040830185613456565b6142d16060830184613456565b95945050505050565b60006142e5826133e0565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156143185761431761404a565b5b600182019050919050565b7f696e76616c696420696400000000000000000000000000000000000000000000600082015250565b6000614359600a83613546565b915061436482614323565b602082019050919050565b600060208201905081810360008301526143888161434c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806143d657607f821691505b602082108114156143ea576143e961438f565b5b50919050565b600081905092915050565b60008190508160005260206000209050919050565b6000815461441d816143be565b61442781866143f0565b94506001821660008114614442576001811461445357614486565b60ff19831686528186019350614486565b61445c856143fb565b60005b8381101561447e5781548189015260018201915060208101905061445f565b838801955050505b50505092915050565b600061449a8261353b565b6144a481856143f0565b93506144b4818560208601613557565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b60006144f66005836143f0565b9150614501826144c0565b600582019050919050565b60006145188285614410565b9150614524828461448f565b915061452f826144e9565b91508190509392505050565b60008160601b9050919050565b60006145538261453b565b9050919050565b600061456582614548565b9050919050565b61457d614578826133a2565b61455a565b82525050565b6000819050919050565b61459e614599826133e0565b614583565b82525050565b60006145b0828561456c565b6014820191506145c0828461458d565b6020820191508190509392505050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b6000614606601c836143f0565b9150614611826145d0565b601c82019050919050565b6000819050919050565b614637614632826137b4565b61461c565b82525050565b6000614648826145f9565b91506146548284614626565b60208201915081905092915050565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b60006146bf603283613546565b91506146ca82614663565b604082019050919050565b600060208201905081810360008301526146ee816146b2565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061472b602083613546565b9150614736826146f5565b602082019050919050565b6000602082019050818103600083015261475a8161471e565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b60006147bd602983613546565b91506147c882614761565b604082019050919050565b600060208201905081810360008301526147ec816147b0565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4d617820737570706c7920726561636865640000000000000000000000000000600082015250565b6000614858601283613546565b915061486382614822565b602082019050919050565b600060208201905081810360008301526148878161484b565b9050919050565b7f6d6574614349545a4e20746f6b656e2070726f76696465642068617320616c7260008201527f65616479206265656e207574696c697a656420746f206d696e74000000000000602082015250565b60006148ea603a83613546565b91506148f58261488e565b604082019050919050565b60006020820190508181036000830152614919816148dd565b9050919050565b60008151905061492f816133b4565b92915050565b60006020828403121561494b5761494a613378565b5b600061495984828501614920565b91505092915050565b7f596f7520617265206e6f7420746865206f776e6572206f66207468697320746f60008201527f6b656e0000000000000000000000000000000000000000000000000000000000602082015250565b60006149be602383613546565b91506149c982614962565b604082019050919050565b600060208201905081810360008301526149ed816149b1565b9050919050565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b6000614a50602983613546565b9150614a5b826149f4565b604082019050919050565b60006020820190508181036000830152614a7f81614a43565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614ae2602683613546565b9150614aed82614a86565b604082019050919050565b60006020820190508181036000830152614b1181614ad5565b9050919050565b6000614b23826133e0565b91506000821415614b3757614b3661404a565b5b600182039050919050565b6000614b4d826133e0565b9150614b58836133e0565b925082821015614b6b57614b6a61404a565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000614c01602183613546565b9150614c0c82614ba5565b604082019050919050565b60006020820190508181036000830152614c3081614bf4565b9050919050565b6000604082019050614c4c6000830185613456565b614c596020830184613456565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614c9a826133e0565b9150614ca5836133e0565b925082614cb557614cb4614c60565b5b828204905092915050565b6000614ccb826133e0565b9150614cd6836133e0565b925082614ce657614ce5614c60565b5b828206905092915050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b6000614d4d602883613546565b9150614d5882614cf1565b604082019050919050565b60006020820190508181036000830152614d7c81614d40565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000614ddf602583613546565b9150614dea82614d83565b604082019050919050565b60006020820190508181036000830152614e0e81614dd2565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b6000614e71602a83613546565b9150614e7c82614e15565b604082019050919050565b60006020820190508181036000830152614ea081614e64565b9050919050565b60006040820190508181036000830152614ec18185613b1a565b90508181036020830152614ed58184613b1a565b90509392505050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b6000614f14601483613546565b9150614f1f82614ede565b602082019050919050565b60006020820190508181036000830152614f4381614f07565b9050919050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b6000614fa6602983613546565b9150614fb182614f4a565b604082019050919050565b60006020820190508181036000830152614fd581614f99565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b6000615041601883613546565b915061504c8261500b565b602082019050919050565b6000602082019050818103600083015261507081615034565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b60006150ad601f83613546565b91506150b882615077565b602082019050919050565b600060208201905081810360008301526150dc816150a0565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b600061513f602283613546565b915061514a826150e3565b604082019050919050565b6000602082019050818103600083015261516e81615132565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b60006151d1602283613546565b91506151dc82615175565b604082019050919050565b60006020820190508181036000830152615200816151c4565b9050919050565b6000615213828861458d565b602082019150615223828761458d565b602082019150615233828661456c565b601482019150615243828561458d565b602082019150615253828461458d565b6020820191508190509695505050505050565b600060a08201905061527b6000830188613d47565b6152886020830187613d47565b6152956040830186613456565b6152a26060830185613456565b81810360808301526152b48184614255565b90509695505050505050565b6000815190506152cf816134ac565b92915050565b6000602082840312156152eb576152ea613378565b5b60006152f9848285016152c0565b91505092915050565b60008160e01c9050919050565b600060033d111561532e5760046000803e61532b600051615302565b90505b90565b600060443d1015615341576153c4565b61534961336e565b60043d036004823e80513d602482011167ffffffffffffffff821117156153715750506153c4565b808201805167ffffffffffffffff81111561538f57505050506153c4565b80602083010160043d0385018111156153ac5750505050506153c4565b6153bb8260200185018661362f565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b6000615423603483613546565b915061542e826153c7565b604082019050919050565b6000602082019050818103600083015261545281615416565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b60006154b5602883613546565b91506154c082615459565b604082019050919050565b600060208201905081810360008301526154e4816154a8565b9050919050565b600060a0820190506155006000830188613d47565b61550d6020830187613d47565b818103604083015261551f8186613b1a565b905081810360608301526155338185613b1a565b905081810360808301526155478184614255565b90509695505050505050565b600060ff82169050919050565b61556981615553565b82525050565b600060808201905061558460008301876137be565b6155916020830186615560565b61559e60408301856137be565b6155ab60608301846137be565b9594505050505056fea2646970667358221220fa535ff80a0bcd8ddb8d86629660da82d40da85ba0550bab9cd91f7d6d9d589f64736f6c63430008090033
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061021b5760003560e01c806378cee42e11610125578063e08a6605116100ad578063f0c85d9a1161007c578063f0c85d9a14610628578063f19e75d414610646578063f242432a14610662578063f2fde38b1461067e578063fde919f61461069a5761021b565b8063e08a66051461058e578063e8a53325146105aa578063e985e9c5146105da578063ea802ac81461060a5761021b565b806397e8b431116100f457806397e8b431146104da5780639aaf21f4146104f6578063a22cb46514610512578063bd85b0391461052e578063d906268b1461055e5761021b565b806378cee42e146104765780638456cb59146104945780638da5cb5b1461049e57806395d89b41146104bc5761021b565b80633f4ba83a116101a857806355f804b31161017757806355f804b3146103f65780635a4010a0146104125780635c975abb1461043057806365b1de201461044e578063715018a61461046c5761021b565b80633f4ba83a146103845780634dcf6ad61461038e5780634e1273f4146103aa578063557ae82b146103da5761021b565b80630e89341c116101ef5780630e89341c146102ba5780631ca8b6cb146102ea5780632693ebf21461030857806328b559b9146103385780632eb2c2d6146103685761021b565b8062fdd58e1461022057806301ffc9a71461025057806306fdde031461028057806308e3f8681461029e575b600080fd5b61023a60048036038101906102359190613416565b6106b8565b6040516102479190613465565b60405180910390f35b61026a600480360381019061026591906134d8565b610781565b6040516102779190613520565b60405180910390f35b610288610863565b60405161029591906135d4565b60405180910390f35b6102b860048036038101906102b3919061372b565b61089c565b005b6102d460048036038101906102cf9190613787565b610b83565b6040516102e191906135d4565b60405180910390f35b6102f2610bff565b6040516102ff9190613465565b60405180910390f35b610322600480360381019061031d9190613787565b610c05565b60405161032f9190613465565b60405180910390f35b610352600480360381019061034d9190613416565b610c1d565b60405161035f91906137cd565b60405180910390f35b610382600480360381019061037d91906138b0565b610c7b565b005b61038c610d1c565b005b6103a860048036038101906103a39190613787565b610da2565b005b6103c460048036038101906103bf9190613a42565b610ea9565b6040516103d19190613b78565b60405180910390f35b6103f460048036038101906103ef9190613b9a565b610fc2565b005b610410600480360381019061040b9190613c84565b611300565b005b61041a611396565b6040516104279190613465565b60405180910390f35b6104386113a3565b6040516104459190613520565b60405180910390f35b6104566113ba565b6040516104639190613465565b60405180910390f35b6104746113c0565b005b61047e611448565b60405161048b9190613d2c565b60405180910390f35b61049c61146e565b005b6104a66114f4565b6040516104b39190613d56565b60405180910390f35b6104c461151e565b6040516104d191906135d4565b60405180910390f35b6104f460048036038101906104ef9190613daf565b611557565b005b610510600480360381019061050b9190613416565b611617565b005b61052c60048036038101906105279190613e08565b611754565b005b61054860048036038101906105439190613787565b61176a565b6040516105559190613465565b60405180910390f35b61057860048036038101906105739190613e48565b6117cf565b6040516105859190613465565b60405180910390f35b6105a860048036038101906105a39190613e48565b6117e7565b005b6105c460048036038101906105bf9190613787565b6118a7565b6040516105d19190613520565b60405180910390f35b6105f460048036038101906105ef9190613e75565b6118c7565b6040516106019190613520565b60405180910390f35b61061261195b565b60405161061f9190613465565b60405180910390f35b610630611960565b60405161063d9190613465565b60405180910390f35b610660600480360381019061065b9190613787565b611965565b005b61067c60048036038101906106779190613eb5565b611aa1565b005b61069860048036038101906106939190613e48565b611b42565b005b6106a2611c3a565b6040516106af9190613d56565b60405180910390f35b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610729576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161072090613fbe565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061084c57507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061085c575061085b82611c60565b5b9050919050565b6040518060400160405280600d81526020017f446561724d65746176657273650000000000000000000000000000000000000081525081565b6108a46113a3565b156108e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108db9061402a565b60405180910390fd5b60026001600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546109329190614079565b10610972576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161096990614141565b60405180910390fd5b60016107d06109819190614079565b60016006546109909190614079565b106109d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109c7906141ad565b60405180910390fd5b60006109dc3383610c1d565b9050600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610a2a8483611cca90919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff1614610a80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7790614219565b60405180910390fd5b6001600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610ad09190614079565b925050819055506000610ae1611cf1565b90507fa8f61c72386615c5da995693c06908ee8d5bd0b822e2d45f263210d70c28927e33858584604051610b18949392919061428e565b60405180910390a1610b3c3382600160405180602001604052806000815250611e3c565b60066000815480929190610b4f906142da565b9190505550600860008281526020019081526020016000206000815480929190610b78906142da565b919050555050505050565b6060610b8e82611fd2565b610bcd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc49061436f565b60405180910390fd5b600c610bd883611fec565b604051602001610be992919061450c565b6040516020818303038152906040529050919050565b60065481565b60086020528060005260406000206000915090505481565b6000808383604051602001610c339291906145a4565b60405160208183030381529060405280519060200120604051602001610c59919061463d565b6040516020818303038152906040528051906020012090508091505092915050565b610c8361214d565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610cc95750610cc885610cc361214d565b6118c7565b5b610d08576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cff906146d5565b60405180910390fd5b610d158585858585612155565b5050505050565b610d2461214d565b73ffffffffffffffffffffffffffffffffffffffff16610d426114f4565b73ffffffffffffffffffffffffffffffffffffffff1614610d98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8f90614741565b60405180910390fd5b610da0612469565b565b610daa61214d565b73ffffffffffffffffffffffffffffffffffffffff16610dc86114f4565b73ffffffffffffffffffffffffffffffffffffffff1614610e1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1590614741565b60405180910390fd5b610e2781611fd2565b610e66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5d9061436f565b60405180910390fd5b807fa109ba539900bf1b633f956d63c96fc89b814c7287f7aa50a9216d0b55657207610e9183610b83565b604051610e9e91906135d4565b60405180910390a250565b60608151835114610eef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee6906147d3565b60405180910390fd5b6000835167ffffffffffffffff811115610f0c57610f0b613600565b5b604051908082528060200260200182016040528015610f3a5781602001602082028036833780820191505090505b50905060005b8451811015610fb757610f87858281518110610f5f57610f5e6147f3565b5b6020026020010151858381518110610f7a57610f796147f3565b5b60200260200101516106b8565b828281518110610f9a57610f996147f3565b5b60200260200101818152505080610fb0906142da565b9050610f40565b508091505092915050565b610fca6113a3565b1561100a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110019061402a565b60405180910390fd5b60016107d06110199190614079565b81516006546110289190614079565b10611068576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105f9061486e565b60405180910390fd5b60005b8151811015611226576000828281518110611089576110886147f3565b5b60200260200101519050600015156009600083815260200190815260200160002060009054906101000a900460ff161515146110fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f190614900565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e836040518263ffffffff1660e01b815260040161116c9190613465565b60206040518083038186803b15801561118457600080fd5b505afa158015611198573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111bc9190614935565b73ffffffffffffffffffffffffffffffffffffffff1614611212576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611209906149d4565b60405180910390fd5b50808061121e906142da565b91505061106b565b5060005b81518110156112fc576000828281518110611248576112476147f3565b5b6020026020010151905060016009600083815260200190815260200160002060006101000a81548160ff0219169083151502179055506000611288611cf1565b90506112a63382600160405180602001604052806000815250611e3c565b600660008154809291906112b9906142da565b91905055506008600082815260200190815260200160002060008154809291906112e2906142da565b9190505550505080806112f4906142da565b91505061122a565b5050565b61130861214d565b73ffffffffffffffffffffffffffffffffffffffff166113266114f4565b73ffffffffffffffffffffffffffffffffffffffff161461137c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137390614741565b60405180910390fd5b80600c90805190602001906113929291906132cb565b5050565b6000600b80549050905090565b6000600360149054906101000a900460ff16905090565b6107d081565b6113c861214d565b73ffffffffffffffffffffffffffffffffffffffff166113e66114f4565b73ffffffffffffffffffffffffffffffffffffffff161461143c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143390614741565b60405180910390fd5b611446600061250b565b565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61147661214d565b73ffffffffffffffffffffffffffffffffffffffff166114946114f4565b73ffffffffffffffffffffffffffffffffffffffff16146114ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e190614741565b60405180910390fd5b6114f26125d1565b565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6040518060400160405280600281526020017f444d00000000000000000000000000000000000000000000000000000000000081525081565b61155f61214d565b73ffffffffffffffffffffffffffffffffffffffff1661157d6114f4565b73ffffffffffffffffffffffffffffffffffffffff16146115d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ca90614741565b60405180910390fd5b80600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b61161f61214d565b73ffffffffffffffffffffffffffffffffffffffff1661163d6114f4565b73ffffffffffffffffffffffffffffffffffffffff1614611693576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161168a90614741565b60405180910390fd5b60016107d06116a29190614079565b816006546116b09190614079565b106116f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116e7906141ad565b60405180910390fd5b60005b8181101561174f576000611705611cf1565b90506117238482600160405180602001604052806000815250611e3c565b60066000815480929190611736906142da565b9190505550508080611747906142da565b9150506116f3565b505050565b61176661175f61214d565b8383612674565b5050565b600061177582611fd2565b6117b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ab9061436f565b60405180910390fd5b60086000838152602001908152602001600020549050919050565b60076020528060005260406000206000915090505481565b6117ef61214d565b73ffffffffffffffffffffffffffffffffffffffff1661180d6114f4565b73ffffffffffffffffffffffffffffffffffffffff1614611863576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185a90614741565b60405180910390fd5b80600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60096020528060005260406000206000915054906101000a900460ff1681565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b601681565b600081565b61196d61214d565b73ffffffffffffffffffffffffffffffffffffffff1661198b6114f4565b73ffffffffffffffffffffffffffffffffffffffff16146119e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d890614741565b60405180910390fd5b60016107d06119f09190614079565b816006546119fe9190614079565b10611a3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a35906141ad565b60405180910390fd5b60005b81811015611a9d576000611a53611cf1565b9050611a713382600160405180602001604052806000815250611e3c565b60066000815480929190611a84906142da565b9190505550508080611a95906142da565b915050611a41565b5050565b611aa961214d565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480611aef5750611aee85611ae961214d565b6118c7565b5b611b2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2590614a66565b60405180910390fd5b611b3b85858585856127e1565b5050505050565b611b4a61214d565b73ffffffffffffffffffffffffffffffffffffffff16611b686114f4565b73ffffffffffffffffffffffffffffffffffffffff1614611bbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb590614741565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611c2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2590614af8565b60405180910390fd5b611c378161250b565b50565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000806000611cd98585612a63565b91509150611ce681612ae6565b819250505092915050565b600080611d02600a80549050612cbb565b90506000600a8281548110611d1a57611d196147f3565b5b90600052602060002001549050600b8181548110611d3b57611d3a6147f3565b5b906000526020600020016000815480929190611d5690614b18565b91905055506000600b8281548110611d7157611d706147f3565b5b90600052602060002001541415611dfd57600a6001600a80549050611d969190614b42565b81548110611da757611da66147f3565b5b9060005260206000200154600a8381548110611dc657611dc56147f3565b5b9060005260206000200181905550600a805480611de657611de5614b76565b5b600190038181906000526020600020016000905590555b7fac29a88f7b2ffdf4e621e21125550098122e2a5f5af42ce0e2164f75abaeb66a81604051611e2c9190613465565b60405180910390a1809250505090565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611eac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea390614c17565b60405180910390fd5b6000611eb661214d565b9050611ed781600087611ec888612d0d565b611ed188612d0d565b87612d87565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f369190614079565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051611fb4929190614c37565b60405180910390a4611fcb81600087878787612d8f565b5050505050565b6000808210158015611fe5575060168211155b9050919050565b60606000821415612034576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612148565b600082905060005b6000821461206657808061204f906142da565b915050600a8261205f9190614c8f565b915061203c565b60008167ffffffffffffffff81111561208257612081613600565b5b6040519080825280601f01601f1916602001820160405280156120b45781602001600182028036833780820191505090505b5090505b60008514612141576001826120cd9190614b42565b9150600a856120dc9190614cc0565b60306120e89190614079565b60f81b8183815181106120fe576120fd6147f3565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561213a9190614c8f565b94506120b8565b8093505050505b919050565b600033905090565b8151835114612199576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161219090614d63565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612209576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220090614df5565b60405180910390fd5b600061221361214d565b9050612223818787878787612d87565b60005b84518110156123d4576000858281518110612244576122436147f3565b5b602002602001015190506000858381518110612263576122626147f3565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612304576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122fb90614e87565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546123b99190614079565b92505081905550505050806123cd906142da565b9050612226565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb878760405161244b929190614ea7565b60405180910390a4612461818787878787612f76565b505050505050565b6124716113a3565b6124b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124a790614f2a565b60405180910390fd5b6000600360146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6124f461214d565b6040516125019190613d56565b60405180910390a1565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6125d96113a3565b15612619576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126109061402a565b60405180910390fd5b6001600360146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861265d61214d565b60405161266a9190613d56565b60405180910390a1565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156126e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126da90614fbc565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516127d49190613520565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612851576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161284890614df5565b60405180910390fd5b600061285b61214d565b905061287b81878761286c88612d0d565b61287588612d0d565b87612d87565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015612912576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161290990614e87565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129c79190614079565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628888604051612a44929190614c37565b60405180910390a4612a5a828888888888612d8f565b50505050505050565b600080604183511415612aa55760008060006020860151925060408601519150606086015160001a9050612a998782858561315d565b94509450505050612adf565b604083511415612ad6576000806020850151915060408501519050612acb86838361326a565b935093505050612adf565b60006002915091505b9250929050565b60006004811115612afa57612af9614fdc565b5b816004811115612b0d57612b0c614fdc565b5b1415612b1857612cb8565b60016004811115612b2c57612b2b614fdc565b5b816004811115612b3f57612b3e614fdc565b5b1415612b80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b7790615057565b60405180910390fd5b60026004811115612b9457612b93614fdc565b5b816004811115612ba757612ba6614fdc565b5b1415612be8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bdf906150c3565b60405180910390fd5b60036004811115612bfc57612bfb614fdc565b5b816004811115612c0f57612c0e614fdc565b5b1415612c50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c4790615155565b60405180910390fd5b600480811115612c6357612c62614fdc565b5b816004811115612c7657612c75614fdc565b5b1415612cb7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cae906151e7565b60405180910390fd5b5b50565b600080600654600a80549050334244604051602001612cde959493929190615207565b6040516020818303038152906040528051906020012060001c90508281612d059190614cc0565b915050919050565b60606000600167ffffffffffffffff811115612d2c57612d2b613600565b5b604051908082528060200260200182016040528015612d5a5781602001602082028036833780820191505090505b5090508281600081518110612d7257612d716147f3565b5b60200260200101818152505080915050919050565b505050505050565b612dae8473ffffffffffffffffffffffffffffffffffffffff166132b8565b15612f6e578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401612df4959493929190615266565b602060405180830381600087803b158015612e0e57600080fd5b505af1925050508015612e3f57506040513d601f19601f82011682018060405250810190612e3c91906152d5565b60015b612ee557612e4b61530f565b806308c379a01415612ea85750612e60615331565b80612e6b5750612eaa565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e9f91906135d4565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612edc90615439565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612f6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f63906154cb565b60405180910390fd5b505b505050505050565b612f958473ffffffffffffffffffffffffffffffffffffffff166132b8565b15613155578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401612fdb9594939291906154eb565b602060405180830381600087803b158015612ff557600080fd5b505af192505050801561302657506040513d601f19601f8201168201806040525081019061302391906152d5565b60015b6130cc5761303261530f565b806308c379a0141561308f5750613047615331565b806130525750613091565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161308691906135d4565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130c390615439565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614613153576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161314a906154cb565b60405180910390fd5b505b505050505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115613198576000600391509150613261565b601b8560ff16141580156131b05750601c8560ff1614155b156131c2576000600491509150613261565b6000600187878787604051600081526020016040526040516131e7949392919061556f565b6020604051602081039080840390855afa158015613209573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561325857600060019250925050613261565b80600092509250505b94509492505050565b6000806000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85169150601b8560ff1c0190506132aa8782888561315d565b935093505050935093915050565b600080823b905060008111915050919050565b8280546132d7906143be565b90600052602060002090601f0160209004810192826132f95760008555613340565b82601f1061331257805160ff1916838001178555613340565b82800160010185558215613340579182015b8281111561333f578251825591602001919060010190613324565b5b50905061334d9190613351565b5090565b5b8082111561336a576000816000905550600101613352565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006133ad82613382565b9050919050565b6133bd816133a2565b81146133c857600080fd5b50565b6000813590506133da816133b4565b92915050565b6000819050919050565b6133f3816133e0565b81146133fe57600080fd5b50565b600081359050613410816133ea565b92915050565b6000806040838503121561342d5761342c613378565b5b600061343b858286016133cb565b925050602061344c85828601613401565b9150509250929050565b61345f816133e0565b82525050565b600060208201905061347a6000830184613456565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6134b581613480565b81146134c057600080fd5b50565b6000813590506134d2816134ac565b92915050565b6000602082840312156134ee576134ed613378565b5b60006134fc848285016134c3565b91505092915050565b60008115159050919050565b61351a81613505565b82525050565b60006020820190506135356000830184613511565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561357557808201518184015260208101905061355a565b83811115613584576000848401525b50505050565b6000601f19601f8301169050919050565b60006135a68261353b565b6135b08185613546565b93506135c0818560208601613557565b6135c98161358a565b840191505092915050565b600060208201905081810360008301526135ee818461359b565b905092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6136388261358a565b810181811067ffffffffffffffff8211171561365757613656613600565b5b80604052505050565b600061366a61336e565b9050613676828261362f565b919050565b600067ffffffffffffffff82111561369657613695613600565b5b61369f8261358a565b9050602081019050919050565b82818337600083830152505050565b60006136ce6136c98461367b565b613660565b9050828152602081018484840111156136ea576136e96135fb565b5b6136f58482856136ac565b509392505050565b600082601f830112613712576137116135f6565b5b81356137228482602086016136bb565b91505092915050565b6000806040838503121561374257613741613378565b5b600083013567ffffffffffffffff8111156137605761375f61337d565b5b61376c858286016136fd565b925050602061377d85828601613401565b9150509250929050565b60006020828403121561379d5761379c613378565b5b60006137ab84828501613401565b91505092915050565b6000819050919050565b6137c7816137b4565b82525050565b60006020820190506137e260008301846137be565b92915050565b600067ffffffffffffffff82111561380357613802613600565b5b602082029050602081019050919050565b600080fd5b600061382c613827846137e8565b613660565b9050808382526020820190506020840283018581111561384f5761384e613814565b5b835b8181101561387857806138648882613401565b845260208401935050602081019050613851565b5050509392505050565b600082601f830112613897576138966135f6565b5b81356138a7848260208601613819565b91505092915050565b600080600080600060a086880312156138cc576138cb613378565b5b60006138da888289016133cb565b95505060206138eb888289016133cb565b945050604086013567ffffffffffffffff81111561390c5761390b61337d565b5b61391888828901613882565b935050606086013567ffffffffffffffff8111156139395761393861337d565b5b61394588828901613882565b925050608086013567ffffffffffffffff8111156139665761396561337d565b5b613972888289016136fd565b9150509295509295909350565b600067ffffffffffffffff82111561399a57613999613600565b5b602082029050602081019050919050565b60006139be6139b98461397f565b613660565b905080838252602082019050602084028301858111156139e1576139e0613814565b5b835b81811015613a0a57806139f688826133cb565b8452602084019350506020810190506139e3565b5050509392505050565b600082601f830112613a2957613a286135f6565b5b8135613a398482602086016139ab565b91505092915050565b60008060408385031215613a5957613a58613378565b5b600083013567ffffffffffffffff811115613a7757613a7661337d565b5b613a8385828601613a14565b925050602083013567ffffffffffffffff811115613aa457613aa361337d565b5b613ab085828601613882565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613aef816133e0565b82525050565b6000613b018383613ae6565b60208301905092915050565b6000602082019050919050565b6000613b2582613aba565b613b2f8185613ac5565b9350613b3a83613ad6565b8060005b83811015613b6b578151613b528882613af5565b9750613b5d83613b0d565b925050600181019050613b3e565b5085935050505092915050565b60006020820190508181036000830152613b928184613b1a565b905092915050565b600060208284031215613bb057613baf613378565b5b600082013567ffffffffffffffff811115613bce57613bcd61337d565b5b613bda84828501613882565b91505092915050565b600067ffffffffffffffff821115613bfe57613bfd613600565b5b613c078261358a565b9050602081019050919050565b6000613c27613c2284613be3565b613660565b905082815260208101848484011115613c4357613c426135fb565b5b613c4e8482856136ac565b509392505050565b600082601f830112613c6b57613c6a6135f6565b5b8135613c7b848260208601613c14565b91505092915050565b600060208284031215613c9a57613c99613378565b5b600082013567ffffffffffffffff811115613cb857613cb761337d565b5b613cc484828501613c56565b91505092915050565b6000819050919050565b6000613cf2613ced613ce884613382565b613ccd565b613382565b9050919050565b6000613d0482613cd7565b9050919050565b6000613d1682613cf9565b9050919050565b613d2681613d0b565b82525050565b6000602082019050613d416000830184613d1d565b92915050565b613d50816133a2565b82525050565b6000602082019050613d6b6000830184613d47565b92915050565b6000613d7c826133a2565b9050919050565b613d8c81613d71565b8114613d9757600080fd5b50565b600081359050613da981613d83565b92915050565b600060208284031215613dc557613dc4613378565b5b6000613dd384828501613d9a565b91505092915050565b613de581613505565b8114613df057600080fd5b50565b600081359050613e0281613ddc565b92915050565b60008060408385031215613e1f57613e1e613378565b5b6000613e2d858286016133cb565b9250506020613e3e85828601613df3565b9150509250929050565b600060208284031215613e5e57613e5d613378565b5b6000613e6c848285016133cb565b91505092915050565b60008060408385031215613e8c57613e8b613378565b5b6000613e9a858286016133cb565b9250506020613eab858286016133cb565b9150509250929050565b600080600080600060a08688031215613ed157613ed0613378565b5b6000613edf888289016133cb565b9550506020613ef0888289016133cb565b9450506040613f0188828901613401565b9350506060613f1288828901613401565b925050608086013567ffffffffffffffff811115613f3357613f3261337d565b5b613f3f888289016136fd565b9150509295509295909350565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b6000613fa8602b83613546565b9150613fb382613f4c565b604082019050919050565b60006020820190508181036000830152613fd781613f9b565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000614014601083613546565b915061401f82613fde565b602082019050919050565b6000602082019050818103600083015261404381614007565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614084826133e0565b915061408f836133e0565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156140c4576140c361404a565b5b828201905092915050565b7f3120574c206d696e74207065722077616c6c657420616c6c6f636174696f6e2060008201527f6578636565646564000000000000000000000000000000000000000000000000602082015250565b600061412b602883613546565b9150614136826140cf565b604082019050919050565b6000602082019050818103600083015261415a8161411e565b9050919050565b7f507572636861736520776f756c6420657863656564206d617820737570706c79600082015250565b6000614197602083613546565b91506141a282614161565b602082019050919050565b600060208201905081810360008301526141c68161418a565b9050919050565b7f556e7265636f676e697a61626c65204861736800000000000000000000000000600082015250565b6000614203601383613546565b915061420e826141cd565b602082019050919050565b60006020820190508181036000830152614232816141f6565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061426082614239565b61426a8185614244565b935061427a818560208601613557565b6142838161358a565b840191505092915050565b60006080820190506142a36000830187613d47565b81810360208301526142b58186614255565b90506142c46040830185613456565b6142d16060830184613456565b95945050505050565b60006142e5826133e0565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156143185761431761404a565b5b600182019050919050565b7f696e76616c696420696400000000000000000000000000000000000000000000600082015250565b6000614359600a83613546565b915061436482614323565b602082019050919050565b600060208201905081810360008301526143888161434c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806143d657607f821691505b602082108114156143ea576143e961438f565b5b50919050565b600081905092915050565b60008190508160005260206000209050919050565b6000815461441d816143be565b61442781866143f0565b94506001821660008114614442576001811461445357614486565b60ff19831686528186019350614486565b61445c856143fb565b60005b8381101561447e5781548189015260018201915060208101905061445f565b838801955050505b50505092915050565b600061449a8261353b565b6144a481856143f0565b93506144b4818560208601613557565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b60006144f66005836143f0565b9150614501826144c0565b600582019050919050565b60006145188285614410565b9150614524828461448f565b915061452f826144e9565b91508190509392505050565b60008160601b9050919050565b60006145538261453b565b9050919050565b600061456582614548565b9050919050565b61457d614578826133a2565b61455a565b82525050565b6000819050919050565b61459e614599826133e0565b614583565b82525050565b60006145b0828561456c565b6014820191506145c0828461458d565b6020820191508190509392505050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b6000614606601c836143f0565b9150614611826145d0565b601c82019050919050565b6000819050919050565b614637614632826137b4565b61461c565b82525050565b6000614648826145f9565b91506146548284614626565b60208201915081905092915050565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b60006146bf603283613546565b91506146ca82614663565b604082019050919050565b600060208201905081810360008301526146ee816146b2565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061472b602083613546565b9150614736826146f5565b602082019050919050565b6000602082019050818103600083015261475a8161471e565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b60006147bd602983613546565b91506147c882614761565b604082019050919050565b600060208201905081810360008301526147ec816147b0565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4d617820737570706c7920726561636865640000000000000000000000000000600082015250565b6000614858601283613546565b915061486382614822565b602082019050919050565b600060208201905081810360008301526148878161484b565b9050919050565b7f6d6574614349545a4e20746f6b656e2070726f76696465642068617320616c7260008201527f65616479206265656e207574696c697a656420746f206d696e74000000000000602082015250565b60006148ea603a83613546565b91506148f58261488e565b604082019050919050565b60006020820190508181036000830152614919816148dd565b9050919050565b60008151905061492f816133b4565b92915050565b60006020828403121561494b5761494a613378565b5b600061495984828501614920565b91505092915050565b7f596f7520617265206e6f7420746865206f776e6572206f66207468697320746f60008201527f6b656e0000000000000000000000000000000000000000000000000000000000602082015250565b60006149be602383613546565b91506149c982614962565b604082019050919050565b600060208201905081810360008301526149ed816149b1565b9050919050565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b6000614a50602983613546565b9150614a5b826149f4565b604082019050919050565b60006020820190508181036000830152614a7f81614a43565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614ae2602683613546565b9150614aed82614a86565b604082019050919050565b60006020820190508181036000830152614b1181614ad5565b9050919050565b6000614b23826133e0565b91506000821415614b3757614b3661404a565b5b600182039050919050565b6000614b4d826133e0565b9150614b58836133e0565b925082821015614b6b57614b6a61404a565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000614c01602183613546565b9150614c0c82614ba5565b604082019050919050565b60006020820190508181036000830152614c3081614bf4565b9050919050565b6000604082019050614c4c6000830185613456565b614c596020830184613456565b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614c9a826133e0565b9150614ca5836133e0565b925082614cb557614cb4614c60565b5b828204905092915050565b6000614ccb826133e0565b9150614cd6836133e0565b925082614ce657614ce5614c60565b5b828206905092915050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b6000614d4d602883613546565b9150614d5882614cf1565b604082019050919050565b60006020820190508181036000830152614d7c81614d40565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000614ddf602583613546565b9150614dea82614d83565b604082019050919050565b60006020820190508181036000830152614e0e81614dd2565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b6000614e71602a83613546565b9150614e7c82614e15565b604082019050919050565b60006020820190508181036000830152614ea081614e64565b9050919050565b60006040820190508181036000830152614ec18185613b1a565b90508181036020830152614ed58184613b1a565b90509392505050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b6000614f14601483613546565b9150614f1f82614ede565b602082019050919050565b60006020820190508181036000830152614f4381614f07565b9050919050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b6000614fa6602983613546565b9150614fb182614f4a565b604082019050919050565b60006020820190508181036000830152614fd581614f99565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b6000615041601883613546565b915061504c8261500b565b602082019050919050565b6000602082019050818103600083015261507081615034565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b60006150ad601f83613546565b91506150b882615077565b602082019050919050565b600060208201905081810360008301526150dc816150a0565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b600061513f602283613546565b915061514a826150e3565b604082019050919050565b6000602082019050818103600083015261516e81615132565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b60006151d1602283613546565b91506151dc82615175565b604082019050919050565b60006020820190508181036000830152615200816151c4565b9050919050565b6000615213828861458d565b602082019150615223828761458d565b602082019150615233828661456c565b601482019150615243828561458d565b602082019150615253828461458d565b6020820191508190509695505050505050565b600060a08201905061527b6000830188613d47565b6152886020830187613d47565b6152956040830186613456565b6152a26060830185613456565b81810360808301526152b48184614255565b90509695505050505050565b6000815190506152cf816134ac565b92915050565b6000602082840312156152eb576152ea613378565b5b60006152f9848285016152c0565b91505092915050565b60008160e01c9050919050565b600060033d111561532e5760046000803e61532b600051615302565b90505b90565b600060443d1015615341576153c4565b61534961336e565b60043d036004823e80513d602482011167ffffffffffffffff821117156153715750506153c4565b808201805167ffffffffffffffff81111561538f57505050506153c4565b80602083010160043d0385018111156153ac5750505050506153c4565b6153bb8260200185018661362f565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b6000615423603483613546565b915061542e826153c7565b604082019050919050565b6000602082019050818103600083015261545281615416565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b60006154b5602883613546565b91506154c082615459565b604082019050919050565b600060208201905081810360008301526154e4816154a8565b9050919050565b600060a0820190506155006000830188613d47565b61550d6020830187613d47565b818103604083015261551f8186613b1a565b905081810360608301526155338185613b1a565b905081810360808301526155478184614255565b90509695505050505050565b600060ff82169050919050565b61556981615553565b82525050565b600060808201905061558460008301876137be565b6155916020830186615560565b61559e60408301856137be565b6155ab60608301846137be565b9594505050505056fea2646970667358221220fa535ff80a0bcd8ddb8d86629660da82d40da85ba0550bab9cd91f7d6d9d589f64736f6c63430008090033
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.