Overview
TokenID
636
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
NonFungibleHeroesToken
Compiler Version
v0.8.6+commit.11564f7e
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.6; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "./INonFungibleHeroesToken.sol"; contract NonFungibleHeroesToken is INonFungibleHeroesToken, Ownable, ReentrancyGuard { // ======== Metadata ========= string public baseTokenURI; // ======== Provenance ========= string public provenanceHash = ""; // ======== Minter ========= address public minter; bool public isMinterLocked = false; modifier onlyMinter() { require(msg.sender == minter, "Only minter"); _; } // ======== Constructor ========= constructor(string memory baseURI) ERC721("NonFungibleHeroes", "NFH") { setBaseURI(baseURI); } // ======== Minting ========= function mint(uint256 _count, address _recipient) public override onlyMinter nonReentrant { uint256 supply = totalSupply(); for (uint i = 0; i < _count; i++) { _safeMint(_recipient, supply + i); } } // ======== Minter ========= function updateMinter(address _minter) external override onlyOwner { require(!isMinterLocked, "Minter ownership renounced"); minter = _minter; } function lockMinter() external override onlyOwner { isMinterLocked = true; } // ======== Metadata ========= function _baseURI() internal view virtual override returns (string memory) { return baseTokenURI; } function setBaseURI(string memory baseURI) public override onlyOwner { baseTokenURI = baseURI; } // ======== Provenance ========= function setProvenanceHash(string memory _provenanceHash) public override onlyOwner { provenanceHash = _provenanceHash; } // ======== Withdraw ========= function withdraw() public onlyOwner { uint balance = address(this).balance; payable(msg.sender).transfer(balance); } }
// 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; } }
// Contract based on https://docs.openzeppelin.com/contracts/3.x/erc721 // SPDX-License-Identifier: MIT /// @title Interface for NonFungibleHeroesToken pragma solidity ^0.8.6; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; abstract contract INonFungibleHeroesToken is ERC721Enumerable { function setProvenanceHash(string memory _provenanceHash) virtual external; function mint(uint256 _count, address _recipient) virtual external; function setBaseURI(string memory baseURI) virtual external; function updateMinter(address _minter) virtual external; function lockMinter() virtual external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../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 "./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 "../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; 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 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); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"baseURI","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":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","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":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"isMinterLocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_count","type":"uint256"},{"internalType":"address","name":"_recipient","type":"address"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"minter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"provenanceHash","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_provenanceHash","type":"string"}],"name":"setProvenanceHash","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":[{"internalType":"address","name":"_minter","type":"address"}],"name":"updateMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405260405180602001604052806000815250600d90805190602001906200002b929190620002fd565b506000600e60146101000a81548160ff0219169083151502179055503480156200005457600080fd5b50604051620044603803806200446083398181016040528101906200007a91906200042b565b6040518060400160405280601181526020017f4e6f6e46756e6769626c654865726f65730000000000000000000000000000008152506040518060400160405280600381526020017f4e464800000000000000000000000000000000000000000000000000000000008152508160009080519060200190620000fe929190620002fd565b50806001908051906020019062000117929190620002fd565b5050506200013a6200012e6200015a60201b60201c565b6200016260201b60201c565b6001600b8190555062000153816200022860201b60201c565b5062000683565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620002386200015a60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff166200025e620002d360201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620002b7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002ae90620004a3565b60405180910390fd5b80600c9080519060200190620002cf929190620002fd565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b8280546200030b906200056b565b90600052602060002090601f0160209004810192826200032f57600085556200037b565b82601f106200034a57805160ff19168380011785556200037b565b828001600101855582156200037b579182015b828111156200037a5782518255916020019190600101906200035d565b5b5090506200038a91906200038e565b5090565b5b80821115620003a95760008160009055506001016200038f565b5090565b6000620003c4620003be84620004ee565b620004c5565b905082815260208101848484011115620003e357620003e26200063a565b5b620003f084828562000535565b509392505050565b600082601f83011262000410576200040f62000635565b5b815162000422848260208601620003ad565b91505092915050565b60006020828403121562000444576200044362000644565b5b600082015167ffffffffffffffff8111156200046557620004646200063f565b5b6200047384828501620003f8565b91505092915050565b60006200048b60208362000524565b915062000498826200065a565b602082019050919050565b60006020820190508181036000830152620004be816200047c565b9050919050565b6000620004d1620004e4565b9050620004df8282620005a1565b919050565b6000604051905090565b600067ffffffffffffffff8211156200050c576200050b62000606565b5b620005178262000649565b9050602081019050919050565b600082825260208201905092915050565b60005b838110156200055557808201518184015260208101905062000538565b8381111562000565576000848401525b50505050565b600060028204905060018216806200058457607f821691505b602082108114156200059b576200059a620005d7565b5b50919050565b620005ac8262000649565b810181811067ffffffffffffffff82111715620005ce57620005cd62000606565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b613dcd80620006936000396000f3fe608060405234801561001057600080fd5b50600436106101cf5760003560e01c806355f804b31161010457806395d89b41116100a2578063c87b56dd11610071578063c87b56dd146104e0578063d547cfb714610510578063e985e9c51461052e578063f2fde38b1461055e576101cf565b806395d89b411461046c578063a22cb4651461048a578063b88d4fde146104a6578063c6ab67a3146104c2576101cf565b8063715018a6116100de578063715018a61461041e57806376daebe1146104285780638da5cb5b1461043257806394bf804d14610450576101cf565b806355f804b3146103a25780636352211e146103be57806370a08231146103ee576101cf565b80631e688e10116101715780633ccfd60b1161014b5780633ccfd60b1461033057806342842e0e1461033a5780634eb03f6e146103565780634f6ccce714610372576101cf565b80631e688e10146102c657806323b872dd146102e45780632f745c5914610300576101cf565b8063081812fc116101ad578063081812fc14610240578063095ea7b314610270578063109695231461028c57806318160ddd146102a8576101cf565b806301ffc9a7146101d457806306fdde03146102045780630754617214610222575b600080fd5b6101ee60048036038101906101e99190612b31565b61057a565b6040516101fb919061307b565b60405180910390f35b61020c6105f4565b6040516102199190613096565b60405180910390f35b61022a610686565b6040516102379190613014565b60405180910390f35b61025a60048036038101906102559190612bd4565b6106ac565b6040516102679190613014565b60405180910390f35b61028a60048036038101906102859190612af1565b610731565b005b6102a660048036038101906102a19190612b8b565b610849565b005b6102b06108df565b6040516102bd9190613358565b60405180910390f35b6102ce6108ec565b6040516102db919061307b565b60405180910390f35b6102fe60048036038101906102f991906129db565b6108ff565b005b61031a60048036038101906103159190612af1565b61095f565b6040516103279190613358565b60405180910390f35b610338610a04565b005b610354600480360381019061034f91906129db565b610acf565b005b610370600480360381019061036b919061296e565b610aef565b005b61038c60048036038101906103879190612bd4565b610bff565b6040516103999190613358565b60405180910390f35b6103bc60048036038101906103b79190612b8b565b610c70565b005b6103d860048036038101906103d39190612bd4565b610d06565b6040516103e59190613014565b60405180910390f35b6104086004803603810190610403919061296e565b610db8565b6040516104159190613358565b60405180910390f35b610426610e70565b005b610430610ef8565b005b61043a610f91565b6040516104479190613014565b60405180910390f35b61046a60048036038101906104659190612c01565b610fbb565b005b6104746110e6565b6040516104819190613096565b60405180910390f35b6104a4600480360381019061049f9190612ab1565b611178565b005b6104c060048036038101906104bb9190612a2e565b6112f9565b005b6104ca61135b565b6040516104d79190613096565b60405180910390f35b6104fa60048036038101906104f59190612bd4565b6113e9565b6040516105079190613096565b60405180910390f35b610518611490565b6040516105259190613096565b60405180910390f35b6105486004803603810190610543919061299b565b61151e565b604051610555919061307b565b60405180910390f35b6105786004803603810190610573919061296e565b6115b2565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806105ed57506105ec826116aa565b5b9050919050565b606060008054610603906135ae565b80601f016020809104026020016040519081016040528092919081815260200182805461062f906135ae565b801561067c5780601f106106515761010080835404028352916020019161067c565b820191906000526020600020905b81548152906001019060200180831161065f57829003601f168201915b5050505050905090565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006106b78261178c565b6106f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ed90613238565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061073c82610d06565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156107ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a4906132d8565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166107cc6117f8565b73ffffffffffffffffffffffffffffffffffffffff1614806107fb57506107fa816107f56117f8565b61151e565b5b61083a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610831906131b8565b60405180910390fd5b6108448383611800565b505050565b6108516117f8565b73ffffffffffffffffffffffffffffffffffffffff1661086f610f91565b73ffffffffffffffffffffffffffffffffffffffff16146108c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108bc90613258565b60405180910390fd5b80600d90805190602001906108db929190612782565b5050565b6000600880549050905090565b600e60149054906101000a900460ff1681565b61091061090a6117f8565b826118b9565b61094f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610946906132f8565b60405180910390fd5b61095a838383611997565b505050565b600061096a83610db8565b82106109ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109a2906130b8565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610a0c6117f8565b73ffffffffffffffffffffffffffffffffffffffff16610a2a610f91565b73ffffffffffffffffffffffffffffffffffffffff1614610a80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7790613258565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610acb573d6000803e3d6000fd5b5050565b610aea838383604051806020016040528060008152506112f9565b505050565b610af76117f8565b73ffffffffffffffffffffffffffffffffffffffff16610b15610f91565b73ffffffffffffffffffffffffffffffffffffffff1614610b6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6290613258565b60405180910390fd5b600e60149054906101000a900460ff1615610bbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb2906132b8565b60405180910390fd5b80600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000610c096108df565b8210610c4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4190613318565b60405180910390fd5b60088281548110610c5e57610c5d613747565b5b90600052602060002001549050919050565b610c786117f8565b73ffffffffffffffffffffffffffffffffffffffff16610c96610f91565b73ffffffffffffffffffffffffffffffffffffffff1614610cec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ce390613258565b60405180910390fd5b80600c9080519060200190610d02929190612782565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610daf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da6906131f8565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610e29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e20906131d8565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610e786117f8565b73ffffffffffffffffffffffffffffffffffffffff16610e96610f91565b73ffffffffffffffffffffffffffffffffffffffff1614610eec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee390613258565b60405180910390fd5b610ef66000611bf3565b565b610f006117f8565b73ffffffffffffffffffffffffffffffffffffffff16610f1e610f91565b73ffffffffffffffffffffffffffffffffffffffff1614610f74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6b90613258565b60405180910390fd5b6001600e60146101000a81548160ff021916908315150217905550565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461104b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104290613178565b60405180910390fd5b6002600b541415611091576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108890613338565b60405180910390fd5b6002600b8190555060006110a36108df565b905060005b838110156110d8576110c58382846110c0919061343d565b611cb9565b80806110d090613611565b9150506110a8565b50506001600b819055505050565b6060600180546110f5906135ae565b80601f0160208091040260200160405190810160405280929190818152602001828054611121906135ae565b801561116e5780601f106111435761010080835404028352916020019161116e565b820191906000526020600020905b81548152906001019060200180831161115157829003601f168201915b5050505050905090565b6111806117f8565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156111ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e590613158565b60405180910390fd5b80600560006111fb6117f8565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166112a86117f8565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516112ed919061307b565b60405180910390a35050565b61130a6113046117f8565b836118b9565b611349576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611340906132f8565b60405180910390fd5b61135584848484611cd7565b50505050565b600d8054611368906135ae565b80601f0160208091040260200160405190810160405280929190818152602001828054611394906135ae565b80156113e15780601f106113b6576101008083540402835291602001916113e1565b820191906000526020600020905b8154815290600101906020018083116113c457829003601f168201915b505050505081565b60606113f48261178c565b611433576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142a90613298565b60405180910390fd5b600061143d611d33565b9050600081511161145d5760405180602001604052806000815250611488565b8061146784611dc5565b604051602001611478929190612ff0565b6040516020818303038152906040525b915050919050565b600c805461149d906135ae565b80601f01602080910402602001604051908101604052809291908181526020018280546114c9906135ae565b80156115165780601f106114eb57610100808354040283529160200191611516565b820191906000526020600020905b8154815290600101906020018083116114f957829003601f168201915b505050505081565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6115ba6117f8565b73ffffffffffffffffffffffffffffffffffffffff166115d8610f91565b73ffffffffffffffffffffffffffffffffffffffff161461162e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162590613258565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561169e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611695906130f8565b60405180910390fd5b6116a781611bf3565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061177557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611785575061178482611f26565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661187383610d06565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006118c48261178c565b611903576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118fa90613198565b60405180910390fd5b600061190e83610d06565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061197d57508373ffffffffffffffffffffffffffffffffffffffff16611965846106ac565b73ffffffffffffffffffffffffffffffffffffffff16145b8061198e575061198d818561151e565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166119b782610d06565b73ffffffffffffffffffffffffffffffffffffffff1614611a0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0490613278565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a7490613138565b60405180910390fd5b611a88838383611f90565b611a93600082611800565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ae391906134c4565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b3a919061343d565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611cd38282604051806020016040528060008152506120a4565b5050565b611ce2848484611997565b611cee848484846120ff565b611d2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d24906130d8565b60405180910390fd5b50505050565b6060600c8054611d42906135ae565b80601f0160208091040260200160405190810160405280929190818152602001828054611d6e906135ae565b8015611dbb5780601f10611d9057610100808354040283529160200191611dbb565b820191906000526020600020905b815481529060010190602001808311611d9e57829003601f168201915b5050505050905090565b60606000821415611e0d576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611f21565b600082905060005b60008214611e3f578080611e2890613611565b915050600a82611e389190613493565b9150611e15565b60008167ffffffffffffffff811115611e5b57611e5a613776565b5b6040519080825280601f01601f191660200182016040528015611e8d5781602001600182028036833780820191505090505b5090505b60008514611f1a57600182611ea691906134c4565b9150600a85611eb5919061365a565b6030611ec1919061343d565b60f81b818381518110611ed757611ed6613747565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611f139190613493565b9450611e91565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b611f9b838383612296565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611fde57611fd98161229b565b61201d565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461201c5761201b83826122e4565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156120605761205b81612451565b61209f565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461209e5761209d8282612522565b5b5b505050565b6120ae83836125a1565b6120bb60008484846120ff565b6120fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120f1906130d8565b60405180910390fd5b505050565b60006121208473ffffffffffffffffffffffffffffffffffffffff1661276f565b15612289578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026121496117f8565b8786866040518563ffffffff1660e01b815260040161216b949392919061302f565b602060405180830381600087803b15801561218557600080fd5b505af19250505080156121b657506040513d601f19601f820116820180604052508101906121b39190612b5e565b60015b612239573d80600081146121e6576040519150601f19603f3d011682016040523d82523d6000602084013e6121eb565b606091505b50600081511415612231576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612228906130d8565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061228e565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016122f184610db8565b6122fb91906134c4565b90506000600760008481526020019081526020016000205490508181146123e0576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061246591906134c4565b905060006009600084815260200190815260200160002054905060006008838154811061249557612494613747565b5b9060005260206000200154905080600883815481106124b7576124b6613747565b5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061250657612505613718565b5b6001900381819060005260206000200160009055905550505050565b600061252d83610db8565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612611576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161260890613218565b60405180910390fd5b61261a8161178c565b1561265a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161265190613118565b60405180910390fd5b61266660008383611f90565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126b6919061343d565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b82805461278e906135ae565b90600052602060002090601f0160209004810192826127b057600085556127f7565b82601f106127c957805160ff19168380011785556127f7565b828001600101855582156127f7579182015b828111156127f65782518255916020019190600101906127db565b5b5090506128049190612808565b5090565b5b80821115612821576000816000905550600101612809565b5090565b600061283861283384613398565b613373565b905082815260208101848484011115612854576128536137aa565b5b61285f84828561356c565b509392505050565b600061287a612875846133c9565b613373565b905082815260208101848484011115612896576128956137aa565b5b6128a184828561356c565b509392505050565b6000813590506128b881613d3b565b92915050565b6000813590506128cd81613d52565b92915050565b6000813590506128e281613d69565b92915050565b6000815190506128f781613d69565b92915050565b600082601f830112612912576129116137a5565b5b8135612922848260208601612825565b91505092915050565b600082601f8301126129405761293f6137a5565b5b8135612950848260208601612867565b91505092915050565b60008135905061296881613d80565b92915050565b600060208284031215612984576129836137b4565b5b6000612992848285016128a9565b91505092915050565b600080604083850312156129b2576129b16137b4565b5b60006129c0858286016128a9565b92505060206129d1858286016128a9565b9150509250929050565b6000806000606084860312156129f4576129f36137b4565b5b6000612a02868287016128a9565b9350506020612a13868287016128a9565b9250506040612a2486828701612959565b9150509250925092565b60008060008060808587031215612a4857612a476137b4565b5b6000612a56878288016128a9565b9450506020612a67878288016128a9565b9350506040612a7887828801612959565b925050606085013567ffffffffffffffff811115612a9957612a986137af565b5b612aa5878288016128fd565b91505092959194509250565b60008060408385031215612ac857612ac76137b4565b5b6000612ad6858286016128a9565b9250506020612ae7858286016128be565b9150509250929050565b60008060408385031215612b0857612b076137b4565b5b6000612b16858286016128a9565b9250506020612b2785828601612959565b9150509250929050565b600060208284031215612b4757612b466137b4565b5b6000612b55848285016128d3565b91505092915050565b600060208284031215612b7457612b736137b4565b5b6000612b82848285016128e8565b91505092915050565b600060208284031215612ba157612ba06137b4565b5b600082013567ffffffffffffffff811115612bbf57612bbe6137af565b5b612bcb8482850161292b565b91505092915050565b600060208284031215612bea57612be96137b4565b5b6000612bf884828501612959565b91505092915050565b60008060408385031215612c1857612c176137b4565b5b6000612c2685828601612959565b9250506020612c37858286016128a9565b9150509250929050565b612c4a816134f8565b82525050565b612c598161350a565b82525050565b6000612c6a826133fa565b612c748185613410565b9350612c8481856020860161357b565b612c8d816137b9565b840191505092915050565b6000612ca382613405565b612cad8185613421565b9350612cbd81856020860161357b565b612cc6816137b9565b840191505092915050565b6000612cdc82613405565b612ce68185613432565b9350612cf681856020860161357b565b80840191505092915050565b6000612d0f602b83613421565b9150612d1a826137ca565b604082019050919050565b6000612d32603283613421565b9150612d3d82613819565b604082019050919050565b6000612d55602683613421565b9150612d6082613868565b604082019050919050565b6000612d78601c83613421565b9150612d83826138b7565b602082019050919050565b6000612d9b602483613421565b9150612da6826138e0565b604082019050919050565b6000612dbe601983613421565b9150612dc98261392f565b602082019050919050565b6000612de1600b83613421565b9150612dec82613958565b602082019050919050565b6000612e04602c83613421565b9150612e0f82613981565b604082019050919050565b6000612e27603883613421565b9150612e32826139d0565b604082019050919050565b6000612e4a602a83613421565b9150612e5582613a1f565b604082019050919050565b6000612e6d602983613421565b9150612e7882613a6e565b604082019050919050565b6000612e90602083613421565b9150612e9b82613abd565b602082019050919050565b6000612eb3602c83613421565b9150612ebe82613ae6565b604082019050919050565b6000612ed6602083613421565b9150612ee182613b35565b602082019050919050565b6000612ef9602983613421565b9150612f0482613b5e565b604082019050919050565b6000612f1c602f83613421565b9150612f2782613bad565b604082019050919050565b6000612f3f601a83613421565b9150612f4a82613bfc565b602082019050919050565b6000612f62602183613421565b9150612f6d82613c25565b604082019050919050565b6000612f85603183613421565b9150612f9082613c74565b604082019050919050565b6000612fa8602c83613421565b9150612fb382613cc3565b604082019050919050565b6000612fcb601f83613421565b9150612fd682613d12565b602082019050919050565b612fea81613562565b82525050565b6000612ffc8285612cd1565b91506130088284612cd1565b91508190509392505050565b60006020820190506130296000830184612c41565b92915050565b60006080820190506130446000830187612c41565b6130516020830186612c41565b61305e6040830185612fe1565b81810360608301526130708184612c5f565b905095945050505050565b60006020820190506130906000830184612c50565b92915050565b600060208201905081810360008301526130b08184612c98565b905092915050565b600060208201905081810360008301526130d181612d02565b9050919050565b600060208201905081810360008301526130f181612d25565b9050919050565b6000602082019050818103600083015261311181612d48565b9050919050565b6000602082019050818103600083015261313181612d6b565b9050919050565b6000602082019050818103600083015261315181612d8e565b9050919050565b6000602082019050818103600083015261317181612db1565b9050919050565b6000602082019050818103600083015261319181612dd4565b9050919050565b600060208201905081810360008301526131b181612df7565b9050919050565b600060208201905081810360008301526131d181612e1a565b9050919050565b600060208201905081810360008301526131f181612e3d565b9050919050565b6000602082019050818103600083015261321181612e60565b9050919050565b6000602082019050818103600083015261323181612e83565b9050919050565b6000602082019050818103600083015261325181612ea6565b9050919050565b6000602082019050818103600083015261327181612ec9565b9050919050565b6000602082019050818103600083015261329181612eec565b9050919050565b600060208201905081810360008301526132b181612f0f565b9050919050565b600060208201905081810360008301526132d181612f32565b9050919050565b600060208201905081810360008301526132f181612f55565b9050919050565b6000602082019050818103600083015261331181612f78565b9050919050565b6000602082019050818103600083015261333181612f9b565b9050919050565b6000602082019050818103600083015261335181612fbe565b9050919050565b600060208201905061336d6000830184612fe1565b92915050565b600061337d61338e565b905061338982826135e0565b919050565b6000604051905090565b600067ffffffffffffffff8211156133b3576133b2613776565b5b6133bc826137b9565b9050602081019050919050565b600067ffffffffffffffff8211156133e4576133e3613776565b5b6133ed826137b9565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061344882613562565b915061345383613562565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156134885761348761368b565b5b828201905092915050565b600061349e82613562565b91506134a983613562565b9250826134b9576134b86136ba565b5b828204905092915050565b60006134cf82613562565b91506134da83613562565b9250828210156134ed576134ec61368b565b5b828203905092915050565b600061350382613542565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561359957808201518184015260208101905061357e565b838111156135a8576000848401525b50505050565b600060028204905060018216806135c657607f821691505b602082108114156135da576135d96136e9565b5b50919050565b6135e9826137b9565b810181811067ffffffffffffffff8211171561360857613607613776565b5b80604052505050565b600061361c82613562565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561364f5761364e61368b565b5b600182019050919050565b600061366582613562565b915061367083613562565b9250826136805761367f6136ba565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4f6e6c79206d696e746572000000000000000000000000000000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4d696e746572206f776e6572736869702072656e6f756e636564000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b613d44816134f8565b8114613d4f57600080fd5b50565b613d5b8161350a565b8114613d6657600080fd5b50565b613d7281613516565b8114613d7d57600080fd5b50565b613d8981613562565b8114613d9457600080fd5b5056fea2646970667358221220f1120aa1d6534ffe69445636d26abac4a0865ee7f5bd6f5fb70b003e30c66f6464736f6c6343000806003300000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d5847526a534668506768797152484835486e537a6e6746534d476b6770426853585a446d54516f447a5034632f00000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101cf5760003560e01c806355f804b31161010457806395d89b41116100a2578063c87b56dd11610071578063c87b56dd146104e0578063d547cfb714610510578063e985e9c51461052e578063f2fde38b1461055e576101cf565b806395d89b411461046c578063a22cb4651461048a578063b88d4fde146104a6578063c6ab67a3146104c2576101cf565b8063715018a6116100de578063715018a61461041e57806376daebe1146104285780638da5cb5b1461043257806394bf804d14610450576101cf565b806355f804b3146103a25780636352211e146103be57806370a08231146103ee576101cf565b80631e688e10116101715780633ccfd60b1161014b5780633ccfd60b1461033057806342842e0e1461033a5780634eb03f6e146103565780634f6ccce714610372576101cf565b80631e688e10146102c657806323b872dd146102e45780632f745c5914610300576101cf565b8063081812fc116101ad578063081812fc14610240578063095ea7b314610270578063109695231461028c57806318160ddd146102a8576101cf565b806301ffc9a7146101d457806306fdde03146102045780630754617214610222575b600080fd5b6101ee60048036038101906101e99190612b31565b61057a565b6040516101fb919061307b565b60405180910390f35b61020c6105f4565b6040516102199190613096565b60405180910390f35b61022a610686565b6040516102379190613014565b60405180910390f35b61025a60048036038101906102559190612bd4565b6106ac565b6040516102679190613014565b60405180910390f35b61028a60048036038101906102859190612af1565b610731565b005b6102a660048036038101906102a19190612b8b565b610849565b005b6102b06108df565b6040516102bd9190613358565b60405180910390f35b6102ce6108ec565b6040516102db919061307b565b60405180910390f35b6102fe60048036038101906102f991906129db565b6108ff565b005b61031a60048036038101906103159190612af1565b61095f565b6040516103279190613358565b60405180910390f35b610338610a04565b005b610354600480360381019061034f91906129db565b610acf565b005b610370600480360381019061036b919061296e565b610aef565b005b61038c60048036038101906103879190612bd4565b610bff565b6040516103999190613358565b60405180910390f35b6103bc60048036038101906103b79190612b8b565b610c70565b005b6103d860048036038101906103d39190612bd4565b610d06565b6040516103e59190613014565b60405180910390f35b6104086004803603810190610403919061296e565b610db8565b6040516104159190613358565b60405180910390f35b610426610e70565b005b610430610ef8565b005b61043a610f91565b6040516104479190613014565b60405180910390f35b61046a60048036038101906104659190612c01565b610fbb565b005b6104746110e6565b6040516104819190613096565b60405180910390f35b6104a4600480360381019061049f9190612ab1565b611178565b005b6104c060048036038101906104bb9190612a2e565b6112f9565b005b6104ca61135b565b6040516104d79190613096565b60405180910390f35b6104fa60048036038101906104f59190612bd4565b6113e9565b6040516105079190613096565b60405180910390f35b610518611490565b6040516105259190613096565b60405180910390f35b6105486004803603810190610543919061299b565b61151e565b604051610555919061307b565b60405180910390f35b6105786004803603810190610573919061296e565b6115b2565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806105ed57506105ec826116aa565b5b9050919050565b606060008054610603906135ae565b80601f016020809104026020016040519081016040528092919081815260200182805461062f906135ae565b801561067c5780601f106106515761010080835404028352916020019161067c565b820191906000526020600020905b81548152906001019060200180831161065f57829003601f168201915b5050505050905090565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006106b78261178c565b6106f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106ed90613238565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061073c82610d06565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156107ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a4906132d8565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166107cc6117f8565b73ffffffffffffffffffffffffffffffffffffffff1614806107fb57506107fa816107f56117f8565b61151e565b5b61083a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610831906131b8565b60405180910390fd5b6108448383611800565b505050565b6108516117f8565b73ffffffffffffffffffffffffffffffffffffffff1661086f610f91565b73ffffffffffffffffffffffffffffffffffffffff16146108c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108bc90613258565b60405180910390fd5b80600d90805190602001906108db929190612782565b5050565b6000600880549050905090565b600e60149054906101000a900460ff1681565b61091061090a6117f8565b826118b9565b61094f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610946906132f8565b60405180910390fd5b61095a838383611997565b505050565b600061096a83610db8565b82106109ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109a2906130b8565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610a0c6117f8565b73ffffffffffffffffffffffffffffffffffffffff16610a2a610f91565b73ffffffffffffffffffffffffffffffffffffffff1614610a80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7790613258565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610acb573d6000803e3d6000fd5b5050565b610aea838383604051806020016040528060008152506112f9565b505050565b610af76117f8565b73ffffffffffffffffffffffffffffffffffffffff16610b15610f91565b73ffffffffffffffffffffffffffffffffffffffff1614610b6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6290613258565b60405180910390fd5b600e60149054906101000a900460ff1615610bbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb2906132b8565b60405180910390fd5b80600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000610c096108df565b8210610c4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4190613318565b60405180910390fd5b60088281548110610c5e57610c5d613747565b5b90600052602060002001549050919050565b610c786117f8565b73ffffffffffffffffffffffffffffffffffffffff16610c96610f91565b73ffffffffffffffffffffffffffffffffffffffff1614610cec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ce390613258565b60405180910390fd5b80600c9080519060200190610d02929190612782565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610daf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da6906131f8565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610e29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e20906131d8565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610e786117f8565b73ffffffffffffffffffffffffffffffffffffffff16610e96610f91565b73ffffffffffffffffffffffffffffffffffffffff1614610eec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee390613258565b60405180910390fd5b610ef66000611bf3565b565b610f006117f8565b73ffffffffffffffffffffffffffffffffffffffff16610f1e610f91565b73ffffffffffffffffffffffffffffffffffffffff1614610f74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6b90613258565b60405180910390fd5b6001600e60146101000a81548160ff021916908315150217905550565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461104b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104290613178565b60405180910390fd5b6002600b541415611091576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108890613338565b60405180910390fd5b6002600b8190555060006110a36108df565b905060005b838110156110d8576110c58382846110c0919061343d565b611cb9565b80806110d090613611565b9150506110a8565b50506001600b819055505050565b6060600180546110f5906135ae565b80601f0160208091040260200160405190810160405280929190818152602001828054611121906135ae565b801561116e5780601f106111435761010080835404028352916020019161116e565b820191906000526020600020905b81548152906001019060200180831161115157829003601f168201915b5050505050905090565b6111806117f8565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156111ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111e590613158565b60405180910390fd5b80600560006111fb6117f8565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166112a86117f8565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516112ed919061307b565b60405180910390a35050565b61130a6113046117f8565b836118b9565b611349576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611340906132f8565b60405180910390fd5b61135584848484611cd7565b50505050565b600d8054611368906135ae565b80601f0160208091040260200160405190810160405280929190818152602001828054611394906135ae565b80156113e15780601f106113b6576101008083540402835291602001916113e1565b820191906000526020600020905b8154815290600101906020018083116113c457829003601f168201915b505050505081565b60606113f48261178c565b611433576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142a90613298565b60405180910390fd5b600061143d611d33565b9050600081511161145d5760405180602001604052806000815250611488565b8061146784611dc5565b604051602001611478929190612ff0565b6040516020818303038152906040525b915050919050565b600c805461149d906135ae565b80601f01602080910402602001604051908101604052809291908181526020018280546114c9906135ae565b80156115165780601f106114eb57610100808354040283529160200191611516565b820191906000526020600020905b8154815290600101906020018083116114f957829003601f168201915b505050505081565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6115ba6117f8565b73ffffffffffffffffffffffffffffffffffffffff166115d8610f91565b73ffffffffffffffffffffffffffffffffffffffff161461162e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162590613258565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561169e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611695906130f8565b60405180910390fd5b6116a781611bf3565b50565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061177557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611785575061178482611f26565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661187383610d06565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006118c48261178c565b611903576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118fa90613198565b60405180910390fd5b600061190e83610d06565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061197d57508373ffffffffffffffffffffffffffffffffffffffff16611965846106ac565b73ffffffffffffffffffffffffffffffffffffffff16145b8061198e575061198d818561151e565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166119b782610d06565b73ffffffffffffffffffffffffffffffffffffffff1614611a0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a0490613278565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a7490613138565b60405180910390fd5b611a88838383611f90565b611a93600082611800565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ae391906134c4565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b3a919061343d565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b611cd38282604051806020016040528060008152506120a4565b5050565b611ce2848484611997565b611cee848484846120ff565b611d2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d24906130d8565b60405180910390fd5b50505050565b6060600c8054611d42906135ae565b80601f0160208091040260200160405190810160405280929190818152602001828054611d6e906135ae565b8015611dbb5780601f10611d9057610100808354040283529160200191611dbb565b820191906000526020600020905b815481529060010190602001808311611d9e57829003601f168201915b5050505050905090565b60606000821415611e0d576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611f21565b600082905060005b60008214611e3f578080611e2890613611565b915050600a82611e389190613493565b9150611e15565b60008167ffffffffffffffff811115611e5b57611e5a613776565b5b6040519080825280601f01601f191660200182016040528015611e8d5781602001600182028036833780820191505090505b5090505b60008514611f1a57600182611ea691906134c4565b9150600a85611eb5919061365a565b6030611ec1919061343d565b60f81b818381518110611ed757611ed6613747565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611f139190613493565b9450611e91565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b611f9b838383612296565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611fde57611fd98161229b565b61201d565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461201c5761201b83826122e4565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156120605761205b81612451565b61209f565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461209e5761209d8282612522565b5b5b505050565b6120ae83836125a1565b6120bb60008484846120ff565b6120fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120f1906130d8565b60405180910390fd5b505050565b60006121208473ffffffffffffffffffffffffffffffffffffffff1661276f565b15612289578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026121496117f8565b8786866040518563ffffffff1660e01b815260040161216b949392919061302f565b602060405180830381600087803b15801561218557600080fd5b505af19250505080156121b657506040513d601f19601f820116820180604052508101906121b39190612b5e565b60015b612239573d80600081146121e6576040519150601f19603f3d011682016040523d82523d6000602084013e6121eb565b606091505b50600081511415612231576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612228906130d8565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061228e565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016122f184610db8565b6122fb91906134c4565b90506000600760008481526020019081526020016000205490508181146123e0576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061246591906134c4565b905060006009600084815260200190815260200160002054905060006008838154811061249557612494613747565b5b9060005260206000200154905080600883815481106124b7576124b6613747565b5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061250657612505613718565b5b6001900381819060005260206000200160009055905550505050565b600061252d83610db8565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612611576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161260890613218565b60405180910390fd5b61261a8161178c565b1561265a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161265190613118565b60405180910390fd5b61266660008383611f90565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126b6919061343d565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b82805461278e906135ae565b90600052602060002090601f0160209004810192826127b057600085556127f7565b82601f106127c957805160ff19168380011785556127f7565b828001600101855582156127f7579182015b828111156127f65782518255916020019190600101906127db565b5b5090506128049190612808565b5090565b5b80821115612821576000816000905550600101612809565b5090565b600061283861283384613398565b613373565b905082815260208101848484011115612854576128536137aa565b5b61285f84828561356c565b509392505050565b600061287a612875846133c9565b613373565b905082815260208101848484011115612896576128956137aa565b5b6128a184828561356c565b509392505050565b6000813590506128b881613d3b565b92915050565b6000813590506128cd81613d52565b92915050565b6000813590506128e281613d69565b92915050565b6000815190506128f781613d69565b92915050565b600082601f830112612912576129116137a5565b5b8135612922848260208601612825565b91505092915050565b600082601f8301126129405761293f6137a5565b5b8135612950848260208601612867565b91505092915050565b60008135905061296881613d80565b92915050565b600060208284031215612984576129836137b4565b5b6000612992848285016128a9565b91505092915050565b600080604083850312156129b2576129b16137b4565b5b60006129c0858286016128a9565b92505060206129d1858286016128a9565b9150509250929050565b6000806000606084860312156129f4576129f36137b4565b5b6000612a02868287016128a9565b9350506020612a13868287016128a9565b9250506040612a2486828701612959565b9150509250925092565b60008060008060808587031215612a4857612a476137b4565b5b6000612a56878288016128a9565b9450506020612a67878288016128a9565b9350506040612a7887828801612959565b925050606085013567ffffffffffffffff811115612a9957612a986137af565b5b612aa5878288016128fd565b91505092959194509250565b60008060408385031215612ac857612ac76137b4565b5b6000612ad6858286016128a9565b9250506020612ae7858286016128be565b9150509250929050565b60008060408385031215612b0857612b076137b4565b5b6000612b16858286016128a9565b9250506020612b2785828601612959565b9150509250929050565b600060208284031215612b4757612b466137b4565b5b6000612b55848285016128d3565b91505092915050565b600060208284031215612b7457612b736137b4565b5b6000612b82848285016128e8565b91505092915050565b600060208284031215612ba157612ba06137b4565b5b600082013567ffffffffffffffff811115612bbf57612bbe6137af565b5b612bcb8482850161292b565b91505092915050565b600060208284031215612bea57612be96137b4565b5b6000612bf884828501612959565b91505092915050565b60008060408385031215612c1857612c176137b4565b5b6000612c2685828601612959565b9250506020612c37858286016128a9565b9150509250929050565b612c4a816134f8565b82525050565b612c598161350a565b82525050565b6000612c6a826133fa565b612c748185613410565b9350612c8481856020860161357b565b612c8d816137b9565b840191505092915050565b6000612ca382613405565b612cad8185613421565b9350612cbd81856020860161357b565b612cc6816137b9565b840191505092915050565b6000612cdc82613405565b612ce68185613432565b9350612cf681856020860161357b565b80840191505092915050565b6000612d0f602b83613421565b9150612d1a826137ca565b604082019050919050565b6000612d32603283613421565b9150612d3d82613819565b604082019050919050565b6000612d55602683613421565b9150612d6082613868565b604082019050919050565b6000612d78601c83613421565b9150612d83826138b7565b602082019050919050565b6000612d9b602483613421565b9150612da6826138e0565b604082019050919050565b6000612dbe601983613421565b9150612dc98261392f565b602082019050919050565b6000612de1600b83613421565b9150612dec82613958565b602082019050919050565b6000612e04602c83613421565b9150612e0f82613981565b604082019050919050565b6000612e27603883613421565b9150612e32826139d0565b604082019050919050565b6000612e4a602a83613421565b9150612e5582613a1f565b604082019050919050565b6000612e6d602983613421565b9150612e7882613a6e565b604082019050919050565b6000612e90602083613421565b9150612e9b82613abd565b602082019050919050565b6000612eb3602c83613421565b9150612ebe82613ae6565b604082019050919050565b6000612ed6602083613421565b9150612ee182613b35565b602082019050919050565b6000612ef9602983613421565b9150612f0482613b5e565b604082019050919050565b6000612f1c602f83613421565b9150612f2782613bad565b604082019050919050565b6000612f3f601a83613421565b9150612f4a82613bfc565b602082019050919050565b6000612f62602183613421565b9150612f6d82613c25565b604082019050919050565b6000612f85603183613421565b9150612f9082613c74565b604082019050919050565b6000612fa8602c83613421565b9150612fb382613cc3565b604082019050919050565b6000612fcb601f83613421565b9150612fd682613d12565b602082019050919050565b612fea81613562565b82525050565b6000612ffc8285612cd1565b91506130088284612cd1565b91508190509392505050565b60006020820190506130296000830184612c41565b92915050565b60006080820190506130446000830187612c41565b6130516020830186612c41565b61305e6040830185612fe1565b81810360608301526130708184612c5f565b905095945050505050565b60006020820190506130906000830184612c50565b92915050565b600060208201905081810360008301526130b08184612c98565b905092915050565b600060208201905081810360008301526130d181612d02565b9050919050565b600060208201905081810360008301526130f181612d25565b9050919050565b6000602082019050818103600083015261311181612d48565b9050919050565b6000602082019050818103600083015261313181612d6b565b9050919050565b6000602082019050818103600083015261315181612d8e565b9050919050565b6000602082019050818103600083015261317181612db1565b9050919050565b6000602082019050818103600083015261319181612dd4565b9050919050565b600060208201905081810360008301526131b181612df7565b9050919050565b600060208201905081810360008301526131d181612e1a565b9050919050565b600060208201905081810360008301526131f181612e3d565b9050919050565b6000602082019050818103600083015261321181612e60565b9050919050565b6000602082019050818103600083015261323181612e83565b9050919050565b6000602082019050818103600083015261325181612ea6565b9050919050565b6000602082019050818103600083015261327181612ec9565b9050919050565b6000602082019050818103600083015261329181612eec565b9050919050565b600060208201905081810360008301526132b181612f0f565b9050919050565b600060208201905081810360008301526132d181612f32565b9050919050565b600060208201905081810360008301526132f181612f55565b9050919050565b6000602082019050818103600083015261331181612f78565b9050919050565b6000602082019050818103600083015261333181612f9b565b9050919050565b6000602082019050818103600083015261335181612fbe565b9050919050565b600060208201905061336d6000830184612fe1565b92915050565b600061337d61338e565b905061338982826135e0565b919050565b6000604051905090565b600067ffffffffffffffff8211156133b3576133b2613776565b5b6133bc826137b9565b9050602081019050919050565b600067ffffffffffffffff8211156133e4576133e3613776565b5b6133ed826137b9565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061344882613562565b915061345383613562565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156134885761348761368b565b5b828201905092915050565b600061349e82613562565b91506134a983613562565b9250826134b9576134b86136ba565b5b828204905092915050565b60006134cf82613562565b91506134da83613562565b9250828210156134ed576134ec61368b565b5b828203905092915050565b600061350382613542565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561359957808201518184015260208101905061357e565b838111156135a8576000848401525b50505050565b600060028204905060018216806135c657607f821691505b602082108114156135da576135d96136e9565b5b50919050565b6135e9826137b9565b810181811067ffffffffffffffff8211171561360857613607613776565b5b80604052505050565b600061361c82613562565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561364f5761364e61368b565b5b600182019050919050565b600061366582613562565b915061367083613562565b9250826136805761367f6136ba565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f4f6e6c79206d696e746572000000000000000000000000000000000000000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4d696e746572206f776e6572736869702072656e6f756e636564000000000000600082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b613d44816134f8565b8114613d4f57600080fd5b50565b613d5b8161350a565b8114613d6657600080fd5b50565b613d7281613516565b8114613d7d57600080fd5b50565b613d8981613562565b8114613d9457600080fd5b5056fea2646970667358221220f1120aa1d6534ffe69445636d26abac4a0865ee7f5bd6f5fb70b003e30c66f6464736f6c63430008060033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d5847526a534668506768797152484835486e537a6e6746534d476b6770426853585a446d54516f447a5034632f00000000000000000000
-----Decoded View---------------
Arg [0] : baseURI (string): ipfs://QmXGRjSFhPghyqRHH5HnSzngFSMGkgpBhSXZDmTQoDzP4c/
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [2] : 697066733a2f2f516d5847526a534668506768797152484835486e537a6e6746
Arg [3] : 534d476b6770426853585a446d54516f447a5034632f00000000000000000000
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.