Warning! Contract bytecode has been changed and doesn't match the verified one. Therefore, interaction with this smart contract may be risky.
- Contract name:
- GesotenNft
- Optimization enabled
- true
- Compiler version
- v0.8.9+commit.e5eed63a
- Optimization runs
- 200
- EVM Version
- default
- Verified at
- 2023-12-20T09:24:15.274579Z
contracts/gesoten-nft.sol
// Contract based on https://docs.openzeppelin.com/contracts/4.x/erc721// SPDX-License-Identifier: MITpragma solidity ^0.8.9;import "@openzeppelin/contracts/token/ERC721/ERC721.sol";import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol";import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol";import "@openzeppelin/contracts/access/Ownable.sol";import "@openzeppelin/contracts/utils/Counters.sol";contract GesotenNft is ERC721, ERC721URIStorage, ERC721Burnable, Ownable {using Counters for Counters.Counter;Counters.Counter private _tokenIds;// Mapping to store minting permissions for each addressmapping(address => bool) private mintingAllowed;constructor() ERC721("Gesoten Nft", "GES") {}function supportsInterface(bytes4 interfaceId) public view override(ERC721, ERC721URIStorage) returns (bool) {return super.supportsInterface(interfaceId);}// Modifier to ensure only the owner or authorized address can mintmodifier onlyOwnerOrAuthorized() {require(msg.sender == owner() || mintingAllowed[msg.sender], "Not the owner or authorized");_;}// Owner can grant minting permission to a specific addressfunction grantMintingPermission(address account) external onlyOwner {mintingAllowed[account] = true;}// Revoke minting permission for an addressfunction revokeMintingPermission(address account) external onlyOwner {mintingAllowed[account] = false;}
@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol
// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)pragma solidity ^0.8.0;/*** @title ERC721 token receiver interface* @dev Interface for any contract that wants to support safeTransfers* from ERC721 asset contracts.*/interface IERC721Receiver {/*** @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}* by `operator` from `from`, this function is called.** It must return its Solidity selector to confirm the token transfer.* If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.** The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`.*/function onERC721Received(address operator,address from,uint256 tokenId,bytes calldata data) external returns (bytes4);}
@openzeppelin/contracts/access/Ownable.sol
// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.9.0) (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 Throws if called by any account other than the owner.*/modifier onlyOwner() {_checkOwner();_;}/*** @dev Returns the address of the current owner.
@openzeppelin/contracts/interfaces/IERC165.sol
// SPDX-License-Identifier: MIT// OpenZeppelin Contracts v4.4.1 (interfaces/IERC165.sol)pragma solidity ^0.8.0;import "../utils/introspection/IERC165.sol";
@openzeppelin/contracts/interfaces/IERC4906.sol
// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.9.0) (interfaces/IERC4906.sol)pragma solidity ^0.8.0;import "./IERC165.sol";import "./IERC721.sol";/// @title EIP-721 Metadata Update Extensioninterface IERC4906 is IERC165, IERC721 {/// @dev This event emits when the metadata of a token is changed./// So that the third-party platforms such as NFT market could/// timely update the images and related attributes of the NFT.event MetadataUpdate(uint256 _tokenId);/// @dev This event emits when the metadata of a range of tokens is changed./// So that the third-party platforms such as NFT market could/// timely update the images and related attributes of the NFTs.event BatchMetadataUpdate(uint256 _fromTokenId, uint256 _toTokenId);}
@openzeppelin/contracts/interfaces/IERC721.sol
// SPDX-License-Identifier: MIT// OpenZeppelin Contracts v4.4.1 (interfaces/IERC721.sol)pragma solidity ^0.8.0;import "../token/ERC721/IERC721.sol";
@openzeppelin/contracts/token/ERC721/ERC721.sol
// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC721/ERC721.sol)pragma solidity ^0.8.0;import "./IERC721.sol";import "./IERC721Receiver.sol";import "./extensions/IERC721Metadata.sol";import "../../utils/Address.sol";import "../../utils/Context.sol";import "../../utils/Strings.sol";import "../../utils/introspection/ERC165.sol";/*** @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including* the Metadata extension, but not including the Enumerable extension, which is available separately as* {ERC721Enumerable}.*/contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {using Address for address;using Strings for uint256;// Token namestring private _name;// Token symbolstring private _symbol;// Mapping from token ID to owner addressmapping(uint256 => address) private _owners;// Mapping owner address to token countmapping(address => uint256) private _balances;// Mapping from token ID to approved addressmapping(uint256 => address) private _tokenApprovals;// Mapping from owner to operator approvalsmapping(address => mapping(address => bool)) private _operatorApprovals;/**
@openzeppelin/contracts/token/ERC721/IERC721.sol
// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.9.0) (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);/**
@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol
// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/extensions/ERC721Burnable.sol)pragma solidity ^0.8.0;import "../ERC721.sol";import "../../../utils/Context.sol";/*** @title ERC721 Burnable Token* @dev ERC721 Token that can be burned (destroyed).*/abstract contract ERC721Burnable is Context, ERC721 {/*** @dev Burns `tokenId`. See {ERC721-_burn}.** Requirements:** - The caller must own `tokenId` or be an approved operator.*/function burn(uint256 tokenId) public virtual {//solhint-disable-next-line max-line-lengthrequire(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved");_burn(tokenId);}}
@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol
// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC721/extensions/ERC721URIStorage.sol)pragma solidity ^0.8.0;import "../ERC721.sol";import "../../../interfaces/IERC4906.sol";/*** @dev ERC721 token with storage based token URI management.*/abstract contract ERC721URIStorage is IERC4906, ERC721 {using Strings for uint256;// Optional mapping for token URIsmapping(uint256 => string) private _tokenURIs;/*** @dev See {IERC165-supportsInterface}*/function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721, IERC165) returns (bool) {return interfaceId == bytes4(0x49064906) || super.supportsInterface(interfaceId);}/*** @dev See {IERC721Metadata-tokenURI}.*/function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {_requireMinted(tokenId);string memory _tokenURI = _tokenURIs[tokenId];string memory base = _baseURI();// If there is no base URI, return the token URI.if (bytes(base).length == 0) {return _tokenURI;}// If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).if (bytes(_tokenURI).length > 0) {return string(abi.encodePacked(base, _tokenURI));}
@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol
// SPDX-License-Identifier: MIT// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)pragma solidity ^0.8.0;import "../IERC721.sol";/*** @title ERC-721 Non-Fungible Token Standard, optional metadata extension* @dev See https://eips.ethereum.org/EIPS/eip-721*/interface IERC721Metadata is IERC721 {/*** @dev Returns the token collection name.*/function name() external view returns (string memory);/*** @dev Returns the token collection symbol.*/function symbol() external view returns (string memory);/*** @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.*/function tokenURI(uint256 tokenId) external view returns (string memory);}
@openzeppelin/contracts/utils/Address.sol
// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol)pragma solidity ^0.8.1;/*** @dev Collection of functions related to the address type*/library Address {/*** @dev Returns true if `account` is a contract.** [IMPORTANT]* ====* It is unsafe to assume that an address for which this function returns* false is an externally-owned account (EOA) and not a contract.** Among others, `isContract` will return false for the following* types of addresses:** - an externally-owned account* - a contract in construction* - an address where a contract will be created* - an address where a contract lived, but was destroyed** Furthermore, `isContract` will also return true if the target contract within* the same transaction is already scheduled for destruction by `SELFDESTRUCT`,* which only has an effect at the end of a transaction.* ====** [IMPORTANT]* ====* You shouldn't rely on `isContract` to protect against flash loan attacks!** Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets* like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract* constructor.* ====*/function isContract(address account) internal view returns (bool) {// This method relies on extcodesize/address.code.length, which returns 0
@openzeppelin/contracts/utils/Context.sol
// 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;}}
@openzeppelin/contracts/utils/Counters.sol
// SPDX-License-Identifier: MIT// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)pragma solidity ^0.8.0;/*** @title Counters* @author Matt Condon (@shrugs)* @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number* of elements in a mapping, issuing ERC721 ids, or counting request ids.** Include with `using Counters for Counters.Counter;`*/library Counters {struct Counter {// This variable should never be directly accessed by users of the library: interactions must be restricted to// the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add// this feature: see https://github.com/ethereum/solidity/issues/4637uint256 _value; // default: 0}function current(Counter storage counter) internal view returns (uint256) {return counter._value;}function increment(Counter storage counter) internal {unchecked {counter._value += 1;}}function decrement(Counter storage counter) internal {uint256 value = counter._value;require(value > 0, "Counter: decrement overflow");unchecked {counter._value = value - 1;}}function reset(Counter storage counter) internal {counter._value = 0;
@openzeppelin/contracts/utils/Strings.sol
// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.9.0) (utils/Strings.sol)pragma solidity ^0.8.0;import "./math/Math.sol";import "./math/SignedMath.sol";/*** @dev String operations.*/library Strings {bytes16 private constant _SYMBOLS = "0123456789abcdef";uint8 private constant _ADDRESS_LENGTH = 20;/*** @dev Converts a `uint256` to its ASCII `string` decimal representation.*/function toString(uint256 value) internal pure returns (string memory) {unchecked {uint256 length = Math.log10(value) + 1;string memory buffer = new string(length);uint256 ptr;/// @solidity memory-safe-assemblyassembly {ptr := add(buffer, add(32, length))}while (true) {ptr--;/// @solidity memory-safe-assemblyassembly {mstore8(ptr, byte(mod(value, 10), _SYMBOLS))}value /= 10;if (value == 0) break;}return buffer;}}/**
@openzeppelin/contracts/utils/introspection/ERC165.sol
// 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;}}
@openzeppelin/contracts/utils/introspection/IERC165.sol
// 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);}
@openzeppelin/contracts/utils/math/Math.sol
// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.9.0) (utils/math/Math.sol)pragma solidity ^0.8.0;/*** @dev Standard math utilities missing in the Solidity language.*/library Math {enum Rounding {Down, // Toward negative infinityUp, // Toward infinityZero // Toward zero}/*** @dev Returns the largest of two numbers.*/function max(uint256 a, uint256 b) internal pure returns (uint256) {return a > b ? a : b;}/*** @dev Returns the smallest of two numbers.*/function min(uint256 a, uint256 b) internal pure returns (uint256) {return a < b ? a : b;}/*** @dev Returns the average of two numbers. The result is rounded towards* zero.*/function average(uint256 a, uint256 b) internal pure returns (uint256) {// (a + b) / 2 can overflow.return (a & b) + (a ^ b) / 2;}/*** @dev Returns the ceiling of the division of two numbers.*
@openzeppelin/contracts/utils/math/SignedMath.sol
// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/SignedMath.sol)pragma solidity ^0.8.0;/*** @dev Standard signed math utilities missing in the Solidity language.*/library SignedMath {/*** @dev Returns the largest of two signed numbers.*/function max(int256 a, int256 b) internal pure returns (int256) {return a > b ? a : b;}/*** @dev Returns the smallest of two signed numbers.*/function min(int256 a, int256 b) internal pure returns (int256) {return a < b ? a : b;}/*** @dev Returns the average of two signed numbers without overflow.* The result is rounded towards zero.*/function average(int256 a, int256 b) internal pure returns (int256) {// Formula from the book "Hacker's Delight"int256 x = (a & b) + ((a ^ b) >> 1);return x + (int256(uint256(x) >> 255) & (a ^ b));}/*** @dev Returns the absolute unsigned value of a signed value.*/function abs(int256 n) internal pure returns (uint256) {unchecked {// must be unchecked in order to support `n = type(int256).min`return uint256(n >= 0 ? n : -n);}
Compiler Settings
{"outputSelection":{"*":{"*":["*"],"":["*"]}},"optimizer":{"runs":200,"enabled":true},"libraries":{}}
Contract ABI
[{"type":"constructor","stateMutability":"nonpayable","inputs":[]},{"type":"event","name":"Approval","inputs":[{"type":"address","name":"owner","internalType":"address","indexed":true},{"type":"address","name":"approved","internalType":"address","indexed":true},{"type":"uint256","name":"tokenId","internalType":"uint256","indexed":true}],"anonymous":false},{"type":"event","name":"ApprovalForAll","inputs":[{"type":"address","name":"owner","internalType":"address","indexed":true},{"type":"address","name":"operator","internalType":"address","indexed":true},{"type":"bool","name":"approved","internalType":"bool","indexed":false}],"anonymous":false},{"type":"event","name":"BatchMetadataUpdate","inputs":[{"type":"uint256","name":"_fromTokenId","internalType":"uint256","indexed":false},{"type":"uint256","name":"_toTokenId","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"MetadataUpdate","inputs":[{"type":"uint256","name":"_tokenId","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"type":"address","name":"previousOwner","internalType":"address","indexed":true},{"type":"address","name":"newOwner","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"Transfer","inputs":[{"type":"address","name":"from","internalType":"address","indexed":true},{"type":"address","name":"to","internalType":"address","indexed":true},{"type":"uint256","name":"tokenId","internalType":"uint256","indexed":true}],"anonymous":false},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"approve","inputs":[{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"balanceOf","inputs":[{"type":"address","name":"owner","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"burn","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"getApproved","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"grantMintingPermission","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"isApprovedForAll","inputs":[{"type":"address","name":"owner","internalType":"address"},{"type":"address","name":"operator","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"name","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"owner","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"ownerOf","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"renounceOwnership","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"revokeMintingPermission","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"safeMint","inputs":[{"type":"address","name":"to","internalType":"address"},{"type":"string","name":"uri","internalType":"string"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"safeTransferFrom","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"safeTransferFrom","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"},{"type":"bytes","name":"data","internalType":"bytes"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"setApprovalForAll","inputs":[{"type":"address","name":"operator","internalType":"address"},{"type":"bool","name":"approved","internalType":"bool"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"supportsInterface","inputs":[{"type":"bytes4","name":"interfaceId","internalType":"bytes4"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"symbol","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"tokenURI","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferFrom","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferOwnership","inputs":[{"type":"address","name":"newOwner","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"updateNftTokenUri","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"},{"type":"string","name":"uri","internalType":"string"}]}]
Contract Creation Code
0x60806040523480156200001157600080fd5b50604080518082018252600b81526a11d95cdbdd195b8813999d60aa1b60208083019182528351808501909452600384526247455360e81b9084015281519192916200006091600091620000ef565b50805162000076906001906020840190620000ef565b505050620000936200008d6200009960201b60201c565b6200009d565b620001d2565b3390565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620000fd9062000195565b90600052602060002090601f0160209004810192826200012157600085556200016c565b82601f106200013c57805160ff19168380011785556200016c565b828001600101855582156200016c579182015b828111156200016c5782518255916020019190600101906200014f565b506200017a9291506200017e565b5090565b5b808211156200017a57600081556001016200017f565b600181811c90821680620001aa57607f821691505b60208210811415620001cc57634e487b7160e01b600052602260045260246000fd5b50919050565b611bab80620001e26000396000f3fe608060405234801561001057600080fd5b50600436106101375760003560e01c806370a08231116100b8578063b88d4fde1161007c578063b88d4fde14610280578063c87b56dd14610293578063cd2bb059146102a6578063d204c45e146102b9578063e985e9c5146102cc578063f2fde38b1461030857600080fd5b806370a0823114610239578063715018a61461024c5780638da5cb5b1461025457806395d89b4114610265578063a22cb4651461026d57600080fd5b806323b872dd116100ff57806323b872dd146101da578063267d1835146101ed57806342842e0e1461020057806342966c68146102135780636352211e1461022657600080fd5b806301ffc9a71461013c57806306fdde0314610164578063081812fc14610179578063095ea7b3146101a45780631d9ba08b146101b9575b600080fd5b61014f61014a366004611659565b61031b565b60405190151581526020015b60405180910390f35b61016c61032c565b60405161015b91906116ce565b61018c6101873660046116e1565b6103be565b6040516001600160a01b03909116815260200161015b565b6101b76101b2366004611716565b6103e5565b005b6101cc6101c73660046117ec565b610500565b60405190815260200161015b565b6101b76101e8366004611833565b6105d7565b6101b76101fb36600461186f565b610609565b6101b761020e366004611833565b610632565b6101b76102213660046116e1565b61064d565b61018c6102343660046116e1565b61067e565b6101cc61024736600461186f565b6106de565b6101b7610764565b6007546001600160a01b031661018c565b61016c610778565b6101b761027b36600461188a565b610787565b6101b761028e3660046118c6565b610796565b61016c6102a13660046116e1565b6107ce565b6101b76102b436600461186f565b6107d9565b6101b76102c7366004611942565b610805565b61014f6102da36600461197a565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6101b761031636600461186f565b6108a8565b60006103268261091e565b92915050565b60606000805461033b906119ad565b80601f0160208091040260200160405190810160405280929190818152602001828054610367906119ad565b80156103b45780601f10610389576101008083540402835291602001916103b4565b820191906000526020600020905b81548152906001019060200180831161039757829003601f168201915b5050505050905090565b60006103c982610943565b506000908152600460205260409020546001600160a01b031690565b60006103f08261067e565b9050806001600160a01b0316836001600160a01b031614156104635760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b038216148061047f575061047f81336102da565b6104f15760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000606482015260840161045a565b6104fb8383610993565b505050565b60003361050c8461067e565b6001600160a01b0316146105585760405162461bcd60e51b815260206004820152601360248201527224b73b30b634b2103a37b5b2b71037bbb732b960691b604482015260640161045a565b61056183610a01565b6105a95760405162461bcd60e51b8152602060048201526019602482015278151a19481d1bdad95b88191bd95cc81b9bdd08195e1cda5cdd603a1b604482015260640161045a565b6105b38383610a1e565b60405183903390600090600080516020611b56833981519152908290a45090919050565b6105e2335b82610ae1565b6105fe5760405162461bcd60e51b815260040161045a906119e8565b6104fb838383610b60565b610611610cb2565b6001600160a01b03166000908152600960205260409020805460ff19169055565b6104fb83838360405180602001604052806000815250610796565b610656336105dc565b6106725760405162461bcd60e51b815260040161045a906119e8565b61067b81610d0c565b50565b6000818152600260205260408120546001600160a01b0316806103265760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b604482015260640161045a565b60006001600160a01b0382166107485760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b606482015260840161045a565b506001600160a01b031660009081526003602052604090205490565b61076c610cb2565b6107766000610d66565b565b60606001805461033b906119ad565b610792338383610db8565b5050565b6107a03383610ae1565b6107bc5760405162461bcd60e51b815260040161045a906119e8565b6107c884848484610e87565b50505050565b606061032682610eba565b6107e1610cb2565b6001600160a01b03166000908152600960205260409020805460ff19166001179055565b6007546001600160a01b031633148061082d57503360009081526009602052604090205460ff165b6108795760405162461bcd60e51b815260206004820152601b60248201527f4e6f7420746865206f776e6572206f7220617574686f72697a65640000000000604482015260640161045a565b600061088460085490565b9050610894600880546001019055565b61089e8382610fc3565b6104fb8183610a1e565b6108b0610cb2565b6001600160a01b0381166109155760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161045a565b61067b81610d66565b60006001600160e01b03198216632483248360e11b1480610326575061032682610fdd565b61094c81610a01565b61067b5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b604482015260640161045a565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906109c88261067e565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000908152600260205260409020546001600160a01b0316151590565b610a2782610a01565b610a8a5760405162461bcd60e51b815260206004820152602e60248201527f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60448201526d32bc34b9ba32b73a103a37b5b2b760911b606482015260840161045a565b60008281526006602090815260409091208251610aa992840190611574565b506040518281527ff8e1a15aba9398e019f0b49df1a4fde98ee17ae345cb5f6b5e2c27f5033e8ce79060200160405180910390a15050565b600080610aed8361067e565b9050806001600160a01b0316846001600160a01b03161480610b3457506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b80610b585750836001600160a01b0316610b4d846103be565b6001600160a01b0316145b949350505050565b826001600160a01b0316610b738261067e565b6001600160a01b031614610b995760405162461bcd60e51b815260040161045a90611a35565b6001600160a01b038216610bfb5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161045a565b826001600160a01b0316610c0e8261067e565b6001600160a01b031614610c345760405162461bcd60e51b815260040161045a90611a35565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b038781168086526003855283862080546000190190559087168086528386208054600101905586865260029094528285208054909216841790915590518493600080516020611b5683398151915291a4505050565b6007546001600160a01b031633146107765760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161045a565b610d1581610a01565b610d5d5760405162461bcd60e51b8152602060048201526019602482015278151a19481d1bdad95b88191bd95cc81b9bdd08195e1cda5cdd603a1b604482015260640161045a565b61067b8161102d565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b03161415610e1a5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161045a565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b610e92848484610b60565b610e9e8484848461106d565b6107c85760405162461bcd60e51b815260040161045a90611a7a565b6060610ec582610943565b60008281526006602052604081208054610ede906119ad565b80601f0160208091040260200160405190810160405280929190818152602001828054610f0a906119ad565b8015610f575780601f10610f2c57610100808354040283529160200191610f57565b820191906000526020600020905b815481529060010190602001808311610f3a57829003601f168201915b505050505090506000610f7560408051602081019091526000815290565b9050805160001415610f88575092915050565b815115610fba578082604051602001610fa2929190611acc565b60405160208183030381529060405292505050919050565b610b588461117a565b6107928282604051806020016040528060008152506111ee565b60006001600160e01b031982166380ac58cd60e01b148061100e57506001600160e01b03198216635b5e139f60e01b145b8061032657506301ffc9a760e01b6001600160e01b0319831614610326565b61103681611221565b6000818152600660205260409020805461104f906119ad565b15905061067b57600081815260066020526040812061067b916115f8565b60006001600160a01b0384163b1561116f57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906110b1903390899088908890600401611afb565b602060405180830381600087803b1580156110cb57600080fd5b505af19250505080156110fb575060408051601f3d908101601f191682019092526110f891810190611b38565b60015b611155573d808015611129576040519150601f19603f3d011682016040523d82523d6000602084013e61112e565b606091505b50805161114d5760405162461bcd60e51b815260040161045a90611a7a565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610b58565b506001949350505050565b606061118582610943565b600061119c60408051602081019091526000815290565b905060008151116111bc57604051806020016040528060008152506111e7565b806111c6846112a4565b6040516020016111d7929190611acc565b6040516020818303038152906040525b9392505050565b6111f88383611341565b611205600084848461106d565b6104fb5760405162461bcd60e51b815260040161045a90611a7a565b600061122c8261067e565b90506112378261067e565b600083815260046020908152604080832080546001600160a01b03199081169091556001600160a01b038516808552600384528285208054600019019055878552600290935281842080549091169055519293508492600080516020611b56833981519152908390a45050565b606060006112b18361149c565b600101905060008167ffffffffffffffff8111156112d1576112d1611740565b6040519080825280601f01601f1916602001820160405280156112fb576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461133457611339565b611305565b509392505050565b6001600160a01b0382166113975760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161045a565b6113a081610a01565b156113ed5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161045a565b6113f681610a01565b156114435760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161045a565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b031916841790555183929190600080516020611b56833981519152908290a45050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106114db5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611507576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061152557662386f26fc10000830492506010015b6305f5e100831061153d576305f5e100830492506008015b612710831061155157612710830492506004015b60648310611563576064830492506002015b600a83106103265760010192915050565b828054611580906119ad565b90600052602060002090601f0160209004810192826115a257600085556115e8565b82601f106115bb57805160ff19168380011785556115e8565b828001600101855582156115e8579182015b828111156115e85782518255916020019190600101906115cd565b506115f492915061162e565b5090565b508054611604906119ad565b6000825580601f10611614575050565b601f01602090049060005260206000209081019061067b91905b5b808211156115f4576000815560010161162f565b6001600160e01b03198116811461067b57600080fd5b60006020828403121561166b57600080fd5b81356111e781611643565b60005b83811015611691578181015183820152602001611679565b838111156107c85750506000910152565b600081518084526116ba816020860160208601611676565b601f01601f19169290920160200192915050565b6020815260006111e760208301846116a2565b6000602082840312156116f357600080fd5b5035919050565b80356001600160a01b038116811461171157600080fd5b919050565b6000806040838503121561172957600080fd5b611732836116fa565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561177157611771611740565b604051601f8501601f19908116603f0116810190828211818310171561179957611799611740565b816040528093508581528686860111156117b257600080fd5b858560208301376000602087830101525050509392505050565b600082601f8301126117dd57600080fd5b6111e783833560208501611756565b600080604083850312156117ff57600080fd5b82359150602083013567ffffffffffffffff81111561181d57600080fd5b611829858286016117cc565b9150509250929050565b60008060006060848603121561184857600080fd5b611851846116fa565b925061185f602085016116fa565b9150604084013590509250925092565b60006020828403121561188157600080fd5b6111e7826116fa565b6000806040838503121561189d57600080fd5b6118a6836116fa565b9150602083013580151581146118bb57600080fd5b809150509250929050565b600080600080608085870312156118dc57600080fd5b6118e5856116fa565b93506118f3602086016116fa565b925060408501359150606085013567ffffffffffffffff81111561191657600080fd5b8501601f8101871361192757600080fd5b61193687823560208401611756565b91505092959194509250565b6000806040838503121561195557600080fd5b61195e836116fa565b9150602083013567ffffffffffffffff81111561181d57600080fd5b6000806040838503121561198d57600080fd5b611996836116fa565b91506119a4602084016116fa565b90509250929050565b600181811c908216806119c157607f821691505b602082108114156119e257634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60008351611ade818460208801611676565b835190830190611af2818360208801611676565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611b2e908301846116a2565b9695505050505050565b600060208284031215611b4a57600080fd5b81516111e78161164356feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212201afbe8bd0b0c747add6769cb912d902aa002e6ce33f7f8636d7da581f46b4caa64736f6c63430008090033
Deployed ByteCode
0x608060405234801561001057600080fd5b50600436106101375760003560e01c806370a08231116100b8578063b88d4fde1161007c578063b88d4fde14610280578063c87b56dd14610293578063cd2bb059146102a6578063d204c45e146102b9578063e985e9c5146102cc578063f2fde38b1461030857600080fd5b806370a0823114610239578063715018a61461024c5780638da5cb5b1461025457806395d89b4114610265578063a22cb4651461026d57600080fd5b806323b872dd116100ff57806323b872dd146101da578063267d1835146101ed57806342842e0e1461020057806342966c68146102135780636352211e1461022657600080fd5b806301ffc9a71461013c57806306fdde0314610164578063081812fc14610179578063095ea7b3146101a45780631d9ba08b146101b9575b600080fd5b61014f61014a366004611659565b61031b565b60405190151581526020015b60405180910390f35b61016c61032c565b60405161015b91906116ce565b61018c6101873660046116e1565b6103be565b6040516001600160a01b03909116815260200161015b565b6101b76101b2366004611716565b6103e5565b005b6101cc6101c73660046117ec565b610500565b60405190815260200161015b565b6101b76101e8366004611833565b6105d7565b6101b76101fb36600461186f565b610609565b6101b761020e366004611833565b610632565b6101b76102213660046116e1565b61064d565b61018c6102343660046116e1565b61067e565b6101cc61024736600461186f565b6106de565b6101b7610764565b6007546001600160a01b031661018c565b61016c610778565b6101b761027b36600461188a565b610787565b6101b761028e3660046118c6565b610796565b61016c6102a13660046116e1565b6107ce565b6101b76102b436600461186f565b6107d9565b6101b76102c7366004611942565b610805565b61014f6102da36600461197a565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b6101b761031636600461186f565b6108a8565b60006103268261091e565b92915050565b60606000805461033b906119ad565b80601f0160208091040260200160405190810160405280929190818152602001828054610367906119ad565b80156103b45780601f10610389576101008083540402835291602001916103b4565b820191906000526020600020905b81548152906001019060200180831161039757829003601f168201915b5050505050905090565b60006103c982610943565b506000908152600460205260409020546001600160a01b031690565b60006103f08261067e565b9050806001600160a01b0316836001600160a01b031614156104635760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b038216148061047f575061047f81336102da565b6104f15760405162461bcd60e51b815260206004820152603d60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206f7220617070726f76656420666f7220616c6c000000606482015260840161045a565b6104fb8383610993565b505050565b60003361050c8461067e565b6001600160a01b0316146105585760405162461bcd60e51b815260206004820152601360248201527224b73b30b634b2103a37b5b2b71037bbb732b960691b604482015260640161045a565b61056183610a01565b6105a95760405162461bcd60e51b8152602060048201526019602482015278151a19481d1bdad95b88191bd95cc81b9bdd08195e1cda5cdd603a1b604482015260640161045a565b6105b38383610a1e565b60405183903390600090600080516020611b56833981519152908290a45090919050565b6105e2335b82610ae1565b6105fe5760405162461bcd60e51b815260040161045a906119e8565b6104fb838383610b60565b610611610cb2565b6001600160a01b03166000908152600960205260409020805460ff19169055565b6104fb83838360405180602001604052806000815250610796565b610656336105dc565b6106725760405162461bcd60e51b815260040161045a906119e8565b61067b81610d0c565b50565b6000818152600260205260408120546001600160a01b0316806103265760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b604482015260640161045a565b60006001600160a01b0382166107485760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b606482015260840161045a565b506001600160a01b031660009081526003602052604090205490565b61076c610cb2565b6107766000610d66565b565b60606001805461033b906119ad565b610792338383610db8565b5050565b6107a03383610ae1565b6107bc5760405162461bcd60e51b815260040161045a906119e8565b6107c884848484610e87565b50505050565b606061032682610eba565b6107e1610cb2565b6001600160a01b03166000908152600960205260409020805460ff19166001179055565b6007546001600160a01b031633148061082d57503360009081526009602052604090205460ff165b6108795760405162461bcd60e51b815260206004820152601b60248201527f4e6f7420746865206f776e6572206f7220617574686f72697a65640000000000604482015260640161045a565b600061088460085490565b9050610894600880546001019055565b61089e8382610fc3565b6104fb8183610a1e565b6108b0610cb2565b6001600160a01b0381166109155760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161045a565b61067b81610d66565b60006001600160e01b03198216632483248360e11b1480610326575061032682610fdd565b61094c81610a01565b61067b5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b604482015260640161045a565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906109c88261067e565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000908152600260205260409020546001600160a01b0316151590565b610a2782610a01565b610a8a5760405162461bcd60e51b815260206004820152602e60248201527f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60448201526d32bc34b9ba32b73a103a37b5b2b760911b606482015260840161045a565b60008281526006602090815260409091208251610aa992840190611574565b506040518281527ff8e1a15aba9398e019f0b49df1a4fde98ee17ae345cb5f6b5e2c27f5033e8ce79060200160405180910390a15050565b600080610aed8361067e565b9050806001600160a01b0316846001600160a01b03161480610b3457506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b80610b585750836001600160a01b0316610b4d846103be565b6001600160a01b0316145b949350505050565b826001600160a01b0316610b738261067e565b6001600160a01b031614610b995760405162461bcd60e51b815260040161045a90611a35565b6001600160a01b038216610bfb5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b606482015260840161045a565b826001600160a01b0316610c0e8261067e565b6001600160a01b031614610c345760405162461bcd60e51b815260040161045a90611a35565b600081815260046020908152604080832080546001600160a01b03199081169091556001600160a01b038781168086526003855283862080546000190190559087168086528386208054600101905586865260029094528285208054909216841790915590518493600080516020611b5683398151915291a4505050565b6007546001600160a01b031633146107765760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161045a565b610d1581610a01565b610d5d5760405162461bcd60e51b8152602060048201526019602482015278151a19481d1bdad95b88191bd95cc81b9bdd08195e1cda5cdd603a1b604482015260640161045a565b61067b8161102d565b600780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b03161415610e1a5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640161045a565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b610e92848484610b60565b610e9e8484848461106d565b6107c85760405162461bcd60e51b815260040161045a90611a7a565b6060610ec582610943565b60008281526006602052604081208054610ede906119ad565b80601f0160208091040260200160405190810160405280929190818152602001828054610f0a906119ad565b8015610f575780601f10610f2c57610100808354040283529160200191610f57565b820191906000526020600020905b815481529060010190602001808311610f3a57829003601f168201915b505050505090506000610f7560408051602081019091526000815290565b9050805160001415610f88575092915050565b815115610fba578082604051602001610fa2929190611acc565b60405160208183030381529060405292505050919050565b610b588461117a565b6107928282604051806020016040528060008152506111ee565b60006001600160e01b031982166380ac58cd60e01b148061100e57506001600160e01b03198216635b5e139f60e01b145b8061032657506301ffc9a760e01b6001600160e01b0319831614610326565b61103681611221565b6000818152600660205260409020805461104f906119ad565b15905061067b57600081815260066020526040812061067b916115f8565b60006001600160a01b0384163b1561116f57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906110b1903390899088908890600401611afb565b602060405180830381600087803b1580156110cb57600080fd5b505af19250505080156110fb575060408051601f3d908101601f191682019092526110f891810190611b38565b60015b611155573d808015611129576040519150601f19603f3d011682016040523d82523d6000602084013e61112e565b606091505b50805161114d5760405162461bcd60e51b815260040161045a90611a7a565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610b58565b506001949350505050565b606061118582610943565b600061119c60408051602081019091526000815290565b905060008151116111bc57604051806020016040528060008152506111e7565b806111c6846112a4565b6040516020016111d7929190611acc565b6040516020818303038152906040525b9392505050565b6111f88383611341565b611205600084848461106d565b6104fb5760405162461bcd60e51b815260040161045a90611a7a565b600061122c8261067e565b90506112378261067e565b600083815260046020908152604080832080546001600160a01b03199081169091556001600160a01b038516808552600384528285208054600019019055878552600290935281842080549091169055519293508492600080516020611b56833981519152908390a45050565b606060006112b18361149c565b600101905060008167ffffffffffffffff8111156112d1576112d1611740565b6040519080825280601f01601f1916602001820160405280156112fb576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a850494508461133457611339565b611305565b509392505050565b6001600160a01b0382166113975760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015260640161045a565b6113a081610a01565b156113ed5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161045a565b6113f681610a01565b156114435760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640161045a565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b031916841790555183929190600080516020611b56833981519152908290a45050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b83106114db5772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611507576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc10000831061152557662386f26fc10000830492506010015b6305f5e100831061153d576305f5e100830492506008015b612710831061155157612710830492506004015b60648310611563576064830492506002015b600a83106103265760010192915050565b828054611580906119ad565b90600052602060002090601f0160209004810192826115a257600085556115e8565b82601f106115bb57805160ff19168380011785556115e8565b828001600101855582156115e8579182015b828111156115e85782518255916020019190600101906115cd565b506115f492915061162e565b5090565b508054611604906119ad565b6000825580601f10611614575050565b601f01602090049060005260206000209081019061067b91905b5b808211156115f4576000815560010161162f565b6001600160e01b03198116811461067b57600080fd5b60006020828403121561166b57600080fd5b81356111e781611643565b60005b83811015611691578181015183820152602001611679565b838111156107c85750506000910152565b600081518084526116ba816020860160208601611676565b601f01601f19169290920160200192915050565b6020815260006111e760208301846116a2565b6000602082840312156116f357600080fd5b5035919050565b80356001600160a01b038116811461171157600080fd5b919050565b6000806040838503121561172957600080fd5b611732836116fa565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561177157611771611740565b604051601f8501601f19908116603f0116810190828211818310171561179957611799611740565b816040528093508581528686860111156117b257600080fd5b858560208301376000602087830101525050509392505050565b600082601f8301126117dd57600080fd5b6111e783833560208501611756565b600080604083850312156117ff57600080fd5b82359150602083013567ffffffffffffffff81111561181d57600080fd5b611829858286016117cc565b9150509250929050565b60008060006060848603121561184857600080fd5b611851846116fa565b925061185f602085016116fa565b9150604084013590509250925092565b60006020828403121561188157600080fd5b6111e7826116fa565b6000806040838503121561189d57600080fd5b6118a6836116fa565b9150602083013580151581146118bb57600080fd5b809150509250929050565b600080600080608085870312156118dc57600080fd5b6118e5856116fa565b93506118f3602086016116fa565b925060408501359150606085013567ffffffffffffffff81111561191657600080fd5b8501601f8101871361192757600080fd5b61193687823560208401611756565b91505092959194509250565b6000806040838503121561195557600080fd5b61195e836116fa565b9150602083013567ffffffffffffffff81111561181d57600080fd5b6000806040838503121561198d57600080fd5b611996836116fa565b91506119a4602084016116fa565b90509250929050565b600181811c908216806119c157607f821691505b602082108114156119e257634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252602d908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526c1c881bdc88185c1c1c9bdd9959609a1b606082015260800190565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60008351611ade818460208801611676565b835190830190611af2818360208801611676565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611b2e908301846116a2565b9695505050505050565b600060208284031215611b4a57600080fd5b81516111e78161164356feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212201afbe8bd0b0c747add6769cb912d902aa002e6ce33f7f8636d7da581f46b4caa64736f6c63430008090033