ERC-1155
Overview
Max Total Supply
1,399
Holders
364
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 |
---|
Contract Name:
Relics
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT // @title: Paraverse Relics // @author: Paradox pragma solidity ^0.8.4; import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; contract Relics is ERC1155, Ownable { enum Phase { NotStarted, Prometheus, Andromeda, Icarus } Phase private phase; string public name; string public baseURI; address public paragonsAddress; mapping(uint256 => bool) public paragonIdsClaimed; mapping(uint256 => bool) public paragon7thRelicIdsClaimed; uint256[][] public paragonRelics = [[0, 1712], [1713, 3424], [3425, 4925], [4926, 6424], [6425, 7925], [7926, 9423]]; mapping(uint256 => uint256) public relicPrices; mapping(uint256 => uint256) public relicPhases; mapping(uint256 => bool) public phaseActive; mapping (uint256 => uint256) public relicTotalSupply; event PhaseActive(Phase phase, bool isActive); event Minted(address minter, uint256[] amount, uint256[] relicIds); constructor() ERC1155("https://api.paragonsnft.com/api/token/relics/{id}") { name = "The Paraverse: Relics"; relicPhases[1] = 1; relicPhases[2] = 1; relicPhases[3] = 2; relicPhases[4] = 2; relicPhases[5] = 3; relicPhases[6] = 3; } // Mint function function claimRelics(uint16[] calldata tokenParagonIds) external payable { uint256[] memory relicIds = new uint256[](6); relicIds[0] = 1; relicIds[1] = 2; relicIds[2] = 3; relicIds[3] = 4; relicIds[4] = 5; relicIds[5] = 6; uint[] memory amounts = _getRelicAmounts(tokenParagonIds); //check if the relic phase is active uint256 totalPrice = 0; for (uint256 i = 0; i < amounts.length; i++) { if(amounts[i] != 0){ uint256 currentRelicPhase = relicPhases[relicIds[i]]; totalPrice += relicPrices[relicIds[i]] * amounts[i]; require(phaseActive[currentRelicPhase], "The Relic Phase you are trying to mint is not active."); } } require(msg.value >= totalPrice, 'Ether value sent is incorrect.'); _mintBatchAndSetClaim(msg.sender, relicIds, amounts, tokenParagonIds); } function claim7thRelic(uint16[] calldata tokenParagonIds) external payable { require(tokenParagonIds.length % 4 == 0, "The number of provided paragons must be a multiplier of 4 to create the 7th relic."); //ensure sender owns all paragons provided and not claimed yet uint256[] memory amounts = new uint256[](1); uint256[] memory relicIds = new uint256[](1); amounts[0] = tokenParagonIds.length / 4; relicIds[0] = 7; for (uint256 i = 0; i < tokenParagonIds.length; i++) { require(!paragon7thRelicIdsClaimed[tokenParagonIds[i]], "A Given Paragon has already been used to created the 7th Relic."); require(isParagonOwner(tokenParagonIds[i], msg.sender), "Address is not the owner of the Given Paragon."); } for (uint256 i = 1; i < 7; i++) { require((balanceOf(msg.sender, i) != 0), "You do not own all 6th relics so you cannot unlock the 7th."); } uint256 totalPrice = 0; totalPrice += relicPrices[7] * amounts[0]; require(msg.value >= totalPrice, 'Ether value sent is incorrect.'); _mintBatch(msg.sender, relicIds, amounts, ""); for (uint256 i = 0; i < tokenParagonIds.length; i++) { paragon7thRelicIdsClaimed[tokenParagonIds[i]] = true; } emit Minted(msg.sender, amounts, relicIds); } function _mintBatchAndSetClaim(address _address, uint[] memory relicIds, uint[] memory amounts, uint16[] calldata tokenParagonIds) internal { _mintBatch(_address, relicIds, amounts, ""); for (uint256 i = 0; i < tokenParagonIds.length; i++) { paragonIdsClaimed[tokenParagonIds[i]] = true; } emit Minted(msg.sender, amounts, relicIds); } function _getRelicAmounts(uint16[] calldata tokenParagonIds) internal view returns(uint[] memory){ uint256[] memory amounts = new uint256[](6); address ownerAddress = owner(); for (uint256 i = 0; i < tokenParagonIds.length; i++) { require(!paragonIdsClaimed[tokenParagonIds[i]], "A Relic has already been claimed in the Paragon Batch"); if(msg.sender != ownerAddress) require(isParagonOwner(tokenParagonIds[i], msg.sender), "Address is not the owner of the Given Paragon"); for (uint256 j = 0; j < paragonRelics.length; j++) { uint256[] memory currentRelicRange = paragonRelics[j]; if(tokenParagonIds[i] >= currentRelicRange[0] && tokenParagonIds[i] <= currentRelicRange[1]){ amounts[j] += 1; } } } return amounts; } function setTokenUri(string calldata newUri) public onlyOwner { baseURI = newUri; _setURI(newUri); } function isRelicClaimedBatch(uint256[] memory paragonTokenIds) public view returns (bool[] memory) { bool[] memory relicsClaimed = new bool[](paragonTokenIds.length); for (uint256 i = 0; i < paragonTokenIds.length; i++) { relicsClaimed[i] = paragonIdsClaimed[paragonTokenIds[i]]; } return relicsClaimed; } function isParagonOwner(uint256 tokenId, address _address) public view returns (bool) { address owner = IERC721(paragonsAddress).ownerOf(tokenId); return owner == _address; } function setParagonAddress(address _address) public onlyOwner { paragonsAddress = _address; } function setPhaseActive(Phase _phase, bool _isActive) public onlyOwner { if(_isActive) phase = _phase; phaseActive[uint(_phase)] = _isActive; emit PhaseActive(phase, _isActive); } function setRelicPrice(uint256 relicId, uint weiPrice) public onlyOwner { relicPrices[relicId] = weiPrice; } function setContractName(string memory _name) public onlyOwner { name = _name; } function uri(uint256 _id) public view override returns (string memory) { string memory idToString = Strings.toString(_id); string memory tokenURI = string(abi.encodePacked(baseURI, idToString)); return tokenURI; } }
// SPDX-License-Identifier: MIT 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 { require(_msgSender() != operator, "ERC1155: setting approval status for self"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_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 `account`. * * Emits a {TransferSingle} event. * * Requirements: * * - `account` cannot be the zero address. * - If `account` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _mint( address account, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(account != address(0), "ERC1155: mint to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), account, _asSingletonArray(id), _asSingletonArray(amount), data); _balances[id][account] += amount; emit TransferSingle(operator, address(0), account, id, amount); _doSafeTransferAcceptanceCheck(operator, address(0), account, 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 `account` * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens of token type `id`. */ function _burn( address account, uint256 id, uint256 amount ) internal virtual { require(account != address(0), "ERC1155: burn from the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, account, address(0), _asSingletonArray(id), _asSingletonArray(amount), ""); uint256 accountBalance = _balances[id][account]; require(accountBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][account] = accountBalance - amount; } emit TransferSingle(operator, account, 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 account, uint256[] memory ids, uint256[] memory amounts ) internal virtual { require(account != address(0), "ERC1155: burn from the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, account, address(0), ids, amounts, ""); for (uint256 i = 0; i < ids.length; i++) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 accountBalance = _balances[id][account]; require(accountBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][account] = accountBalance - amount; } } emit TransferBatch(operator, account, address(0), ids, amounts); } /** * @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 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() { _setOwner(_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 { _setOwner(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"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT 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 pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.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 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 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 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 pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.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 pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"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":false,"internalType":"address","name":"minter","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"amount","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"relicIds","type":"uint256[]"}],"name":"Minted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"enum Relics.Phase","name":"phase","type":"uint8"},{"indexed":false,"internalType":"bool","name":"isActive","type":"bool"}],"name":"PhaseActive","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"},{"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":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16[]","name":"tokenParagonIds","type":"uint16[]"}],"name":"claim7thRelic","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint16[]","name":"tokenParagonIds","type":"uint16[]"}],"name":"claimRelics","outputs":[],"stateMutability":"payable","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":"tokenId","type":"uint256"},{"internalType":"address","name":"_address","type":"address"}],"name":"isParagonOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"paragonTokenIds","type":"uint256[]"}],"name":"isRelicClaimedBatch","outputs":[{"internalType":"bool[]","name":"","type":"bool[]"}],"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":"","type":"uint256"}],"name":"paragon7thRelicIdsClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"paragonIdsClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"paragonRelics","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paragonsAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"phaseActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"relicPhases","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"relicPrices","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"relicTotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"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":"_name","type":"string"}],"name":"setContractName","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setParagonAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum Relics.Phase","name":"_phase","type":"uint8"},{"internalType":"bool","name":"_isActive","type":"bool"}],"name":"setPhaseActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"relicId","type":"uint256"},{"internalType":"uint256","name":"weiPrice","type":"uint256"}],"name":"setRelicPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newUri","type":"string"}],"name":"setTokenUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040526040518060c001604052806040518060400160405280600061ffff1681526020016106b061ffff16815250815260200160405180604001604052806106b161ffff168152602001610d6061ffff1681525081526020016040518060400160405280610d6161ffff16815260200161133d61ffff168152508152602001604051806040016040528061133e61ffff16815260200161191861ffff168152508152602001604051806040016040528061191961ffff168152602001611ef561ffff1681525081526020016040518060400160405280611ef661ffff1681526020016124cf61ffff1681525081525060099060066200010292919062000337565b503480156200011057600080fd5b5060405180606001604052806031815260200162005ea7603191396200013c816200024d60201b60201c565b506200015d620001516200026960201b60201c565b6200027160201b60201c565b6040518060400160405280601581526020017f546865205061726176657273653a2052656c696373000000000000000000000081525060049080519060200190620001aa92919062000399565b506001600b600060018152602001908152602001600020819055506001600b600060028152602001908152602001600020819055506002600b600060038152602001908152602001600020819055506002600b600060048152602001908152602001600020819055506003600b600060058152602001908152602001600020819055506003600b6000600681526020019081526020016000208190555062000551565b80600290805190602001906200026592919062000399565b5050565b600033905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b82805482825590600052602060002090810192821562000386579160200282015b828111156200038557825182906002620003749291906200042a565b509160200191906001019062000358565b5b50905062000395919062000482565b5090565b828054620003a790620004ec565b90600052602060002090601f016020900481019282620003cb576000855562000417565b82601f10620003e657805160ff191683800117855562000417565b8280016001018555821562000417579182015b8281111562000416578251825591602001919060010190620003f9565b5b509050620004269190620004aa565b5090565b8280548282559060005260206000209081019282156200046f579160200282015b828111156200046e578251829061ffff169055916020019190600101906200044b565b5b5090506200047e9190620004aa565b5090565b5b80821115620004a657600081816200049c9190620004c9565b5060010162000483565b5090565b5b80821115620004c5576000816000905550600101620004ab565b5090565b5080546000825590600052602060002090810190620004e99190620004aa565b50565b600060028204905060018216806200050557607f821691505b602082108114156200051c576200051b62000522565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b61594680620005616000396000f3fe6080604052600436106101cc5760003560e01c80637c158c73116100f7578063b9f26b7e11610095578063f242432a11610064578063f242432a146106db578063f2fde38b14610704578063f734ae6d1461072d578063f883abd414610756576101cc565b8063b9f26b7e146105f9578063c0dce7c814610636578063e985e9c514610673578063edc7d1ab146106b0576101cc565b80639dc75d6b116100d15780639dc75d6b1461052d578063a22cb46514610556578063a28add251461057f578063a4c55432146105bc576101cc565b80637c158c73146104885780638da5cb5b146104c55780639d81ed23146104f0576101cc565b80631569f9621161016f5780634e1273f41161013e5780634e1273f4146103cc5780636b3d366f146104095780636c0360eb14610446578063715018a614610471576101cc565b80631569f96214610321578063277c53911461033d5780632ca19cc31461037a5780632eb2c2d6146103a3576101cc565b806306fdde03116101ab57806306fdde03146102745780630b5ee0061461029f5780630e89341c146102c857806310c47d8e14610305576101cc565b8062fdd58e146101d157806301ffc9a71461020e5780630675b7c61461024b575b600080fd5b3480156101dd57600080fd5b506101f860048036038101906101f39190613e81565b610793565b6040516102059190614b9b565b60405180910390f35b34801561021a57600080fd5b5061023560048036038101906102309190613faf565b61085c565b6040516102429190614895565b60405180910390f35b34801561025757600080fd5b50610272600480360381019061026d919061403d565b61093e565b005b34801561028057600080fd5b50610289610a1d565b60405161029691906148d9565b60405180910390f35b3480156102ab57600080fd5b506102c660048036038101906102c19190614082565b610aab565b005b3480156102d457600080fd5b506102ef60048036038101906102ea91906140ec565b610b41565b6040516102fc91906148d9565b60405180910390f35b61031f600480360381019061031a9190613f29565b610b81565b005b61033b60048036038101906103369190613f29565b610fd9565b005b34801561034957600080fd5b50610364600480360381019061035f91906140ec565b61153f565b6040516103719190614895565b60405180910390f35b34801561038657600080fd5b506103a1600480360381019061039c9190614001565b61155f565b005b3480156103af57600080fd5b506103ca60048036038101906103c59190613cf7565b6116e1565b005b3480156103d857600080fd5b506103f360048036038101906103ee9190613ebd565b611782565b604051610400919061483c565b60405180910390f35b34801561041557600080fd5b50610430600480360381019061042b9190613f6e565b611933565b60405161043d919061481a565b60405180910390f35b34801561045257600080fd5b5061045b611a7e565b60405161046891906148d9565b60405180910390f35b34801561047d57600080fd5b50610486611b0c565b005b34801561049457600080fd5b506104af60048036038101906104aa91906140ec565b611b94565b6040516104bc9190614b9b565b60405180910390f35b3480156104d157600080fd5b506104da611bac565b6040516104e791906146f8565b60405180910390f35b3480156104fc57600080fd5b50610517600480360381019061051291906140ec565b611bd6565b6040516105249190614895565b60405180910390f35b34801561053957600080fd5b50610554600480360381019061054f9190614151565b611bf6565b005b34801561056257600080fd5b5061057d60048036038101906105789190613e45565b611c8e565b005b34801561058b57600080fd5b506105a660048036038101906105a19190614151565b611e0f565b6040516105b39190614b9b565b60405180910390f35b3480156105c857600080fd5b506105e360048036038101906105de91906140ec565b611e4c565b6040516105f09190614b9b565b60405180910390f35b34801561060557600080fd5b50610620600480360381019061061b91906140ec565b611e64565b60405161062d9190614895565b60405180910390f35b34801561064257600080fd5b5061065d60048036038101906106589190614115565b611e84565b60405161066a9190614895565b60405180910390f35b34801561067f57600080fd5b5061069a60048036038101906106959190613cbb565b611f6c565b6040516106a79190614895565b60405180910390f35b3480156106bc57600080fd5b506106c5612000565b6040516106d291906146f8565b60405180910390f35b3480156106e757600080fd5b5061070260048036038101906106fd9190613db6565b612026565b005b34801561071057600080fd5b5061072b60048036038101906107269190613c69565b6120c7565b005b34801561073957600080fd5b50610754600480360381019061074f9190613c69565b6121bf565b005b34801561076257600080fd5b5061077d600480360381019061077891906140ec565b61227f565b60405161078a9190614b9b565b60405180910390f35b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610804576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107fb9061493b565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061092757507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610937575061093682612297565b5b9050919050565b610946612301565b73ffffffffffffffffffffffffffffffffffffffff16610964611bac565b73ffffffffffffffffffffffffffffffffffffffff16146109ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109b190614a9b565b60405180910390fd5b8181600591906109cb929190613808565b50610a1982828080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050612309565b5050565b60048054610a2a90614f86565b80601f0160208091040260200160405190810160405280929190818152602001828054610a5690614f86565b8015610aa35780601f10610a7857610100808354040283529160200191610aa3565b820191906000526020600020905b815481529060010190602001808311610a8657829003601f168201915b505050505081565b610ab3612301565b73ffffffffffffffffffffffffffffffffffffffff16610ad1611bac565b73ffffffffffffffffffffffffffffffffffffffff1614610b27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1e90614a9b565b60405180910390fd5b8060049080519060200190610b3d92919061388e565b5050565b60606000610b4e83612323565b90506000600582604051602001610b669291906146d4565b60405160208183030381529060405290508092505050919050565b6000600667ffffffffffffffff811115610bc4577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610bf25781602001602082028036833780820191505090505b509050600181600081518110610c31577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001018181525050600281600181518110610c79577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001018181525050600381600281518110610cc1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001018181525050600481600381518110610d09577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001018181525050600581600481518110610d51577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001018181525050600681600581518110610d99577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250506000610db184846124d0565b90506000805b8251811015610f81576000838281518110610dfb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015114610f6e576000600b6000868481518110610e47577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101518152602001908152602001600020549050838281518110610e99577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151600a6000878581518110610ede577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151815260200190815260200160002054610eff9190614e0f565b83610f0a9190614d88565b9250600c600082815260200190815260200160002060009054906101000a900460ff16610f6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6390614a7b565b60405180910390fd5b505b8080610f7990614fe9565b915050610db7565b5080341015610fc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fbc90614adb565b60405180910390fd5b610fd2338484888861294b565b5050505050565b6000600483839050610feb9190615032565b1461102b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611022906149bb565b60405180910390fd5b6000600167ffffffffffffffff81111561106e577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405190808252806020026020018201604052801561109c5781602001602082028036833780820191505090505b5090506000600167ffffffffffffffff8111156110e2577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156111105781602001602082028036833780820191505090505b5090506004848490506111239190614dde565b8260008151811061115d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250506007816000815181106111a5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505060005b8484905081101561131e57600860008686848181106111fc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201602081019061121191906140c3565b61ffff16815260200190815260200160002060009054906101000a900460ff1615611271576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126890614b7b565b60405180910390fd5b6112cc8585838181106112ad577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906112c291906140c3565b61ffff1633611e84565b61130b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113029061499b565b60405180910390fd5b808061131690614fe9565b9150506111b4565b506000600190505b600781101561138f57600061133b3383610793565b141561137c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611373906149db565b60405180910390fd5b808061138790614fe9565b915050611326565b506000826000815181106113cc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151600a600060078152602001908152602001600020546113f39190614e0f565b816113fe9190614d88565b905080341015611443576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143a90614adb565b60405180910390fd5b61145e33838560405180602001604052806000815250612a47565b60005b858590508110156114fc576001600860008888858181106114ab577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906114c091906140c3565b61ffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555080806114f490614fe9565b915050611461565b507f03a914ee6e4b1ffa7c5601f878a8a203233b85c7931e6224ff8fb262b7097786338484604051611530939291906147d5565b60405180910390a15050505050565b600c6020528060005260406000206000915054906101000a900460ff1681565b611567612301565b73ffffffffffffffffffffffffffffffffffffffff16611585611bac565b73ffffffffffffffffffffffffffffffffffffffff16146115db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115d290614a9b565b60405180910390fd5b80156116325781600360146101000a81548160ff0219169083600381111561162c577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b02179055505b80600c6000846003811115611670577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b815260200190815260200160002060006101000a81548160ff0219169083151502179055507f4db259e3ade2aca628798f682221eab68811e6a840582f9873443ae5c963b09e600360149054906101000a900460ff16826040516116d59291906148b0565b60405180910390a15050565b6116e9612301565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061172f575061172e85611729612301565b611f6c565b5b61176e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176590614a1b565b60405180910390fd5b61177b8585858585612cb1565b5050505050565b606081518351146117c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117bf90614b1b565b60405180910390fd5b6000835167ffffffffffffffff81111561180b577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156118395781602001602082028036833780820191505090505b50905060005b8451811015611928576118d2858281518110611884577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101518583815181106118c5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151610793565b82828151811061190b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250508061192190614fe9565b905061183f565b508091505092915050565b60606000825167ffffffffffffffff811115611978577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156119a65781602001602082028036833780820191505090505b50905060005b8351811015611a7457600760008583815181106119f2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151815260200190815260200160002060009054906101000a900460ff16828281518110611a4f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010190151590811515815250508080611a6c90614fe9565b9150506119ac565b5080915050919050565b60058054611a8b90614f86565b80601f0160208091040260200160405190810160405280929190818152602001828054611ab790614f86565b8015611b045780601f10611ad957610100808354040283529160200191611b04565b820191906000526020600020905b815481529060010190602001808311611ae757829003601f168201915b505050505081565b611b14612301565b73ffffffffffffffffffffffffffffffffffffffff16611b32611bac565b73ffffffffffffffffffffffffffffffffffffffff1614611b88576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7f90614a9b565b60405180910390fd5b611b926000613011565b565b600a6020528060005260406000206000915090505481565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60086020528060005260406000206000915054906101000a900460ff1681565b611bfe612301565b73ffffffffffffffffffffffffffffffffffffffff16611c1c611bac565b73ffffffffffffffffffffffffffffffffffffffff1614611c72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6990614a9b565b60405180910390fd5b80600a6000848152602001908152602001600020819055505050565b8173ffffffffffffffffffffffffffffffffffffffff16611cad612301565b73ffffffffffffffffffffffffffffffffffffffff161415611d04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cfb90614afb565b60405180910390fd5b8060016000611d11612301565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611dbe612301565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611e039190614895565b60405180910390a35050565b60098281548110611e1f57600080fd5b906000526020600020018181548110611e3757600080fd5b90600052602060002001600091509150505481565b600d6020528060005260406000206000915090505481565b60076020528060005260406000206000915054906101000a900460ff1681565b600080600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e856040518263ffffffff1660e01b8152600401611ee29190614b9b565b60206040518083038186803b158015611efa57600080fd5b505afa158015611f0e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f329190613c92565b90508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161491505092915050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61202e612301565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061207457506120738561206e612301565b611f6c565b5b6120b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120aa9061497b565b60405180910390fd5b6120c085858585856130d7565b5050505050565b6120cf612301565b73ffffffffffffffffffffffffffffffffffffffff166120ed611bac565b73ffffffffffffffffffffffffffffffffffffffff1614612143576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161213a90614a9b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156121b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121aa9061495b565b60405180910390fd5b6121bc81613011565b50565b6121c7612301565b73ffffffffffffffffffffffffffffffffffffffff166121e5611bac565b73ffffffffffffffffffffffffffffffffffffffff161461223b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223290614a9b565b60405180910390fd5b80600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600b6020528060005260406000206000915090505481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b806002908051906020019061231f92919061388e565b5050565b6060600082141561236b576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506124cb565b600082905060005b6000821461239d57808061238690614fe9565b915050600a826123969190614dde565b9150612373565b60008167ffffffffffffffff8111156123df577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156124115781602001600182028036833780820191505090505b5090505b600085146124c45760018261242a9190614e69565b9150600a856124399190615032565b60306124459190614d88565b60f81b818381518110612481577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856124bd9190614dde565b9450612415565b8093505050505b919050565b60606000600667ffffffffffffffff811115612515577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156125435781602001602082028036833780820191505090505b5090506000612550611bac565b905060005b8585905081101561293f576007600087878481811061259d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906125b291906140c3565b61ffff16815260200190815260200160002060009054906101000a900460ff1615612612576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161260990614a3b565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146126e0576126a0868683818110612681577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201602081019061269691906140c3565b61ffff1633611e84565b6126df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126d690614abb565b60405180910390fd5b5b60005b60098054905081101561292b5760006009828154811061272c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200180548060200260200160405190810160405280929190818152602001828054801561278057602002820191906000526020600020905b81548152602001906001019080831161276c575b50505050509050806000815181106127c1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151888885818110612802577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201602081019061281791906140c3565b61ffff16101580156128bb57508060018151811061285e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015188888581811061289f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906128b491906140c3565b61ffff1611155b156129175760018583815181106128fb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815161290f9190614d88565b915081815250505b50808061292390614fe9565b9150506126e3565b50808061293790614fe9565b915050612555565b50819250505092915050565b61296685858560405180602001604052806000815250612a47565b60005b82829050811015612a04576001600760008585858181106129b3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906129c891906140c3565b61ffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555080806129fc90614fe9565b915050612969565b507f03a914ee6e4b1ffa7c5601f878a8a203233b85c7931e6224ff8fb262b7097786338486604051612a38939291906147d5565b60405180910390a15050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612ab7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aae90614b5b565b60405180910390fd5b8151835114612afb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612af290614b3b565b60405180910390fd5b6000612b05612301565b9050612b1681600087878787613359565b60005b8451811015612c1b57838181518110612b5b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151600080878481518110612b9f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c019190614d88565b925050819055508080612c1390614fe9565b915050612b19565b508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051612c9392919061485e565b60405180910390a4612caa81600087878787613361565b5050505050565b8151835114612cf5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cec90614b3b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612d65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d5c906149fb565b60405180910390fd5b6000612d6f612301565b9050612d7f818787878787613359565b60005b8451811015612f7c576000858281518110612dc6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190506000858381518110612e0b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612eac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ea390614a5b565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612f619190614d88565b9250508190555050505080612f7590614fe9565b9050612d82565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051612ff392919061485e565b60405180910390a4613009818787878787613361565b505050505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415613147576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161313e906149fb565b60405180910390fd5b6000613151612301565b905061317181878761316288613548565b61316b88613548565b87613359565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015613208576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131ff90614a5b565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546132bd9190614d88565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62888860405161333a929190614bb6565b60405180910390a461335082888888888861360e565b50505050505050565b505050505050565b6133808473ffffffffffffffffffffffffffffffffffffffff166137f5565b15613540578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016133c6959493929190614713565b602060405180830381600087803b1580156133e057600080fd5b505af192505050801561341157506040513d601f19601f8201168201806040525081019061340e9190613fd8565b60015b6134b75761341d61514e565b806308c379a0141561347a57506134326157e3565b8061343d575061347c565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161347191906148d9565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134ae906148fb565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461353e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135359061491b565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff81111561358d577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156135bb5781602001602082028036833780820191505090505b50905082816000815181106135f9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080915050919050565b61362d8473ffffffffffffffffffffffffffffffffffffffff166137f5565b156137ed578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b815260040161367395949392919061477b565b602060405180830381600087803b15801561368d57600080fd5b505af19250505080156136be57506040513d601f19601f820116820180604052508101906136bb9190613fd8565b60015b613764576136ca61514e565b806308c379a0141561372757506136df6157e3565b806136ea5750613729565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161371e91906148d9565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161375b906148fb565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146137eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137e29061491b565b60405180910390fd5b505b505050505050565b600080823b905060008111915050919050565b82805461381490614f86565b90600052602060002090601f016020900481019282613836576000855561387d565b82601f1061384f57803560ff191683800117855561387d565b8280016001018555821561387d579182015b8281111561387c578235825591602001919060010190613861565b5b50905061388a9190613914565b5090565b82805461389a90614f86565b90600052602060002090601f0160209004810192826138bc5760008555613903565b82601f106138d557805160ff1916838001178555613903565b82800160010185558215613903579182015b828111156139025782518255916020019190600101906138e7565b5b5090506139109190613914565b5090565b5b8082111561392d576000816000905550600101613915565b5090565b600061394461393f84614c04565b614bdf565b9050808382526020820190508285602086028201111561396357600080fd5b60005b8581101561399357816139798882613a85565b845260208401935060208301925050600181019050613966565b5050509392505050565b60006139b06139ab84614c30565b614bdf565b905080838252602082019050828560208602820111156139cf57600080fd5b60005b858110156139ff57816139e58882613c54565b8452602084019350602083019250506001810190506139d2565b5050509392505050565b6000613a1c613a1784614c5c565b614bdf565b905082815260208101848484011115613a3457600080fd5b613a3f848285614f44565b509392505050565b6000613a5a613a5584614c8d565b614bdf565b905082815260208101848484011115613a7257600080fd5b613a7d848285614f44565b509392505050565b600081359050613a948161588d565b92915050565b600081519050613aa98161588d565b92915050565b600082601f830112613ac057600080fd5b8135613ad0848260208601613931565b91505092915050565b60008083601f840112613aeb57600080fd5b8235905067ffffffffffffffff811115613b0457600080fd5b602083019150836020820283011115613b1c57600080fd5b9250929050565b600082601f830112613b3457600080fd5b8135613b4484826020860161399d565b91505092915050565b600081359050613b5c816158a4565b92915050565b600081359050613b71816158bb565b92915050565b600081519050613b86816158bb565b92915050565b600082601f830112613b9d57600080fd5b8135613bad848260208601613a09565b91505092915050565b600081359050613bc5816158d2565b92915050565b60008083601f840112613bdd57600080fd5b8235905067ffffffffffffffff811115613bf657600080fd5b602083019150836001820283011115613c0e57600080fd5b9250929050565b600082601f830112613c2657600080fd5b8135613c36848260208601613a47565b91505092915050565b600081359050613c4e816158e2565b92915050565b600081359050613c63816158f9565b92915050565b600060208284031215613c7b57600080fd5b6000613c8984828501613a85565b91505092915050565b600060208284031215613ca457600080fd5b6000613cb284828501613a9a565b91505092915050565b60008060408385031215613cce57600080fd5b6000613cdc85828601613a85565b9250506020613ced85828601613a85565b9150509250929050565b600080600080600060a08688031215613d0f57600080fd5b6000613d1d88828901613a85565b9550506020613d2e88828901613a85565b945050604086013567ffffffffffffffff811115613d4b57600080fd5b613d5788828901613b23565b935050606086013567ffffffffffffffff811115613d7457600080fd5b613d8088828901613b23565b925050608086013567ffffffffffffffff811115613d9d57600080fd5b613da988828901613b8c565b9150509295509295909350565b600080600080600060a08688031215613dce57600080fd5b6000613ddc88828901613a85565b9550506020613ded88828901613a85565b9450506040613dfe88828901613c54565b9350506060613e0f88828901613c54565b925050608086013567ffffffffffffffff811115613e2c57600080fd5b613e3888828901613b8c565b9150509295509295909350565b60008060408385031215613e5857600080fd5b6000613e6685828601613a85565b9250506020613e7785828601613b4d565b9150509250929050565b60008060408385031215613e9457600080fd5b6000613ea285828601613a85565b9250506020613eb385828601613c54565b9150509250929050565b60008060408385031215613ed057600080fd5b600083013567ffffffffffffffff811115613eea57600080fd5b613ef685828601613aaf565b925050602083013567ffffffffffffffff811115613f1357600080fd5b613f1f85828601613b23565b9150509250929050565b60008060208385031215613f3c57600080fd5b600083013567ffffffffffffffff811115613f5657600080fd5b613f6285828601613ad9565b92509250509250929050565b600060208284031215613f8057600080fd5b600082013567ffffffffffffffff811115613f9a57600080fd5b613fa684828501613b23565b91505092915050565b600060208284031215613fc157600080fd5b6000613fcf84828501613b62565b91505092915050565b600060208284031215613fea57600080fd5b6000613ff884828501613b77565b91505092915050565b6000806040838503121561401457600080fd5b600061402285828601613bb6565b925050602061403385828601613b4d565b9150509250929050565b6000806020838503121561405057600080fd5b600083013567ffffffffffffffff81111561406a57600080fd5b61407685828601613bcb565b92509250509250929050565b60006020828403121561409457600080fd5b600082013567ffffffffffffffff8111156140ae57600080fd5b6140ba84828501613c15565b91505092915050565b6000602082840312156140d557600080fd5b60006140e384828501613c3f565b91505092915050565b6000602082840312156140fe57600080fd5b600061410c84828501613c54565b91505092915050565b6000806040838503121561412857600080fd5b600061413685828601613c54565b925050602061414785828601613a85565b9150509250929050565b6000806040838503121561416457600080fd5b600061417285828601613c54565b925050602061418385828601613c54565b9150509250929050565b60006141998383614288565b60208301905092915050565b60006141b183836146b6565b60208301905092915050565b6141c681614e9d565b82525050565b60006141d782614cf3565b6141e18185614d39565b93506141ec83614cbe565b8060005b8381101561421d578151614204888261418d565b975061420f83614d1f565b9250506001810190506141f0565b5085935050505092915050565b600061423582614cfe565b61423f8185614d4a565b935061424a83614cce565b8060005b8381101561427b57815161426288826141a5565b975061426d83614d2c565b92505060018101905061424e565b5085935050505092915050565b61429181614eaf565b82525050565b6142a081614eaf565b82525050565b60006142b182614d09565b6142bb8185614d5b565b93506142cb818560208601614f53565b6142d481615170565b840191505092915050565b6142e881614f32565b82525050565b60006142f982614d14565b6143038185614d6c565b9350614313818560208601614f53565b61431c81615170565b840191505092915050565b600061433282614d14565b61433c8185614d7d565b935061434c818560208601614f53565b80840191505092915050565b6000815461436581614f86565b61436f8186614d7d565b9450600182166000811461438a576001811461439b576143ce565b60ff198316865281860193506143ce565b6143a485614cde565b60005b838110156143c6578154818901526001820191506020810190506143a7565b838801955050505b50505092915050565b60006143e4603483614d6c565b91506143ef8261518e565b604082019050919050565b6000614407602883614d6c565b9150614412826151dd565b604082019050919050565b600061442a602b83614d6c565b91506144358261522c565b604082019050919050565b600061444d602683614d6c565b91506144588261527b565b604082019050919050565b6000614470602983614d6c565b915061447b826152ca565b604082019050919050565b6000614493602e83614d6c565b915061449e82615319565b604082019050919050565b60006144b6605283614d6c565b91506144c182615368565b606082019050919050565b60006144d9603b83614d6c565b91506144e4826153dd565b604082019050919050565b60006144fc602583614d6c565b91506145078261542c565b604082019050919050565b600061451f603283614d6c565b915061452a8261547b565b604082019050919050565b6000614542603583614d6c565b915061454d826154ca565b604082019050919050565b6000614565602a83614d6c565b915061457082615519565b604082019050919050565b6000614588603583614d6c565b915061459382615568565b604082019050919050565b60006145ab602083614d6c565b91506145b6826155b7565b602082019050919050565b60006145ce602d83614d6c565b91506145d9826155e0565b604082019050919050565b60006145f1601e83614d6c565b91506145fc8261562f565b602082019050919050565b6000614614602983614d6c565b915061461f82615658565b604082019050919050565b6000614637602983614d6c565b9150614642826156a7565b604082019050919050565b600061465a602883614d6c565b9150614665826156f6565b604082019050919050565b600061467d602183614d6c565b915061468882615745565b604082019050919050565b60006146a0603f83614d6c565b91506146ab82615794565b604082019050919050565b6146bf81614f28565b82525050565b6146ce81614f28565b82525050565b60006146e08285614358565b91506146ec8284614327565b91508190509392505050565b600060208201905061470d60008301846141bd565b92915050565b600060a08201905061472860008301886141bd565b61473560208301876141bd565b8181036040830152614747818661422a565b9050818103606083015261475b818561422a565b9050818103608083015261476f81846142a6565b90509695505050505050565b600060a08201905061479060008301886141bd565b61479d60208301876141bd565b6147aa60408301866146c5565b6147b760608301856146c5565b81810360808301526147c981846142a6565b90509695505050505050565b60006060820190506147ea60008301866141bd565b81810360208301526147fc818561422a565b90508181036040830152614810818461422a565b9050949350505050565b6000602082019050818103600083015261483481846141cc565b905092915050565b60006020820190508181036000830152614856818461422a565b905092915050565b60006040820190508181036000830152614878818561422a565b9050818103602083015261488c818461422a565b90509392505050565b60006020820190506148aa6000830184614297565b92915050565b60006040820190506148c560008301856142df565b6148d26020830184614297565b9392505050565b600060208201905081810360008301526148f381846142ee565b905092915050565b60006020820190508181036000830152614914816143d7565b9050919050565b60006020820190508181036000830152614934816143fa565b9050919050565b600060208201905081810360008301526149548161441d565b9050919050565b6000602082019050818103600083015261497481614440565b9050919050565b6000602082019050818103600083015261499481614463565b9050919050565b600060208201905081810360008301526149b481614486565b9050919050565b600060208201905081810360008301526149d4816144a9565b9050919050565b600060208201905081810360008301526149f4816144cc565b9050919050565b60006020820190508181036000830152614a14816144ef565b9050919050565b60006020820190508181036000830152614a3481614512565b9050919050565b60006020820190508181036000830152614a5481614535565b9050919050565b60006020820190508181036000830152614a7481614558565b9050919050565b60006020820190508181036000830152614a948161457b565b9050919050565b60006020820190508181036000830152614ab48161459e565b9050919050565b60006020820190508181036000830152614ad4816145c1565b9050919050565b60006020820190508181036000830152614af4816145e4565b9050919050565b60006020820190508181036000830152614b1481614607565b9050919050565b60006020820190508181036000830152614b348161462a565b9050919050565b60006020820190508181036000830152614b548161464d565b9050919050565b60006020820190508181036000830152614b7481614670565b9050919050565b60006020820190508181036000830152614b9481614693565b9050919050565b6000602082019050614bb060008301846146c5565b92915050565b6000604082019050614bcb60008301856146c5565b614bd860208301846146c5565b9392505050565b6000614be9614bfa565b9050614bf58282614fb8565b919050565b6000604051905090565b600067ffffffffffffffff821115614c1f57614c1e61511f565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614c4b57614c4a61511f565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614c7757614c7661511f565b5b614c8082615170565b9050602081019050919050565b600067ffffffffffffffff821115614ca857614ca761511f565b5b614cb182615170565b9050602081019050919050565b6000819050602082019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614d9382614f28565b9150614d9e83614f28565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614dd357614dd2615063565b5b828201905092915050565b6000614de982614f28565b9150614df483614f28565b925082614e0457614e03615092565b5b828204905092915050565b6000614e1a82614f28565b9150614e2583614f28565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614e5e57614e5d615063565b5b828202905092915050565b6000614e7482614f28565b9150614e7f83614f28565b925082821015614e9257614e91615063565b5b828203905092915050565b6000614ea882614f08565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000819050614ef582615879565b919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000614f3d82614ee7565b9050919050565b82818337600083830152505050565b60005b83811015614f71578082015181840152602081019050614f56565b83811115614f80576000848401525b50505050565b60006002820490506001821680614f9e57607f821691505b60208210811415614fb257614fb16150f0565b5b50919050565b614fc182615170565b810181811067ffffffffffffffff82111715614fe057614fdf61511f565b5b80604052505050565b6000614ff482614f28565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561502757615026615063565b5b600182019050919050565b600061503d82614f28565b915061504883614f28565b92508261505857615057615092565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d111561516d5760046000803e61516a600051615181565b90505b90565b6000601f19601f8301169050919050565b60008160e01c9050919050565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b7f41646472657373206973206e6f7420746865206f776e6572206f66207468652060008201527f476976656e2050617261676f6e2e000000000000000000000000000000000000602082015250565b7f546865206e756d626572206f662070726f76696465642070617261676f6e732060008201527f6d7573742062652061206d756c7469706c696572206f66203420746f2063726560208201527f61746520746865203774682072656c69632e0000000000000000000000000000604082015250565b7f596f7520646f206e6f74206f776e20616c6c203674682072656c69637320736f60008201527f20796f752063616e6e6f7420756e6c6f636b20746865203774682e0000000000602082015250565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f412052656c69632068617320616c7265616479206265656e20636c61696d656460008201527f20696e207468652050617261676f6e2042617463680000000000000000000000602082015250565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b7f5468652052656c696320506861736520796f752061726520747279696e67207460008201527f6f206d696e74206973206e6f74206163746976652e0000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f41646472657373206973206e6f7420746865206f776e6572206f66207468652060008201527f476976656e2050617261676f6e00000000000000000000000000000000000000602082015250565b7f45746865722076616c75652073656e7420697320696e636f72726563742e0000600082015250565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f4120476976656e2050617261676f6e2068617320616c7265616479206265656e60008201527f207573656420746f206372656174656420746865203774682052656c69632e00602082015250565b600060443d10156157f357615876565b6157fb614bfa565b60043d036004823e80513d602482011167ffffffffffffffff82111715615823575050615876565b808201805167ffffffffffffffff8111156158415750505050615876565b80602083010160043d03850181111561585e575050505050615876565b61586d82602001850186614fb8565b82955050505050505b90565b6004811061588a576158896150c1565b5b50565b61589681614e9d565b81146158a157600080fd5b50565b6158ad81614eaf565b81146158b857600080fd5b50565b6158c481614ebb565b81146158cf57600080fd5b50565b600481106158df57600080fd5b50565b6158eb81614efa565b81146158f657600080fd5b50565b61590281614f28565b811461590d57600080fd5b5056fea26469706673582212206e8e0fbeefa82d3857fdb6111a8c89f72224771ede2f7019cd719091509f0e2e64736f6c6343000804003368747470733a2f2f6170692e70617261676f6e736e66742e636f6d2f6170692f746f6b656e2f72656c6963732f7b69647d
Deployed Bytecode
0x6080604052600436106101cc5760003560e01c80637c158c73116100f7578063b9f26b7e11610095578063f242432a11610064578063f242432a146106db578063f2fde38b14610704578063f734ae6d1461072d578063f883abd414610756576101cc565b8063b9f26b7e146105f9578063c0dce7c814610636578063e985e9c514610673578063edc7d1ab146106b0576101cc565b80639dc75d6b116100d15780639dc75d6b1461052d578063a22cb46514610556578063a28add251461057f578063a4c55432146105bc576101cc565b80637c158c73146104885780638da5cb5b146104c55780639d81ed23146104f0576101cc565b80631569f9621161016f5780634e1273f41161013e5780634e1273f4146103cc5780636b3d366f146104095780636c0360eb14610446578063715018a614610471576101cc565b80631569f96214610321578063277c53911461033d5780632ca19cc31461037a5780632eb2c2d6146103a3576101cc565b806306fdde03116101ab57806306fdde03146102745780630b5ee0061461029f5780630e89341c146102c857806310c47d8e14610305576101cc565b8062fdd58e146101d157806301ffc9a71461020e5780630675b7c61461024b575b600080fd5b3480156101dd57600080fd5b506101f860048036038101906101f39190613e81565b610793565b6040516102059190614b9b565b60405180910390f35b34801561021a57600080fd5b5061023560048036038101906102309190613faf565b61085c565b6040516102429190614895565b60405180910390f35b34801561025757600080fd5b50610272600480360381019061026d919061403d565b61093e565b005b34801561028057600080fd5b50610289610a1d565b60405161029691906148d9565b60405180910390f35b3480156102ab57600080fd5b506102c660048036038101906102c19190614082565b610aab565b005b3480156102d457600080fd5b506102ef60048036038101906102ea91906140ec565b610b41565b6040516102fc91906148d9565b60405180910390f35b61031f600480360381019061031a9190613f29565b610b81565b005b61033b60048036038101906103369190613f29565b610fd9565b005b34801561034957600080fd5b50610364600480360381019061035f91906140ec565b61153f565b6040516103719190614895565b60405180910390f35b34801561038657600080fd5b506103a1600480360381019061039c9190614001565b61155f565b005b3480156103af57600080fd5b506103ca60048036038101906103c59190613cf7565b6116e1565b005b3480156103d857600080fd5b506103f360048036038101906103ee9190613ebd565b611782565b604051610400919061483c565b60405180910390f35b34801561041557600080fd5b50610430600480360381019061042b9190613f6e565b611933565b60405161043d919061481a565b60405180910390f35b34801561045257600080fd5b5061045b611a7e565b60405161046891906148d9565b60405180910390f35b34801561047d57600080fd5b50610486611b0c565b005b34801561049457600080fd5b506104af60048036038101906104aa91906140ec565b611b94565b6040516104bc9190614b9b565b60405180910390f35b3480156104d157600080fd5b506104da611bac565b6040516104e791906146f8565b60405180910390f35b3480156104fc57600080fd5b50610517600480360381019061051291906140ec565b611bd6565b6040516105249190614895565b60405180910390f35b34801561053957600080fd5b50610554600480360381019061054f9190614151565b611bf6565b005b34801561056257600080fd5b5061057d60048036038101906105789190613e45565b611c8e565b005b34801561058b57600080fd5b506105a660048036038101906105a19190614151565b611e0f565b6040516105b39190614b9b565b60405180910390f35b3480156105c857600080fd5b506105e360048036038101906105de91906140ec565b611e4c565b6040516105f09190614b9b565b60405180910390f35b34801561060557600080fd5b50610620600480360381019061061b91906140ec565b611e64565b60405161062d9190614895565b60405180910390f35b34801561064257600080fd5b5061065d60048036038101906106589190614115565b611e84565b60405161066a9190614895565b60405180910390f35b34801561067f57600080fd5b5061069a60048036038101906106959190613cbb565b611f6c565b6040516106a79190614895565b60405180910390f35b3480156106bc57600080fd5b506106c5612000565b6040516106d291906146f8565b60405180910390f35b3480156106e757600080fd5b5061070260048036038101906106fd9190613db6565b612026565b005b34801561071057600080fd5b5061072b60048036038101906107269190613c69565b6120c7565b005b34801561073957600080fd5b50610754600480360381019061074f9190613c69565b6121bf565b005b34801561076257600080fd5b5061077d600480360381019061077891906140ec565b61227f565b60405161078a9190614b9b565b60405180910390f35b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610804576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107fb9061493b565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061092757507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610937575061093682612297565b5b9050919050565b610946612301565b73ffffffffffffffffffffffffffffffffffffffff16610964611bac565b73ffffffffffffffffffffffffffffffffffffffff16146109ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109b190614a9b565b60405180910390fd5b8181600591906109cb929190613808565b50610a1982828080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050612309565b5050565b60048054610a2a90614f86565b80601f0160208091040260200160405190810160405280929190818152602001828054610a5690614f86565b8015610aa35780601f10610a7857610100808354040283529160200191610aa3565b820191906000526020600020905b815481529060010190602001808311610a8657829003601f168201915b505050505081565b610ab3612301565b73ffffffffffffffffffffffffffffffffffffffff16610ad1611bac565b73ffffffffffffffffffffffffffffffffffffffff1614610b27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1e90614a9b565b60405180910390fd5b8060049080519060200190610b3d92919061388e565b5050565b60606000610b4e83612323565b90506000600582604051602001610b669291906146d4565b60405160208183030381529060405290508092505050919050565b6000600667ffffffffffffffff811115610bc4577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051908082528060200260200182016040528015610bf25781602001602082028036833780820191505090505b509050600181600081518110610c31577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001018181525050600281600181518110610c79577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001018181525050600381600281518110610cc1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001018181525050600481600381518110610d09577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001018181525050600581600481518110610d51577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001018181525050600681600581518110610d99577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250506000610db184846124d0565b90506000805b8251811015610f81576000838281518110610dfb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015114610f6e576000600b6000868481518110610e47577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101518152602001908152602001600020549050838281518110610e99577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151600a6000878581518110610ede577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151815260200190815260200160002054610eff9190614e0f565b83610f0a9190614d88565b9250600c600082815260200190815260200160002060009054906101000a900460ff16610f6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6390614a7b565b60405180910390fd5b505b8080610f7990614fe9565b915050610db7565b5080341015610fc5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fbc90614adb565b60405180910390fd5b610fd2338484888861294b565b5050505050565b6000600483839050610feb9190615032565b1461102b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611022906149bb565b60405180910390fd5b6000600167ffffffffffffffff81111561106e577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405190808252806020026020018201604052801561109c5781602001602082028036833780820191505090505b5090506000600167ffffffffffffffff8111156110e2577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156111105781602001602082028036833780820191505090505b5090506004848490506111239190614dde565b8260008151811061115d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250506007816000815181106111a5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505060005b8484905081101561131e57600860008686848181106111fc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201602081019061121191906140c3565b61ffff16815260200190815260200160002060009054906101000a900460ff1615611271576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126890614b7b565b60405180910390fd5b6112cc8585838181106112ad577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906112c291906140c3565b61ffff1633611e84565b61130b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113029061499b565b60405180910390fd5b808061131690614fe9565b9150506111b4565b506000600190505b600781101561138f57600061133b3383610793565b141561137c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611373906149db565b60405180910390fd5b808061138790614fe9565b915050611326565b506000826000815181106113cc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151600a600060078152602001908152602001600020546113f39190614e0f565b816113fe9190614d88565b905080341015611443576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143a90614adb565b60405180910390fd5b61145e33838560405180602001604052806000815250612a47565b60005b858590508110156114fc576001600860008888858181106114ab577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906114c091906140c3565b61ffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555080806114f490614fe9565b915050611461565b507f03a914ee6e4b1ffa7c5601f878a8a203233b85c7931e6224ff8fb262b7097786338484604051611530939291906147d5565b60405180910390a15050505050565b600c6020528060005260406000206000915054906101000a900460ff1681565b611567612301565b73ffffffffffffffffffffffffffffffffffffffff16611585611bac565b73ffffffffffffffffffffffffffffffffffffffff16146115db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115d290614a9b565b60405180910390fd5b80156116325781600360146101000a81548160ff0219169083600381111561162c577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b02179055505b80600c6000846003811115611670577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b815260200190815260200160002060006101000a81548160ff0219169083151502179055507f4db259e3ade2aca628798f682221eab68811e6a840582f9873443ae5c963b09e600360149054906101000a900460ff16826040516116d59291906148b0565b60405180910390a15050565b6116e9612301565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061172f575061172e85611729612301565b611f6c565b5b61176e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176590614a1b565b60405180910390fd5b61177b8585858585612cb1565b5050505050565b606081518351146117c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117bf90614b1b565b60405180910390fd5b6000835167ffffffffffffffff81111561180b577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156118395781602001602082028036833780820191505090505b50905060005b8451811015611928576118d2858281518110611884577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101518583815181106118c5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151610793565b82828151811061190b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815250508061192190614fe9565b905061183f565b508091505092915050565b60606000825167ffffffffffffffff811115611978577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156119a65781602001602082028036833780820191505090505b50905060005b8351811015611a7457600760008583815181106119f2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151815260200190815260200160002060009054906101000a900460ff16828281518110611a4f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010190151590811515815250508080611a6c90614fe9565b9150506119ac565b5080915050919050565b60058054611a8b90614f86565b80601f0160208091040260200160405190810160405280929190818152602001828054611ab790614f86565b8015611b045780601f10611ad957610100808354040283529160200191611b04565b820191906000526020600020905b815481529060010190602001808311611ae757829003601f168201915b505050505081565b611b14612301565b73ffffffffffffffffffffffffffffffffffffffff16611b32611bac565b73ffffffffffffffffffffffffffffffffffffffff1614611b88576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7f90614a9b565b60405180910390fd5b611b926000613011565b565b600a6020528060005260406000206000915090505481565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60086020528060005260406000206000915054906101000a900460ff1681565b611bfe612301565b73ffffffffffffffffffffffffffffffffffffffff16611c1c611bac565b73ffffffffffffffffffffffffffffffffffffffff1614611c72576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6990614a9b565b60405180910390fd5b80600a6000848152602001908152602001600020819055505050565b8173ffffffffffffffffffffffffffffffffffffffff16611cad612301565b73ffffffffffffffffffffffffffffffffffffffff161415611d04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cfb90614afb565b60405180910390fd5b8060016000611d11612301565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611dbe612301565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611e039190614895565b60405180910390a35050565b60098281548110611e1f57600080fd5b906000526020600020018181548110611e3757600080fd5b90600052602060002001600091509150505481565b600d6020528060005260406000206000915090505481565b60076020528060005260406000206000915054906101000a900460ff1681565b600080600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e856040518263ffffffff1660e01b8152600401611ee29190614b9b565b60206040518083038186803b158015611efa57600080fd5b505afa158015611f0e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f329190613c92565b90508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161491505092915050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61202e612301565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061207457506120738561206e612301565b611f6c565b5b6120b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120aa9061497b565b60405180910390fd5b6120c085858585856130d7565b5050505050565b6120cf612301565b73ffffffffffffffffffffffffffffffffffffffff166120ed611bac565b73ffffffffffffffffffffffffffffffffffffffff1614612143576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161213a90614a9b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156121b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121aa9061495b565b60405180910390fd5b6121bc81613011565b50565b6121c7612301565b73ffffffffffffffffffffffffffffffffffffffff166121e5611bac565b73ffffffffffffffffffffffffffffffffffffffff161461223b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223290614a9b565b60405180910390fd5b80600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600b6020528060005260406000206000915090505481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b806002908051906020019061231f92919061388e565b5050565b6060600082141561236b576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506124cb565b600082905060005b6000821461239d57808061238690614fe9565b915050600a826123969190614dde565b9150612373565b60008167ffffffffffffffff8111156123df577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156124115781602001600182028036833780820191505090505b5090505b600085146124c45760018261242a9190614e69565b9150600a856124399190615032565b60306124459190614d88565b60f81b818381518110612481577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856124bd9190614dde565b9450612415565b8093505050505b919050565b60606000600667ffffffffffffffff811115612515577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156125435781602001602082028036833780820191505090505b5090506000612550611bac565b905060005b8585905081101561293f576007600087878481811061259d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906125b291906140c3565b61ffff16815260200190815260200160002060009054906101000a900460ff1615612612576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161260990614a3b565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146126e0576126a0868683818110612681577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201602081019061269691906140c3565b61ffff1633611e84565b6126df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126d690614abb565b60405180910390fd5b5b60005b60098054905081101561292b5760006009828154811061272c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200180548060200260200160405190810160405280929190818152602001828054801561278057602002820191906000526020600020905b81548152602001906001019080831161276c575b50505050509050806000815181106127c1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151888885818110612802577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201602081019061281791906140c3565b61ffff16101580156128bb57508060018151811061285e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015188888581811061289f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906128b491906140c3565b61ffff1611155b156129175760018583815181106128fb577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010181815161290f9190614d88565b915081815250505b50808061292390614fe9565b9150506126e3565b50808061293790614fe9565b915050612555565b50819250505092915050565b61296685858560405180602001604052806000815250612a47565b60005b82829050811015612a04576001600760008585858181106129b3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906129c891906140c3565b61ffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555080806129fc90614fe9565b915050612969565b507f03a914ee6e4b1ffa7c5601f878a8a203233b85c7931e6224ff8fb262b7097786338486604051612a38939291906147d5565b60405180910390a15050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612ab7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aae90614b5b565b60405180910390fd5b8151835114612afb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612af290614b3b565b60405180910390fd5b6000612b05612301565b9050612b1681600087878787613359565b60005b8451811015612c1b57838181518110612b5b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151600080878481518110612b9f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c019190614d88565b925050819055508080612c1390614fe9565b915050612b19565b508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051612c9392919061485e565b60405180910390a4612caa81600087878787613361565b5050505050565b8151835114612cf5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cec90614b3b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612d65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d5c906149fb565b60405180910390fd5b6000612d6f612301565b9050612d7f818787878787613359565b60005b8451811015612f7c576000858281518110612dc6577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190506000858381518110612e0b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612eac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ea390614a5b565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612f619190614d88565b9250508190555050505080612f7590614fe9565b9050612d82565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051612ff392919061485e565b60405180910390a4613009818787878787613361565b505050505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415613147576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161313e906149fb565b60405180910390fd5b6000613151612301565b905061317181878761316288613548565b61316b88613548565b87613359565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015613208576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131ff90614a5b565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546132bd9190614d88565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62888860405161333a929190614bb6565b60405180910390a461335082888888888861360e565b50505050505050565b505050505050565b6133808473ffffffffffffffffffffffffffffffffffffffff166137f5565b15613540578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016133c6959493929190614713565b602060405180830381600087803b1580156133e057600080fd5b505af192505050801561341157506040513d601f19601f8201168201806040525081019061340e9190613fd8565b60015b6134b75761341d61514e565b806308c379a0141561347a57506134326157e3565b8061343d575061347c565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161347191906148d9565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134ae906148fb565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461353e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135359061491b565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff81111561358d577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156135bb5781602001602082028036833780820191505090505b50905082816000815181106135f9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080915050919050565b61362d8473ffffffffffffffffffffffffffffffffffffffff166137f5565b156137ed578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b815260040161367395949392919061477b565b602060405180830381600087803b15801561368d57600080fd5b505af19250505080156136be57506040513d601f19601f820116820180604052508101906136bb9190613fd8565b60015b613764576136ca61514e565b806308c379a0141561372757506136df6157e3565b806136ea5750613729565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161371e91906148d9565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161375b906148fb565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146137eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016137e29061491b565b60405180910390fd5b505b505050505050565b600080823b905060008111915050919050565b82805461381490614f86565b90600052602060002090601f016020900481019282613836576000855561387d565b82601f1061384f57803560ff191683800117855561387d565b8280016001018555821561387d579182015b8281111561387c578235825591602001919060010190613861565b5b50905061388a9190613914565b5090565b82805461389a90614f86565b90600052602060002090601f0160209004810192826138bc5760008555613903565b82601f106138d557805160ff1916838001178555613903565b82800160010185558215613903579182015b828111156139025782518255916020019190600101906138e7565b5b5090506139109190613914565b5090565b5b8082111561392d576000816000905550600101613915565b5090565b600061394461393f84614c04565b614bdf565b9050808382526020820190508285602086028201111561396357600080fd5b60005b8581101561399357816139798882613a85565b845260208401935060208301925050600181019050613966565b5050509392505050565b60006139b06139ab84614c30565b614bdf565b905080838252602082019050828560208602820111156139cf57600080fd5b60005b858110156139ff57816139e58882613c54565b8452602084019350602083019250506001810190506139d2565b5050509392505050565b6000613a1c613a1784614c5c565b614bdf565b905082815260208101848484011115613a3457600080fd5b613a3f848285614f44565b509392505050565b6000613a5a613a5584614c8d565b614bdf565b905082815260208101848484011115613a7257600080fd5b613a7d848285614f44565b509392505050565b600081359050613a948161588d565b92915050565b600081519050613aa98161588d565b92915050565b600082601f830112613ac057600080fd5b8135613ad0848260208601613931565b91505092915050565b60008083601f840112613aeb57600080fd5b8235905067ffffffffffffffff811115613b0457600080fd5b602083019150836020820283011115613b1c57600080fd5b9250929050565b600082601f830112613b3457600080fd5b8135613b4484826020860161399d565b91505092915050565b600081359050613b5c816158a4565b92915050565b600081359050613b71816158bb565b92915050565b600081519050613b86816158bb565b92915050565b600082601f830112613b9d57600080fd5b8135613bad848260208601613a09565b91505092915050565b600081359050613bc5816158d2565b92915050565b60008083601f840112613bdd57600080fd5b8235905067ffffffffffffffff811115613bf657600080fd5b602083019150836001820283011115613c0e57600080fd5b9250929050565b600082601f830112613c2657600080fd5b8135613c36848260208601613a47565b91505092915050565b600081359050613c4e816158e2565b92915050565b600081359050613c63816158f9565b92915050565b600060208284031215613c7b57600080fd5b6000613c8984828501613a85565b91505092915050565b600060208284031215613ca457600080fd5b6000613cb284828501613a9a565b91505092915050565b60008060408385031215613cce57600080fd5b6000613cdc85828601613a85565b9250506020613ced85828601613a85565b9150509250929050565b600080600080600060a08688031215613d0f57600080fd5b6000613d1d88828901613a85565b9550506020613d2e88828901613a85565b945050604086013567ffffffffffffffff811115613d4b57600080fd5b613d5788828901613b23565b935050606086013567ffffffffffffffff811115613d7457600080fd5b613d8088828901613b23565b925050608086013567ffffffffffffffff811115613d9d57600080fd5b613da988828901613b8c565b9150509295509295909350565b600080600080600060a08688031215613dce57600080fd5b6000613ddc88828901613a85565b9550506020613ded88828901613a85565b9450506040613dfe88828901613c54565b9350506060613e0f88828901613c54565b925050608086013567ffffffffffffffff811115613e2c57600080fd5b613e3888828901613b8c565b9150509295509295909350565b60008060408385031215613e5857600080fd5b6000613e6685828601613a85565b9250506020613e7785828601613b4d565b9150509250929050565b60008060408385031215613e9457600080fd5b6000613ea285828601613a85565b9250506020613eb385828601613c54565b9150509250929050565b60008060408385031215613ed057600080fd5b600083013567ffffffffffffffff811115613eea57600080fd5b613ef685828601613aaf565b925050602083013567ffffffffffffffff811115613f1357600080fd5b613f1f85828601613b23565b9150509250929050565b60008060208385031215613f3c57600080fd5b600083013567ffffffffffffffff811115613f5657600080fd5b613f6285828601613ad9565b92509250509250929050565b600060208284031215613f8057600080fd5b600082013567ffffffffffffffff811115613f9a57600080fd5b613fa684828501613b23565b91505092915050565b600060208284031215613fc157600080fd5b6000613fcf84828501613b62565b91505092915050565b600060208284031215613fea57600080fd5b6000613ff884828501613b77565b91505092915050565b6000806040838503121561401457600080fd5b600061402285828601613bb6565b925050602061403385828601613b4d565b9150509250929050565b6000806020838503121561405057600080fd5b600083013567ffffffffffffffff81111561406a57600080fd5b61407685828601613bcb565b92509250509250929050565b60006020828403121561409457600080fd5b600082013567ffffffffffffffff8111156140ae57600080fd5b6140ba84828501613c15565b91505092915050565b6000602082840312156140d557600080fd5b60006140e384828501613c3f565b91505092915050565b6000602082840312156140fe57600080fd5b600061410c84828501613c54565b91505092915050565b6000806040838503121561412857600080fd5b600061413685828601613c54565b925050602061414785828601613a85565b9150509250929050565b6000806040838503121561416457600080fd5b600061417285828601613c54565b925050602061418385828601613c54565b9150509250929050565b60006141998383614288565b60208301905092915050565b60006141b183836146b6565b60208301905092915050565b6141c681614e9d565b82525050565b60006141d782614cf3565b6141e18185614d39565b93506141ec83614cbe565b8060005b8381101561421d578151614204888261418d565b975061420f83614d1f565b9250506001810190506141f0565b5085935050505092915050565b600061423582614cfe565b61423f8185614d4a565b935061424a83614cce565b8060005b8381101561427b57815161426288826141a5565b975061426d83614d2c565b92505060018101905061424e565b5085935050505092915050565b61429181614eaf565b82525050565b6142a081614eaf565b82525050565b60006142b182614d09565b6142bb8185614d5b565b93506142cb818560208601614f53565b6142d481615170565b840191505092915050565b6142e881614f32565b82525050565b60006142f982614d14565b6143038185614d6c565b9350614313818560208601614f53565b61431c81615170565b840191505092915050565b600061433282614d14565b61433c8185614d7d565b935061434c818560208601614f53565b80840191505092915050565b6000815461436581614f86565b61436f8186614d7d565b9450600182166000811461438a576001811461439b576143ce565b60ff198316865281860193506143ce565b6143a485614cde565b60005b838110156143c6578154818901526001820191506020810190506143a7565b838801955050505b50505092915050565b60006143e4603483614d6c565b91506143ef8261518e565b604082019050919050565b6000614407602883614d6c565b9150614412826151dd565b604082019050919050565b600061442a602b83614d6c565b91506144358261522c565b604082019050919050565b600061444d602683614d6c565b91506144588261527b565b604082019050919050565b6000614470602983614d6c565b915061447b826152ca565b604082019050919050565b6000614493602e83614d6c565b915061449e82615319565b604082019050919050565b60006144b6605283614d6c565b91506144c182615368565b606082019050919050565b60006144d9603b83614d6c565b91506144e4826153dd565b604082019050919050565b60006144fc602583614d6c565b91506145078261542c565b604082019050919050565b600061451f603283614d6c565b915061452a8261547b565b604082019050919050565b6000614542603583614d6c565b915061454d826154ca565b604082019050919050565b6000614565602a83614d6c565b915061457082615519565b604082019050919050565b6000614588603583614d6c565b915061459382615568565b604082019050919050565b60006145ab602083614d6c565b91506145b6826155b7565b602082019050919050565b60006145ce602d83614d6c565b91506145d9826155e0565b604082019050919050565b60006145f1601e83614d6c565b91506145fc8261562f565b602082019050919050565b6000614614602983614d6c565b915061461f82615658565b604082019050919050565b6000614637602983614d6c565b9150614642826156a7565b604082019050919050565b600061465a602883614d6c565b9150614665826156f6565b604082019050919050565b600061467d602183614d6c565b915061468882615745565b604082019050919050565b60006146a0603f83614d6c565b91506146ab82615794565b604082019050919050565b6146bf81614f28565b82525050565b6146ce81614f28565b82525050565b60006146e08285614358565b91506146ec8284614327565b91508190509392505050565b600060208201905061470d60008301846141bd565b92915050565b600060a08201905061472860008301886141bd565b61473560208301876141bd565b8181036040830152614747818661422a565b9050818103606083015261475b818561422a565b9050818103608083015261476f81846142a6565b90509695505050505050565b600060a08201905061479060008301886141bd565b61479d60208301876141bd565b6147aa60408301866146c5565b6147b760608301856146c5565b81810360808301526147c981846142a6565b90509695505050505050565b60006060820190506147ea60008301866141bd565b81810360208301526147fc818561422a565b90508181036040830152614810818461422a565b9050949350505050565b6000602082019050818103600083015261483481846141cc565b905092915050565b60006020820190508181036000830152614856818461422a565b905092915050565b60006040820190508181036000830152614878818561422a565b9050818103602083015261488c818461422a565b90509392505050565b60006020820190506148aa6000830184614297565b92915050565b60006040820190506148c560008301856142df565b6148d26020830184614297565b9392505050565b600060208201905081810360008301526148f381846142ee565b905092915050565b60006020820190508181036000830152614914816143d7565b9050919050565b60006020820190508181036000830152614934816143fa565b9050919050565b600060208201905081810360008301526149548161441d565b9050919050565b6000602082019050818103600083015261497481614440565b9050919050565b6000602082019050818103600083015261499481614463565b9050919050565b600060208201905081810360008301526149b481614486565b9050919050565b600060208201905081810360008301526149d4816144a9565b9050919050565b600060208201905081810360008301526149f4816144cc565b9050919050565b60006020820190508181036000830152614a14816144ef565b9050919050565b60006020820190508181036000830152614a3481614512565b9050919050565b60006020820190508181036000830152614a5481614535565b9050919050565b60006020820190508181036000830152614a7481614558565b9050919050565b60006020820190508181036000830152614a948161457b565b9050919050565b60006020820190508181036000830152614ab48161459e565b9050919050565b60006020820190508181036000830152614ad4816145c1565b9050919050565b60006020820190508181036000830152614af4816145e4565b9050919050565b60006020820190508181036000830152614b1481614607565b9050919050565b60006020820190508181036000830152614b348161462a565b9050919050565b60006020820190508181036000830152614b548161464d565b9050919050565b60006020820190508181036000830152614b7481614670565b9050919050565b60006020820190508181036000830152614b9481614693565b9050919050565b6000602082019050614bb060008301846146c5565b92915050565b6000604082019050614bcb60008301856146c5565b614bd860208301846146c5565b9392505050565b6000614be9614bfa565b9050614bf58282614fb8565b919050565b6000604051905090565b600067ffffffffffffffff821115614c1f57614c1e61511f565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614c4b57614c4a61511f565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614c7757614c7661511f565b5b614c8082615170565b9050602081019050919050565b600067ffffffffffffffff821115614ca857614ca761511f565b5b614cb182615170565b9050602081019050919050565b6000819050602082019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614d9382614f28565b9150614d9e83614f28565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614dd357614dd2615063565b5b828201905092915050565b6000614de982614f28565b9150614df483614f28565b925082614e0457614e03615092565b5b828204905092915050565b6000614e1a82614f28565b9150614e2583614f28565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614e5e57614e5d615063565b5b828202905092915050565b6000614e7482614f28565b9150614e7f83614f28565b925082821015614e9257614e91615063565b5b828203905092915050565b6000614ea882614f08565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000819050614ef582615879565b919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000614f3d82614ee7565b9050919050565b82818337600083830152505050565b60005b83811015614f71578082015181840152602081019050614f56565b83811115614f80576000848401525b50505050565b60006002820490506001821680614f9e57607f821691505b60208210811415614fb257614fb16150f0565b5b50919050565b614fc182615170565b810181811067ffffffffffffffff82111715614fe057614fdf61511f565b5b80604052505050565b6000614ff482614f28565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561502757615026615063565b5b600182019050919050565b600061503d82614f28565b915061504883614f28565b92508261505857615057615092565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d111561516d5760046000803e61516a600051615181565b90505b90565b6000601f19601f8301169050919050565b60008160e01c9050919050565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b7f41646472657373206973206e6f7420746865206f776e6572206f66207468652060008201527f476976656e2050617261676f6e2e000000000000000000000000000000000000602082015250565b7f546865206e756d626572206f662070726f76696465642070617261676f6e732060008201527f6d7573742062652061206d756c7469706c696572206f66203420746f2063726560208201527f61746520746865203774682072656c69632e0000000000000000000000000000604082015250565b7f596f7520646f206e6f74206f776e20616c6c203674682072656c69637320736f60008201527f20796f752063616e6e6f7420756e6c6f636b20746865203774682e0000000000602082015250565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f412052656c69632068617320616c7265616479206265656e20636c61696d656460008201527f20696e207468652050617261676f6e2042617463680000000000000000000000602082015250565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b7f5468652052656c696320506861736520796f752061726520747279696e67207460008201527f6f206d696e74206973206e6f74206163746976652e0000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f41646472657373206973206e6f7420746865206f776e6572206f66207468652060008201527f476976656e2050617261676f6e00000000000000000000000000000000000000602082015250565b7f45746865722076616c75652073656e7420697320696e636f72726563742e0000600082015250565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f4120476976656e2050617261676f6e2068617320616c7265616479206265656e60008201527f207573656420746f206372656174656420746865203774682052656c69632e00602082015250565b600060443d10156157f357615876565b6157fb614bfa565b60043d036004823e80513d602482011167ffffffffffffffff82111715615823575050615876565b808201805167ffffffffffffffff8111156158415750505050615876565b80602083010160043d03850181111561585e575050505050615876565b61586d82602001850186614fb8565b82955050505050505b90565b6004811061588a576158896150c1565b5b50565b61589681614e9d565b81146158a157600080fd5b50565b6158ad81614eaf565b81146158b857600080fd5b50565b6158c481614ebb565b81146158cf57600080fd5b50565b600481106158df57600080fd5b50565b6158eb81614efa565b81146158f657600080fd5b50565b61590281614f28565b811461590d57600080fd5b5056fea26469706673582212206e8e0fbeefa82d3857fdb6111a8c89f72224771ede2f7019cd719091509f0e2e64736f6c63430008040033
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.