Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
3,388 MOJI
Holders
1,136
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 MOJILoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
MintMachineERC721FiniteSequence
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT // Copyright (c) 2021 Benjamin Bryant LLC pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "./extensions/FiniteTokenSequence.sol"; import "./libraries/SignatureVerification.sol"; /** * @title MintMachine ERC-721 Contract, Finite Sequence (v0.1.2) * @author bhbryant.eth * @custom:url https://www.mintmachine.xyz * @dev This contract provides for: * * - Sequential minting of a finite sequence of ERC-721 tokens * - Restrictions on the number of tokens per transaction * - Fixed pricing per token * - Restricted minting with custom token counts and pricing * through an external signature * - Direct minting to address by Owner * - Disabling / Pausing minting * - A settable baseURI used for building the token metadata URI * - Freezing of baseURI to permanately fix token metadata URI * - A settable contractURI endpoing * - Events for tracking state change and signed mints * - Fund withdawal by Owner * * - It inherits ECR-721 Enumberable extension * * Contract template by bhbryant.eth * * https://github.com/mintmachine-xyz/mint-machine-erc721 * * Manage your own drop at https://www.mintmachine.xyz **/ contract MintMachineERC721FiniteSequence is ERC721, ERC721Enumerable, FiniteTokenSequence, Ownable, ReentrancyGuard { /** * @dev Controls minting state * PAUSED - No sales allowed * PRIVATE - Signed mints only (eg. pre-sales or server managed sales) * PUBLIC - unrestricted minting (signed mints still work) */ enum ContractState { PAUSED, PRIVATE, PUBLIC } /********************************************** * Events **********************************************/ /** * @dev provide feedback on mint key used for signed mints */ event MintKeyClaimed( address indexed claimer, address indexed mintKey, uint256 tokenCount ); /** * @dev provides feedback on contract state changes */ event StateChanged(ContractState newState); /********************************************** * Instance Variables **********************************************/ /** * @dev indicates that the contract base uri is fozen * prevents metadata from being changed */ bool internal _freezeURI = false; /** * @dev Contract Metadata URI, see {https://docs.opensea.io/docs/contract-level-metadata}. */ string internal _contractURI; /** * @dev Key(address) mapping to a claimed key. * Used to prevent address from rebroadcasting mint transactions */ mapping(address => bool) private _claimedMintKeys; /** * @dev The maximum number of tokens that can be minted per public transaction * Zero means unlimited */ uint256 private _maximumPublicTokensPerTransaction; /** * @dev default price for public (unsigned) mint */ uint256 private _publicMintPrice; /** * @dev State of the contract */ ContractState private _state = ContractState.PAUSED; /** * @dev Metadata Base URI, used for referencing metadata */ string private _uri; /** * @dev public address used to sign function calls parameters */ address private _verificationAddress; /********************************************** * Constructor **********************************************/ /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. * @param name_ Name of contract * @param symbol_ Symbol for Contract * @param maximumSupply_ Maximum number of tokens * @param publicMintPrice_ Price per token * @param maximumPublicTokensPerTransaction_ Maximum mintable tokens per transaction * @param verificationAddress_ Recovery address used to verify signature * @param baseURI_ Base URI used for building token metadata URI * @param contractURI_ Contract metadata URI */ constructor( string memory name_, string memory symbol_, uint256 maximumSupply_, uint256 publicMintPrice_, uint256 maximumPublicTokensPerTransaction_, address verificationAddress_, string memory baseURI_, string memory contractURI_ ) ERC721(name_, symbol_) FiniteTokenSequence(maximumSupply_) { _publicMintPrice = publicMintPrice_; _maximumPublicTokensPerTransaction = maximumPublicTokensPerTransaction_; _verificationAddress = verificationAddress_; _uri = baseURI_; _contractURI = contractURI_; } /********************************************** * Public Mint functions **********************************************/ /** * @dev Public mint contract. * Requires: * 1. contract to have active public sale state * 2. tokenCount to be less than per transaction maximum, unless maximum is zero * 3. token count to not exceed available supply * 4. ETH payment to match minting price * * @param tokenCount Number of tokens to mint */ function mint(uint256 tokenCount) external payable nonReentrant { // contract state require(_state == ContractState.PUBLIC, "public minting is disabled"); // tokenCount, zero and available supply resrictions handled by _mintInSequenceToAddress require( _maximumPublicTokensPerTransaction == 0 || tokenCount <= _maximumPublicTokensPerTransaction, "tokenCount exceeds per transaction limit" ); // payable require( _publicMintPrice * tokenCount == msg.value, "payable does match require amount" ); // checked block, overflow raised by Solidity > 0.8.0 _mintInSequenceToAddress(msg.sender, tokenCount); } /** * @dev Private mint contract. * Requires: * 1. contract to have active sale state (private or public sale) * 2. ETH payment to match minting price * 3. nonce is new (> last used) * 4. parameters match signature * * @param tokenCount Number of tokens to mint * @param valueInWei Total payable value of mint * @param mintKey Unique identifier for this transaction * @param signature Signature used to validate mint params */ function mintWithSignature( uint256 tokenCount, uint256 valueInWei, address mintKey, bytes memory signature ) external payable nonReentrant { // contract state require( _state == ContractState.PRIVATE || _state == ContractState.PUBLIC, "minting is disabled" ); // tokenCount, > zero and < available supply handled by_mintInSequenceToAddress // payable require(valueInWei == msg.value, "payable does match require amount"); // verify fresh nonce require(_claimedMintKeys[mintKey] == false, "mintKey already claimed"); // Verify signature require( _verificationAddress != address(0), "verification address not set" ); SignatureVerification.requireValidSignature( abi.encodePacked(msg.sender, tokenCount, valueInWei, mintKey, this), signature, _verificationAddress ); // claim mint key _claimedMintKeys[mintKey] = true; // mint _mintInSequenceToAddress(msg.sender, tokenCount); emit MintKeyClaimed(msg.sender, mintKey, tokenCount); } /** * @dev Owner restricted mint function * @param destination The address to send tokens to * @param tokenCount The number of tokens to mint */ function mintToAddress(address destination, uint256 tokenCount) external onlyOwner { // _mintInSequenceToAddress enforces tokenCount and available supply // _mintInSequenceToAddress uses _safeMint _mintInSequenceToAddress(destination, tokenCount); } /********************************************** * Config -- restricted to owner **********************************************/ /** * @dev freezes the contract * this is a onetime change to contract state that cannot be reverted */ function freezeBaseURI() external onlyOwner { require(!_freezeURI, "baseURI is frozen"); _freezeURI = true; } /** * @dev set baseURI for metadata * @param uri Base URI for meta data. Must include trailing "/" * * When calling tokenURI the returned format will be `${baseUri}${tokenId}`. */ function setBaseURI(string memory uri) external onlyOwner { require(!_freezeURI, "baseURI is frozen"); _uri = uri; } /** * @dev set contractURI for metadata * @param uri Contract URI for contract metadata. */ function setContractURI(string memory uri) external onlyOwner { _contractURI = uri; } /** * @dev sets the maximum number of tokens that can be minted using the public mint transaction * zero means no limit * @param maximumPublicTokensPerTransaction_ Maximum number of tokens per transaction */ function setMaximumPublicTokensPerTransaction( uint256 maximumPublicTokensPerTransaction_ ) external onlyOwner { _maximumPublicTokensPerTransaction = maximumPublicTokensPerTransaction_; } /** * @dev sets the price per token for public sale * @param publicMintPrice_ Mint price */ function setPublicMintPrice(uint256 publicMintPrice_) external onlyOwner { _publicMintPrice = publicMintPrice_; } /** * @dev sets contract state * @param state New Contract state (PAUSED, PRIVATE, PUBLIC) */ function setState(ContractState state) external onlyOwner { _state = state; emit StateChanged(state); } /** * @dev sets the address used for verifying the signature on private sale mints * @param verificationAddress_ Verifcation address */ function setVerificationAddress(address verificationAddress_) external onlyOwner { _verificationAddress = verificationAddress_; } /********************************************** * Payment Management -- restricted to owner **********************************************/ /** * @dev transfers full balance of contract to contract owner */ function withdraw() external onlyOwner { uint256 balance = address(this).balance; payable(msg.sender).transfer(balance); } /********************************************** * Public Accessors **********************************************/ /** * @dev returns the total tokens available */ function availableSupply() external view returns (uint256) { return _availableSupply(); } /** * @dev View only resource for metadata base uri */ function baseURI() external view returns (string memory) { if (bytes(_baseURI()).length == 0) { return ""; } return _baseURI(); } /** * @dev View only resource for contract level metadata uri * See {https://docs.opensea.io/docs/contract-level-metadata}. */ function contractURI() external view returns (string memory) { if (bytes(_contractURI).length == 0) { return ""; } return _contractURI; } /** * @dev returns contract state */ function getState() external view returns (ContractState) { return _state; } /** * @dev return state of mint key * @param mintKey Key(address) to look up */ function isClaimed(address mintKey) external view returns (bool) { return _claimedMintKeys[mintKey]; } /** * @dev return true if contact frozen */ function isBaseURIFrozen() external view returns (bool) { return _freezeURI; } /** * @dev returns the maximum number of tokens that can be minted in a single public transaction */ function maximumPublicTokensPerTransaction() external view returns (uint256) { return _maximumPublicTokensPerTransaction; } /** * @dev returns the cost per token for a public transaction */ function publicMintPrice() external view returns (uint256) { return _publicMintPrice; } /********************************************** * Overrides **********************************************/ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal override(ERC721, ERC721Enumerable) { super._beforeTokenTransfer(from, to, tokenId); } function supportsInterface(bytes4 interfaceId) public view override(ERC721, ERC721Enumerable) returns (bool) { return super.supportsInterface(interfaceId); } /** * @dev map _uri param to _baseURI used by erc271 metadata stuff */ function _baseURI() internal view override returns (string memory) { return _uri; } }
// SPDX-License-Identifier: MIT 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 name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and make it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT // Copyright (c) 2021 Benjamin Bryant LLC pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; /** * @dev ERC721 token with fixed supply. Minted sequentially. */ abstract contract FiniteTokenSequence is ERC721Enumerable { // Maximum number of tokens that can be minted, defaults to 0 (eg. must be set) uint256 private _maximumSupply = 0; /** * @param maximumSupply_ total supply of tokens */ constructor(uint256 maximumSupply_) { // initialize finite token sequence require( maximumSupply_ > 0, "Maximum token supply must be greater than 0" ); _maximumSupply = maximumSupply_; } /********************************************** * Internal Config **********************************************/ /** * @dev sets the total */ function _setMaximumSupply(uint256 maximumSupply_) internal { require( maximumSupply_ >= totalSupply(), "Maximum supply cannot be less than totalSupply" ); _maximumSupply = maximumSupply_; } /********************************************** * Internal Mint function **********************************************/ /** * @dev Mints next tokenCount of tokens for address * Requires: * 1. The number of tokens minted to be positive * 2. The number of tokens minted to be less than or equal to the available supply * 3. Checks for overflow error * * @param destination Destination address * @param tokenCount Number of tokens to mint */ function _mintInSequenceToAddress(address destination, uint256 tokenCount) internal { uint256 tokenSupply = totalSupply(); // totalSupply() provided by ERC721Enumerable require(tokenCount > 0, "tokenCount must be greater than zero"); require(tokenSupply + tokenCount > tokenSupply, "overflow"); // not really necessary, caught by Solidity > 0.8.0 require( tokenCount <= _availableSupply(), "tokenCount exceeds available supply" ); for (uint256 i = 0; i < tokenCount; i++) { uint256 tokenId = tokenSupply + i; _safeMint(destination, tokenId); } } /********************************************** * Internal accessors functions **********************************************/ /** * @dev Returns available supply of tokens to be minted */ function _availableSupply() internal view returns (uint256) { uint256 tokenSupply = totalSupply(); // clamp to zero if there is misconfiguration if (tokenSupply >= _maximumSupply) { return 0; } return _maximumSupply - tokenSupply; } /********************************************** * External functions **********************************************/ /** * @dev Returns maximum supply of tokens to be minted */ function maximumSupply() external view virtual returns (uint256) { return _maximumSupply; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; library SignatureVerification { using ECDSA for bytes32; // https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/cryptography/ECDSA.sol // https://docs.soliditylang.org/en/v0.8.4/solidity-by-example.html?highlight=ecrecover#the-full-contract /** * @dev Performs address recovery on data and signature. Compares recovred address to varification address. * @param data Packed data used for signature generation * @param signature Signature for the provided data * @param verificationAddress Address to compare to recovered address */ function requireValidSignature( bytes memory data, bytes memory signature, address verificationAddress ) internal pure { require( verificationAddress != address(0), "verification address not initialized" ); require( keccak256(data).toEthSignedMessageHash().recover(signature) == verificationAddress, "signature invalid" ); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @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); }
// SPDX-License-Identifier: MIT 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); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT 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 tokenId); /** * @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); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } else if (error == RecoverError.InvalidSignatureV) { revert("ECDSA: invalid signature 'v' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { // Check the signature length // - case 65: r,s,v signature (standard) // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._ if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else if (signature.length == 64) { bytes32 r; bytes32 vs; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) vs := mload(add(signature, 0x40)) } return tryRecover(hash, r, vs); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s; uint8 v; assembly { s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) v := add(shr(255, vs), 27) } return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } if (v != 27 && v != 28) { return (address(0), RecoverError.InvalidSignatureV); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"uint256","name":"maximumSupply_","type":"uint256"},{"internalType":"uint256","name":"publicMintPrice_","type":"uint256"},{"internalType":"uint256","name":"maximumPublicTokensPerTransaction_","type":"uint256"},{"internalType":"address","name":"verificationAddress_","type":"address"},{"internalType":"string","name":"baseURI_","type":"string"},{"internalType":"string","name":"contractURI_","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"claimer","type":"address"},{"indexed":true,"internalType":"address","name":"mintKey","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenCount","type":"uint256"}],"name":"MintKeyClaimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"enum MintMachineERC721FiniteSequence.ContractState","name":"newState","type":"uint8"}],"name":"StateChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"availableSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freezeBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getState","outputs":[{"internalType":"enum MintMachineERC721FiniteSequence.ContractState","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isBaseURIFrozen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"mintKey","type":"address"}],"name":"isClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maximumPublicTokensPerTransaction","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maximumSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenCount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"destination","type":"address"},{"internalType":"uint256","name":"tokenCount","type":"uint256"}],"name":"mintToAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenCount","type":"uint256"},{"internalType":"uint256","name":"valueInWei","type":"uint256"},{"internalType":"address","name":"mintKey","type":"address"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"mintWithSignature","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maximumPublicTokensPerTransaction_","type":"uint256"}],"name":"setMaximumPublicTokensPerTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"publicMintPrice_","type":"uint256"}],"name":"setPublicMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum MintMachineERC721FiniteSequence.ContractState","name":"state","type":"uint8"}],"name":"setState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"verificationAddress_","type":"address"}],"name":"setVerificationAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526000600a556000600d60006101000a81548160ff0219169083151502179055506000601260006101000a81548160ff0219169083600281111562000071577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b02179055503480156200008357600080fd5b50604051620063bb380380620063bb8339818101604052810190620000a9919062000403565b8588888160009080519060200190620000c4929190620002b3565b508060019080519060200190620000dd929190620002b3565b5050506000811162000126576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200011d9062000551565b60405180910390fd5b80600a81905550506200014e62000142620001e560201b60201c565b620001ed60201b60201c565b6001600c81905550846011819055508360108190555082601460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508160139080519060200190620001bd929190620002b3565b5080600e9080519060200190620001d6929190620002b3565b505050505050505050620007b5565b600033905090565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620002c19062000657565b90600052602060002090601f016020900481019282620002e5576000855562000331565b82601f106200030057805160ff191683800117855562000331565b8280016001018555821562000331579182015b828111156200033057825182559160200191906001019062000313565b5b50905062000340919062000344565b5090565b5b808211156200035f57600081600090555060010162000345565b5090565b60006200037a62000374846200059c565b62000573565b9050828152602081018484840111156200039357600080fd5b620003a084828562000621565b509392505050565b600081519050620003b98162000781565b92915050565b600082601f830112620003d157600080fd5b8151620003e384826020860162000363565b91505092915050565b600081519050620003fd816200079b565b92915050565b600080600080600080600080610100898b0312156200042157600080fd5b600089015167ffffffffffffffff8111156200043c57600080fd5b6200044a8b828c01620003bf565b985050602089015167ffffffffffffffff8111156200046857600080fd5b620004768b828c01620003bf565b9750506040620004898b828c01620003ec565b96505060606200049c8b828c01620003ec565b9550506080620004af8b828c01620003ec565b94505060a0620004c28b828c01620003a8565b93505060c089015167ffffffffffffffff811115620004e057600080fd5b620004ee8b828c01620003bf565b92505060e089015167ffffffffffffffff8111156200050c57600080fd5b6200051a8b828c01620003bf565b9150509295985092959890939650565b600062000539602b83620005d2565b9150620005468262000732565b604082019050919050565b600060208201905081810360008301526200056c816200052a565b9050919050565b60006200057f62000592565b90506200058d82826200068d565b919050565b6000604051905090565b600067ffffffffffffffff821115620005ba57620005b9620006f2565b5b620005c58262000721565b9050602081019050919050565b600082825260208201905092915050565b6000620005f082620005f7565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b838110156200064157808201518184015260208101905062000624565b8381111562000651576000848401525b50505050565b600060028204905060018216806200067057607f821691505b60208210811415620006875762000686620006c3565b5b50919050565b620006988262000721565b810181811067ffffffffffffffff82111715620006ba57620006b9620006f2565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4d6178696d756d20746f6b656e20737570706c79206d7573742062652067726560008201527f61746572207468616e2030000000000000000000000000000000000000000000602082015250565b6200078c81620005e3565b81146200079857600080fd5b50565b620007a68162000617565b8114620007b257600080fd5b50565b615bf680620007c56000396000f3fe6080604052600436106102305760003560e01c80636c0360eb1161012e578063a13bfd65116100ab578063e7bc82081161006f578063e7bc82081461081d578063e8a3d48514610834578063e985e9c51461085f578063ece00c651461089c578063f2fde38b146108c757610230565b8063a13bfd6514610747578063a22cb46514610763578063b88d4fde1461078c578063c87b56dd146107b5578063dc53fd92146107f257610230565b80638da5cb5b116100f25780638da5cb5b14610681578063938e3d7b146106ac57806395d89b41146106d55780639ca89fad14610700578063a0712d681461072b57610230565b80636c0360eb1461059a57806370a08231146105c5578063715018a6146106025780637ecc2b56146106195780638cc080251461064457610230565b806323b872dd116101bc57806355f804b31161018057806355f804b3146104b957806356de96db146104e25780635ac7c9591461050b5780635d82cf6e146105345780636352211e1461055d57610230565b806323b872dd146103d65780632f745c59146103ff5780633ccfd60b1461043c57806342842e0e146104535780634f6ccce71461047c57610230565b8063081812fc11610203578063081812fc146102f1578063095ea7b31461032e57806318160ddd146103575780631865c57d1461038257806321ca4236146103ad57610230565b806301ffc9a7146102355780630480e58b14610272578063069594291461029d57806306fdde03146102c6575b600080fd5b34801561024157600080fd5b5061025c60048036038101906102579190613f7e565b6108f0565b6040516102699190614833565b60405180910390f35b34801561027e57600080fd5b50610287610902565b6040516102949190614d30565b60405180910390f35b3480156102a957600080fd5b506102c460048036038101906102bf9190613dd7565b61090c565b005b3480156102d257600080fd5b506102db6109cc565b6040516102e891906148ae565b60405180910390f35b3480156102fd57600080fd5b506103186004803603810190610313919061403a565b610a5e565b60405161032591906147cc565b60405180910390f35b34801561033a57600080fd5b5061035560048036038101906103509190613f42565b610ae3565b005b34801561036357600080fd5b5061036c610bfb565b6040516103799190614d30565b60405180910390f35b34801561038e57600080fd5b50610397610c08565b6040516103a49190614893565b60405180910390f35b3480156103b957600080fd5b506103d460048036038101906103cf9190613f42565b610c1f565b005b3480156103e257600080fd5b506103fd60048036038101906103f89190613e3c565b610ca9565b005b34801561040b57600080fd5b5061042660048036038101906104219190613f42565b610d09565b6040516104339190614d30565b60405180910390f35b34801561044857600080fd5b50610451610dae565b005b34801561045f57600080fd5b5061047a60048036038101906104759190613e3c565b610e79565b005b34801561048857600080fd5b506104a3600480360381019061049e919061403a565b610e99565b6040516104b09190614d30565b60405180910390f35b3480156104c557600080fd5b506104e060048036038101906104db9190613ff9565b610f30565b005b3480156104ee57600080fd5b5061050960048036038101906105049190613fd0565b611016565b005b34801561051757600080fd5b50610532600480360381019061052d919061403a565b61111c565b005b34801561054057600080fd5b5061055b6004803603810190610556919061403a565b6111a2565b005b34801561056957600080fd5b50610584600480360381019061057f919061403a565b611228565b60405161059191906147cc565b60405180910390f35b3480156105a657600080fd5b506105af6112da565b6040516105bc91906148ae565b60405180910390f35b3480156105d157600080fd5b506105ec60048036038101906105e79190613dd7565b611312565b6040516105f99190614d30565b60405180910390f35b34801561060e57600080fd5b506106176113ca565b005b34801561062557600080fd5b5061062e611452565b60405161063b9190614d30565b60405180910390f35b34801561065057600080fd5b5061066b60048036038101906106669190613dd7565b611461565b6040516106789190614833565b60405180910390f35b34801561068d57600080fd5b506106966114b7565b6040516106a391906147cc565b60405180910390f35b3480156106b857600080fd5b506106d360048036038101906106ce9190613ff9565b6114e1565b005b3480156106e157600080fd5b506106ea611577565b6040516106f791906148ae565b60405180910390f35b34801561070c57600080fd5b50610715611609565b6040516107229190614833565b60405180910390f35b6107456004803603810190610740919061403a565b611620565b005b610761600480360381019061075c9190614063565b6117e5565b005b34801561076f57600080fd5b5061078a60048036038101906107859190613f06565b611c0e565b005b34801561079857600080fd5b506107b360048036038101906107ae9190613e8b565b611d8f565b005b3480156107c157600080fd5b506107dc60048036038101906107d7919061403a565b611df1565b6040516107e991906148ae565b60405180910390f35b3480156107fe57600080fd5b50610807611e98565b6040516108149190614d30565b60405180910390f35b34801561082957600080fd5b50610832611ea2565b005b34801561084057600080fd5b50610849611f8b565b60405161085691906148ae565b60405180910390f35b34801561086b57600080fd5b5061088660048036038101906108819190613e00565b61204c565b6040516108939190614833565b60405180910390f35b3480156108a857600080fd5b506108b16120e0565b6040516108be9190614d30565b60405180910390f35b3480156108d357600080fd5b506108ee60048036038101906108e99190613dd7565b6120ea565b005b60006108fb826121e2565b9050919050565b6000600a54905090565b61091461225c565b73ffffffffffffffffffffffffffffffffffffffff166109326114b7565b73ffffffffffffffffffffffffffffffffffffffff1614610988576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097f90614bb0565b60405180910390fd5b80601460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6060600080546109db90615040565b80601f0160208091040260200160405190810160405280929190818152602001828054610a0790615040565b8015610a545780601f10610a2957610100808354040283529160200191610a54565b820191906000526020600020905b815481529060010190602001808311610a3757829003601f168201915b5050505050905090565b6000610a6982612264565b610aa8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9f90614b90565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610aee82611228565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b5690614c10565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b7e61225c565b73ffffffffffffffffffffffffffffffffffffffff161480610bad5750610bac81610ba761225c565b61204c565b5b610bec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610be390614ad0565b60405180910390fd5b610bf683836122d0565b505050565b6000600880549050905090565b6000601260009054906101000a900460ff16905090565b610c2761225c565b73ffffffffffffffffffffffffffffffffffffffff16610c456114b7565b73ffffffffffffffffffffffffffffffffffffffff1614610c9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9290614bb0565b60405180910390fd5b610ca58282612389565b5050565b610cba610cb461225c565b826124ae565b610cf9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf090614c30565b60405180910390fd5b610d0483838361258c565b505050565b6000610d1483611312565b8210610d55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4c90614990565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610db661225c565b73ffffffffffffffffffffffffffffffffffffffff16610dd46114b7565b73ffffffffffffffffffffffffffffffffffffffff1614610e2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2190614bb0565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610e75573d6000803e3d6000fd5b5050565b610e9483838360405180602001604052806000815250611d8f565b505050565b6000610ea3610bfb565b8210610ee4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610edb90614c70565b60405180910390fd5b60088281548110610f1e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b610f3861225c565b73ffffffffffffffffffffffffffffffffffffffff16610f566114b7565b73ffffffffffffffffffffffffffffffffffffffff1614610fac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa390614bb0565b60405180910390fd5b600d60009054906101000a900460ff1615610ffc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff390614b30565b60405180910390fd5b8060139080519060200190611012929190613be6565b5050565b61101e61225c565b73ffffffffffffffffffffffffffffffffffffffff1661103c6114b7565b73ffffffffffffffffffffffffffffffffffffffff1614611092576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108990614bb0565b60405180910390fd5b80601260006101000a81548160ff021916908360028111156110dd577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b02179055507f551dc40198cc79684bb69e4931dba4ac16e4598792ee1c0a5000aeea366d7bb6816040516111119190614893565b60405180910390a150565b61112461225c565b73ffffffffffffffffffffffffffffffffffffffff166111426114b7565b73ffffffffffffffffffffffffffffffffffffffff1614611198576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118f90614bb0565b60405180910390fd5b8060108190555050565b6111aa61225c565b73ffffffffffffffffffffffffffffffffffffffff166111c86114b7565b73ffffffffffffffffffffffffffffffffffffffff161461121e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121590614bb0565b60405180910390fd5b8060118190555050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156112d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112c890614b10565b60405180910390fd5b80915050919050565b606060006112e66127e8565b5114156113045760405180602001604052806000815250905061130f565b61130c6127e8565b90505b90565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611383576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137a90614af0565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6113d261225c565b73ffffffffffffffffffffffffffffffffffffffff166113f06114b7565b73ffffffffffffffffffffffffffffffffffffffff1614611446576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143d90614bb0565b60405180910390fd5b611450600061287a565b565b600061145c612940565b905090565b6000600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6114e961225c565b73ffffffffffffffffffffffffffffffffffffffff166115076114b7565b73ffffffffffffffffffffffffffffffffffffffff161461155d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155490614bb0565b60405180910390fd5b80600e9080519060200190611573929190613be6565b5050565b60606001805461158690615040565b80601f01602080910402602001604051908101604052809291908181526020018280546115b290615040565b80156115ff5780601f106115d4576101008083540402835291602001916115ff565b820191906000526020600020905b8154815290600101906020018083116115e257829003601f168201915b5050505050905090565b6000600d60009054906101000a900460ff16905090565b6002600c541415611666576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165d90614d10565b60405180910390fd5b6002600c819055506002808111156116a7577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b601260009054906101000a900460ff1660028111156116ef577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1461172f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172690614c50565b60405180910390fd5b6000601054148061174257506010548111155b611781576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177890614cf0565b60405180910390fd5b34816011546117909190614e9c565b146117d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c790614910565b60405180910390fd5b6117da3382612389565b6001600c8190555050565b6002600c54141561182b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182290614d10565b60405180910390fd5b6002600c819055506001600281111561186d577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b601260009054906101000a900460ff1660028111156118b5577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b148061193f57506002808111156118f5577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b601260009054906101000a900460ff16600281111561193d577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b145b61197e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197590614950565b60405180910390fd5b3483146119c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119b790614910565b60405180910390fd5b60001515600f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514611a53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4a90614a30565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611ae5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611adc906149d0565b60405180910390fd5b611b393385858530604051602001611b01959493929190614723565b60405160208183030381529060405282601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16612975565b6001600f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611b9b3385612389565b8173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f7199211527ef146af6ac7c4a9d44fb290d7a4e6a2c164effe334f1944bd551f486604051611bf89190614d30565b60405180910390a36001600c8190555050505050565b611c1661225c565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c7b90614a70565b60405180910390fd5b8060056000611c9161225c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611d3e61225c565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611d839190614833565b60405180910390a35050565b611da0611d9a61225c565b836124ae565b611ddf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dd690614c30565b60405180910390fd5b611deb84848484612a79565b50505050565b6060611dfc82612264565b611e3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e3290614bf0565b60405180910390fd5b6000611e456127e8565b90506000815111611e655760405180602001604052806000815250611e90565b80611e6f84612ad5565b604051602001611e80929190614782565b6040516020818303038152906040525b915050919050565b6000601154905090565b611eaa61225c565b73ffffffffffffffffffffffffffffffffffffffff16611ec86114b7565b73ffffffffffffffffffffffffffffffffffffffff1614611f1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f1590614bb0565b60405180910390fd5b600d60009054906101000a900460ff1615611f6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6590614b30565b60405180910390fd5b6001600d60006101000a81548160ff021916908315150217905550565b60606000600e8054611f9c90615040565b90501415611fbb57604051806020016040528060008152509050612049565b600e8054611fc890615040565b80601f0160208091040260200160405190810160405280929190818152602001828054611ff490615040565b80156120415780601f1061201657610100808354040283529160200191612041565b820191906000526020600020905b81548152906001019060200180831161202457829003601f168201915b505050505090505b90565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000601054905090565b6120f261225c565b73ffffffffffffffffffffffffffffffffffffffff166121106114b7565b73ffffffffffffffffffffffffffffffffffffffff1614612166576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215d90614bb0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156121d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121cd906149f0565b60405180910390fd5b6121df8161287a565b50565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612255575061225482612c82565b5b9050919050565b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661234383611228565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612393610bfb565b9050600082116123d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123cf90614c90565b60405180910390fd5b8082826123e59190614e15565b11612425576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161241c90614cd0565b60405180910390fd5b61242d612940565b82111561246f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161246690614cb0565b60405180910390fd5b60005b828110156124a857600081836124889190614e15565b90506124948582612d64565b5080806124a0906150a3565b915050612472565b50505050565b60006124b982612264565b6124f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124ef90614ab0565b60405180910390fd5b600061250383611228565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061257257508373ffffffffffffffffffffffffffffffffffffffff1661255a84610a5e565b73ffffffffffffffffffffffffffffffffffffffff16145b806125835750612582818561204c565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166125ac82611228565b73ffffffffffffffffffffffffffffffffffffffff1614612602576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125f990614bd0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612672576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161266990614a50565b60405180910390fd5b61267d838383612d82565b6126886000826122d0565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126d89190614ef6565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461272f9190614e15565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6060601380546127f790615040565b80601f016020809104026020016040519081016040528092919081815260200182805461282390615040565b80156128705780601f1061284557610100808354040283529160200191612870565b820191906000526020600020905b81548152906001019060200180831161285357829003601f168201915b5050505050905090565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008061294b610bfb565b9050600a548110612960576000915050612972565b80600a5461296e9190614ef6565b9150505b90565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156129e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129dc906148f0565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16612a1e83612a108680519060200120612d92565b612dc290919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff1614612a74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a6b90614970565b60405180910390fd5b505050565b612a8484848461258c565b612a9084848484612de9565b612acf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ac6906149b0565b60405180910390fd5b50505050565b60606000821415612b1d576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612c7d565b600082905060005b60008214612b4f578080612b38906150a3565b915050600a82612b489190614e6b565b9150612b25565b60008167ffffffffffffffff811115612b91577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612bc35781602001600182028036833780820191505090505b5090505b60008514612c7657600182612bdc9190614ef6565b9150600a85612beb9190615124565b6030612bf79190614e15565b60f81b818381518110612c33577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612c6f9190614e6b565b9450612bc7565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612d4d57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612d5d5750612d5c82612f80565b5b9050919050565b612d7e828260405180602001604052806000815250612fea565b5050565b612d8d838383613045565b505050565b600081604051602001612da591906147a6565b604051602081830303815290604052805190602001209050919050565b6000806000612dd18585613159565b91509150612dde816131dc565b819250505092915050565b6000612e0a8473ffffffffffffffffffffffffffffffffffffffff1661352d565b15612f73578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612e3361225c565b8786866040518563ffffffff1660e01b8152600401612e5594939291906147e7565b602060405180830381600087803b158015612e6f57600080fd5b505af1925050508015612ea057506040513d601f19601f82011682018060405250810190612e9d9190613fa7565b60015b612f23573d8060008114612ed0576040519150601f19603f3d011682016040523d82523d6000602084013e612ed5565b606091505b50600081511415612f1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f12906149b0565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612f78565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612ff48383613540565b6130016000848484612de9565b613040576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613037906149b0565b60405180910390fd5b505050565b61305083838361370e565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156130935761308e81613713565b6130d2565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146130d1576130d0838261375c565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561311557613110816138c9565b613154565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613153576131528282613a0c565b5b5b505050565b60008060418351141561319b5760008060006020860151925060408601519150606086015160001a905061318f87828585613a8b565b945094505050506131d5565b6040835114156131cc5760008060208501519150604085015190506131c1868383613b98565b9350935050506131d5565b60006002915091505b9250929050565b60006004811115613216577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b81600481111561324f577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b141561325a5761352a565b60016004811115613294577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156132cd577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b141561330e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613305906148d0565b60405180910390fd5b60026004811115613348577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115613381577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156133c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133b990614930565b60405180910390fd5b600360048111156133fc577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115613435577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415613476576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161346d90614a90565b60405180910390fd5b6004808111156134af577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156134e8577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415613529576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161352090614b50565b60405180910390fd5b5b50565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156135b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135a790614b70565b60405180910390fd5b6135b981612264565b156135f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135f090614a10565b60405180910390fd5b61360560008383612d82565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546136559190614e15565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161376984611312565b6137739190614ef6565b9050600060076000848152602001908152602001600020549050818114613858576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506138dd9190614ef6565b9050600060096000848152602001908152602001600020549050600060088381548110613933577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050806008838154811061397b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806139f0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613a1783611312565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115613ac6576000600391509150613b8f565b601b8560ff1614158015613ade5750601c8560ff1614155b15613af0576000600491509150613b8f565b600060018787878760405160008152602001604052604051613b15949392919061484e565b6020604051602081039080840390855afa158015613b37573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415613b8657600060019250925050613b8f565b80600092509250505b94509492505050565b6000806000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85169150601b8560ff1c019050613bd887828885613a8b565b935093505050935093915050565b828054613bf290615040565b90600052602060002090601f016020900481019282613c145760008555613c5b565b82601f10613c2d57805160ff1916838001178555613c5b565b82800160010185558215613c5b579182015b82811115613c5a578251825591602001919060010190613c3f565b5b509050613c689190613c6c565b5090565b5b80821115613c85576000816000905550600101613c6d565b5090565b6000613c9c613c9784614d70565b614d4b565b905082815260208101848484011115613cb457600080fd5b613cbf848285614ffe565b509392505050565b6000613cda613cd584614da1565b614d4b565b905082815260208101848484011115613cf257600080fd5b613cfd848285614ffe565b509392505050565b600081359050613d1481615b54565b92915050565b600081359050613d2981615b6b565b92915050565b600081359050613d3e81615b82565b92915050565b600081519050613d5381615b82565b92915050565b600082601f830112613d6a57600080fd5b8135613d7a848260208601613c89565b91505092915050565b600081359050613d9281615b99565b92915050565b600082601f830112613da957600080fd5b8135613db9848260208601613cc7565b91505092915050565b600081359050613dd181615ba9565b92915050565b600060208284031215613de957600080fd5b6000613df784828501613d05565b91505092915050565b60008060408385031215613e1357600080fd5b6000613e2185828601613d05565b9250506020613e3285828601613d05565b9150509250929050565b600080600060608486031215613e5157600080fd5b6000613e5f86828701613d05565b9350506020613e7086828701613d05565b9250506040613e8186828701613dc2565b9150509250925092565b60008060008060808587031215613ea157600080fd5b6000613eaf87828801613d05565b9450506020613ec087828801613d05565b9350506040613ed187828801613dc2565b925050606085013567ffffffffffffffff811115613eee57600080fd5b613efa87828801613d59565b91505092959194509250565b60008060408385031215613f1957600080fd5b6000613f2785828601613d05565b9250506020613f3885828601613d1a565b9150509250929050565b60008060408385031215613f5557600080fd5b6000613f6385828601613d05565b9250506020613f7485828601613dc2565b9150509250929050565b600060208284031215613f9057600080fd5b6000613f9e84828501613d2f565b91505092915050565b600060208284031215613fb957600080fd5b6000613fc784828501613d44565b91505092915050565b600060208284031215613fe257600080fd5b6000613ff084828501613d83565b91505092915050565b60006020828403121561400b57600080fd5b600082013567ffffffffffffffff81111561402557600080fd5b61403184828501613d98565b91505092915050565b60006020828403121561404c57600080fd5b600061405a84828501613dc2565b91505092915050565b6000806000806080858703121561407957600080fd5b600061408787828801613dc2565b945050602061409887828801613dc2565b93505060406140a987828801613d05565b925050606085013567ffffffffffffffff8111156140c657600080fd5b6140d287828801613d59565b91505092959194509250565b6140e781614f2a565b82525050565b6140fe6140f982614f2a565b6150ec565b82525050565b61410d81614f3c565b82525050565b61411c81614f48565b82525050565b61413361412e82614f48565b6150fe565b82525050565b600061414482614dd2565b61414e8185614de8565b935061415e81856020860161500d565b61416781615240565b840191505092915050565b61418361417e82614fc8565b6150ec565b82525050565b61419281614fec565b82525050565b60006141a382614ddd565b6141ad8185614df9565b93506141bd81856020860161500d565b6141c681615240565b840191505092915050565b60006141dc82614ddd565b6141e68185614e0a565b93506141f681856020860161500d565b80840191505092915050565b600061420f601883614df9565b915061421a8261525e565b602082019050919050565b6000614232602483614df9565b915061423d82615287565b604082019050919050565b6000614255602183614df9565b9150614260826152d6565b604082019050919050565b6000614278601f83614df9565b915061428382615325565b602082019050919050565b600061429b601c83614e0a565b91506142a68261534e565b601c82019050919050565b60006142be601383614df9565b91506142c982615377565b602082019050919050565b60006142e1601183614df9565b91506142ec826153a0565b602082019050919050565b6000614304602b83614df9565b915061430f826153c9565b604082019050919050565b6000614327603283614df9565b915061433282615418565b604082019050919050565b600061434a601c83614df9565b915061435582615467565b602082019050919050565b600061436d602683614df9565b915061437882615490565b604082019050919050565b6000614390601c83614df9565b915061439b826154df565b602082019050919050565b60006143b3601783614df9565b91506143be82615508565b602082019050919050565b60006143d6602483614df9565b91506143e182615531565b604082019050919050565b60006143f9601983614df9565b915061440482615580565b602082019050919050565b600061441c602283614df9565b9150614427826155a9565b604082019050919050565b600061443f602c83614df9565b915061444a826155f8565b604082019050919050565b6000614462603883614df9565b915061446d82615647565b604082019050919050565b6000614485602a83614df9565b915061449082615696565b604082019050919050565b60006144a8602983614df9565b91506144b3826156e5565b604082019050919050565b60006144cb601183614df9565b91506144d682615734565b602082019050919050565b60006144ee602283614df9565b91506144f98261575d565b604082019050919050565b6000614511602083614df9565b915061451c826157ac565b602082019050919050565b6000614534602c83614df9565b915061453f826157d5565b604082019050919050565b6000614557602083614df9565b915061456282615824565b602082019050919050565b600061457a602983614df9565b91506145858261584d565b604082019050919050565b600061459d602f83614df9565b91506145a88261589c565b604082019050919050565b60006145c0602183614df9565b91506145cb826158eb565b604082019050919050565b60006145e3603183614df9565b91506145ee8261593a565b604082019050919050565b6000614606601a83614df9565b915061461182615989565b602082019050919050565b6000614629602c83614df9565b9150614634826159b2565b604082019050919050565b600061464c602483614df9565b915061465782615a01565b604082019050919050565b600061466f602383614df9565b915061467a82615a50565b604082019050919050565b6000614692600883614df9565b915061469d82615a9f565b602082019050919050565b60006146b5602883614df9565b91506146c082615ac8565b604082019050919050565b60006146d8601f83614df9565b91506146e382615b17565b602082019050919050565b6146f781614fb1565b82525050565b61470e61470982614fb1565b61511a565b82525050565b61471d81614fbb565b82525050565b600061472f82886140ed565b60148201915061473f82876146fd565b60208201915061474f82866146fd565b60208201915061475f82856140ed565b60148201915061476f8284614172565b6014820191508190509695505050505050565b600061478e82856141d1565b915061479a82846141d1565b91508190509392505050565b60006147b18261428e565b91506147bd8284614122565b60208201915081905092915050565b60006020820190506147e160008301846140de565b92915050565b60006080820190506147fc60008301876140de565b61480960208301866140de565b61481660408301856146ee565b81810360608301526148288184614139565b905095945050505050565b60006020820190506148486000830184614104565b92915050565b60006080820190506148636000830187614113565b6148706020830186614714565b61487d6040830185614113565b61488a6060830184614113565b95945050505050565b60006020820190506148a86000830184614189565b92915050565b600060208201905081810360008301526148c88184614198565b905092915050565b600060208201905081810360008301526148e981614202565b9050919050565b6000602082019050818103600083015261490981614225565b9050919050565b6000602082019050818103600083015261492981614248565b9050919050565b600060208201905081810360008301526149498161426b565b9050919050565b60006020820190508181036000830152614969816142b1565b9050919050565b60006020820190508181036000830152614989816142d4565b9050919050565b600060208201905081810360008301526149a9816142f7565b9050919050565b600060208201905081810360008301526149c98161431a565b9050919050565b600060208201905081810360008301526149e98161433d565b9050919050565b60006020820190508181036000830152614a0981614360565b9050919050565b60006020820190508181036000830152614a2981614383565b9050919050565b60006020820190508181036000830152614a49816143a6565b9050919050565b60006020820190508181036000830152614a69816143c9565b9050919050565b60006020820190508181036000830152614a89816143ec565b9050919050565b60006020820190508181036000830152614aa98161440f565b9050919050565b60006020820190508181036000830152614ac981614432565b9050919050565b60006020820190508181036000830152614ae981614455565b9050919050565b60006020820190508181036000830152614b0981614478565b9050919050565b60006020820190508181036000830152614b298161449b565b9050919050565b60006020820190508181036000830152614b49816144be565b9050919050565b60006020820190508181036000830152614b69816144e1565b9050919050565b60006020820190508181036000830152614b8981614504565b9050919050565b60006020820190508181036000830152614ba981614527565b9050919050565b60006020820190508181036000830152614bc98161454a565b9050919050565b60006020820190508181036000830152614be98161456d565b9050919050565b60006020820190508181036000830152614c0981614590565b9050919050565b60006020820190508181036000830152614c29816145b3565b9050919050565b60006020820190508181036000830152614c49816145d6565b9050919050565b60006020820190508181036000830152614c69816145f9565b9050919050565b60006020820190508181036000830152614c898161461c565b9050919050565b60006020820190508181036000830152614ca98161463f565b9050919050565b60006020820190508181036000830152614cc981614662565b9050919050565b60006020820190508181036000830152614ce981614685565b9050919050565b60006020820190508181036000830152614d09816146a8565b9050919050565b60006020820190508181036000830152614d29816146cb565b9050919050565b6000602082019050614d4560008301846146ee565b92915050565b6000614d55614d66565b9050614d618282615072565b919050565b6000604051905090565b600067ffffffffffffffff821115614d8b57614d8a615211565b5b614d9482615240565b9050602081019050919050565b600067ffffffffffffffff821115614dbc57614dbb615211565b5b614dc582615240565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614e2082614fb1565b9150614e2b83614fb1565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614e6057614e5f615155565b5b828201905092915050565b6000614e7682614fb1565b9150614e8183614fb1565b925082614e9157614e90615184565b5b828204905092915050565b6000614ea782614fb1565b9150614eb283614fb1565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614eeb57614eea615155565b5b828202905092915050565b6000614f0182614fb1565b9150614f0c83614fb1565b925082821015614f1f57614f1e615155565b5b828203905092915050565b6000614f3582614f91565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000819050614f8c82615b40565b919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b6000614fd382614fda565b9050919050565b6000614fe582614f91565b9050919050565b6000614ff782614f7e565b9050919050565b82818337600083830152505050565b60005b8381101561502b578082015181840152602081019050615010565b8381111561503a576000848401525b50505050565b6000600282049050600182168061505857607f821691505b6020821081141561506c5761506b6151e2565b5b50919050565b61507b82615240565b810181811067ffffffffffffffff8211171561509a57615099615211565b5b80604052505050565b60006150ae82614fb1565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156150e1576150e0615155565b5b600182019050919050565b60006150f782615108565b9050919050565b6000819050919050565b600061511382615251565b9050919050565b6000819050919050565b600061512f82614fb1565b915061513a83614fb1565b92508261514a57615149615184565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f766572696669636174696f6e2061646472657373206e6f7420696e697469616c60008201527f697a656400000000000000000000000000000000000000000000000000000000602082015250565b7f70617961626c6520646f6573206d61746368207265717569726520616d6f756e60008201527f7400000000000000000000000000000000000000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b7f6d696e74696e672069732064697361626c656400000000000000000000000000600082015250565b7f7369676e617475726520696e76616c6964000000000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f766572696669636174696f6e2061646472657373206e6f742073657400000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f6d696e744b657920616c726561647920636c61696d6564000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f626173655552492069732066726f7a656e000000000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f7075626c6963206d696e74696e672069732064697361626c6564000000000000600082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f746f6b656e436f756e74206d7573742062652067726561746572207468616e2060008201527f7a65726f00000000000000000000000000000000000000000000000000000000602082015250565b7f746f6b656e436f756e74206578636565647320617661696c61626c652073757060008201527f706c790000000000000000000000000000000000000000000000000000000000602082015250565b7f6f766572666c6f77000000000000000000000000000000000000000000000000600082015250565b7f746f6b656e436f756e74206578636565647320706572207472616e736163746960008201527f6f6e206c696d6974000000000000000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60038110615b5157615b506151b3565b5b50565b615b5d81614f2a565b8114615b6857600080fd5b50565b615b7481614f3c565b8114615b7f57600080fd5b50565b615b8b81614f52565b8114615b9657600080fd5b50565b60038110615ba657600080fd5b50565b615bb281614fb1565b8114615bbd57600080fd5b5056fea2646970667358221220d6ab107453196535811a7efd54db4442df3260d8285ba82e4efd7ccd3b6645be64736f6c63430008040033000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000002710000000000000000000000000000000000000000000000000011c37937e080000000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000ec093ddc3a880c6f051730ec0a44263ca128f1a900000000000000000000000000000000000000000000000000000000000001800000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000a536f6e6172204d6f6a690000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044d4f4a4900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004368747470733a2f2f70726f6a656374732e6d696e746d616368696e652e78797a2f6d657461646174612f3631366663336433663631326264303030616238306161332f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004268747470733a2f2f70726f6a656374732e6d696e746d616368696e652e78797a2f6d657461646174612f363136666333643366363132626430303061623830616133000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102305760003560e01c80636c0360eb1161012e578063a13bfd65116100ab578063e7bc82081161006f578063e7bc82081461081d578063e8a3d48514610834578063e985e9c51461085f578063ece00c651461089c578063f2fde38b146108c757610230565b8063a13bfd6514610747578063a22cb46514610763578063b88d4fde1461078c578063c87b56dd146107b5578063dc53fd92146107f257610230565b80638da5cb5b116100f25780638da5cb5b14610681578063938e3d7b146106ac57806395d89b41146106d55780639ca89fad14610700578063a0712d681461072b57610230565b80636c0360eb1461059a57806370a08231146105c5578063715018a6146106025780637ecc2b56146106195780638cc080251461064457610230565b806323b872dd116101bc57806355f804b31161018057806355f804b3146104b957806356de96db146104e25780635ac7c9591461050b5780635d82cf6e146105345780636352211e1461055d57610230565b806323b872dd146103d65780632f745c59146103ff5780633ccfd60b1461043c57806342842e0e146104535780634f6ccce71461047c57610230565b8063081812fc11610203578063081812fc146102f1578063095ea7b31461032e57806318160ddd146103575780631865c57d1461038257806321ca4236146103ad57610230565b806301ffc9a7146102355780630480e58b14610272578063069594291461029d57806306fdde03146102c6575b600080fd5b34801561024157600080fd5b5061025c60048036038101906102579190613f7e565b6108f0565b6040516102699190614833565b60405180910390f35b34801561027e57600080fd5b50610287610902565b6040516102949190614d30565b60405180910390f35b3480156102a957600080fd5b506102c460048036038101906102bf9190613dd7565b61090c565b005b3480156102d257600080fd5b506102db6109cc565b6040516102e891906148ae565b60405180910390f35b3480156102fd57600080fd5b506103186004803603810190610313919061403a565b610a5e565b60405161032591906147cc565b60405180910390f35b34801561033a57600080fd5b5061035560048036038101906103509190613f42565b610ae3565b005b34801561036357600080fd5b5061036c610bfb565b6040516103799190614d30565b60405180910390f35b34801561038e57600080fd5b50610397610c08565b6040516103a49190614893565b60405180910390f35b3480156103b957600080fd5b506103d460048036038101906103cf9190613f42565b610c1f565b005b3480156103e257600080fd5b506103fd60048036038101906103f89190613e3c565b610ca9565b005b34801561040b57600080fd5b5061042660048036038101906104219190613f42565b610d09565b6040516104339190614d30565b60405180910390f35b34801561044857600080fd5b50610451610dae565b005b34801561045f57600080fd5b5061047a60048036038101906104759190613e3c565b610e79565b005b34801561048857600080fd5b506104a3600480360381019061049e919061403a565b610e99565b6040516104b09190614d30565b60405180910390f35b3480156104c557600080fd5b506104e060048036038101906104db9190613ff9565b610f30565b005b3480156104ee57600080fd5b5061050960048036038101906105049190613fd0565b611016565b005b34801561051757600080fd5b50610532600480360381019061052d919061403a565b61111c565b005b34801561054057600080fd5b5061055b6004803603810190610556919061403a565b6111a2565b005b34801561056957600080fd5b50610584600480360381019061057f919061403a565b611228565b60405161059191906147cc565b60405180910390f35b3480156105a657600080fd5b506105af6112da565b6040516105bc91906148ae565b60405180910390f35b3480156105d157600080fd5b506105ec60048036038101906105e79190613dd7565b611312565b6040516105f99190614d30565b60405180910390f35b34801561060e57600080fd5b506106176113ca565b005b34801561062557600080fd5b5061062e611452565b60405161063b9190614d30565b60405180910390f35b34801561065057600080fd5b5061066b60048036038101906106669190613dd7565b611461565b6040516106789190614833565b60405180910390f35b34801561068d57600080fd5b506106966114b7565b6040516106a391906147cc565b60405180910390f35b3480156106b857600080fd5b506106d360048036038101906106ce9190613ff9565b6114e1565b005b3480156106e157600080fd5b506106ea611577565b6040516106f791906148ae565b60405180910390f35b34801561070c57600080fd5b50610715611609565b6040516107229190614833565b60405180910390f35b6107456004803603810190610740919061403a565b611620565b005b610761600480360381019061075c9190614063565b6117e5565b005b34801561076f57600080fd5b5061078a60048036038101906107859190613f06565b611c0e565b005b34801561079857600080fd5b506107b360048036038101906107ae9190613e8b565b611d8f565b005b3480156107c157600080fd5b506107dc60048036038101906107d7919061403a565b611df1565b6040516107e991906148ae565b60405180910390f35b3480156107fe57600080fd5b50610807611e98565b6040516108149190614d30565b60405180910390f35b34801561082957600080fd5b50610832611ea2565b005b34801561084057600080fd5b50610849611f8b565b60405161085691906148ae565b60405180910390f35b34801561086b57600080fd5b5061088660048036038101906108819190613e00565b61204c565b6040516108939190614833565b60405180910390f35b3480156108a857600080fd5b506108b16120e0565b6040516108be9190614d30565b60405180910390f35b3480156108d357600080fd5b506108ee60048036038101906108e99190613dd7565b6120ea565b005b60006108fb826121e2565b9050919050565b6000600a54905090565b61091461225c565b73ffffffffffffffffffffffffffffffffffffffff166109326114b7565b73ffffffffffffffffffffffffffffffffffffffff1614610988576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097f90614bb0565b60405180910390fd5b80601460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6060600080546109db90615040565b80601f0160208091040260200160405190810160405280929190818152602001828054610a0790615040565b8015610a545780601f10610a2957610100808354040283529160200191610a54565b820191906000526020600020905b815481529060010190602001808311610a3757829003601f168201915b5050505050905090565b6000610a6982612264565b610aa8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9f90614b90565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610aee82611228565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b5690614c10565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b7e61225c565b73ffffffffffffffffffffffffffffffffffffffff161480610bad5750610bac81610ba761225c565b61204c565b5b610bec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610be390614ad0565b60405180910390fd5b610bf683836122d0565b505050565b6000600880549050905090565b6000601260009054906101000a900460ff16905090565b610c2761225c565b73ffffffffffffffffffffffffffffffffffffffff16610c456114b7565b73ffffffffffffffffffffffffffffffffffffffff1614610c9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9290614bb0565b60405180910390fd5b610ca58282612389565b5050565b610cba610cb461225c565b826124ae565b610cf9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf090614c30565b60405180910390fd5b610d0483838361258c565b505050565b6000610d1483611312565b8210610d55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4c90614990565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610db661225c565b73ffffffffffffffffffffffffffffffffffffffff16610dd46114b7565b73ffffffffffffffffffffffffffffffffffffffff1614610e2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2190614bb0565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610e75573d6000803e3d6000fd5b5050565b610e9483838360405180602001604052806000815250611d8f565b505050565b6000610ea3610bfb565b8210610ee4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610edb90614c70565b60405180910390fd5b60088281548110610f1e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b610f3861225c565b73ffffffffffffffffffffffffffffffffffffffff16610f566114b7565b73ffffffffffffffffffffffffffffffffffffffff1614610fac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa390614bb0565b60405180910390fd5b600d60009054906101000a900460ff1615610ffc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff390614b30565b60405180910390fd5b8060139080519060200190611012929190613be6565b5050565b61101e61225c565b73ffffffffffffffffffffffffffffffffffffffff1661103c6114b7565b73ffffffffffffffffffffffffffffffffffffffff1614611092576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108990614bb0565b60405180910390fd5b80601260006101000a81548160ff021916908360028111156110dd577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b02179055507f551dc40198cc79684bb69e4931dba4ac16e4598792ee1c0a5000aeea366d7bb6816040516111119190614893565b60405180910390a150565b61112461225c565b73ffffffffffffffffffffffffffffffffffffffff166111426114b7565b73ffffffffffffffffffffffffffffffffffffffff1614611198576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118f90614bb0565b60405180910390fd5b8060108190555050565b6111aa61225c565b73ffffffffffffffffffffffffffffffffffffffff166111c86114b7565b73ffffffffffffffffffffffffffffffffffffffff161461121e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161121590614bb0565b60405180910390fd5b8060118190555050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156112d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112c890614b10565b60405180910390fd5b80915050919050565b606060006112e66127e8565b5114156113045760405180602001604052806000815250905061130f565b61130c6127e8565b90505b90565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611383576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161137a90614af0565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6113d261225c565b73ffffffffffffffffffffffffffffffffffffffff166113f06114b7565b73ffffffffffffffffffffffffffffffffffffffff1614611446576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143d90614bb0565b60405180910390fd5b611450600061287a565b565b600061145c612940565b905090565b6000600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff169050919050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6114e961225c565b73ffffffffffffffffffffffffffffffffffffffff166115076114b7565b73ffffffffffffffffffffffffffffffffffffffff161461155d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155490614bb0565b60405180910390fd5b80600e9080519060200190611573929190613be6565b5050565b60606001805461158690615040565b80601f01602080910402602001604051908101604052809291908181526020018280546115b290615040565b80156115ff5780601f106115d4576101008083540402835291602001916115ff565b820191906000526020600020905b8154815290600101906020018083116115e257829003601f168201915b5050505050905090565b6000600d60009054906101000a900460ff16905090565b6002600c541415611666576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165d90614d10565b60405180910390fd5b6002600c819055506002808111156116a7577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b601260009054906101000a900460ff1660028111156116ef577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1461172f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172690614c50565b60405180910390fd5b6000601054148061174257506010548111155b611781576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177890614cf0565b60405180910390fd5b34816011546117909190614e9c565b146117d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c790614910565b60405180910390fd5b6117da3382612389565b6001600c8190555050565b6002600c54141561182b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182290614d10565b60405180910390fd5b6002600c819055506001600281111561186d577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b601260009054906101000a900460ff1660028111156118b5577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b148061193f57506002808111156118f5577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b601260009054906101000a900460ff16600281111561193d577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b145b61197e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197590614950565b60405180910390fd5b3483146119c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119b790614910565b60405180910390fd5b60001515600f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514611a53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4a90614a30565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611ae5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611adc906149d0565b60405180910390fd5b611b393385858530604051602001611b01959493929190614723565b60405160208183030381529060405282601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16612975565b6001600f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611b9b3385612389565b8173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f7199211527ef146af6ac7c4a9d44fb290d7a4e6a2c164effe334f1944bd551f486604051611bf89190614d30565b60405180910390a36001600c8190555050505050565b611c1661225c565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c7b90614a70565b60405180910390fd5b8060056000611c9161225c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611d3e61225c565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611d839190614833565b60405180910390a35050565b611da0611d9a61225c565b836124ae565b611ddf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dd690614c30565b60405180910390fd5b611deb84848484612a79565b50505050565b6060611dfc82612264565b611e3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e3290614bf0565b60405180910390fd5b6000611e456127e8565b90506000815111611e655760405180602001604052806000815250611e90565b80611e6f84612ad5565b604051602001611e80929190614782565b6040516020818303038152906040525b915050919050565b6000601154905090565b611eaa61225c565b73ffffffffffffffffffffffffffffffffffffffff16611ec86114b7565b73ffffffffffffffffffffffffffffffffffffffff1614611f1e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f1590614bb0565b60405180910390fd5b600d60009054906101000a900460ff1615611f6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f6590614b30565b60405180910390fd5b6001600d60006101000a81548160ff021916908315150217905550565b60606000600e8054611f9c90615040565b90501415611fbb57604051806020016040528060008152509050612049565b600e8054611fc890615040565b80601f0160208091040260200160405190810160405280929190818152602001828054611ff490615040565b80156120415780601f1061201657610100808354040283529160200191612041565b820191906000526020600020905b81548152906001019060200180831161202457829003601f168201915b505050505090505b90565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000601054905090565b6120f261225c565b73ffffffffffffffffffffffffffffffffffffffff166121106114b7565b73ffffffffffffffffffffffffffffffffffffffff1614612166576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215d90614bb0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156121d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121cd906149f0565b60405180910390fd5b6121df8161287a565b50565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612255575061225482612c82565b5b9050919050565b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661234383611228565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612393610bfb565b9050600082116123d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123cf90614c90565b60405180910390fd5b8082826123e59190614e15565b11612425576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161241c90614cd0565b60405180910390fd5b61242d612940565b82111561246f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161246690614cb0565b60405180910390fd5b60005b828110156124a857600081836124889190614e15565b90506124948582612d64565b5080806124a0906150a3565b915050612472565b50505050565b60006124b982612264565b6124f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124ef90614ab0565b60405180910390fd5b600061250383611228565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061257257508373ffffffffffffffffffffffffffffffffffffffff1661255a84610a5e565b73ffffffffffffffffffffffffffffffffffffffff16145b806125835750612582818561204c565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166125ac82611228565b73ffffffffffffffffffffffffffffffffffffffff1614612602576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125f990614bd0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612672576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161266990614a50565b60405180910390fd5b61267d838383612d82565b6126886000826122d0565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126d89190614ef6565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461272f9190614e15565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6060601380546127f790615040565b80601f016020809104026020016040519081016040528092919081815260200182805461282390615040565b80156128705780601f1061284557610100808354040283529160200191612870565b820191906000526020600020905b81548152906001019060200180831161285357829003601f168201915b5050505050905090565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008061294b610bfb565b9050600a548110612960576000915050612972565b80600a5461296e9190614ef6565b9150505b90565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156129e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129dc906148f0565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16612a1e83612a108680519060200120612d92565b612dc290919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff1614612a74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a6b90614970565b60405180910390fd5b505050565b612a8484848461258c565b612a9084848484612de9565b612acf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ac6906149b0565b60405180910390fd5b50505050565b60606000821415612b1d576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612c7d565b600082905060005b60008214612b4f578080612b38906150a3565b915050600a82612b489190614e6b565b9150612b25565b60008167ffffffffffffffff811115612b91577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612bc35781602001600182028036833780820191505090505b5090505b60008514612c7657600182612bdc9190614ef6565b9150600a85612beb9190615124565b6030612bf79190614e15565b60f81b818381518110612c33577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612c6f9190614e6b565b9450612bc7565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612d4d57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612d5d5750612d5c82612f80565b5b9050919050565b612d7e828260405180602001604052806000815250612fea565b5050565b612d8d838383613045565b505050565b600081604051602001612da591906147a6565b604051602081830303815290604052805190602001209050919050565b6000806000612dd18585613159565b91509150612dde816131dc565b819250505092915050565b6000612e0a8473ffffffffffffffffffffffffffffffffffffffff1661352d565b15612f73578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612e3361225c565b8786866040518563ffffffff1660e01b8152600401612e5594939291906147e7565b602060405180830381600087803b158015612e6f57600080fd5b505af1925050508015612ea057506040513d601f19601f82011682018060405250810190612e9d9190613fa7565b60015b612f23573d8060008114612ed0576040519150601f19603f3d011682016040523d82523d6000602084013e612ed5565b606091505b50600081511415612f1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f12906149b0565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612f78565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612ff48383613540565b6130016000848484612de9565b613040576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613037906149b0565b60405180910390fd5b505050565b61305083838361370e565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156130935761308e81613713565b6130d2565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146130d1576130d0838261375c565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561311557613110816138c9565b613154565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613153576131528282613a0c565b5b5b505050565b60008060418351141561319b5760008060006020860151925060408601519150606086015160001a905061318f87828585613a8b565b945094505050506131d5565b6040835114156131cc5760008060208501519150604085015190506131c1868383613b98565b9350935050506131d5565b60006002915091505b9250929050565b60006004811115613216577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b81600481111561324f577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b141561325a5761352a565b60016004811115613294577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156132cd577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b141561330e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613305906148d0565b60405180910390fd5b60026004811115613348577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115613381577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156133c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133b990614930565b60405180910390fd5b600360048111156133fc577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115613435577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415613476576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161346d90614a90565b60405180910390fd5b6004808111156134af577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8160048111156134e8577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415613529576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161352090614b50565b60405180910390fd5b5b50565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156135b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135a790614b70565b60405180910390fd5b6135b981612264565b156135f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135f090614a10565b60405180910390fd5b61360560008383612d82565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546136559190614e15565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161376984611312565b6137739190614ef6565b9050600060076000848152602001908152602001600020549050818114613858576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506138dd9190614ef6565b9050600060096000848152602001908152602001600020549050600060088381548110613933577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050806008838154811061397b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806139f0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613a1783611312565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115613ac6576000600391509150613b8f565b601b8560ff1614158015613ade5750601c8560ff1614155b15613af0576000600491509150613b8f565b600060018787878760405160008152602001604052604051613b15949392919061484e565b6020604051602081039080840390855afa158015613b37573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415613b8657600060019250925050613b8f565b80600092509250505b94509492505050565b6000806000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85169150601b8560ff1c019050613bd887828885613a8b565b935093505050935093915050565b828054613bf290615040565b90600052602060002090601f016020900481019282613c145760008555613c5b565b82601f10613c2d57805160ff1916838001178555613c5b565b82800160010185558215613c5b579182015b82811115613c5a578251825591602001919060010190613c3f565b5b509050613c689190613c6c565b5090565b5b80821115613c85576000816000905550600101613c6d565b5090565b6000613c9c613c9784614d70565b614d4b565b905082815260208101848484011115613cb457600080fd5b613cbf848285614ffe565b509392505050565b6000613cda613cd584614da1565b614d4b565b905082815260208101848484011115613cf257600080fd5b613cfd848285614ffe565b509392505050565b600081359050613d1481615b54565b92915050565b600081359050613d2981615b6b565b92915050565b600081359050613d3e81615b82565b92915050565b600081519050613d5381615b82565b92915050565b600082601f830112613d6a57600080fd5b8135613d7a848260208601613c89565b91505092915050565b600081359050613d9281615b99565b92915050565b600082601f830112613da957600080fd5b8135613db9848260208601613cc7565b91505092915050565b600081359050613dd181615ba9565b92915050565b600060208284031215613de957600080fd5b6000613df784828501613d05565b91505092915050565b60008060408385031215613e1357600080fd5b6000613e2185828601613d05565b9250506020613e3285828601613d05565b9150509250929050565b600080600060608486031215613e5157600080fd5b6000613e5f86828701613d05565b9350506020613e7086828701613d05565b9250506040613e8186828701613dc2565b9150509250925092565b60008060008060808587031215613ea157600080fd5b6000613eaf87828801613d05565b9450506020613ec087828801613d05565b9350506040613ed187828801613dc2565b925050606085013567ffffffffffffffff811115613eee57600080fd5b613efa87828801613d59565b91505092959194509250565b60008060408385031215613f1957600080fd5b6000613f2785828601613d05565b9250506020613f3885828601613d1a565b9150509250929050565b60008060408385031215613f5557600080fd5b6000613f6385828601613d05565b9250506020613f7485828601613dc2565b9150509250929050565b600060208284031215613f9057600080fd5b6000613f9e84828501613d2f565b91505092915050565b600060208284031215613fb957600080fd5b6000613fc784828501613d44565b91505092915050565b600060208284031215613fe257600080fd5b6000613ff084828501613d83565b91505092915050565b60006020828403121561400b57600080fd5b600082013567ffffffffffffffff81111561402557600080fd5b61403184828501613d98565b91505092915050565b60006020828403121561404c57600080fd5b600061405a84828501613dc2565b91505092915050565b6000806000806080858703121561407957600080fd5b600061408787828801613dc2565b945050602061409887828801613dc2565b93505060406140a987828801613d05565b925050606085013567ffffffffffffffff8111156140c657600080fd5b6140d287828801613d59565b91505092959194509250565b6140e781614f2a565b82525050565b6140fe6140f982614f2a565b6150ec565b82525050565b61410d81614f3c565b82525050565b61411c81614f48565b82525050565b61413361412e82614f48565b6150fe565b82525050565b600061414482614dd2565b61414e8185614de8565b935061415e81856020860161500d565b61416781615240565b840191505092915050565b61418361417e82614fc8565b6150ec565b82525050565b61419281614fec565b82525050565b60006141a382614ddd565b6141ad8185614df9565b93506141bd81856020860161500d565b6141c681615240565b840191505092915050565b60006141dc82614ddd565b6141e68185614e0a565b93506141f681856020860161500d565b80840191505092915050565b600061420f601883614df9565b915061421a8261525e565b602082019050919050565b6000614232602483614df9565b915061423d82615287565b604082019050919050565b6000614255602183614df9565b9150614260826152d6565b604082019050919050565b6000614278601f83614df9565b915061428382615325565b602082019050919050565b600061429b601c83614e0a565b91506142a68261534e565b601c82019050919050565b60006142be601383614df9565b91506142c982615377565b602082019050919050565b60006142e1601183614df9565b91506142ec826153a0565b602082019050919050565b6000614304602b83614df9565b915061430f826153c9565b604082019050919050565b6000614327603283614df9565b915061433282615418565b604082019050919050565b600061434a601c83614df9565b915061435582615467565b602082019050919050565b600061436d602683614df9565b915061437882615490565b604082019050919050565b6000614390601c83614df9565b915061439b826154df565b602082019050919050565b60006143b3601783614df9565b91506143be82615508565b602082019050919050565b60006143d6602483614df9565b91506143e182615531565b604082019050919050565b60006143f9601983614df9565b915061440482615580565b602082019050919050565b600061441c602283614df9565b9150614427826155a9565b604082019050919050565b600061443f602c83614df9565b915061444a826155f8565b604082019050919050565b6000614462603883614df9565b915061446d82615647565b604082019050919050565b6000614485602a83614df9565b915061449082615696565b604082019050919050565b60006144a8602983614df9565b91506144b3826156e5565b604082019050919050565b60006144cb601183614df9565b91506144d682615734565b602082019050919050565b60006144ee602283614df9565b91506144f98261575d565b604082019050919050565b6000614511602083614df9565b915061451c826157ac565b602082019050919050565b6000614534602c83614df9565b915061453f826157d5565b604082019050919050565b6000614557602083614df9565b915061456282615824565b602082019050919050565b600061457a602983614df9565b91506145858261584d565b604082019050919050565b600061459d602f83614df9565b91506145a88261589c565b604082019050919050565b60006145c0602183614df9565b91506145cb826158eb565b604082019050919050565b60006145e3603183614df9565b91506145ee8261593a565b604082019050919050565b6000614606601a83614df9565b915061461182615989565b602082019050919050565b6000614629602c83614df9565b9150614634826159b2565b604082019050919050565b600061464c602483614df9565b915061465782615a01565b604082019050919050565b600061466f602383614df9565b915061467a82615a50565b604082019050919050565b6000614692600883614df9565b915061469d82615a9f565b602082019050919050565b60006146b5602883614df9565b91506146c082615ac8565b604082019050919050565b60006146d8601f83614df9565b91506146e382615b17565b602082019050919050565b6146f781614fb1565b82525050565b61470e61470982614fb1565b61511a565b82525050565b61471d81614fbb565b82525050565b600061472f82886140ed565b60148201915061473f82876146fd565b60208201915061474f82866146fd565b60208201915061475f82856140ed565b60148201915061476f8284614172565b6014820191508190509695505050505050565b600061478e82856141d1565b915061479a82846141d1565b91508190509392505050565b60006147b18261428e565b91506147bd8284614122565b60208201915081905092915050565b60006020820190506147e160008301846140de565b92915050565b60006080820190506147fc60008301876140de565b61480960208301866140de565b61481660408301856146ee565b81810360608301526148288184614139565b905095945050505050565b60006020820190506148486000830184614104565b92915050565b60006080820190506148636000830187614113565b6148706020830186614714565b61487d6040830185614113565b61488a6060830184614113565b95945050505050565b60006020820190506148a86000830184614189565b92915050565b600060208201905081810360008301526148c88184614198565b905092915050565b600060208201905081810360008301526148e981614202565b9050919050565b6000602082019050818103600083015261490981614225565b9050919050565b6000602082019050818103600083015261492981614248565b9050919050565b600060208201905081810360008301526149498161426b565b9050919050565b60006020820190508181036000830152614969816142b1565b9050919050565b60006020820190508181036000830152614989816142d4565b9050919050565b600060208201905081810360008301526149a9816142f7565b9050919050565b600060208201905081810360008301526149c98161431a565b9050919050565b600060208201905081810360008301526149e98161433d565b9050919050565b60006020820190508181036000830152614a0981614360565b9050919050565b60006020820190508181036000830152614a2981614383565b9050919050565b60006020820190508181036000830152614a49816143a6565b9050919050565b60006020820190508181036000830152614a69816143c9565b9050919050565b60006020820190508181036000830152614a89816143ec565b9050919050565b60006020820190508181036000830152614aa98161440f565b9050919050565b60006020820190508181036000830152614ac981614432565b9050919050565b60006020820190508181036000830152614ae981614455565b9050919050565b60006020820190508181036000830152614b0981614478565b9050919050565b60006020820190508181036000830152614b298161449b565b9050919050565b60006020820190508181036000830152614b49816144be565b9050919050565b60006020820190508181036000830152614b69816144e1565b9050919050565b60006020820190508181036000830152614b8981614504565b9050919050565b60006020820190508181036000830152614ba981614527565b9050919050565b60006020820190508181036000830152614bc98161454a565b9050919050565b60006020820190508181036000830152614be98161456d565b9050919050565b60006020820190508181036000830152614c0981614590565b9050919050565b60006020820190508181036000830152614c29816145b3565b9050919050565b60006020820190508181036000830152614c49816145d6565b9050919050565b60006020820190508181036000830152614c69816145f9565b9050919050565b60006020820190508181036000830152614c898161461c565b9050919050565b60006020820190508181036000830152614ca98161463f565b9050919050565b60006020820190508181036000830152614cc981614662565b9050919050565b60006020820190508181036000830152614ce981614685565b9050919050565b60006020820190508181036000830152614d09816146a8565b9050919050565b60006020820190508181036000830152614d29816146cb565b9050919050565b6000602082019050614d4560008301846146ee565b92915050565b6000614d55614d66565b9050614d618282615072565b919050565b6000604051905090565b600067ffffffffffffffff821115614d8b57614d8a615211565b5b614d9482615240565b9050602081019050919050565b600067ffffffffffffffff821115614dbc57614dbb615211565b5b614dc582615240565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614e2082614fb1565b9150614e2b83614fb1565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614e6057614e5f615155565b5b828201905092915050565b6000614e7682614fb1565b9150614e8183614fb1565b925082614e9157614e90615184565b5b828204905092915050565b6000614ea782614fb1565b9150614eb283614fb1565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614eeb57614eea615155565b5b828202905092915050565b6000614f0182614fb1565b9150614f0c83614fb1565b925082821015614f1f57614f1e615155565b5b828203905092915050565b6000614f3582614f91565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000819050614f8c82615b40565b919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b6000614fd382614fda565b9050919050565b6000614fe582614f91565b9050919050565b6000614ff782614f7e565b9050919050565b82818337600083830152505050565b60005b8381101561502b578082015181840152602081019050615010565b8381111561503a576000848401525b50505050565b6000600282049050600182168061505857607f821691505b6020821081141561506c5761506b6151e2565b5b50919050565b61507b82615240565b810181811067ffffffffffffffff8211171561509a57615099615211565b5b80604052505050565b60006150ae82614fb1565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156150e1576150e0615155565b5b600182019050919050565b60006150f782615108565b9050919050565b6000819050919050565b600061511382615251565b9050919050565b6000819050919050565b600061512f82614fb1565b915061513a83614fb1565b92508261514a57615149615184565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f766572696669636174696f6e2061646472657373206e6f7420696e697469616c60008201527f697a656400000000000000000000000000000000000000000000000000000000602082015250565b7f70617961626c6520646f6573206d61746368207265717569726520616d6f756e60008201527f7400000000000000000000000000000000000000000000000000000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b7f6d696e74696e672069732064697361626c656400000000000000000000000000600082015250565b7f7369676e617475726520696e76616c6964000000000000000000000000000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f766572696669636174696f6e2061646472657373206e6f742073657400000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f6d696e744b657920616c726561647920636c61696d6564000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f626173655552492069732066726f7a656e000000000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f7075626c6963206d696e74696e672069732064697361626c6564000000000000600082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f746f6b656e436f756e74206d7573742062652067726561746572207468616e2060008201527f7a65726f00000000000000000000000000000000000000000000000000000000602082015250565b7f746f6b656e436f756e74206578636565647320617661696c61626c652073757060008201527f706c790000000000000000000000000000000000000000000000000000000000602082015250565b7f6f766572666c6f77000000000000000000000000000000000000000000000000600082015250565b7f746f6b656e436f756e74206578636565647320706572207472616e736163746960008201527f6f6e206c696d6974000000000000000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60038110615b5157615b506151b3565b5b50565b615b5d81614f2a565b8114615b6857600080fd5b50565b615b7481614f3c565b8114615b7f57600080fd5b50565b615b8b81614f52565b8114615b9657600080fd5b50565b60038110615ba657600080fd5b50565b615bb281614fb1565b8114615bbd57600080fd5b5056fea2646970667358221220d6ab107453196535811a7efd54db4442df3260d8285ba82e4efd7ccd3b6645be64736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000002710000000000000000000000000000000000000000000000000011c37937e080000000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000ec093ddc3a880c6f051730ec0a44263ca128f1a900000000000000000000000000000000000000000000000000000000000001800000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000a536f6e6172204d6f6a690000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044d4f4a4900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004368747470733a2f2f70726f6a656374732e6d696e746d616368696e652e78797a2f6d657461646174612f3631366663336433663631326264303030616238306161332f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004268747470733a2f2f70726f6a656374732e6d696e746d616368696e652e78797a2f6d657461646174612f363136666333643366363132626430303061623830616133000000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name_ (string): Sonar Moji
Arg [1] : symbol_ (string): MOJI
Arg [2] : maximumSupply_ (uint256): 10000
Arg [3] : publicMintPrice_ (uint256): 80000000000000000
Arg [4] : maximumPublicTokensPerTransaction_ (uint256): 10
Arg [5] : verificationAddress_ (address): 0xec093ddC3A880c6F051730ec0a44263cA128f1a9
Arg [6] : baseURI_ (string): https://projects.mintmachine.xyz/metadata/616fc3d3f612bd000ab80aa3/
Arg [7] : contractURI_ (string): https://projects.mintmachine.xyz/metadata/616fc3d3f612bd000ab80aa3
-----Encoded View---------------
20 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [2] : 0000000000000000000000000000000000000000000000000000000000002710
Arg [3] : 000000000000000000000000000000000000000000000000011c37937e080000
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [5] : 000000000000000000000000ec093ddc3a880c6f051730ec0a44263ca128f1a9
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000180
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000200
Arg [8] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [9] : 536f6e6172204d6f6a6900000000000000000000000000000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [11] : 4d4f4a4900000000000000000000000000000000000000000000000000000000
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000043
Arg [13] : 68747470733a2f2f70726f6a656374732e6d696e746d616368696e652e78797a
Arg [14] : 2f6d657461646174612f36313666633364336636313262643030306162383061
Arg [15] : 61332f0000000000000000000000000000000000000000000000000000000000
Arg [16] : 0000000000000000000000000000000000000000000000000000000000000042
Arg [17] : 68747470733a2f2f70726f6a656374732e6d696e746d616368696e652e78797a
Arg [18] : 2f6d657461646174612f36313666633364336636313262643030306162383061
Arg [19] : 6133000000000000000000000000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.