- Contract name:
- MintNFT
- Optimization enabled
- true
- Compiler version
- v0.8.10+commit.fc410830
- Optimization runs
- 200
- Verified at
- 2022-07-25T08:00:20.534139Z
contracts/MintNFT.sol
// SPDX-License-Identifier: MITpragma solidity 0.8.10;import "./base/NFTBase.sol";import "./interfaces/IMintNFT.sol";import "./interfaces/IWeb3Entry.sol";import "@openzeppelin/contracts/utils/Counters.sol";import "@openzeppelin/contracts/proxy/utils/Initializable.sol";contract MintNFT is NFTBase, IMintNFT, Initializable {using Counters for Counters.Counter;address public Web3Entry;uint256 internal _characterId;uint256 internal _noteId;Counters.Counter internal _tokenIdCounter;function initialize(uint256 characterId,uint256 noteId,address web3Entry,string calldata name,string calldata symbol) external initializer {super._initialize(name, symbol);_characterId = characterId;_noteId = noteId;Web3Entry = web3Entry;emit Events.MintNFTInitialized(characterId, noteId, block.timestamp);}function mint(address to) external returns (uint256) {require(msg.sender == Web3Entry, "MintNFT: NotWeb3Entry");_tokenIdCounter.increment();_mint(to, _tokenIdCounter.current());return _tokenIdCounter.current();}
contracts/libraries/DataTypes.sol
// SPDX-License-Identifier: MITpragma solidity 0.8.10;library DataTypes {struct CreateCharacterData {address to;string handle;string uri;address linkModule;bytes linkModuleInitData;}struct createThenLinkCharacterData {uint256 fromCharacterId;address to;bytes32 linkType;}struct linkNoteData {uint256 fromCharacterId;uint256 toCharacterId;uint256 toNoteId;bytes32 linkType;bytes data;}struct unlinkNoteData {uint256 fromCharacterId;uint256 toCharacterId;uint256 toNoteId;bytes32 linkType;}struct linkCharacterData {uint256 fromCharacterId;uint256 toCharacterId;bytes32 linkType;bytes data;}
@openzeppelin/contracts/proxy/utils/Initializable.sol
// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.5.0) (proxy/utils/Initializable.sol)pragma solidity ^0.8.0;import "../../utils/Address.sol";/*** @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed* behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an* external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer* function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.** TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as* possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.** CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure* that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.** [CAUTION]* ====* Avoid leaving a contract uninitialized.** An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation* contract, which may impact the proxy. To initialize the implementation contract, you can either invoke the* initializer manually, or you can include a constructor to automatically mark it as initialized when it is deployed:** [.hljs-theme-light.nopadding]* ```* /// @custom:oz-upgrades-unsafe-allow constructor* constructor() initializer {}* ```* ====*/abstract contract Initializable {/*** @dev Indicates that the contract has been initialized.*/bool private _initialized;/**
@openzeppelin/contracts/token/ERC721/IERC721.sol
// 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);/**
@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol
// SPDX-License-Identifier: MIT// OpenZeppelin Contracts v4.4.1 (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 `IERC721.onERC721Received.selector`.*/function onERC721Received(address operator,address from,uint256 tokenId,bytes calldata data) external returns (bytes4);}
@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol
// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)pragma solidity ^0.8.0;import "../IERC721.sol";/*** @title ERC-721 Non-Fungible Token Standard, optional enumeration extension* @dev See https://eips.ethereum.org/EIPS/eip-721*/interface IERC721Enumerable is IERC721 {/*** @dev Returns the total amount of tokens stored by the contract.*/function totalSupply() external view returns (uint256);/*** @dev Returns a token ID owned by `owner` at a given `index` of its token list.* Use along with {balanceOf} to enumerate all of ``owner``'s tokens.*/function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256);/*** @dev Returns a token ID at a given `index` of all the tokens stored by the contract.* Use along with {totalSupply} to enumerate all tokens.*/function tokenByIndex(uint256 index) external view returns (uint256);}
@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.5.0) (utils/Address.sol)pragma solidity ^0.8.1;/*** @dev Collection of functions related to the address type*/library Address {/*** @dev Returns true if `account` is a contract.** [IMPORTANT]* ====* It is unsafe to assume that an address for which this function returns* false is an externally-owned account (EOA) and not a contract.** Among others, `isContract` will return false for the following* types of addresses:** - an externally-owned account* - a contract in construction* - an address where a contract will be created* - an address where a contract lived, but was destroyed* ====** [IMPORTANT]* ====* You shouldn't rely on `isContract` to protect against flash loan attacks!** Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets* like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract* constructor.* ====*/function isContract(address account) internal view returns (bool) {// This method relies on extcodesize/address.code.length, which returns 0// for contracts in construction, since the code is only stored at the end// of the constructor execution.return account.code.length > 0;
@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 v4.4.1 (utils/Strings.sol)pragma solidity ^0.8.0;/*** @dev String operations.*/library Strings {bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";/*** @dev Converts a `uint256` to its ASCII `string` decimal representation.*/function toString(uint256 value) internal pure returns (string memory) {// Inspired by OraclizeAPI's implementation - MIT licence// https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.solif (value == 0) {return "0";}uint256 temp = value;uint256 digits;while (temp != 0) {digits++;temp /= 10;}bytes memory buffer = new bytes(digits);while (value != 0) {digits -= 1;buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));value /= 10;}return string(buffer);}/*** @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.*/function toHexString(uint256 value) internal pure returns (string memory) {if (value == 0) {
@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);}
contracts/base/ERC721.sol
// SPDX-License-Identifier: MITpragma solidity 0.8.10;import "@openzeppelin/contracts/token/ERC721/IERC721.sol";import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol";import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol";import "@openzeppelin/contracts/utils/Address.sol";import "@openzeppelin/contracts/utils/Context.sol";import "@openzeppelin/contracts/utils/Strings.sol";import "@openzeppelin/contracts/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;function __ERC721_Init(string calldata name_, string calldata symbol_) internal {_name = name_;
contracts/base/ERC721Enumerable.sol
// SPDX-License-Identifier: MITpragma solidity 0.8.10;import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol";import "./ERC721.sol";abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {// Mapping from owner to list of owned token IDsmapping(address => mapping(uint256 => uint256)) private _ownedTokens;// Mapping from token ID to index of the owner tokens listmapping(uint256 => uint256) private _ownedTokensIndex;// Array with all token ids, used for enumerationuint256[] private _allTokens;// Mapping from token id to position in the allTokens arraymapping(uint256 => uint256) private _allTokensIndex;/*** @dev See {IERC165-supportsInterface}.*/function supportsInterface(bytes4 interfaceId)publicviewvirtualoverride(IERC165, ERC721)returns (bool){returninterfaceId == type(IERC721Enumerable).interfaceId ||super.supportsInterface(interfaceId);}/*** @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.*/function tokenOfOwnerByIndex(address owner, uint256 index)publicview
contracts/base/NFTBase.sol
// SPDX-License-Identifier: MITpragma solidity 0.8.10;import "./ERC721Enumerable.sol";import "../libraries/Events.sol";abstract contract NFTBase is ERC721Enumerable {function _initialize(string calldata name, string calldata symbol) internal {ERC721.__ERC721_Init(name, symbol);emit Events.BaseInitialized(name, symbol, block.timestamp);}function burn(uint256 tokenId) public virtual {require(_isApprovedOrOwner(msg.sender, tokenId), "NFTBase: NotOwnerOrApproved");_burn(tokenId);}}
contracts/interfaces/IMintNFT.sol
// SPDX-License-Identifier: MITpragma solidity 0.8.10;interface IMintNFT {function initialize(uint256 characterId,uint256 noteId,address web3Entry,string calldata name,string calldata symbol) external;function mint(address to) external returns (uint256);function getSourcePublicationPointer() external view returns (uint256, uint256);}
contracts/interfaces/IWeb3Entry.sol
// SPDX-License-Identifier: MITpragma solidity 0.8.10;import "../libraries/DataTypes.sol";interface IWeb3Entry {function initialize(string calldata _name,string calldata _symbol,address _linklistContract,address _mintNFTImpl,address _periphery,address resolver) external;function createCharacter(DataTypes.CreateCharacterData calldata vars) external;function setHandle(uint256 characterId, string calldata newHandle) external;function setSocialToken(uint256 characterId, address tokenAddress) external;function setCharacterUri(uint256 characterId, string calldata newUri) external;function setPrimaryCharacterId(uint256 characterId) external;function setOperator(uint256 characterId, address operator) external;function setLinklistUri(uint256 linkListId, string calldata uri) external;function linkAddress(DataTypes.linkAddressData calldata vars) external;function unlinkAddress(DataTypes.unlinkAddressData calldata vars) external;function linkCharacter(DataTypes.linkCharacterData calldata vars) external;function unlinkCharacter(DataTypes.unlinkCharacterData calldata vars) external;function createThenLinkCharacter(DataTypes.createThenLinkCharacterData calldata vars) external;function linkNote(DataTypes.linkNoteData calldata vars) external;
contracts/libraries/Events.sol
// SPDX-License-Identifier: MITpragma solidity 0.8.10;library Events {event BaseInitialized(string name, string symbol, uint256 timestamp);event Web3EntryInitialized(uint256 timestamp);event LinklistNFTInitialized(uint256 timestamp);event MintNFTInitialized(uint256 characterId, uint256 noteId, uint256 timestamp);event CharacterCreated(uint256 indexed characterId,address indexed creator,address indexed to,string handle,uint256 timestamp);event SetPrimaryCharacterId(address indexed account,uint256 indexed characterId,uint256 indexed oldCharacterId);event SetHandle(address indexed account, uint256 indexed characterId, string newHandle);event SetSocialToken(address indexed account,uint256 indexed characterId,address indexed tokenAddress);event SetOperator(uint256 indexed characterId, address indexed operator, uint256 timestamp);event SetCharacterUri(uint256 indexed characterId, string newUri);event PostNote(uint256 indexed characterId,
Contract ABI
[{"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":"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":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"Web3Entry","inputs":[]},{"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":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"},{"type":"uint256","name":"","internalType":"uint256"}],"name":"getSourcePublicationPointer","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"initialize","inputs":[{"type":"uint256","name":"characterId","internalType":"uint256"},{"type":"uint256","name":"noteId","internalType":"uint256"},{"type":"address","name":"web3Entry","internalType":"address"},{"type":"string","name":"name","internalType":"string"},{"type":"string","name":"symbol","internalType":"string"}]},{"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":"nonpayable","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"mint","inputs":[{"type":"address","name":"to","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":"ownerOf","inputs":[{"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":"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":"uint256","name":"","internalType":"uint256"}],"name":"tokenByIndex","inputs":[{"type":"uint256","name":"index","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"tokenOfOwnerByIndex","inputs":[{"type":"address","name":"owner","internalType":"address"},{"type":"uint256","name":"index","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"tokenURI","inputs":[{"type":"uint256","name":"tokenId","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalSupply","inputs":[]},{"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"}]}]
Contract Creation Code
0x608060405234801561001057600080fd5b50611b01806100206000396000f3fe608060405234801561001057600080fd5b50600436106101375760003560e01c806342966c68116100b857806395d89b411161007c57806395d89b4114610291578063a22cb46514610299578063b88d4fde146102ac578063c5a5ed51146102bf578063c87b56dd146102d8578063e985e9c5146102eb57600080fd5b806342966c68146102325780634f6ccce7146102455780636352211e146102585780636a6278421461026b57806370a082311461027e57600080fd5b806323b872dd116100ff57806323b872dd146101cb5780632f745c59146101de5780632fd6b886146101f15780633a755ed11461020457806342842e0e1461021f57600080fd5b806301ffc9a71461013c57806306fdde0314610164578063081812fc14610179578063095ea7b3146101a457806318160ddd146101b9575b600080fd5b61014f61014a3660046113bb565b610327565b60405190151581526020015b60405180910390f35b61016c610352565b60405161015b9190611437565b61018c61018736600461144a565b6103e4565b6040516001600160a01b03909116815260200161015b565b6101b76101b2366004611478565b61047e565b005b6008545b60405190815260200161015b565b6101b76101d93660046114a4565b610594565b6101bd6101ec366004611478565b6105c5565b6101b76101ff36600461152e565b61065b565b600b54600c546040805192835260208301919091520161015b565b6101b761022d3660046114a4565b610793565b6101b761024036600461144a565b6107ae565b6101bd61025336600461144a565b610810565b61018c61026636600461144a565b6108a3565b6101bd6102793660046115c4565b61091a565b6101bd61028c3660046115c4565b61099d565b61016c610a24565b6101b76102a73660046115ef565b610a33565b6101b76102ba3660046116c1565b610a42565b600a5461018c906201000090046001600160a01b031681565b61016c6102e636600461144a565b610a7a565b61014f6102f9366004611770565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b60006001600160e01b0319821663780e9d6360e01b148061034c575061034c82610b6d565b92915050565b6060600080546103619061179e565b80601f016020809104026020016040519081016040528092919081815260200182805461038d9061179e565b80156103da5780601f106103af576101008083540402835291602001916103da565b820191906000526020600020905b8154815290600101906020018083116103bd57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166104625760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610489826108a3565b9050806001600160a01b0316836001600160a01b031614156104f75760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610459565b336001600160a01b0382161480610513575061051381336102f9565b6105855760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610459565b61058f8383610bbd565b505050565b61059e3382610c2b565b6105ba5760405162461bcd60e51b8152600401610459906117d9565b61058f838383610d22565b60006105d08361099d565b82106106325760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610459565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a54610100900460ff1661067657600a5460ff161561067a565b303b155b6106dd5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610459565b600a54610100900460ff161580156106ff57600a805461ffff19166101011790555b61070b85858585610ebe565b600b889055600c879055600a805462010000600160b01b031916620100006001600160a01b038916021790556040805189815260208101899052428183015290517f6f606e3871b6f24ddc0daa88a8ed8e8761eb9d1474e64322940f858df287de50916060908290030190a1801561078957600a805461ff00191690555b5050505050505050565b61058f83838360405180602001604052806000815250610a42565b6107b83382610c2b565b6108045760405162461bcd60e51b815260206004820152601b60248201527f4e4654426173653a204e6f744f776e65724f72417070726f76656400000000006044820152606401610459565b61080d81610f0f565b50565b600061081b60085490565b821061087e5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610459565b600882815481106108915761089161182a565b90600052602060002001549050919050565b6000818152600260205260408120546001600160a01b03168061034c5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610459565b600a546000906201000090046001600160a01b031633146109755760405162461bcd60e51b81526020600482015260156024820152744d696e744e46543a204e6f7457656233456e74727960581b6044820152606401610459565b610983600d80546001019055565b61099582610990600d5490565b610faa565b600d5461034c565b60006001600160a01b038216610a085760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610459565b506001600160a01b031660009081526003602052604090205490565b6060600180546103619061179e565b610a3e3383836110ec565b5050565b610a4c3383610c2b565b610a685760405162461bcd60e51b8152600401610459906117d9565b610a74848484846111bb565b50505050565b6000818152600260205260409020546060906001600160a01b0316610ae15760405162461bcd60e51b815260206004820152601a60248201527f4d696e744e46543a20546f6b656e446f65734e6f7445786973740000000000006044820152606401610459565b600a54600b54600c546040516301b6923d60e71b815260048101929092526024820152620100009091046001600160a01b03169063db491e8090604401600060405180830381865afa158015610b3b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610b6391908101906118a0565b6040015192915050565b60006001600160e01b031982166380ac58cd60e01b1480610b9e57506001600160e01b03198216635b5e139f60e01b145b8061034c57506301ffc9a760e01b6001600160e01b031983161461034c565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610bf2826108a3565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316610ca45760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610459565b6000610caf836108a3565b9050806001600160a01b0316846001600160a01b03161480610cea5750836001600160a01b0316610cdf846103e4565b6001600160a01b0316145b80610d1a57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316610d35826108a3565b6001600160a01b031614610d995760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610459565b6001600160a01b038216610dfb5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610459565b610e06600082610bbd565b6001600160a01b0383166000908152600360205260408120805460019290610e2f90849061198d565b90915550506001600160a01b0382166000908152600360205260408120805460019290610e5d9084906119a4565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b610eca848484846111ee565b7f414cd0b34676984f09a5f76ce9718d4062e50283abe0e7e274a9a5b4e0c99c308484848442604051610f019594939291906119e5565b60405180910390a150505050565b6000610f1a826108a3565b9050610f27600083610bbd565b6001600160a01b0381166000908152600360205260408120805460019290610f5090849061198d565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6001600160a01b0382166110005760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610459565b6000818152600260205260409020546001600160a01b0316156110655760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610459565b6001600160a01b038216600090815260036020526040812080546001929061108e9084906119a4565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b816001600160a01b0316836001600160a01b0316141561114e5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610459565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6111c6848484610d22565b6111d28484848461120e565b610a745760405162461bcd60e51b815260040161045990611a1f565b6111fa6000858561130c565b506112076001838361130c565b5050505050565b60006001600160a01b0384163b1561130157604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611252903390899088908890600401611a71565b6020604051808303816000875af192505050801561128d575060408051601f3d908101601f1916820190925261128a91810190611aae565b60015b6112e7573d8080156112bb576040519150601f19603f3d011682016040523d82523d6000602084013e6112c0565b606091505b5080516112df5760405162461bcd60e51b815260040161045990611a1f565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610d1a565b506001949350505050565b8280546113189061179e565b90600052602060002090601f01602090048101928261133a5760008555611380565b82601f106113535782800160ff19823516178555611380565b82800160010185558215611380579182015b82811115611380578235825591602001919060010190611365565b5061138c929150611390565b5090565b5b8082111561138c5760008155600101611391565b6001600160e01b03198116811461080d57600080fd5b6000602082840312156113cd57600080fd5b81356113d8816113a5565b9392505050565b60005b838110156113fa5781810151838201526020016113e2565b83811115610a745750506000910152565b600081518084526114238160208601602086016113df565b601f01601f19169290920160200192915050565b6020815260006113d8602083018461140b565b60006020828403121561145c57600080fd5b5035919050565b6001600160a01b038116811461080d57600080fd5b6000806040838503121561148b57600080fd5b823561149681611463565b946020939093013593505050565b6000806000606084860312156114b957600080fd5b83356114c481611463565b925060208401356114d481611463565b929592945050506040919091013590565b60008083601f8401126114f757600080fd5b50813567ffffffffffffffff81111561150f57600080fd5b60208301915083602082850101111561152757600080fd5b9250929050565b600080600080600080600060a0888a03121561154957600080fd5b8735965060208801359550604088013561156281611463565b9450606088013567ffffffffffffffff8082111561157f57600080fd5b61158b8b838c016114e5565b909650945060808a01359150808211156115a457600080fd5b506115b18a828b016114e5565b989b979a50959850939692959293505050565b6000602082840312156115d657600080fd5b81356113d881611463565b801515811461080d57600080fd5b6000806040838503121561160257600080fd5b823561160d81611463565b9150602083013561161d816115e1565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b604051610100810167ffffffffffffffff8111828210171561166257611662611628565b60405290565b604051601f8201601f1916810167ffffffffffffffff8111828210171561169157611691611628565b604052919050565b600067ffffffffffffffff8211156116b3576116b3611628565b50601f01601f191660200190565b600080600080608085870312156116d757600080fd5b84356116e281611463565b935060208501356116f281611463565b925060408501359150606085013567ffffffffffffffff81111561171557600080fd5b8501601f8101871361172657600080fd5b803561173961173482611699565b611668565b81815288602083850101111561174e57600080fd5b8160208401602083013760006020838301015280935050505092959194509250565b6000806040838503121561178357600080fd5b823561178e81611463565b9150602083013561161d81611463565b600181811c908216806117b257607f821691505b602082108114156117d357634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b600082601f83011261185157600080fd5b815161185f61173482611699565b81815284602083860101111561187457600080fd5b610d1a8260208301602087016113df565b805161189081611463565b919050565b8051611890816115e1565b6000602082840312156118b257600080fd5b815167ffffffffffffffff808211156118ca57600080fd5b9083019061010082860312156118df57600080fd5b6118e761163e565b825181526020830151602082015260408301518281111561190757600080fd5b61191387828601611840565b60408301525061192560608401611885565b606082015261193660808401611885565b608082015261194760a08401611885565b60a082015261195860c08401611895565b60c082015261196960e08401611895565b60e082015295945050505050565b634e487b7160e01b600052601160045260246000fd5b60008282101561199f5761199f611977565b500390565b600082198211156119b7576119b7611977565b500190565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b6060815260006119f96060830187896119bc565b8281036020840152611a0c8186886119bc565b9150508260408301529695505050505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611aa49083018461140b565b9695505050505050565b600060208284031215611ac057600080fd5b81516113d8816113a556fea2646970667358221220774094b0d654251e474759080b8cf781d55e96dee9ec22a4f53485b2485e14ed64736f6c634300080a0033
Deployed ByteCode
0x608060405234801561001057600080fd5b50600436106101375760003560e01c806342966c68116100b857806395d89b411161007c57806395d89b4114610291578063a22cb46514610299578063b88d4fde146102ac578063c5a5ed51146102bf578063c87b56dd146102d8578063e985e9c5146102eb57600080fd5b806342966c68146102325780634f6ccce7146102455780636352211e146102585780636a6278421461026b57806370a082311461027e57600080fd5b806323b872dd116100ff57806323b872dd146101cb5780632f745c59146101de5780632fd6b886146101f15780633a755ed11461020457806342842e0e1461021f57600080fd5b806301ffc9a71461013c57806306fdde0314610164578063081812fc14610179578063095ea7b3146101a457806318160ddd146101b9575b600080fd5b61014f61014a3660046113bb565b610327565b60405190151581526020015b60405180910390f35b61016c610352565b60405161015b9190611437565b61018c61018736600461144a565b6103e4565b6040516001600160a01b03909116815260200161015b565b6101b76101b2366004611478565b61047e565b005b6008545b60405190815260200161015b565b6101b76101d93660046114a4565b610594565b6101bd6101ec366004611478565b6105c5565b6101b76101ff36600461152e565b61065b565b600b54600c546040805192835260208301919091520161015b565b6101b761022d3660046114a4565b610793565b6101b761024036600461144a565b6107ae565b6101bd61025336600461144a565b610810565b61018c61026636600461144a565b6108a3565b6101bd6102793660046115c4565b61091a565b6101bd61028c3660046115c4565b61099d565b61016c610a24565b6101b76102a73660046115ef565b610a33565b6101b76102ba3660046116c1565b610a42565b600a5461018c906201000090046001600160a01b031681565b61016c6102e636600461144a565b610a7a565b61014f6102f9366004611770565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b60006001600160e01b0319821663780e9d6360e01b148061034c575061034c82610b6d565b92915050565b6060600080546103619061179e565b80601f016020809104026020016040519081016040528092919081815260200182805461038d9061179e565b80156103da5780601f106103af576101008083540402835291602001916103da565b820191906000526020600020905b8154815290600101906020018083116103bd57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166104625760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610489826108a3565b9050806001600160a01b0316836001600160a01b031614156104f75760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610459565b336001600160a01b0382161480610513575061051381336102f9565b6105855760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610459565b61058f8383610bbd565b505050565b61059e3382610c2b565b6105ba5760405162461bcd60e51b8152600401610459906117d9565b61058f838383610d22565b60006105d08361099d565b82106106325760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610459565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a54610100900460ff1661067657600a5460ff161561067a565b303b155b6106dd5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608401610459565b600a54610100900460ff161580156106ff57600a805461ffff19166101011790555b61070b85858585610ebe565b600b889055600c879055600a805462010000600160b01b031916620100006001600160a01b038916021790556040805189815260208101899052428183015290517f6f606e3871b6f24ddc0daa88a8ed8e8761eb9d1474e64322940f858df287de50916060908290030190a1801561078957600a805461ff00191690555b5050505050505050565b61058f83838360405180602001604052806000815250610a42565b6107b83382610c2b565b6108045760405162461bcd60e51b815260206004820152601b60248201527f4e4654426173653a204e6f744f776e65724f72417070726f76656400000000006044820152606401610459565b61080d81610f0f565b50565b600061081b60085490565b821061087e5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610459565b600882815481106108915761089161182a565b90600052602060002001549050919050565b6000818152600260205260408120546001600160a01b03168061034c5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610459565b600a546000906201000090046001600160a01b031633146109755760405162461bcd60e51b81526020600482015260156024820152744d696e744e46543a204e6f7457656233456e74727960581b6044820152606401610459565b610983600d80546001019055565b61099582610990600d5490565b610faa565b600d5461034c565b60006001600160a01b038216610a085760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610459565b506001600160a01b031660009081526003602052604090205490565b6060600180546103619061179e565b610a3e3383836110ec565b5050565b610a4c3383610c2b565b610a685760405162461bcd60e51b8152600401610459906117d9565b610a74848484846111bb565b50505050565b6000818152600260205260409020546060906001600160a01b0316610ae15760405162461bcd60e51b815260206004820152601a60248201527f4d696e744e46543a20546f6b656e446f65734e6f7445786973740000000000006044820152606401610459565b600a54600b54600c546040516301b6923d60e71b815260048101929092526024820152620100009091046001600160a01b03169063db491e8090604401600060405180830381865afa158015610b3b573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610b6391908101906118a0565b6040015192915050565b60006001600160e01b031982166380ac58cd60e01b1480610b9e57506001600160e01b03198216635b5e139f60e01b145b8061034c57506301ffc9a760e01b6001600160e01b031983161461034c565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610bf2826108a3565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316610ca45760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610459565b6000610caf836108a3565b9050806001600160a01b0316846001600160a01b03161480610cea5750836001600160a01b0316610cdf846103e4565b6001600160a01b0316145b80610d1a57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316610d35826108a3565b6001600160a01b031614610d995760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610459565b6001600160a01b038216610dfb5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610459565b610e06600082610bbd565b6001600160a01b0383166000908152600360205260408120805460019290610e2f90849061198d565b90915550506001600160a01b0382166000908152600360205260408120805460019290610e5d9084906119a4565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b610eca848484846111ee565b7f414cd0b34676984f09a5f76ce9718d4062e50283abe0e7e274a9a5b4e0c99c308484848442604051610f019594939291906119e5565b60405180910390a150505050565b6000610f1a826108a3565b9050610f27600083610bbd565b6001600160a01b0381166000908152600360205260408120805460019290610f5090849061198d565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6001600160a01b0382166110005760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610459565b6000818152600260205260409020546001600160a01b0316156110655760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610459565b6001600160a01b038216600090815260036020526040812080546001929061108e9084906119a4565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b816001600160a01b0316836001600160a01b0316141561114e5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610459565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6111c6848484610d22565b6111d28484848461120e565b610a745760405162461bcd60e51b815260040161045990611a1f565b6111fa6000858561130c565b506112076001838361130c565b5050505050565b60006001600160a01b0384163b1561130157604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611252903390899088908890600401611a71565b6020604051808303816000875af192505050801561128d575060408051601f3d908101601f1916820190925261128a91810190611aae565b60015b6112e7573d8080156112bb576040519150601f19603f3d011682016040523d82523d6000602084013e6112c0565b606091505b5080516112df5760405162461bcd60e51b815260040161045990611a1f565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610d1a565b506001949350505050565b8280546113189061179e565b90600052602060002090601f01602090048101928261133a5760008555611380565b82601f106113535782800160ff19823516178555611380565b82800160010185558215611380579182015b82811115611380578235825591602001919060010190611365565b5061138c929150611390565b5090565b5b8082111561138c5760008155600101611391565b6001600160e01b03198116811461080d57600080fd5b6000602082840312156113cd57600080fd5b81356113d8816113a5565b9392505050565b60005b838110156113fa5781810151838201526020016113e2565b83811115610a745750506000910152565b600081518084526114238160208601602086016113df565b601f01601f19169290920160200192915050565b6020815260006113d8602083018461140b565b60006020828403121561145c57600080fd5b5035919050565b6001600160a01b038116811461080d57600080fd5b6000806040838503121561148b57600080fd5b823561149681611463565b946020939093013593505050565b6000806000606084860312156114b957600080fd5b83356114c481611463565b925060208401356114d481611463565b929592945050506040919091013590565b60008083601f8401126114f757600080fd5b50813567ffffffffffffffff81111561150f57600080fd5b60208301915083602082850101111561152757600080fd5b9250929050565b600080600080600080600060a0888a03121561154957600080fd5b8735965060208801359550604088013561156281611463565b9450606088013567ffffffffffffffff8082111561157f57600080fd5b61158b8b838c016114e5565b909650945060808a01359150808211156115a457600080fd5b506115b18a828b016114e5565b989b979a50959850939692959293505050565b6000602082840312156115d657600080fd5b81356113d881611463565b801515811461080d57600080fd5b6000806040838503121561160257600080fd5b823561160d81611463565b9150602083013561161d816115e1565b809150509250929050565b634e487b7160e01b600052604160045260246000fd5b604051610100810167ffffffffffffffff8111828210171561166257611662611628565b60405290565b604051601f8201601f1916810167ffffffffffffffff8111828210171561169157611691611628565b604052919050565b600067ffffffffffffffff8211156116b3576116b3611628565b50601f01601f191660200190565b600080600080608085870312156116d757600080fd5b84356116e281611463565b935060208501356116f281611463565b925060408501359150606085013567ffffffffffffffff81111561171557600080fd5b8501601f8101871361172657600080fd5b803561173961173482611699565b611668565b81815288602083850101111561174e57600080fd5b8160208401602083013760006020838301015280935050505092959194509250565b6000806040838503121561178357600080fd5b823561178e81611463565b9150602083013561161d81611463565b600181811c908216806117b257607f821691505b602082108114156117d357634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b600082601f83011261185157600080fd5b815161185f61173482611699565b81815284602083860101111561187457600080fd5b610d1a8260208301602087016113df565b805161189081611463565b919050565b8051611890816115e1565b6000602082840312156118b257600080fd5b815167ffffffffffffffff808211156118ca57600080fd5b9083019061010082860312156118df57600080fd5b6118e761163e565b825181526020830151602082015260408301518281111561190757600080fd5b61191387828601611840565b60408301525061192560608401611885565b606082015261193660808401611885565b608082015261194760a08401611885565b60a082015261195860c08401611895565b60c082015261196960e08401611895565b60e082015295945050505050565b634e487b7160e01b600052601160045260246000fd5b60008282101561199f5761199f611977565b500390565b600082198211156119b7576119b7611977565b500190565b81835281816020850137506000828201602090810191909152601f909101601f19169091010190565b6060815260006119f96060830187896119bc565b8281036020840152611a0c8186886119bc565b9150508260408301529695505050505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611aa49083018461140b565b9695505050505050565b600060208284031215611ac057600080fd5b81516113d8816113a556fea2646970667358221220774094b0d654251e474759080b8cf781d55e96dee9ec22a4f53485b2485e14ed64736f6c634300080a0033