Feature Tip: Add private address tag to any address under My Name Tag !
Overview
TokenID
0
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
NefturiansArtifact
Compiler Version
v0.8.11+commit.d7f03943
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.11; import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Burnable.sol"; import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "../libraries/ECDSALibrary.sol"; import "../interfaces/INefturiansArtifact.sol"; import "../interfaces/INefturians.sol"; /**********************************************************************************************************************/ /* */ /* Nefturians Artifacts */ /* */ /* NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN */ /* NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN */ /* NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN */ /* NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN */ /* NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN */ /* NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN */ /* NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN */ /* NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN */ /* NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN */ /* NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN */ /* NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN...NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN */ /* NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN........NNNNNNNNNNNNNNNNNNN.......NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN */ /* NNNNNNNNNNNNNNNNNNNNNNNNNNNNNN...........NNNNNNNNNNNNNNNN.........NNNNNNNNNNNNNNNNNNNNNNNNNNNNNN */ /* NNNNNNNNNNNNNNNNNNNNNNNNNNNN...............NNNNNNNNNNNN............NNNNNNNNNNNNNNNNNNNNNNNNNNNNN */ /* NNNNNNNNNNNNNNNNNNNNNNNNNNN.................NNNNNNNNNNN.............NNNNNNNNNNNNNNNNNNNNNNNNNNNN */ /* NNNNNNNNNNNNNNNNNNNNNNNNNN...................NNNNNNNNNNN..............NNNNNNNNNNNNNNNNNNNNNNNNNN */ /* NNNNNNNNNNNNNNNNNNNNNNNNN.....................NNNNNNNNNNN..............NNNNNNNNNNNNNNNNNNNNNNNNN */ /* NNNNNNNNNNNNNNNNNNNNNNNN.......................NNNNNNNNNNN..............NNNNNNNNNNNNNNNNNNNNNNNN */ /* NNNNNNNNNNNNNNNNNNNNNNN..........................NNNNNNNNNN..............NNNNNNNNNNNNNNNNNNNNNNN */ /* NNNNNNNNNNNNNNNNNNNNNN.............................NNNNNNNNNN.............NNNNNNNNNNNNNNNNNNNNNN */ /* NNNNNNNNNNNNNNNNNNNNN............NNNN...............NNNNNNNNNN.............NNNNNNNNNNNNNNNNNNNNN */ /* NNNNNNNNNNNNNNNNNNNN............NNNNNN...............NNNNNNNNNN.............NNNNNNNNNNNNNNNNNNNN */ /* NNNNNNNNNNNNNNNNNN.............NNNNNNNN...............NNNNNNNNNN.............NNNNNNNNNNNNNNNNNNN */ /* NNNNNNNNNNNNNNNNNN.............NNNNNNNNNN..............NNNNNNNNNN............NNNNNNNNNNNNNNNNNNN */ /* NNNNNNNNNNNNNNNNNNN.............NNNNNNNNNN..............NNNNNNNN.............NNNNNNNNNNNNNNNNNNN */ /* NNNNNNNNNNNNNNNNNNNN.............NNNNNNNNNN...............NNNNN.............NNNNNNNNNNNNNNNNNNNN */ /* NNNNNNNNNNNNNNNNNNNN..............NNNNNNNNNN...............NNN.............NNNNNNNNNNNNNNNNNNNNN */ /* NNNNNNNNNNNNNNNNNNNNNN.............NNNNNNNNNN............................NNNNNNNNNNNNNNNNNNNNNNN */ /* NNNNNNNNNNNNNNNNNNNNNNN..............NNNNNNNNN..........................NNNNNNNNNNNNNNNNNNNNNNNN */ /* NNNNNNNNNNNNNNNNNNNNNNNN..............NNNNNNNNN........................NNNNNNNNNNNNNNNNNNNNNNNNN */ /* NNNNNNNNNNNNNNNNNNNNNNNNN..............NNNNNNNNNN.....................NNNNNNNNNNNNNNNNNNNNNNNNNN */ /* NNNNNNNNNNNNNNNNNNNNNNNNNN..............NNNNNNNNNNN..................NNNNNNNNNNNNNNNNNNNNNNNNNNN */ /* NNNNNNNNNNNNNNNNNNNNNNNNNNN..............NNNNNNNNNNN................NNNNNNNNNNNNNNNNNNNNNNNNNNNN */ /* NNNNNNNNNNNNNNNNNNNNNNNNNNNNN...........NNNNNNNNNNNNN..............NNNNNNNNNNNNNNNNNNNNNNNNNNNNN */ /* NNNNNNNNNNNNNNNNNNNNNNNNNNNNNN.........NNNNNNNNNNNNNNNN...........NNNNNNNNNNNNNNNNNNNNNNNNNNNNNN */ /* NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN.......NNNNNNNNNNNNNNNNNNN........NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN */ /* NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN.NNNNNNNNNNNNNNNNNNNNNNNNNN.NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN */ /* NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN */ /* NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN */ /* NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN */ /* NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN */ /* NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN */ /* NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN */ /* NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN */ /* NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN */ /* NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN */ /* NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN */ /* */ /* */ /* */ /**********************************************************************************************************************/ contract NefturiansArtifact is ERC1155, Ownable, ERC1155Burnable, ERC1155Supply, INefturianArtifact { /** * Roles for the access control * these roles are only checked against the parent contract's settings */ bytes32 internal constant DAO_ROLE = keccak256("DAO_ROLE"); bytes32 internal constant MINTER_ROLE = keccak256("MINTER_ROLE"); bytes32 internal constant SIGNER_ROLE = keccak256("SIGNER_ROLE"); bytes32 internal constant DEFAULT_ADMIN_ROLE = 0x00; /** * Custom URI for each token */ mapping(uint256 => string) private _uris; /** * Odds of drawing artifacts based on their rarity level. * * Rarity levels go in this order: * - odds[0] = common (for common equipment and basic consumables) * - odds[1] = powerUp (consummables used to upgrades Nefturians stats) * - odds[2] = rare (for rare equipment and powerful buffs consumables) * - odds[3] = legendary (wait for it...) */ uint256[] private odds = [70000, 90000, 99000, 100000]; /** * Current tokenId count. * Starts at 1. Index 0 is reserved for eggs */ uint256 private generalCount = 1; /** * Mapping rarity levels and indexes to tokenIds. * * indexesByRarity[ rarityId ][ autoincremented index ] => tokenId * countByRarity = autoincremented indexes for each rarity level */ mapping(uint256 => mapping(uint256 => uint256)) private indexesByRarity; mapping(uint256 => uint256) private countByRarity; /** * If a token should be burned when used */ mapping(uint256 => bool) private consumable; /** * Ether pool to pay for the gas when a method needs to be called by our API */ mapping(address => uint256) public stakes; /** * Parent contract: The Nefturians collection */ INefturians internal nefturians; constructor() ERC1155("") { nefturians = INefturians(msg.sender); consumable[0] = true; } /** * Update the odds of drawing artifacts based on their rarity level * @param newOdds: new odds in increment order with last equal to 100000 * * Error messages: * - AC0: "You dont have required role" * - NA03: "Wrong format for array" */ function updateOdds(uint256[] calldata newOdds) public { require(nefturians.hasRole(DEFAULT_ADMIN_ROLE, msg.sender), "AC0"); require(newOdds.length == 4, "NA03"); require(newOdds[3] == 100000, "NA03"); require( newOdds[0] <= newOdds[1] && newOdds[1] <= newOdds[2] && newOdds[2] <= newOdds[3], "NA03"); emit UpdateOdds(odds, newOdds); odds = newOdds; } /** * Adds a new artifact * @param rarity: rarity of the new artifact (must be between 0 and 3) * @param quantity: quantity of artifacts to be added * @param isConsumable: if the artifact can be consumed * * Error messages: * - NA07: "Rarity out of bounds" */ function addRareItem(uint256 rarity, uint256 quantity, bool isConsumable) public { require(rarity < 4 && rarity >= 0, "NA07"); require(nefturians.hasRole(MINTER_ROLE, msg.sender), "Missing role"); for (uint256 i = 0; i < quantity; i++) { indexesByRarity[rarity][countByRarity[rarity] + i] = generalCount + i; consumable[generalCount + i] = isConsumable; } countByRarity[rarity] += quantity; generalCount += quantity; emit AddRareItem(rarity, quantity, isConsumable); } /** * Set URI of a given token * @param tokenId: id of the token * @param newuri: new uri of token id * */ function setURI(uint256 tokenId, string memory newuri) public { require(nefturians.hasRole(MINTER_ROLE, msg.sender), "Missing role"); _setURI(tokenId, newuri); } /** * Public mint function that requires a signature from a SIGNER_ROLE * @param tokenId: id of the token * @param quantity: quantity to be minted * @param signature: signature of SIGNER_ROLE * * Error messages: * - N6: "This operation has not been signed" */ function mintWithSignature(uint256 tokenId, uint256 quantity, bytes calldata signature) public { uint256 nonce = nefturians.getNonce(msg.sender); require(nefturians.hasRole(SIGNER_ROLE, ECDSALibrary.recover(abi.encodePacked(msg.sender, nonce, tokenId, quantity), signature)), "N6"); nefturians.incrementNonce(msg.sender); _mint(msg.sender, tokenId, quantity, ""); } /** * Mint batch of token only if MINTER_ROLE * @param to: address reveiving tokens * @param tokenIds: ids of the tokens to be minted * @param amounts: quantities of each token to be minted * @param data: arbitrary data for events * * Error messages: * - AC0: "You dont have required role" */ function mintBatch(address to, uint256[] memory tokenIds, uint256[] memory amounts, bytes memory data) public { require(nefturians.hasRole(MINTER_ROLE, msg.sender), "AC0"); _mintBatch(to, tokenIds, amounts, data); } /** * Get the uri of a tokenId * @param tokenId: id of the token */ function uri(uint256 tokenId) public view virtual override returns (string memory) { return _uris[tokenId]; } /** * Stake some eth to allow the admin to claim artifacts for you */ function stake() public payable { stakes[msg.sender] += msg.value; } /** * Get your staked eth back */ function unstake() public { require(stakes[msg.sender] > 0, "No stake"); uint256 staked = stakes[msg.sender]; stakes[msg.sender] = 0; payable(msg.sender).transfer(staked); } /** * Allows a MINTER from the parent contract to mint eggs to address * @param to: address of the token recipient * * Error messages: * - AC0: "You dont have required role" */ function giveEgg(address to) override external { require(nefturians.hasRole(MINTER_ROLE, msg.sender), "AC0"); _mint(to, 0, 1, ""); } /** * Claim artifacts with a egg for a user. One egg gives one random artifact of a random rarity level * @param quantity: quantity of eggs to use * @param userSeed: random seed from the user * @param serverSeed: random seed from the server * @param signature: the user seed signed with the token owner's private key * * Error messages: * - AC0: "You dont have required role" * - NA00: "Your stake does not cover the gas price" * - NA01: "Division by zero" * - NA08: "Balance too low" */ function claimArtifact( uint256 quantity, bytes4 userSeed, bytes4 serverSeed, bytes calldata signature ) public { require(nefturians.hasRole(SIGNER_ROLE, msg.sender), "AC0"); address caller = ECDSALibrary.recover(abi.encodePacked(userSeed), signature); require(balanceOf(caller, 0) >= quantity, "NA00"); require(stakes[caller] >= tx.gasprice, "NA01"); _burn(caller, 0, quantity); for (uint256 i = 0; i < quantity; i++) { uint256 number = uint256(keccak256(abi.encodePacked(userSeed, serverSeed, i))); distributeReward(caller, number); } stakes[caller] -= tx.gasprice; payable(msg.sender).transfer(tx.gasprice); } /** * Mint reward based on odds and egg number * @param rewardee: address of receiver * @param ticket: random number * * Error messages: * - NA02: "Division by zero" */ function distributeReward(address rewardee, uint256 ticket) internal { uint256 number = ticket % 100000; uint256 rarity; if (number < odds[0]) { rarity = 0; } else if (number < odds[1]) { rarity = 1; } else if (number < odds[2]) { rarity = 2; } else { rarity = 3; } require(countByRarity[rarity] > 0, "NA02"); uint256 index = ticket % countByRarity[rarity]; _mint(rewardee, indexesByRarity[rarity][index], 1, ""); } /** * Allow an owner of consumable tokens to use them * @param tokenId: id of the token to be used * @param quantity: quantity to be used * * Error messages: * - NA06: "Item not consummable" * - NA04: "Not enough artifacts" */ function useArtifact(uint256 tokenId, uint256 quantity) public { require(consumable[tokenId], "NA06"); require(balanceOf(msg.sender, tokenId) >= quantity, "NA04"); _burn(msg.sender, tokenId, quantity); emit UseArtifact(tokenId, quantity); } function _setURI(uint256 tokenId, string memory newuri) internal { _uris[tokenId] = newuri; } function _beforeTokenTransfer(address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data) internal override(ERC1155, ERC1155Supply) { super._beforeTokenTransfer(operator, from, to, ids, amounts, data); } // The following functions are overrides required by Solidity. function supportsInterface(bytes4 interfaceId) public view override(ERC1155, IERC165) returns (bool) { return super.supportsInterface(interfaceId); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public override(INefturianArtifact, Ownable) onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/ERC1155.sol) pragma solidity ^0.8.0; import "./IERC1155.sol"; import "./IERC1155Receiver.sol"; import "./extensions/IERC1155MetadataURI.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of the basic standard multi-token. * See https://eips.ethereum.org/EIPS/eip-1155 * Originally based on code by Enjin: https://github.com/enjin/erc-1155 * * _Available since v3.1._ */ contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI { using Address for address; // Mapping from token ID to account balances mapping(uint256 => mapping(address => uint256)) private _balances; // Mapping from account to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json string private _uri; /** * @dev See {_setURI}. */ constructor(string memory uri_) { _setURI(uri_); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC1155).interfaceId || interfaceId == type(IERC1155MetadataURI).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC1155MetadataURI-uri}. * * This implementation returns the same URI for *all* token types. It relies * on the token type ID substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * Clients calling this function must replace the `\{id\}` substring with the * actual token type ID. */ function uri(uint256) public view virtual override returns (string memory) { return _uri; } /** * @dev See {IERC1155-balanceOf}. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) public view virtual override returns (uint256) { require(account != address(0), "ERC1155: balance query for the zero address"); return _balances[id][account]; } /** * @dev See {IERC1155-balanceOfBatch}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] memory accounts, uint256[] memory ids) public view virtual override returns (uint256[] memory) { require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch"); uint256[] memory batchBalances = new uint256[](accounts.length); for (uint256 i = 0; i < accounts.length; ++i) { batchBalances[i] = balanceOf(accounts[i], ids[i]); } return batchBalances; } /** * @dev See {IERC1155-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC1155-isApprovedForAll}. */ function isApprovedForAll(address account, address operator) public view virtual override returns (bool) { return _operatorApprovals[account][operator]; } /** * @dev See {IERC1155-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: caller is not owner nor approved" ); _safeTransferFrom(from, to, id, amount, data); } /** * @dev See {IERC1155-safeBatchTransferFrom}. */ function safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: transfer caller is not owner nor approved" ); _safeBatchTransferFrom(from, to, ids, amounts, data); } /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, _asSingletonArray(id), _asSingletonArray(amount), data); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; emit TransferSingle(operator, from, to, id, amount); _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, ids, amounts, data); for (uint256 i = 0; i < ids.length; ++i) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[id][to] += amount; } emit TransferBatch(operator, from, to, ids, amounts); _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data); } /** * @dev Sets a new URI for all token types, by relying on the token type ID * substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * By this mechanism, any occurrence of the `\{id\}` substring in either the * URI or any of the amounts in the JSON file at said URI will be replaced by * clients with the token type ID. * * For example, the `https://token-cdn-domain/\{id\}.json` URI would be * interpreted by clients as * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json` * for token type ID 0x4cce0. * * See {uri}. * * Because these URIs cannot be meaningfully represented by the {URI} event, * this function emits no events. */ function _setURI(string memory newuri) internal virtual { _uri = newuri; } /** * @dev Creates `amount` tokens of token type `id`, and assigns them to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _mint( address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), to, _asSingletonArray(id), _asSingletonArray(amount), data); _balances[id][to] += amount; emit TransferSingle(operator, address(0), to, id, amount); _doSafeTransferAcceptanceCheck(operator, address(0), to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _mintBatch( address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), to, ids, amounts, data); for (uint256 i = 0; i < ids.length; i++) { _balances[ids[i]][to] += amounts[i]; } emit TransferBatch(operator, address(0), to, ids, amounts); _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data); } /** * @dev Destroys `amount` tokens of token type `id` from `from` * * Requirements: * * - `from` cannot be the zero address. * - `from` must have at least `amount` tokens of token type `id`. */ function _burn( address from, uint256 id, uint256 amount ) internal virtual { require(from != address(0), "ERC1155: burn from the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, address(0), _asSingletonArray(id), _asSingletonArray(amount), ""); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][from] = fromBalance - amount; } emit TransferSingle(operator, from, address(0), id, amount); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}. * * Requirements: * * - `ids` and `amounts` must have the same length. */ function _burnBatch( address from, uint256[] memory ids, uint256[] memory amounts ) internal virtual { require(from != address(0), "ERC1155: burn from the zero address"); require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, address(0), ids, amounts, ""); for (uint256 i = 0; i < ids.length; i++) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][from] = fromBalance - amount; } } emit TransferBatch(operator, from, address(0), ids, amounts); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC1155: setting approval status for self"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Hook that is called before any token transfer. This includes minting * and burning, as well as batched variants. * * The same hook is called on both single and batched variants. For single * transfers, the length of the `id` and `amount` arrays will be 1. * * Calling conditions (for each `id` and `amount` pair): * * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens * of token type `id` will be transferred to `to`. * - When `from` is zero, `amount` tokens of token type `id` will be minted * for `to`. * - when `to` is zero, `amount` of ``from``'s tokens of token type `id` * will be burned. * - `from` and `to` are never both zero. * - `ids` and `amounts` have the same, non-zero length. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual {} function _doSafeTransferAcceptanceCheck( address operator, address from, address to, uint256 id, uint256 amount, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) { if (response != IERC1155Receiver.onERC1155Received.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _doSafeBatchTransferAcceptanceCheck( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns ( bytes4 response ) { if (response != IERC1155Receiver.onERC1155BatchReceived.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) { uint256[] memory array = new uint256[](1); array[0] = element; return array; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/ERC1155Burnable.sol) pragma solidity ^0.8.0; import "../ERC1155.sol"; /** * @dev Extension of {ERC1155} that allows token holders to destroy both their * own tokens and those that they have been approved to use. * * _Available since v3.1._ */ abstract contract ERC1155Burnable is ERC1155 { function burn( address account, uint256 id, uint256 value ) public virtual { require( account == _msgSender() || isApprovedForAll(account, _msgSender()), "ERC1155: caller is not owner nor approved" ); _burn(account, id, value); } function burnBatch( address account, uint256[] memory ids, uint256[] memory values ) public virtual { require( account == _msgSender() || isApprovedForAll(account, _msgSender()), "ERC1155: caller is not owner nor approved" ); _burnBatch(account, ids, values); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/ERC1155Supply.sol) pragma solidity ^0.8.0; import "../ERC1155.sol"; /** * @dev Extension of ERC1155 that adds tracking of total supply per id. * * Useful for scenarios where Fungible and Non-fungible tokens have to be * clearly identified. Note: While a totalSupply of 1 might mean the * corresponding is an NFT, there is no guarantees that no other token with the * same id are not going to be minted. */ abstract contract ERC1155Supply is ERC1155 { mapping(uint256 => uint256) private _totalSupply; /** * @dev Total amount of tokens in with a given id. */ function totalSupply(uint256 id) public view virtual returns (uint256) { return _totalSupply[id]; } /** * @dev Indicates whether any token exist with a given id, or not. */ function exists(uint256 id) public view virtual returns (bool) { return ERC1155Supply.totalSupply(id) > 0; } /** * @dev See {ERC1155-_beforeTokenTransfer}. */ function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual override { super._beforeTokenTransfer(operator, from, to, ids, amounts, data); if (from == address(0)) { for (uint256 i = 0; i < ids.length; ++i) { _totalSupply[ids[i]] += amounts[i]; } } if (to == address(0)) { for (uint256 i = 0; i < ids.length; ++i) { _totalSupply[ids[i]] -= amounts[i]; } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/cryptography/ECDSA.sol) // Added recover for arbitrary bytes by Nefture pragma solidity 0.8.11; import "./StringsLibrary.sol"; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSALibrary { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } else if (error == RecoverError.InvalidSignatureV) { revert("ECDSA: invalid signature 'v' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { // Check the signature length // - case 65: r,s,v signature (standard) // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._ if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else if (signature.length == 64) { bytes32 r; bytes32 vs; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) vs := mload(add(signature, 0x40)) } return tryRecover(hash, r, vs); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes calldata signature) public pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-recover} that receives unhashed bytes * * Added for Nefturians collection */ function recover(bytes calldata data, bytes calldata signature) public pure returns (address) { bytes32 hash = keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", keccak256(data))); return recover(hash, signature); } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s; uint8 v; assembly { s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) v := add(shr(255, vs), 27) } return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) public pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } if (v != 27 && v != 28) { return (address(0), RecoverError.InvalidSignatureV); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) public pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) public pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Message, created from `s`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes memory s) public pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", StringsLibrary.toString(s.length), s)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) public pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.11; import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol"; interface INefturianArtifact is IERC1155 { event UseArtifact(uint256 tokenId, uint256 quantity); event UseArtifacts(uint256[] tokenIds, uint256[] quantities); event UpdateOdds(uint256[] oldOdds, uint256[] newOdds); event AddRareItem(uint256 rarity, uint256 quantity, bool isConsumable); function giveEgg(address to) external; function transferOwnership(address to) external; }
// SPDX-License-Identifier: MIT pragma solidity 0.8.11; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "./IAccessControl.sol"; interface INefturians is IERC721, IAccessControl { event UpdateNefturianArtifact(address newArtifactContract); function getNonce(address addr) external view returns (uint256); function incrementNonce(address addr) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC1155 compliant contract, as defined in the * https://eips.ethereum.org/EIPS/eip-1155[EIP]. * * _Available since v3.1._ */ interface IERC1155 is IERC165 { /** * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`. */ event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value); /** * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all * transfers. */ event TransferBatch( address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values ); /** * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to * `approved`. */ event ApprovalForAll(address indexed account, address indexed operator, bool approved); /** * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI. * * If an {URI} event was emitted for `id`, the standard * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value * returned by {IERC1155MetadataURI-uri}. */ event URI(string value, uint256 indexed id); /** * @dev Returns the amount of tokens of token type `id` owned by `account`. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) external view returns (uint256); /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids) external view returns (uint256[] memory); /** * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`, * * Emits an {ApprovalForAll} event. * * Requirements: * * - `operator` cannot be the caller. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns true if `operator` is approved to transfer ``account``'s tokens. * * See {setApprovalForAll}. */ function isApprovedForAll(address account, address operator) external view returns (bool); /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes calldata data ) external; /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function safeBatchTransferFrom( address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155Receiver.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev _Available since v3.1._ */ interface IERC1155Receiver is IERC165 { /** @dev Handles the receipt of a single ERC1155 token type. This function is called at the end of a `safeTransferFrom` after the balance has been updated. To accept the transfer, this must return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` (i.e. 0xf23a6e61, or its own function selector). @param operator The address which initiated the transfer (i.e. msg.sender) @param from The address which previously owned the token @param id The ID of the token being transferred @param value The amount of tokens being transferred @param data Additional data with no specified format @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed */ function onERC1155Received( address operator, address from, uint256 id, uint256 value, bytes calldata data ) external returns (bytes4); /** @dev Handles the receipt of a multiple ERC1155 token types. This function is called at the end of a `safeBatchTransferFrom` after the balances have been updated. To accept the transfer(s), this must return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` (i.e. 0xbc197c81, or its own function selector). @param operator The address which initiated the batch transfer (i.e. msg.sender) @param from The address which previously owned the token @param ids An array containing ids of each token being transferred (order and length must match values array) @param values An array containing amounts of each token being transferred (order and length must match ids array) @param data Additional data with no specified format @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed */ function onERC1155BatchReceived( address operator, address from, uint256[] calldata ids, uint256[] calldata values, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol) pragma solidity ^0.8.0; import "../IERC1155.sol"; /** * @dev Interface of the optional ERC1155MetadataExtension interface, as defined * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP]. * * _Available since v3.1._ */ interface IERC1155MetadataURI is IERC1155 { /** * @dev Returns the URI for token type `id`. * * If the `\{id\}` substring is present in the URI, it must be replaced by * clients with the actual token type ID. */ function uri(uint256 id) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Address.sol) pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) // Made public and linkable by Nefture pragma solidity 0.8.11; /** * @dev String operations. */ library StringsLibrary { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) public 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) public 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) public pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT pragma solidity 0.8.11; interface IAccessControl { /** * @dev Emitted when `account` is granted `role`. * * `sender` is the account that originated the contract call, an admin role * bearer except when using {AccessControl-_setupRole}. */ event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender); /** * @dev Emitted when `account` is revoked `role`. * * `sender` is the account that originated the contract call: * - if using `revokeRole`, it is the admin role bearer * - if using `renounceRole`, it is the role bearer (i.e. `account`) */ event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender); function hasRole(bytes32 role, address account) external view returns (bool); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": { "libraries/ECDSALibrary.sol": { "ECDSALibrary": "0x4fbaf8986aa4cd331adf4cbbc01f4c105cc46aaa" } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"rarity","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"quantity","type":"uint256"},{"indexed":false,"internalType":"bool","name":"isConsumable","type":"bool"}],"name":"AddRareItem","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256[]","name":"oldOdds","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"newOdds","type":"uint256[]"}],"name":"UpdateOdds","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"UseArtifact","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"quantities","type":"uint256[]"}],"name":"UseArtifacts","type":"event"},{"inputs":[{"internalType":"uint256","name":"rarity","type":"uint256"},{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"bool","name":"isConsumable","type":"bool"}],"name":"addRareItem","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"burnBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"bytes4","name":"userSeed","type":"bytes4"},{"internalType":"bytes4","name":"serverSeed","type":"bytes4"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"claimArtifact","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"giveEgg","outputs":[],"stateMutability":"nonpayable","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":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"mintBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"mintWithSignature","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"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":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"newuri","type":"string"}],"name":"setURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stake","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"stakes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unstake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"newOdds","type":"uint256[]"}],"name":"updateOdds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"useArtifact","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405260405180608001604052806201117062ffffff16815260200162015f9062ffffff168152602001620182b862ffffff168152602001620186a062ffffff168152506006906004620000579291906200020a565b5060016007553480156200006a57600080fd5b50604051806020016040528060008152506200008c816200012060201b60201c565b50620000ad620000a16200013c60201b60201c565b6200014460201b60201c565b33600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600a600080815260200190815260200160002060006101000a81548160ff02191690831515021790555062000378565b80600290805190602001906200013892919062000263565b5050565b600033905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b82805482825590600052602060002090810192821562000250579160200282015b828111156200024f578251829062ffffff169055916020019190600101906200022b565b5b5090506200025f9190620002f4565b5090565b828054620002719062000342565b90600052602060002090601f016020900481019282620002955760008555620002e1565b82601f10620002b057805160ff1916838001178555620002e1565b82800160010185558215620002e1579182015b82811115620002e0578251825591602001919060010190620002c3565b5b509050620002f09190620002f4565b5090565b5b808211156200030f576000816000905550600101620002f5565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200035b57607f821691505b6020821081141562000372576200037162000313565b5b50919050565b615ddb80620003886000396000f3fe6080604052600436106101805760003560e01c8063715018a6116100d1578063c50045a81161008a578063e985e9c511610064578063e985e9c514610556578063f242432a14610593578063f2fde38b146105bc578063f5298aca146105e557610180565b8063c50045a8146104db578063c8032eb814610504578063e930f0461461052d57610180565b8063715018a6146103e1578063862440e2146103f85780638da5cb5b146104215780638ed67eaa1461044c578063a22cb46514610475578063bd85b0391461049e57610180565b80632e7410331161013e578063496c2d2811610118578063496c2d28146103155780634e1273f41461033e5780634f558e791461037b5780636b20c454146103b857610180565b80632e741033146102b95780632eb2c2d6146102e25780633a4b66f11461030b57610180565b8062fdd58e1461018557806301ffc9a7146101c25780630e89341c146101ff57806316934fc41461023c5780631f7fdffa146102795780632def6620146102a2575b600080fd5b34801561019157600080fd5b506101ac60048036038101906101a791906139e9565b61060e565b6040516101b99190613a38565b60405180910390f35b3480156101ce57600080fd5b506101e960048036038101906101e49190613aab565b6106d7565b6040516101f69190613af3565b60405180910390f35b34801561020b57600080fd5b5061022660048036038101906102219190613b0e565b6106e9565b6040516102339190613bd4565b60405180910390f35b34801561024857600080fd5b50610263600480360381019061025e9190613bf6565b61078e565b6040516102709190613a38565b60405180910390f35b34801561028557600080fd5b506102a0600480360381019061029b9190613e20565b6107a6565b005b3480156102ae57600080fd5b506102b76108b5565b005b3480156102c557600080fd5b506102e060048036038101906102db9190613edb565b610a0a565b005b3480156102ee57600080fd5b5061030960048036038101906103049190613f1b565b610afe565b005b610313610b9f565b005b34801561032157600080fd5b5061033c60048036038101906103379190614045565b610bf7565b005b34801561034a57600080fd5b506103656004803603810190610360919061417c565b610ee3565b60405161037291906142b2565b60405180910390f35b34801561038757600080fd5b506103a2600480360381019061039d9190613b0e565b610ffc565b6040516103af9190613af3565b60405180910390f35b3480156103c457600080fd5b506103df60048036038101906103da91906142d4565b611010565b005b3480156103ed57600080fd5b506103f66110ad565b005b34801561040457600080fd5b5061041f600480360381019061041a9190614400565b611135565b005b34801561042d57600080fd5b50610436611240565b604051610443919061446b565b60405180910390f35b34801561045857600080fd5b50610473600480360381019061046e91906144dc565b61126a565b005b34801561048157600080fd5b5061049c60048036038101906104979190614555565b611538565b005b3480156104aa57600080fd5b506104c560048036038101906104c09190613b0e565b61154e565b6040516104d29190613a38565b60405180910390f35b3480156104e757600080fd5b5061050260048036038101906104fd9190613bf6565b61156b565b005b34801561051057600080fd5b5061052b60048036038101906105269190614595565b611688565b005b34801561053957600080fd5b50610554600480360381019061054f919061461d565b611a00565b005b34801561056257600080fd5b5061057d60048036038101906105789190614670565b611c7b565b60405161058a9190613af3565b60405180910390f35b34801561059f57600080fd5b506105ba60048036038101906105b591906146b0565b611d0f565b005b3480156105c857600080fd5b506105e360048036038101906105de9190613bf6565b611db0565b005b3480156105f157600080fd5b5061060c60048036038101906106079190614747565b611ea8565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561067f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106769061480c565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60006106e282611f45565b9050919050565b60606005600083815260200190815260200160002080546107099061485b565b80601f01602080910402602001604051908101604052809291908181526020018280546107359061485b565b80156107825780601f1061075757610100808354040283529160200191610782565b820191906000526020600020905b81548152906001019060200180831161076557829003601f168201915b50505050509050919050565b600b6020528060005260406000206000915090505481565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166391d148547f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6336040518363ffffffff1660e01b81526004016108239291906148a6565b602060405180830381865afa158015610840573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061086491906148e4565b6108a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161089a9061495d565b60405180910390fd5b6108af84848484612027565b50505050565b6000600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411610937576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161092e906149c9565b60405180910390fd5b6000600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610a06573d6000803e3d6000fd5b5050565b600a600083815260200190815260200160002060009054906101000a900460ff16610a6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a6190614a35565b60405180910390fd5b80610a75338461060e565b1015610ab6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aad90614aa1565b60405180910390fd5b610ac1338383612245565b7f750ea7e8b186e5a437ae19786f4b802f8b9523552972353e0fe0ca0768827c268282604051610af2929190614ac1565b60405180910390a15050565b610b06612462565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610b4c5750610b4b85610b46612462565b611c7b565b5b610b8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8290614b5c565b60405180910390fd5b610b98858585858561246a565b5050505050565b34600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610bee9190614bab565b92505081905550565b6000600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632d0335ab336040518263ffffffff1660e01b8152600401610c54919061446b565b602060405180830381865afa158015610c71573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c959190614c16565b9050600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166391d148547fe2f4eaae4a9751e85a3e4a7b9587827a877f29914755229b07a7b2da98285f70734fbaf8986aa4cd331adf4cbbc01f4c105cc46aaa631ed13d1b33868b8b604051602001610d279493929190614cac565b60405160208183030381529060405288886040518463ffffffff1660e01b8152600401610d5693929190614d7c565b602060405180830381865af4158015610d73573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d979190614dca565b6040518363ffffffff1660e01b8152600401610db49291906148a6565b602060405180830381865afa158015610dd1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610df591906148e4565b610e34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2b90614e43565b60405180910390fd5b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f5743c4c336040518263ffffffff1660e01b8152600401610e8f919061446b565b600060405180830381600087803b158015610ea957600080fd5b505af1158015610ebd573d6000803e3d6000fd5b50505050610edc3386866040518060200160405280600081525061277e565b5050505050565b60608151835114610f29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2090614ed5565b60405180910390fd5b6000835167ffffffffffffffff811115610f4657610f45613c28565b5b604051908082528060200260200182016040528015610f745781602001602082028036833780820191505090505b50905060005b8451811015610ff157610fc1858281518110610f9957610f98614ef5565b5b6020026020010151858381518110610fb457610fb3614ef5565b5b602002602001015161060e565b828281518110610fd457610fd3614ef5565b5b60200260200101818152505080610fea90614f24565b9050610f7a565b508091505092915050565b6000806110088361154e565b119050919050565b611018612462565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16148061105e575061105d83611058612462565b611c7b565b5b61109d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109490614fdf565b60405180910390fd5b6110a8838383612914565b505050565b6110b5612462565b73ffffffffffffffffffffffffffffffffffffffff166110d3611240565b73ffffffffffffffffffffffffffffffffffffffff1614611129576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111209061504b565b60405180910390fd5b6111336000612bc5565b565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166391d148547f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6336040518363ffffffff1660e01b81526004016111b29291906148a6565b602060405180830381865afa1580156111cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111f391906148e4565b611232576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611229906150b7565b60405180910390fd5b61123c8282612c8b565b5050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166391d148546000801b336040518363ffffffff1660e01b81526004016112ca9291906148a6565b602060405180830381865afa1580156112e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061130b91906148e4565b61134a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113419061495d565b60405180910390fd5b60048282905014611390576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138790615123565b60405180910390fd5b620186a0828260038181106113a8576113a7614ef5565b5b90506020020135146113ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e690615123565b60405180910390fd5b8181600181811061140357611402614ef5565b5b905060200201358282600081811061141e5761141d614ef5565b5b905060200201351115801561146757508181600281811061144257611441614ef5565b5b905060200201358282600181811061145d5761145c614ef5565b5b9050602002013511155b80156114a757508181600381811061148257611481614ef5565b5b905060200201358282600281811061149d5761149c614ef5565b5b9050602002013511155b6114e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114dd90615123565b60405180910390fd5b7fbec6a2847a33383c986e45151dc6623bdbff052d7d8e74c7ede9ad09ca1809f76006838360405161151a9392919061527a565b60405180910390a1818160069190611533929190613851565b505050565b61154a611543612462565b8383612cb7565b5050565b600060046000838152602001908152602001600020549050919050565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166391d148547f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6336040518363ffffffff1660e01b81526004016115e89291906148a6565b602060405180830381865afa158015611605573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061162991906148e4565b611668576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165f9061495d565b60405180910390fd5b61168581600060016040518060200160405280600081525061277e565b50565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166391d148547fe2f4eaae4a9751e85a3e4a7b9587827a877f29914755229b07a7b2da98285f70336040518363ffffffff1660e01b81526004016117059291906148a6565b602060405180830381865afa158015611722573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061174691906148e4565b611785576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177c9061495d565b60405180910390fd5b6000734fbaf8986aa4cd331adf4cbbc01f4c105cc46aaa631ed13d1b866040516020016117b291906152d4565b60405160208183030381529060405285856040518463ffffffff1660e01b81526004016117e193929190614d7c565b602060405180830381865af41580156117fe573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118229190614dca565b90508561183082600061060e565b1015611871576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118689061533b565b60405180910390fd5b3a600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410156118f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ea906153a7565b60405180910390fd5b6118ff81600088612245565b60005b8681101561195a576000868683604051602001611921939291906153c7565b6040516020818303038152906040528051906020012060001c90506119468382612e24565b50808061195290614f24565b915050611902565b503a600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119aa9190615404565b925050819055503373ffffffffffffffffffffffffffffffffffffffff166108fc3a9081150290604051600060405180830381858888f193505050501580156119f7573d6000803e3d6000fd5b50505050505050565b600483108015611a11575060008310155b611a50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4790615484565b60405180910390fd5b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166391d148547f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6336040518363ffffffff1660e01b8152600401611acd9291906148a6565b602060405180830381865afa158015611aea573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b0e91906148e4565b611b4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b44906150b7565b60405180910390fd5b60005b82811015611bf75780600754611b669190614bab565b600860008681526020019081526020016000206000836009600089815260200190815260200160002054611b9a9190614bab565b81526020019081526020016000208190555081600a600083600754611bbf9190614bab565b815260200190815260200160002060006101000a81548160ff0219169083151502179055508080611bef90614f24565b915050611b50565b5081600960008581526020019081526020016000206000828254611c1b9190614bab565b925050819055508160076000828254611c349190614bab565b925050819055507f61b0cb087d858bb391a9cc54bdb646ac7a0c85fe2e1023c959176231f0f62842838383604051611c6e939291906154a4565b60405180910390a1505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611d17612462565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480611d5d5750611d5c85611d57612462565b611c7b565b5b611d9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9390614fdf565b60405180910390fd5b611da98585858585612f90565b5050505050565b611db8612462565b73ffffffffffffffffffffffffffffffffffffffff16611dd6611240565b73ffffffffffffffffffffffffffffffffffffffff1614611e2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e239061504b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611e9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e939061554d565b60405180910390fd5b611ea581612bc5565b50565b611eb0612462565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480611ef65750611ef583611ef0612462565b611c7b565b5b611f35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2c90614fdf565b60405180910390fd5b611f40838383612245565b505050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061201057507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612020575061201f82613212565b5b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612097576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208e906155df565b60405180910390fd5b81518351146120db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120d290615671565b60405180910390fd5b60006120e5612462565b90506120f68160008787878761327c565b60005b84518110156121af5783818151811061211557612114614ef5565b5b602002602001015160008087848151811061213357612132614ef5565b5b6020026020010151815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121959190614bab565b9250508190555080806121a790614f24565b9150506120f9565b508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051612227929190615691565b60405180910390a461223e81600087878787613292565b5050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156122b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122ac9061573a565b60405180910390fd5b60006122bf612462565b90506122ef818560006122d18761346a565b6122da8761346a565b6040518060200160405280600081525061327c565b600080600085815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015612386576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161237d906157cc565b60405180910390fd5b82810360008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051612453929190614ac1565b60405180910390a45050505050565b600033905090565b81518351146124ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124a590615671565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561251e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125159061585e565b60405180910390fd5b6000612528612462565b905061253881878787878761327c565b60005b84518110156126e957600085828151811061255957612558614ef5565b5b60200260200101519050600085838151811061257857612577614ef5565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612619576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612610906158f0565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126ce9190614bab565b92505081905550505050806126e290614f24565b905061253b565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051612760929190615691565b60405180910390a4612776818787878787613292565b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156127ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127e5906155df565b60405180910390fd5b60006127f8612462565b90506128198160008761280a8861346a565b6128138861346a565b8761327c565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128789190614bab565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6287876040516128f6929190614ac1565b60405180910390a461290d816000878787876134e4565b5050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612984576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161297b9061573a565b60405180910390fd5b80518251146129c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129bf90615671565b60405180910390fd5b60006129d2612462565b90506129f28185600086866040518060200160405280600081525061327c565b60005b8351811015612b3f576000848281518110612a1357612a12614ef5565b5b602002602001015190506000848381518110612a3257612a31614ef5565b5b60200260200101519050600080600084815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612ad3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aca906157cc565b60405180910390fd5b81810360008085815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050508080612b3790614f24565b9150506129f5565b50600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051612bb7929190615691565b60405180910390a450505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b80600560008481526020019081526020016000209080519060200190612cb292919061389e565b505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612d26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d1d90615982565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612e179190613af3565b60405180910390a3505050565b6000620186a082612e3591906159d1565b905060006006600081548110612e4e57612e4d614ef5565b5b9060005260206000200154821015612e695760009050612ed0565b6006600181548110612e7e57612e7d614ef5565b5b9060005260206000200154821015612e995760019050612ecf565b6006600281548110612eae57612ead614ef5565b5b9060005260206000200154821015612ec95760029050612ece565b600390505b5b5b6000600960008381526020019081526020016000205411612f26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f1d90615a4e565b60405180910390fd5b6000600960008381526020019081526020016000205484612f4791906159d1565b9050612f89856008600085815260200190815260200160002060008481526020019081526020016000205460016040518060200160405280600081525061277e565b5050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415613000576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ff79061585e565b60405180910390fd5b600061300a612462565b905061302a81878761301b8861346a565b6130248861346a565b8761327c565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050838110156130c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130b8906158f0565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546131769190614bab565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6288886040516131f3929190614ac1565b60405180910390a46132098288888888886134e4565b50505050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61328a8686868686866136bc565b505050505050565b6132b18473ffffffffffffffffffffffffffffffffffffffff16613836565b15613462578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016132f7959493929190615ab8565b6020604051808303816000875af192505050801561333357506040513d601f19601f820116820180604052508101906133309190615b35565b60015b6133d95761333f615b6f565b806308c379a0141561339c5750613354615b91565b8061335f575061339e565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133939190613bd4565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133d090615c99565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614613460576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161345790615d2b565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff81111561348957613488613c28565b5b6040519080825280602002602001820160405280156134b75781602001602082028036833780820191505090505b50905082816000815181106134cf576134ce614ef5565b5b60200260200101818152505080915050919050565b6135038473ffffffffffffffffffffffffffffffffffffffff16613836565b156136b4578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401613549959493929190615d4b565b6020604051808303816000875af192505050801561358557506040513d601f19601f820116820180604052508101906135829190615b35565b60015b61362b57613591615b6f565b806308c379a014156135ee57506135a6615b91565b806135b157506135f0565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135e59190613bd4565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161362290615c99565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146136b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136a990615d2b565b60405180910390fd5b505b505050505050565b6136ca868686868686613849565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16141561377c5760005b835181101561377a5782818151811061371e5761371d614ef5565b5b60200260200101516004600086848151811061373d5761373c614ef5565b5b6020026020010151815260200190815260200160002060008282546137629190614bab565b925050819055508061377390614f24565b9050613702565b505b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561382e5760005b835181101561382c578281815181106137d0576137cf614ef5565b5b6020026020010151600460008684815181106137ef576137ee614ef5565b5b6020026020010151815260200190815260200160002060008282546138149190615404565b925050819055508061382590614f24565b90506137b4565b505b505050505050565b600080823b905060008111915050919050565b505050505050565b82805482825590600052602060002090810192821561388d579160200282015b8281111561388c578235825591602001919060010190613871565b5b50905061389a9190613924565b5090565b8280546138aa9061485b565b90600052602060002090601f0160209004810192826138cc5760008555613913565b82601f106138e557805160ff1916838001178555613913565b82800160010185558215613913579182015b828111156139125782518255916020019190600101906138f7565b5b5090506139209190613924565b5090565b5b8082111561393d576000816000905550600101613925565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061398082613955565b9050919050565b61399081613975565b811461399b57600080fd5b50565b6000813590506139ad81613987565b92915050565b6000819050919050565b6139c6816139b3565b81146139d157600080fd5b50565b6000813590506139e3816139bd565b92915050565b60008060408385031215613a00576139ff61394b565b5b6000613a0e8582860161399e565b9250506020613a1f858286016139d4565b9150509250929050565b613a32816139b3565b82525050565b6000602082019050613a4d6000830184613a29565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613a8881613a53565b8114613a9357600080fd5b50565b600081359050613aa581613a7f565b92915050565b600060208284031215613ac157613ac061394b565b5b6000613acf84828501613a96565b91505092915050565b60008115159050919050565b613aed81613ad8565b82525050565b6000602082019050613b086000830184613ae4565b92915050565b600060208284031215613b2457613b2361394b565b5b6000613b32848285016139d4565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613b75578082015181840152602081019050613b5a565b83811115613b84576000848401525b50505050565b6000601f19601f8301169050919050565b6000613ba682613b3b565b613bb08185613b46565b9350613bc0818560208601613b57565b613bc981613b8a565b840191505092915050565b60006020820190508181036000830152613bee8184613b9b565b905092915050565b600060208284031215613c0c57613c0b61394b565b5b6000613c1a8482850161399e565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613c6082613b8a565b810181811067ffffffffffffffff82111715613c7f57613c7e613c28565b5b80604052505050565b6000613c92613941565b9050613c9e8282613c57565b919050565b600067ffffffffffffffff821115613cbe57613cbd613c28565b5b602082029050602081019050919050565b600080fd5b6000613ce7613ce284613ca3565b613c88565b90508083825260208201905060208402830185811115613d0a57613d09613ccf565b5b835b81811015613d335780613d1f88826139d4565b845260208401935050602081019050613d0c565b5050509392505050565b600082601f830112613d5257613d51613c23565b5b8135613d62848260208601613cd4565b91505092915050565b600080fd5b600067ffffffffffffffff821115613d8b57613d8a613c28565b5b613d9482613b8a565b9050602081019050919050565b82818337600083830152505050565b6000613dc3613dbe84613d70565b613c88565b905082815260208101848484011115613ddf57613dde613d6b565b5b613dea848285613da1565b509392505050565b600082601f830112613e0757613e06613c23565b5b8135613e17848260208601613db0565b91505092915050565b60008060008060808587031215613e3a57613e3961394b565b5b6000613e488782880161399e565b945050602085013567ffffffffffffffff811115613e6957613e68613950565b5b613e7587828801613d3d565b935050604085013567ffffffffffffffff811115613e9657613e95613950565b5b613ea287828801613d3d565b925050606085013567ffffffffffffffff811115613ec357613ec2613950565b5b613ecf87828801613df2565b91505092959194509250565b60008060408385031215613ef257613ef161394b565b5b6000613f00858286016139d4565b9250506020613f11858286016139d4565b9150509250929050565b600080600080600060a08688031215613f3757613f3661394b565b5b6000613f458882890161399e565b9550506020613f568882890161399e565b945050604086013567ffffffffffffffff811115613f7757613f76613950565b5b613f8388828901613d3d565b935050606086013567ffffffffffffffff811115613fa457613fa3613950565b5b613fb088828901613d3d565b925050608086013567ffffffffffffffff811115613fd157613fd0613950565b5b613fdd88828901613df2565b9150509295509295909350565b600080fd5b60008083601f84011261400557614004613c23565b5b8235905067ffffffffffffffff81111561402257614021613fea565b5b60208301915083600182028301111561403e5761403d613ccf565b5b9250929050565b6000806000806060858703121561405f5761405e61394b565b5b600061406d878288016139d4565b945050602061407e878288016139d4565b935050604085013567ffffffffffffffff81111561409f5761409e613950565b5b6140ab87828801613fef565b925092505092959194509250565b600067ffffffffffffffff8211156140d4576140d3613c28565b5b602082029050602081019050919050565b60006140f86140f3846140b9565b613c88565b9050808382526020820190506020840283018581111561411b5761411a613ccf565b5b835b818110156141445780614130888261399e565b84526020840193505060208101905061411d565b5050509392505050565b600082601f83011261416357614162613c23565b5b81356141738482602086016140e5565b91505092915050565b600080604083850312156141935761419261394b565b5b600083013567ffffffffffffffff8111156141b1576141b0613950565b5b6141bd8582860161414e565b925050602083013567ffffffffffffffff8111156141de576141dd613950565b5b6141ea85828601613d3d565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b614229816139b3565b82525050565b600061423b8383614220565b60208301905092915050565b6000602082019050919050565b600061425f826141f4565b61426981856141ff565b935061427483614210565b8060005b838110156142a557815161428c888261422f565b975061429783614247565b925050600181019050614278565b5085935050505092915050565b600060208201905081810360008301526142cc8184614254565b905092915050565b6000806000606084860312156142ed576142ec61394b565b5b60006142fb8682870161399e565b935050602084013567ffffffffffffffff81111561431c5761431b613950565b5b61432886828701613d3d565b925050604084013567ffffffffffffffff81111561434957614348613950565b5b61435586828701613d3d565b9150509250925092565b600067ffffffffffffffff82111561437a57614379613c28565b5b61438382613b8a565b9050602081019050919050565b60006143a361439e8461435f565b613c88565b9050828152602081018484840111156143bf576143be613d6b565b5b6143ca848285613da1565b509392505050565b600082601f8301126143e7576143e6613c23565b5b81356143f7848260208601614390565b91505092915050565b600080604083850312156144175761441661394b565b5b6000614425858286016139d4565b925050602083013567ffffffffffffffff81111561444657614445613950565b5b614452858286016143d2565b9150509250929050565b61446581613975565b82525050565b6000602082019050614480600083018461445c565b92915050565b60008083601f84011261449c5761449b613c23565b5b8235905067ffffffffffffffff8111156144b9576144b8613fea565b5b6020830191508360208202830111156144d5576144d4613ccf565b5b9250929050565b600080602083850312156144f3576144f261394b565b5b600083013567ffffffffffffffff81111561451157614510613950565b5b61451d85828601614486565b92509250509250929050565b61453281613ad8565b811461453d57600080fd5b50565b60008135905061454f81614529565b92915050565b6000806040838503121561456c5761456b61394b565b5b600061457a8582860161399e565b925050602061458b85828601614540565b9150509250929050565b6000806000806000608086880312156145b1576145b061394b565b5b60006145bf888289016139d4565b95505060206145d088828901613a96565b94505060406145e188828901613a96565b935050606086013567ffffffffffffffff81111561460257614601613950565b5b61460e88828901613fef565b92509250509295509295909350565b6000806000606084860312156146365761463561394b565b5b6000614644868287016139d4565b9350506020614655868287016139d4565b925050604061466686828701614540565b9150509250925092565b600080604083850312156146875761468661394b565b5b60006146958582860161399e565b92505060206146a68582860161399e565b9150509250929050565b600080600080600060a086880312156146cc576146cb61394b565b5b60006146da8882890161399e565b95505060206146eb8882890161399e565b94505060406146fc888289016139d4565b935050606061470d888289016139d4565b925050608086013567ffffffffffffffff81111561472e5761472d613950565b5b61473a88828901613df2565b9150509295509295909350565b6000806000606084860312156147605761475f61394b565b5b600061476e8682870161399e565b935050602061477f868287016139d4565b9250506040614790868287016139d4565b9150509250925092565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b60006147f6602b83613b46565b91506148018261479a565b604082019050919050565b60006020820190508181036000830152614825816147e9565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061487357607f821691505b602082108114156148875761488661482c565b5b50919050565b6000819050919050565b6148a08161488d565b82525050565b60006040820190506148bb6000830185614897565b6148c8602083018461445c565b9392505050565b6000815190506148de81614529565b92915050565b6000602082840312156148fa576148f961394b565b5b6000614908848285016148cf565b91505092915050565b7f4143300000000000000000000000000000000000000000000000000000000000600082015250565b6000614947600383613b46565b915061495282614911565b602082019050919050565b600060208201905081810360008301526149768161493a565b9050919050565b7f4e6f207374616b65000000000000000000000000000000000000000000000000600082015250565b60006149b3600883613b46565b91506149be8261497d565b602082019050919050565b600060208201905081810360008301526149e2816149a6565b9050919050565b7f4e41303600000000000000000000000000000000000000000000000000000000600082015250565b6000614a1f600483613b46565b9150614a2a826149e9565b602082019050919050565b60006020820190508181036000830152614a4e81614a12565b9050919050565b7f4e41303400000000000000000000000000000000000000000000000000000000600082015250565b6000614a8b600483613b46565b9150614a9682614a55565b602082019050919050565b60006020820190508181036000830152614aba81614a7e565b9050919050565b6000604082019050614ad66000830185613a29565b614ae36020830184613a29565b9392505050565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b6000614b46603283613b46565b9150614b5182614aea565b604082019050919050565b60006020820190508181036000830152614b7581614b39565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614bb6826139b3565b9150614bc1836139b3565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614bf657614bf5614b7c565b5b828201905092915050565b600081519050614c10816139bd565b92915050565b600060208284031215614c2c57614c2b61394b565b5b6000614c3a84828501614c01565b91505092915050565b60008160601b9050919050565b6000614c5b82614c43565b9050919050565b6000614c6d82614c50565b9050919050565b614c85614c8082613975565b614c62565b82525050565b6000819050919050565b614ca6614ca1826139b3565b614c8b565b82525050565b6000614cb88287614c74565b601482019150614cc88286614c95565b602082019150614cd88285614c95565b602082019150614ce88284614c95565b60208201915081905095945050505050565b600081519050919050565b600082825260208201905092915050565b6000614d2182614cfa565b614d2b8185614d05565b9350614d3b818560208601613b57565b614d4481613b8a565b840191505092915050565b6000614d5b8385614d05565b9350614d68838584613da1565b614d7183613b8a565b840190509392505050565b60006040820190508181036000830152614d968186614d16565b90508181036020830152614dab818486614d4f565b9050949350505050565b600081519050614dc481613987565b92915050565b600060208284031215614de057614ddf61394b565b5b6000614dee84828501614db5565b91505092915050565b7f4e36000000000000000000000000000000000000000000000000000000000000600082015250565b6000614e2d600283613b46565b9150614e3882614df7565b602082019050919050565b60006020820190508181036000830152614e5c81614e20565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b6000614ebf602983613b46565b9150614eca82614e63565b604082019050919050565b60006020820190508181036000830152614eee81614eb2565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000614f2f826139b3565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614f6257614f61614b7c565b5b600182019050919050565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b6000614fc9602983613b46565b9150614fd482614f6d565b604082019050919050565b60006020820190508181036000830152614ff881614fbc565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000615035602083613b46565b915061504082614fff565b602082019050919050565b6000602082019050818103600083015261506481615028565b9050919050565b7f4d697373696e6720726f6c650000000000000000000000000000000000000000600082015250565b60006150a1600c83613b46565b91506150ac8261506b565b602082019050919050565b600060208201905081810360008301526150d081615094565b9050919050565b7f4e41303300000000000000000000000000000000000000000000000000000000600082015250565b600061510d600483613b46565b9150615118826150d7565b602082019050919050565b6000602082019050818103600083015261513c81615100565b9050919050565b600081549050919050565b60008190508160005260206000209050919050565b60008160001c9050919050565b6000819050919050565b600061518d61518883615163565b615170565b9050919050565b60006151a0825461517a565b9050919050565b6000600182019050919050565b60006151bf82615143565b6151c981856141ff565b93506151d48361514e565b8060005b8381101561520c576151e982615194565b6151f3888261422f565b97506151fe836151a7565b9250506001810190506151d8565b5085935050505092915050565b600080fd5b600061522a83856141ff565b93507f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83111561525d5761525c615219565b5b60208302925061526e838584613da1565b82840190509392505050565b6000604082019050818103600083015261529481866151b4565b905081810360208301526152a981848661521e565b9050949350505050565b6000819050919050565b6152ce6152c982613a53565b6152b3565b82525050565b60006152e082846152bd565b60048201915081905092915050565b7f4e41303000000000000000000000000000000000000000000000000000000000600082015250565b6000615325600483613b46565b9150615330826152ef565b602082019050919050565b6000602082019050818103600083015261535481615318565b9050919050565b7f4e41303100000000000000000000000000000000000000000000000000000000600082015250565b6000615391600483613b46565b915061539c8261535b565b602082019050919050565b600060208201905081810360008301526153c081615384565b9050919050565b60006153d382866152bd565b6004820191506153e382856152bd565b6004820191506153f38284614c95565b602082019150819050949350505050565b600061540f826139b3565b915061541a836139b3565b92508282101561542d5761542c614b7c565b5b828203905092915050565b7f4e41303700000000000000000000000000000000000000000000000000000000600082015250565b600061546e600483613b46565b915061547982615438565b602082019050919050565b6000602082019050818103600083015261549d81615461565b9050919050565b60006060820190506154b96000830186613a29565b6154c66020830185613a29565b6154d36040830184613ae4565b949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000615537602683613b46565b9150615542826154db565b604082019050919050565b600060208201905081810360008301526155668161552a565b9050919050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006155c9602183613b46565b91506155d48261556d565b604082019050919050565b600060208201905081810360008301526155f8816155bc565b9050919050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b600061565b602883613b46565b9150615666826155ff565b604082019050919050565b6000602082019050818103600083015261568a8161564e565b9050919050565b600060408201905081810360008301526156ab8185614254565b905081810360208301526156bf8184614254565b90509392505050565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000615724602383613b46565b915061572f826156c8565b604082019050919050565b6000602082019050818103600083015261575381615717565b9050919050565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b60006157b6602483613b46565b91506157c18261575a565b604082019050919050565b600060208201905081810360008301526157e5816157a9565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000615848602583613b46565b9150615853826157ec565b604082019050919050565b600060208201905081810360008301526158778161583b565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b60006158da602a83613b46565b91506158e58261587e565b604082019050919050565b60006020820190508181036000830152615909816158cd565b9050919050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b600061596c602983613b46565b915061597782615910565b604082019050919050565b6000602082019050818103600083015261599b8161595f565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006159dc826139b3565b91506159e7836139b3565b9250826159f7576159f66159a2565b5b828206905092915050565b7f4e41303200000000000000000000000000000000000000000000000000000000600082015250565b6000615a38600483613b46565b9150615a4382615a02565b602082019050919050565b60006020820190508181036000830152615a6781615a2b565b9050919050565b600082825260208201905092915050565b6000615a8a82614cfa565b615a948185615a6e565b9350615aa4818560208601613b57565b615aad81613b8a565b840191505092915050565b600060a082019050615acd600083018861445c565b615ada602083018761445c565b8181036040830152615aec8186614254565b90508181036060830152615b008185614254565b90508181036080830152615b148184615a7f565b90509695505050505050565b600081519050615b2f81613a7f565b92915050565b600060208284031215615b4b57615b4a61394b565b5b6000615b5984828501615b20565b91505092915050565b60008160e01c9050919050565b600060033d1115615b8e5760046000803e615b8b600051615b62565b90505b90565b600060443d1015615ba157615c24565b615ba9613941565b60043d036004823e80513d602482011167ffffffffffffffff82111715615bd1575050615c24565b808201805167ffffffffffffffff811115615bef5750505050615c24565b80602083010160043d038501811115615c0c575050505050615c24565b615c1b82602001850186613c57565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b6000615c83603483613b46565b9150615c8e82615c27565b604082019050919050565b60006020820190508181036000830152615cb281615c76565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b6000615d15602883613b46565b9150615d2082615cb9565b604082019050919050565b60006020820190508181036000830152615d4481615d08565b9050919050565b600060a082019050615d60600083018861445c565b615d6d602083018761445c565b615d7a6040830186613a29565b615d876060830185613a29565b8181036080830152615d998184615a7f565b9050969550505050505056fea26469706673582212208f691ce28484c5ce6743d4c9cc20c764a0616279b67ecaf5e821a06ed287adc964736f6c634300080b0033
Deployed Bytecode
0x6080604052600436106101805760003560e01c8063715018a6116100d1578063c50045a81161008a578063e985e9c511610064578063e985e9c514610556578063f242432a14610593578063f2fde38b146105bc578063f5298aca146105e557610180565b8063c50045a8146104db578063c8032eb814610504578063e930f0461461052d57610180565b8063715018a6146103e1578063862440e2146103f85780638da5cb5b146104215780638ed67eaa1461044c578063a22cb46514610475578063bd85b0391461049e57610180565b80632e7410331161013e578063496c2d2811610118578063496c2d28146103155780634e1273f41461033e5780634f558e791461037b5780636b20c454146103b857610180565b80632e741033146102b95780632eb2c2d6146102e25780633a4b66f11461030b57610180565b8062fdd58e1461018557806301ffc9a7146101c25780630e89341c146101ff57806316934fc41461023c5780631f7fdffa146102795780632def6620146102a2575b600080fd5b34801561019157600080fd5b506101ac60048036038101906101a791906139e9565b61060e565b6040516101b99190613a38565b60405180910390f35b3480156101ce57600080fd5b506101e960048036038101906101e49190613aab565b6106d7565b6040516101f69190613af3565b60405180910390f35b34801561020b57600080fd5b5061022660048036038101906102219190613b0e565b6106e9565b6040516102339190613bd4565b60405180910390f35b34801561024857600080fd5b50610263600480360381019061025e9190613bf6565b61078e565b6040516102709190613a38565b60405180910390f35b34801561028557600080fd5b506102a0600480360381019061029b9190613e20565b6107a6565b005b3480156102ae57600080fd5b506102b76108b5565b005b3480156102c557600080fd5b506102e060048036038101906102db9190613edb565b610a0a565b005b3480156102ee57600080fd5b5061030960048036038101906103049190613f1b565b610afe565b005b610313610b9f565b005b34801561032157600080fd5b5061033c60048036038101906103379190614045565b610bf7565b005b34801561034a57600080fd5b506103656004803603810190610360919061417c565b610ee3565b60405161037291906142b2565b60405180910390f35b34801561038757600080fd5b506103a2600480360381019061039d9190613b0e565b610ffc565b6040516103af9190613af3565b60405180910390f35b3480156103c457600080fd5b506103df60048036038101906103da91906142d4565b611010565b005b3480156103ed57600080fd5b506103f66110ad565b005b34801561040457600080fd5b5061041f600480360381019061041a9190614400565b611135565b005b34801561042d57600080fd5b50610436611240565b604051610443919061446b565b60405180910390f35b34801561045857600080fd5b50610473600480360381019061046e91906144dc565b61126a565b005b34801561048157600080fd5b5061049c60048036038101906104979190614555565b611538565b005b3480156104aa57600080fd5b506104c560048036038101906104c09190613b0e565b61154e565b6040516104d29190613a38565b60405180910390f35b3480156104e757600080fd5b5061050260048036038101906104fd9190613bf6565b61156b565b005b34801561051057600080fd5b5061052b60048036038101906105269190614595565b611688565b005b34801561053957600080fd5b50610554600480360381019061054f919061461d565b611a00565b005b34801561056257600080fd5b5061057d60048036038101906105789190614670565b611c7b565b60405161058a9190613af3565b60405180910390f35b34801561059f57600080fd5b506105ba60048036038101906105b591906146b0565b611d0f565b005b3480156105c857600080fd5b506105e360048036038101906105de9190613bf6565b611db0565b005b3480156105f157600080fd5b5061060c60048036038101906106079190614747565b611ea8565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561067f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106769061480c565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60006106e282611f45565b9050919050565b60606005600083815260200190815260200160002080546107099061485b565b80601f01602080910402602001604051908101604052809291908181526020018280546107359061485b565b80156107825780601f1061075757610100808354040283529160200191610782565b820191906000526020600020905b81548152906001019060200180831161076557829003601f168201915b50505050509050919050565b600b6020528060005260406000206000915090505481565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166391d148547f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6336040518363ffffffff1660e01b81526004016108239291906148a6565b602060405180830381865afa158015610840573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061086491906148e4565b6108a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161089a9061495d565b60405180910390fd5b6108af84848484612027565b50505050565b6000600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411610937576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161092e906149c9565b60405180910390fd5b6000600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610a06573d6000803e3d6000fd5b5050565b600a600083815260200190815260200160002060009054906101000a900460ff16610a6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a6190614a35565b60405180910390fd5b80610a75338461060e565b1015610ab6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aad90614aa1565b60405180910390fd5b610ac1338383612245565b7f750ea7e8b186e5a437ae19786f4b802f8b9523552972353e0fe0ca0768827c268282604051610af2929190614ac1565b60405180910390a15050565b610b06612462565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610b4c5750610b4b85610b46612462565b611c7b565b5b610b8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8290614b5c565b60405180910390fd5b610b98858585858561246a565b5050505050565b34600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610bee9190614bab565b92505081905550565b6000600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632d0335ab336040518263ffffffff1660e01b8152600401610c54919061446b565b602060405180830381865afa158015610c71573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c959190614c16565b9050600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166391d148547fe2f4eaae4a9751e85a3e4a7b9587827a877f29914755229b07a7b2da98285f70734fbaf8986aa4cd331adf4cbbc01f4c105cc46aaa631ed13d1b33868b8b604051602001610d279493929190614cac565b60405160208183030381529060405288886040518463ffffffff1660e01b8152600401610d5693929190614d7c565b602060405180830381865af4158015610d73573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d979190614dca565b6040518363ffffffff1660e01b8152600401610db49291906148a6565b602060405180830381865afa158015610dd1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610df591906148e4565b610e34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2b90614e43565b60405180910390fd5b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f5743c4c336040518263ffffffff1660e01b8152600401610e8f919061446b565b600060405180830381600087803b158015610ea957600080fd5b505af1158015610ebd573d6000803e3d6000fd5b50505050610edc3386866040518060200160405280600081525061277e565b5050505050565b60608151835114610f29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2090614ed5565b60405180910390fd5b6000835167ffffffffffffffff811115610f4657610f45613c28565b5b604051908082528060200260200182016040528015610f745781602001602082028036833780820191505090505b50905060005b8451811015610ff157610fc1858281518110610f9957610f98614ef5565b5b6020026020010151858381518110610fb457610fb3614ef5565b5b602002602001015161060e565b828281518110610fd457610fd3614ef5565b5b60200260200101818152505080610fea90614f24565b9050610f7a565b508091505092915050565b6000806110088361154e565b119050919050565b611018612462565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16148061105e575061105d83611058612462565b611c7b565b5b61109d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109490614fdf565b60405180910390fd5b6110a8838383612914565b505050565b6110b5612462565b73ffffffffffffffffffffffffffffffffffffffff166110d3611240565b73ffffffffffffffffffffffffffffffffffffffff1614611129576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111209061504b565b60405180910390fd5b6111336000612bc5565b565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166391d148547f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6336040518363ffffffff1660e01b81526004016111b29291906148a6565b602060405180830381865afa1580156111cf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111f391906148e4565b611232576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611229906150b7565b60405180910390fd5b61123c8282612c8b565b5050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166391d148546000801b336040518363ffffffff1660e01b81526004016112ca9291906148a6565b602060405180830381865afa1580156112e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061130b91906148e4565b61134a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113419061495d565b60405180910390fd5b60048282905014611390576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138790615123565b60405180910390fd5b620186a0828260038181106113a8576113a7614ef5565b5b90506020020135146113ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113e690615123565b60405180910390fd5b8181600181811061140357611402614ef5565b5b905060200201358282600081811061141e5761141d614ef5565b5b905060200201351115801561146757508181600281811061144257611441614ef5565b5b905060200201358282600181811061145d5761145c614ef5565b5b9050602002013511155b80156114a757508181600381811061148257611481614ef5565b5b905060200201358282600281811061149d5761149c614ef5565b5b9050602002013511155b6114e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114dd90615123565b60405180910390fd5b7fbec6a2847a33383c986e45151dc6623bdbff052d7d8e74c7ede9ad09ca1809f76006838360405161151a9392919061527a565b60405180910390a1818160069190611533929190613851565b505050565b61154a611543612462565b8383612cb7565b5050565b600060046000838152602001908152602001600020549050919050565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166391d148547f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6336040518363ffffffff1660e01b81526004016115e89291906148a6565b602060405180830381865afa158015611605573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061162991906148e4565b611668576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165f9061495d565b60405180910390fd5b61168581600060016040518060200160405280600081525061277e565b50565b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166391d148547fe2f4eaae4a9751e85a3e4a7b9587827a877f29914755229b07a7b2da98285f70336040518363ffffffff1660e01b81526004016117059291906148a6565b602060405180830381865afa158015611722573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061174691906148e4565b611785576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177c9061495d565b60405180910390fd5b6000734fbaf8986aa4cd331adf4cbbc01f4c105cc46aaa631ed13d1b866040516020016117b291906152d4565b60405160208183030381529060405285856040518463ffffffff1660e01b81526004016117e193929190614d7c565b602060405180830381865af41580156117fe573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118229190614dca565b90508561183082600061060e565b1015611871576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118689061533b565b60405180910390fd5b3a600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410156118f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ea906153a7565b60405180910390fd5b6118ff81600088612245565b60005b8681101561195a576000868683604051602001611921939291906153c7565b6040516020818303038152906040528051906020012060001c90506119468382612e24565b50808061195290614f24565b915050611902565b503a600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119aa9190615404565b925050819055503373ffffffffffffffffffffffffffffffffffffffff166108fc3a9081150290604051600060405180830381858888f193505050501580156119f7573d6000803e3d6000fd5b50505050505050565b600483108015611a11575060008310155b611a50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4790615484565b60405180910390fd5b600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166391d148547f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6336040518363ffffffff1660e01b8152600401611acd9291906148a6565b602060405180830381865afa158015611aea573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b0e91906148e4565b611b4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b44906150b7565b60405180910390fd5b60005b82811015611bf75780600754611b669190614bab565b600860008681526020019081526020016000206000836009600089815260200190815260200160002054611b9a9190614bab565b81526020019081526020016000208190555081600a600083600754611bbf9190614bab565b815260200190815260200160002060006101000a81548160ff0219169083151502179055508080611bef90614f24565b915050611b50565b5081600960008581526020019081526020016000206000828254611c1b9190614bab565b925050819055508160076000828254611c349190614bab565b925050819055507f61b0cb087d858bb391a9cc54bdb646ac7a0c85fe2e1023c959176231f0f62842838383604051611c6e939291906154a4565b60405180910390a1505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611d17612462565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480611d5d5750611d5c85611d57612462565b611c7b565b5b611d9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9390614fdf565b60405180910390fd5b611da98585858585612f90565b5050505050565b611db8612462565b73ffffffffffffffffffffffffffffffffffffffff16611dd6611240565b73ffffffffffffffffffffffffffffffffffffffff1614611e2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e239061504b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611e9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e939061554d565b60405180910390fd5b611ea581612bc5565b50565b611eb0612462565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480611ef65750611ef583611ef0612462565b611c7b565b5b611f35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2c90614fdf565b60405180910390fd5b611f40838383612245565b505050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061201057507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612020575061201f82613212565b5b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612097576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208e906155df565b60405180910390fd5b81518351146120db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120d290615671565b60405180910390fd5b60006120e5612462565b90506120f68160008787878761327c565b60005b84518110156121af5783818151811061211557612114614ef5565b5b602002602001015160008087848151811061213357612132614ef5565b5b6020026020010151815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121959190614bab565b9250508190555080806121a790614f24565b9150506120f9565b508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051612227929190615691565b60405180910390a461223e81600087878787613292565b5050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156122b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122ac9061573a565b60405180910390fd5b60006122bf612462565b90506122ef818560006122d18761346a565b6122da8761346a565b6040518060200160405280600081525061327c565b600080600085815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015612386576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161237d906157cc565b60405180910390fd5b82810360008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051612453929190614ac1565b60405180910390a45050505050565b600033905090565b81518351146124ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124a590615671565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561251e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125159061585e565b60405180910390fd5b6000612528612462565b905061253881878787878761327c565b60005b84518110156126e957600085828151811061255957612558614ef5565b5b60200260200101519050600085838151811061257857612577614ef5565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612619576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612610906158f0565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126ce9190614bab565b92505081905550505050806126e290614f24565b905061253b565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051612760929190615691565b60405180910390a4612776818787878787613292565b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156127ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127e5906155df565b60405180910390fd5b60006127f8612462565b90506128198160008761280a8861346a565b6128138861346a565b8761327c565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128789190614bab565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6287876040516128f6929190614ac1565b60405180910390a461290d816000878787876134e4565b5050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612984576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161297b9061573a565b60405180910390fd5b80518251146129c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129bf90615671565b60405180910390fd5b60006129d2612462565b90506129f28185600086866040518060200160405280600081525061327c565b60005b8351811015612b3f576000848281518110612a1357612a12614ef5565b5b602002602001015190506000848381518110612a3257612a31614ef5565b5b60200260200101519050600080600084815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612ad3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aca906157cc565b60405180910390fd5b81810360008085815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050508080612b3790614f24565b9150506129f5565b50600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051612bb7929190615691565b60405180910390a450505050565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b80600560008481526020019081526020016000209080519060200190612cb292919061389e565b505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612d26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d1d90615982565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612e179190613af3565b60405180910390a3505050565b6000620186a082612e3591906159d1565b905060006006600081548110612e4e57612e4d614ef5565b5b9060005260206000200154821015612e695760009050612ed0565b6006600181548110612e7e57612e7d614ef5565b5b9060005260206000200154821015612e995760019050612ecf565b6006600281548110612eae57612ead614ef5565b5b9060005260206000200154821015612ec95760029050612ece565b600390505b5b5b6000600960008381526020019081526020016000205411612f26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f1d90615a4e565b60405180910390fd5b6000600960008381526020019081526020016000205484612f4791906159d1565b9050612f89856008600085815260200190815260200160002060008481526020019081526020016000205460016040518060200160405280600081525061277e565b5050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415613000576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ff79061585e565b60405180910390fd5b600061300a612462565b905061302a81878761301b8861346a565b6130248861346a565b8761327c565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050838110156130c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130b8906158f0565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546131769190614bab565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6288886040516131f3929190614ac1565b60405180910390a46132098288888888886134e4565b50505050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61328a8686868686866136bc565b505050505050565b6132b18473ffffffffffffffffffffffffffffffffffffffff16613836565b15613462578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016132f7959493929190615ab8565b6020604051808303816000875af192505050801561333357506040513d601f19601f820116820180604052508101906133309190615b35565b60015b6133d95761333f615b6f565b806308c379a0141561339c5750613354615b91565b8061335f575061339e565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133939190613bd4565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133d090615c99565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614613460576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161345790615d2b565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff81111561348957613488613c28565b5b6040519080825280602002602001820160405280156134b75781602001602082028036833780820191505090505b50905082816000815181106134cf576134ce614ef5565b5b60200260200101818152505080915050919050565b6135038473ffffffffffffffffffffffffffffffffffffffff16613836565b156136b4578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401613549959493929190615d4b565b6020604051808303816000875af192505050801561358557506040513d601f19601f820116820180604052508101906135829190615b35565b60015b61362b57613591615b6f565b806308c379a014156135ee57506135a6615b91565b806135b157506135f0565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135e59190613bd4565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161362290615c99565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916146136b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136a990615d2b565b60405180910390fd5b505b505050505050565b6136ca868686868686613849565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16141561377c5760005b835181101561377a5782818151811061371e5761371d614ef5565b5b60200260200101516004600086848151811061373d5761373c614ef5565b5b6020026020010151815260200190815260200160002060008282546137629190614bab565b925050819055508061377390614f24565b9050613702565b505b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561382e5760005b835181101561382c578281815181106137d0576137cf614ef5565b5b6020026020010151600460008684815181106137ef576137ee614ef5565b5b6020026020010151815260200190815260200160002060008282546138149190615404565b925050819055508061382590614f24565b90506137b4565b505b505050505050565b600080823b905060008111915050919050565b505050505050565b82805482825590600052602060002090810192821561388d579160200282015b8281111561388c578235825591602001919060010190613871565b5b50905061389a9190613924565b5090565b8280546138aa9061485b565b90600052602060002090601f0160209004810192826138cc5760008555613913565b82601f106138e557805160ff1916838001178555613913565b82800160010185558215613913579182015b828111156139125782518255916020019190600101906138f7565b5b5090506139209190613924565b5090565b5b8082111561393d576000816000905550600101613925565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061398082613955565b9050919050565b61399081613975565b811461399b57600080fd5b50565b6000813590506139ad81613987565b92915050565b6000819050919050565b6139c6816139b3565b81146139d157600080fd5b50565b6000813590506139e3816139bd565b92915050565b60008060408385031215613a00576139ff61394b565b5b6000613a0e8582860161399e565b9250506020613a1f858286016139d4565b9150509250929050565b613a32816139b3565b82525050565b6000602082019050613a4d6000830184613a29565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613a8881613a53565b8114613a9357600080fd5b50565b600081359050613aa581613a7f565b92915050565b600060208284031215613ac157613ac061394b565b5b6000613acf84828501613a96565b91505092915050565b60008115159050919050565b613aed81613ad8565b82525050565b6000602082019050613b086000830184613ae4565b92915050565b600060208284031215613b2457613b2361394b565b5b6000613b32848285016139d4565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613b75578082015181840152602081019050613b5a565b83811115613b84576000848401525b50505050565b6000601f19601f8301169050919050565b6000613ba682613b3b565b613bb08185613b46565b9350613bc0818560208601613b57565b613bc981613b8a565b840191505092915050565b60006020820190508181036000830152613bee8184613b9b565b905092915050565b600060208284031215613c0c57613c0b61394b565b5b6000613c1a8482850161399e565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613c6082613b8a565b810181811067ffffffffffffffff82111715613c7f57613c7e613c28565b5b80604052505050565b6000613c92613941565b9050613c9e8282613c57565b919050565b600067ffffffffffffffff821115613cbe57613cbd613c28565b5b602082029050602081019050919050565b600080fd5b6000613ce7613ce284613ca3565b613c88565b90508083825260208201905060208402830185811115613d0a57613d09613ccf565b5b835b81811015613d335780613d1f88826139d4565b845260208401935050602081019050613d0c565b5050509392505050565b600082601f830112613d5257613d51613c23565b5b8135613d62848260208601613cd4565b91505092915050565b600080fd5b600067ffffffffffffffff821115613d8b57613d8a613c28565b5b613d9482613b8a565b9050602081019050919050565b82818337600083830152505050565b6000613dc3613dbe84613d70565b613c88565b905082815260208101848484011115613ddf57613dde613d6b565b5b613dea848285613da1565b509392505050565b600082601f830112613e0757613e06613c23565b5b8135613e17848260208601613db0565b91505092915050565b60008060008060808587031215613e3a57613e3961394b565b5b6000613e488782880161399e565b945050602085013567ffffffffffffffff811115613e6957613e68613950565b5b613e7587828801613d3d565b935050604085013567ffffffffffffffff811115613e9657613e95613950565b5b613ea287828801613d3d565b925050606085013567ffffffffffffffff811115613ec357613ec2613950565b5b613ecf87828801613df2565b91505092959194509250565b60008060408385031215613ef257613ef161394b565b5b6000613f00858286016139d4565b9250506020613f11858286016139d4565b9150509250929050565b600080600080600060a08688031215613f3757613f3661394b565b5b6000613f458882890161399e565b9550506020613f568882890161399e565b945050604086013567ffffffffffffffff811115613f7757613f76613950565b5b613f8388828901613d3d565b935050606086013567ffffffffffffffff811115613fa457613fa3613950565b5b613fb088828901613d3d565b925050608086013567ffffffffffffffff811115613fd157613fd0613950565b5b613fdd88828901613df2565b9150509295509295909350565b600080fd5b60008083601f84011261400557614004613c23565b5b8235905067ffffffffffffffff81111561402257614021613fea565b5b60208301915083600182028301111561403e5761403d613ccf565b5b9250929050565b6000806000806060858703121561405f5761405e61394b565b5b600061406d878288016139d4565b945050602061407e878288016139d4565b935050604085013567ffffffffffffffff81111561409f5761409e613950565b5b6140ab87828801613fef565b925092505092959194509250565b600067ffffffffffffffff8211156140d4576140d3613c28565b5b602082029050602081019050919050565b60006140f86140f3846140b9565b613c88565b9050808382526020820190506020840283018581111561411b5761411a613ccf565b5b835b818110156141445780614130888261399e565b84526020840193505060208101905061411d565b5050509392505050565b600082601f83011261416357614162613c23565b5b81356141738482602086016140e5565b91505092915050565b600080604083850312156141935761419261394b565b5b600083013567ffffffffffffffff8111156141b1576141b0613950565b5b6141bd8582860161414e565b925050602083013567ffffffffffffffff8111156141de576141dd613950565b5b6141ea85828601613d3d565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b614229816139b3565b82525050565b600061423b8383614220565b60208301905092915050565b6000602082019050919050565b600061425f826141f4565b61426981856141ff565b935061427483614210565b8060005b838110156142a557815161428c888261422f565b975061429783614247565b925050600181019050614278565b5085935050505092915050565b600060208201905081810360008301526142cc8184614254565b905092915050565b6000806000606084860312156142ed576142ec61394b565b5b60006142fb8682870161399e565b935050602084013567ffffffffffffffff81111561431c5761431b613950565b5b61432886828701613d3d565b925050604084013567ffffffffffffffff81111561434957614348613950565b5b61435586828701613d3d565b9150509250925092565b600067ffffffffffffffff82111561437a57614379613c28565b5b61438382613b8a565b9050602081019050919050565b60006143a361439e8461435f565b613c88565b9050828152602081018484840111156143bf576143be613d6b565b5b6143ca848285613da1565b509392505050565b600082601f8301126143e7576143e6613c23565b5b81356143f7848260208601614390565b91505092915050565b600080604083850312156144175761441661394b565b5b6000614425858286016139d4565b925050602083013567ffffffffffffffff81111561444657614445613950565b5b614452858286016143d2565b9150509250929050565b61446581613975565b82525050565b6000602082019050614480600083018461445c565b92915050565b60008083601f84011261449c5761449b613c23565b5b8235905067ffffffffffffffff8111156144b9576144b8613fea565b5b6020830191508360208202830111156144d5576144d4613ccf565b5b9250929050565b600080602083850312156144f3576144f261394b565b5b600083013567ffffffffffffffff81111561451157614510613950565b5b61451d85828601614486565b92509250509250929050565b61453281613ad8565b811461453d57600080fd5b50565b60008135905061454f81614529565b92915050565b6000806040838503121561456c5761456b61394b565b5b600061457a8582860161399e565b925050602061458b85828601614540565b9150509250929050565b6000806000806000608086880312156145b1576145b061394b565b5b60006145bf888289016139d4565b95505060206145d088828901613a96565b94505060406145e188828901613a96565b935050606086013567ffffffffffffffff81111561460257614601613950565b5b61460e88828901613fef565b92509250509295509295909350565b6000806000606084860312156146365761463561394b565b5b6000614644868287016139d4565b9350506020614655868287016139d4565b925050604061466686828701614540565b9150509250925092565b600080604083850312156146875761468661394b565b5b60006146958582860161399e565b92505060206146a68582860161399e565b9150509250929050565b600080600080600060a086880312156146cc576146cb61394b565b5b60006146da8882890161399e565b95505060206146eb8882890161399e565b94505060406146fc888289016139d4565b935050606061470d888289016139d4565b925050608086013567ffffffffffffffff81111561472e5761472d613950565b5b61473a88828901613df2565b9150509295509295909350565b6000806000606084860312156147605761475f61394b565b5b600061476e8682870161399e565b935050602061477f868287016139d4565b9250506040614790868287016139d4565b9150509250925092565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b60006147f6602b83613b46565b91506148018261479a565b604082019050919050565b60006020820190508181036000830152614825816147e9565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061487357607f821691505b602082108114156148875761488661482c565b5b50919050565b6000819050919050565b6148a08161488d565b82525050565b60006040820190506148bb6000830185614897565b6148c8602083018461445c565b9392505050565b6000815190506148de81614529565b92915050565b6000602082840312156148fa576148f961394b565b5b6000614908848285016148cf565b91505092915050565b7f4143300000000000000000000000000000000000000000000000000000000000600082015250565b6000614947600383613b46565b915061495282614911565b602082019050919050565b600060208201905081810360008301526149768161493a565b9050919050565b7f4e6f207374616b65000000000000000000000000000000000000000000000000600082015250565b60006149b3600883613b46565b91506149be8261497d565b602082019050919050565b600060208201905081810360008301526149e2816149a6565b9050919050565b7f4e41303600000000000000000000000000000000000000000000000000000000600082015250565b6000614a1f600483613b46565b9150614a2a826149e9565b602082019050919050565b60006020820190508181036000830152614a4e81614a12565b9050919050565b7f4e41303400000000000000000000000000000000000000000000000000000000600082015250565b6000614a8b600483613b46565b9150614a9682614a55565b602082019050919050565b60006020820190508181036000830152614aba81614a7e565b9050919050565b6000604082019050614ad66000830185613a29565b614ae36020830184613a29565b9392505050565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b6000614b46603283613b46565b9150614b5182614aea565b604082019050919050565b60006020820190508181036000830152614b7581614b39565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614bb6826139b3565b9150614bc1836139b3565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614bf657614bf5614b7c565b5b828201905092915050565b600081519050614c10816139bd565b92915050565b600060208284031215614c2c57614c2b61394b565b5b6000614c3a84828501614c01565b91505092915050565b60008160601b9050919050565b6000614c5b82614c43565b9050919050565b6000614c6d82614c50565b9050919050565b614c85614c8082613975565b614c62565b82525050565b6000819050919050565b614ca6614ca1826139b3565b614c8b565b82525050565b6000614cb88287614c74565b601482019150614cc88286614c95565b602082019150614cd88285614c95565b602082019150614ce88284614c95565b60208201915081905095945050505050565b600081519050919050565b600082825260208201905092915050565b6000614d2182614cfa565b614d2b8185614d05565b9350614d3b818560208601613b57565b614d4481613b8a565b840191505092915050565b6000614d5b8385614d05565b9350614d68838584613da1565b614d7183613b8a565b840190509392505050565b60006040820190508181036000830152614d968186614d16565b90508181036020830152614dab818486614d4f565b9050949350505050565b600081519050614dc481613987565b92915050565b600060208284031215614de057614ddf61394b565b5b6000614dee84828501614db5565b91505092915050565b7f4e36000000000000000000000000000000000000000000000000000000000000600082015250565b6000614e2d600283613b46565b9150614e3882614df7565b602082019050919050565b60006020820190508181036000830152614e5c81614e20565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b6000614ebf602983613b46565b9150614eca82614e63565b604082019050919050565b60006020820190508181036000830152614eee81614eb2565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000614f2f826139b3565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614f6257614f61614b7c565b5b600182019050919050565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b6000614fc9602983613b46565b9150614fd482614f6d565b604082019050919050565b60006020820190508181036000830152614ff881614fbc565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000615035602083613b46565b915061504082614fff565b602082019050919050565b6000602082019050818103600083015261506481615028565b9050919050565b7f4d697373696e6720726f6c650000000000000000000000000000000000000000600082015250565b60006150a1600c83613b46565b91506150ac8261506b565b602082019050919050565b600060208201905081810360008301526150d081615094565b9050919050565b7f4e41303300000000000000000000000000000000000000000000000000000000600082015250565b600061510d600483613b46565b9150615118826150d7565b602082019050919050565b6000602082019050818103600083015261513c81615100565b9050919050565b600081549050919050565b60008190508160005260206000209050919050565b60008160001c9050919050565b6000819050919050565b600061518d61518883615163565b615170565b9050919050565b60006151a0825461517a565b9050919050565b6000600182019050919050565b60006151bf82615143565b6151c981856141ff565b93506151d48361514e565b8060005b8381101561520c576151e982615194565b6151f3888261422f565b97506151fe836151a7565b9250506001810190506151d8565b5085935050505092915050565b600080fd5b600061522a83856141ff565b93507f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83111561525d5761525c615219565b5b60208302925061526e838584613da1565b82840190509392505050565b6000604082019050818103600083015261529481866151b4565b905081810360208301526152a981848661521e565b9050949350505050565b6000819050919050565b6152ce6152c982613a53565b6152b3565b82525050565b60006152e082846152bd565b60048201915081905092915050565b7f4e41303000000000000000000000000000000000000000000000000000000000600082015250565b6000615325600483613b46565b9150615330826152ef565b602082019050919050565b6000602082019050818103600083015261535481615318565b9050919050565b7f4e41303100000000000000000000000000000000000000000000000000000000600082015250565b6000615391600483613b46565b915061539c8261535b565b602082019050919050565b600060208201905081810360008301526153c081615384565b9050919050565b60006153d382866152bd565b6004820191506153e382856152bd565b6004820191506153f38284614c95565b602082019150819050949350505050565b600061540f826139b3565b915061541a836139b3565b92508282101561542d5761542c614b7c565b5b828203905092915050565b7f4e41303700000000000000000000000000000000000000000000000000000000600082015250565b600061546e600483613b46565b915061547982615438565b602082019050919050565b6000602082019050818103600083015261549d81615461565b9050919050565b60006060820190506154b96000830186613a29565b6154c66020830185613a29565b6154d36040830184613ae4565b949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000615537602683613b46565b9150615542826154db565b604082019050919050565b600060208201905081810360008301526155668161552a565b9050919050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006155c9602183613b46565b91506155d48261556d565b604082019050919050565b600060208201905081810360008301526155f8816155bc565b9050919050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b600061565b602883613b46565b9150615666826155ff565b604082019050919050565b6000602082019050818103600083015261568a8161564e565b9050919050565b600060408201905081810360008301526156ab8185614254565b905081810360208301526156bf8184614254565b90509392505050565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b6000615724602383613b46565b915061572f826156c8565b604082019050919050565b6000602082019050818103600083015261575381615717565b9050919050565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b60006157b6602483613b46565b91506157c18261575a565b604082019050919050565b600060208201905081810360008301526157e5816157a9565b9050919050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000615848602583613b46565b9150615853826157ec565b604082019050919050565b600060208201905081810360008301526158778161583b565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b60006158da602a83613b46565b91506158e58261587e565b604082019050919050565b60006020820190508181036000830152615909816158cd565b9050919050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b600061596c602983613b46565b915061597782615910565b604082019050919050565b6000602082019050818103600083015261599b8161595f565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006159dc826139b3565b91506159e7836139b3565b9250826159f7576159f66159a2565b5b828206905092915050565b7f4e41303200000000000000000000000000000000000000000000000000000000600082015250565b6000615a38600483613b46565b9150615a4382615a02565b602082019050919050565b60006020820190508181036000830152615a6781615a2b565b9050919050565b600082825260208201905092915050565b6000615a8a82614cfa565b615a948185615a6e565b9350615aa4818560208601613b57565b615aad81613b8a565b840191505092915050565b600060a082019050615acd600083018861445c565b615ada602083018761445c565b8181036040830152615aec8186614254565b90508181036060830152615b008185614254565b90508181036080830152615b148184615a7f565b90509695505050505050565b600081519050615b2f81613a7f565b92915050565b600060208284031215615b4b57615b4a61394b565b5b6000615b5984828501615b20565b91505092915050565b60008160e01c9050919050565b600060033d1115615b8e5760046000803e615b8b600051615b62565b90505b90565b600060443d1015615ba157615c24565b615ba9613941565b60043d036004823e80513d602482011167ffffffffffffffff82111715615bd1575050615c24565b808201805167ffffffffffffffff811115615bef5750505050615c24565b80602083010160043d038501811115615c0c575050505050615c24565b615c1b82602001850186613c57565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b6000615c83603483613b46565b9150615c8e82615c27565b604082019050919050565b60006020820190508181036000830152615cb281615c76565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b6000615d15602883613b46565b9150615d2082615cb9565b604082019050919050565b60006020820190508181036000830152615d4481615d08565b9050919050565b600060a082019050615d60600083018861445c565b615d6d602083018761445c565b615d7a6040830186613a29565b615d876060830185613a29565b8181036080830152615d998184615a7f565b9050969550505050505056fea26469706673582212208f691ce28484c5ce6743d4c9cc20c764a0616279b67ecaf5e821a06ed287adc964736f6c634300080b0033
Loading...
Loading
Loading...
Loading
[ 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.