ERC-721
NFT
Overview
Max Total Supply
762 FRAM
Holders
263
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 FRAMLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
FramergenceCore
Compiler Version
v0.8.0+commit.c7dfd78e
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.0; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; contract FramergenceCore is ERC721Enumerable, Pausable { using SafeMath for uint256; uint256 internal lastTokenId = 0; uint256 public totalMints = 0; uint256[] public burnt; address public creator; event BurnAndMint(address indexed from, uint256[] tokenIds); modifier onlyCreator() { require(_msgSender() == creator, "Only the creator can unpause!"); _; } constructor(address creatorAddress) ERC721("Framergence", "FRAM") { creator = creatorAddress; } function generateRandomHash() internal view returns (bytes32) { return keccak256(abi.encode(blockhash(block.number-1), block.coinbase, lastTokenId)); } function _generateNewTokenId() internal view returns (uint256) { bytes32 hashRandom = generateRandomHash(); uint8 i = 28; uint256 value = uint8(hashRandom[i]); for (i = 29; i < 30; i++) { value = value << 8; value = value + uint8(hashRandom[i]); } value = value << 16; value = value.add(totalMints); return uint256(value); } function mintGenesis(address receiver) public whenNotPaused { require(totalMints < 1000, "Total mint limit is 1000"); require(balanceOf(receiver) < 10 || creator == _msgSender(), "Only accounts with less than 10 Framergences can genesis mint"); totalMints = totalMints + 1; _mintNew(receiver); } function _mintNew(address receiver) internal { uint256 tokenId = _generateNewTokenId(); lastTokenId = tokenId; _safeMint(receiver, tokenId); } function burnAndMint(uint256[] memory tokenIds) public { require(tokenIds.length > 0, "Burn at least 1 piece"); require(tokenIds.length < 10, "Total burn limit is 10"); for (uint8 i = 0; i < tokenIds.length; i++) { require(_isApprovedOrOwner(_msgSender(), tokenIds[i]), "Only the owner can burn pieces"); } _burn(tokenIds[0]); burnt.push(tokenIds[0]); for (uint8 i = 1; i < tokenIds.length; i++) { _burn(tokenIds[i]); burnt.push(tokenIds[0]); _mintNew(_msgSender()); } emit BurnAndMint(_msgSender(), tokenIds); } function pause() public onlyCreator { _pause(); } function unpause() public onlyCreator{ _unpause(); } function changeCreator(address newCreator) public onlyCreator { creator = newCreator; } }
// 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; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor () { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "./extensions/IERC721Enumerable.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}. 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 || ERC721.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 || ERC721.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(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { // solhint-disable-next-line no-inline-assembly 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` 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 { } }
// 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; // solhint-disable-next-line no-inline-assembly 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"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (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"); // solhint-disable-next-line avoid-low-level-calls (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"); // solhint-disable-next-line avoid-low-level-calls (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"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private 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 // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant alphabet = "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] = alphabet[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" ] } }, "metadata": { "useLiteralContent": true }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"creatorAddress","type":"address"}],"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":"from","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"BurnAndMint","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","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":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"burnAndMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"burnt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newCreator","type":"address"}],"name":"changeCreator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"creator","outputs":[{"internalType":"address","name":"","type":"address"}],"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":[{"internalType":"address","name":"receiver","type":"address"}],"name":"mintGenesis","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"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":"totalMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526000600b556000600c553480156200001b57600080fd5b50604051620042f4380380620042f483398181016040528101906200004191906200020b565b6040518060400160405280600b81526020017f4672616d657267656e63650000000000000000000000000000000000000000008152506040518060400160405280600481526020017f4652414d000000000000000000000000000000000000000000000000000000008152508160009080519060200190620000c592919062000144565b508060019080519060200190620000de92919062000144565b5050506000600a60006101000a81548160ff02191690831515021790555080600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050620002ea565b82805462000152906200026b565b90600052602060002090601f016020900481019282620001765760008555620001c2565b82601f106200019157805160ff1916838001178555620001c2565b82800160010185558215620001c2579182015b82811115620001c1578251825591602001919060010190620001a4565b5b509050620001d19190620001d5565b5090565b5b80821115620001f0576000816000905550600101620001d6565b5090565b6000815190506200020581620002d0565b92915050565b6000602082840312156200021e57600080fd5b60006200022e84828501620001f4565b91505092915050565b600062000244826200024b565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600060028204905060018216806200028457607f821691505b602082108114156200029b576200029a620002a1565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b620002db8162000237565b8114620002e757600080fd5b50565b613ffa80620002fa6000396000f3fe608060405234801561001057600080fd5b50600436106101735760003560e01c80635c975abb116100de5780639402039211610097578063b007e18811610071578063b007e18814610438578063b88d4fde14610454578063c87b56dd14610470578063e985e9c5146104a057610173565b806394020392146103e257806395d89b41146103fe578063a22cb4651461041c57610173565b80635c975abb1461030e5780636352211e1461032c57806370a082311461035c57806374580e2f1461038c5780638456cb59146103a85780638e089173146103b257610173565b80631f21bfbf116101305780631f21bfbf1461024e57806323b872dd1461026c5780632f745c59146102885780633f4ba83a146102b857806342842e0e146102c25780634f6ccce7146102de57610173565b806301ffc9a71461017857806302d05d3f146101a857806306fdde03146101c6578063081812fc146101e4578063095ea7b31461021457806318160ddd14610230575b600080fd5b610192600480360381019061018d9190612ce4565b6104d0565b60405161019f9190613793565b60405180910390f35b6101b061054a565b6040516101bd919061370a565b60405180910390f35b6101ce610570565b6040516101db91906137e5565b60405180910390f35b6101fe60048036038101906101f99190612d36565b610602565b60405161020b919061370a565b60405180910390f35b61022e60048036038101906102299190612c67565b610687565b005b61023861079f565b6040516102459190613b07565b60405180910390f35b6102566107ac565b6040516102639190613b07565b60405180910390f35b61028660048036038101906102819190612b61565b6107b2565b005b6102a2600480360381019061029d9190612c67565b610812565b6040516102af9190613b07565b60405180910390f35b6102c06108b7565b005b6102dc60048036038101906102d79190612b61565b610958565b005b6102f860048036038101906102f39190612d36565b610978565b6040516103059190613b07565b60405180910390f35b610316610a0f565b6040516103239190613793565b60405180910390f35b61034660048036038101906103419190612d36565b610a26565b604051610353919061370a565b60405180910390f35b61037660048036038101906103719190612afc565b610ad8565b6040516103839190613b07565b60405180910390f35b6103a660048036038101906103a19190612afc565b610b90565b005b6103b0610c6b565b005b6103cc60048036038101906103c79190612d36565b610d0c565b6040516103d99190613b07565b60405180910390f35b6103fc60048036038101906103f79190612afc565b610d30565b005b610406610e89565b60405161041391906137e5565b60405180910390f35b61043660048036038101906104319190612c2b565b610f1b565b005b610452600480360381019061044d9190612ca3565b61109c565b005b61046e60048036038101906104699190612bb0565b6113d3565b005b61048a60048036038101906104859190612d36565b611435565b60405161049791906137e5565b60405180910390f35b6104ba60048036038101906104b59190612b25565b6114dc565b6040516104c79190613793565b60405180910390f35b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610543575061054282611570565b5b9050919050565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60606000805461057f90613dc5565b80601f01602080910402602001604051908101604052809291908181526020018280546105ab90613dc5565b80156105f85780601f106105cd576101008083540402835291602001916105f8565b820191906000526020600020905b8154815290600101906020018083116105db57829003601f168201915b5050505050905090565b600061060d82611652565b61064c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610643906139a7565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061069282610a26565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610703576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106fa90613a27565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166107226116be565b73ffffffffffffffffffffffffffffffffffffffff16148061075157506107508161074b6116be565b6114dc565b5b610790576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161078790613907565b60405180910390fd5b61079a83836116c6565b505050565b6000600880549050905090565b600c5481565b6107c36107bd6116be565b8261177f565b610802576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107f990613a67565b60405180910390fd5b61080d83838361185d565b505050565b600061081d83610ad8565b821061085e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161085590613827565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108f86116be565b73ffffffffffffffffffffffffffffffffffffffff161461094e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610945906139c7565b60405180910390fd5b610956611ab9565b565b610973838383604051806020016040528060008152506113d3565b505050565b600061098261079f565b82106109c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109ba90613a87565b60405180910390fd5b600882815481106109fd577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6000600a60009054906101000a900460ff16905090565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610acf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ac690613947565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610b49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4090613927565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610bd16116be565b73ffffffffffffffffffffffffffffffffffffffff1614610c27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1e906139c7565b60405180910390fd5b80600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610cac6116be565b73ffffffffffffffffffffffffffffffffffffffff1614610d02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf9906139c7565b60405180910390fd5b610d0a611b5b565b565b600d8181548110610d1c57600080fd5b906000526020600020016000915090505481565b610d38610a0f565b15610d78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6f906138e7565b60405180910390fd5b6103e8600c5410610dbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db590613967565b60405180910390fd5b600a610dc982610ad8565b1080610e295750610dd86116be565b73ffffffffffffffffffffffffffffffffffffffff16600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b610e68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5f90613ae7565b60405180910390fd5b6001600c54610e779190613c2b565b600c81905550610e8681611bfe565b50565b606060018054610e9890613dc5565b80601f0160208091040260200160405190810160405280929190818152602001828054610ec490613dc5565b8015610f115780601f10610ee657610100808354040283529160200191610f11565b820191906000526020600020905b815481529060010190602001808311610ef457829003601f168201915b5050505050905090565b610f236116be565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610f91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f88906138a7565b60405180910390fd5b8060056000610f9e6116be565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661104b6116be565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516110909190613793565b60405180910390a35050565b60008151116110e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d790613aa7565b60405180910390fd5b600a815110611124576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111b90613ac7565b60405180910390fd5b60005b81518160ff1610156111d95761118761113e6116be565b838360ff168151811061117a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015161177f565b6111c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111bd90613a47565b60405180910390fd5b80806111d190613e40565b915050611127565b5061122481600081518110611217577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151611c1f565b600d81600081518110611260577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190806001815401808255809150506001900390600052602060002001600090919091909150556000600190505b81518160ff16101561137a576112ed828260ff16815181106112e0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151611c1f565b600d82600081518110611329577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190806001815401808255809150506001900390600052602060002001600090919091909150556113676113626116be565b611bfe565b808061137290613e40565b915050611295565b506113836116be565b73ffffffffffffffffffffffffffffffffffffffff167fb268bc161c55ff094dc5a31e34540f7102ff7aa235e12550c3f182f00d032e90826040516113c89190613771565b60405180910390a250565b6113e46113de6116be565b8361177f565b611423576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141a90613a67565b60405180910390fd5b61142f84848484611d30565b50505050565b606061144082611652565b61147f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147690613a07565b60405180910390fd5b6000611489611d8c565b905060008151116114a957604051806020016040528060008152506114d4565b806114b384611da3565b6040516020016114c49291906136e6565b6040516020818303038152906040525b915050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061163b57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061164b575061164a82611f50565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661173983610a26565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061178a82611652565b6117c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c0906138c7565b60405180910390fd5b60006117d483610a26565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061184357508373ffffffffffffffffffffffffffffffffffffffff1661182b84610602565b73ffffffffffffffffffffffffffffffffffffffff16145b80611854575061185381856114dc565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661187d82610a26565b73ffffffffffffffffffffffffffffffffffffffff16146118d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ca906139e7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611943576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193a90613887565b60405180910390fd5b61194e838383611fba565b6119596000826116c6565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119a99190613cb2565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a009190613c2b565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b611ac1610a0f565b611b00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af790613807565b60405180910390fd5b6000600a60006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611b446116be565b604051611b51919061370a565b60405180910390a1565b611b63610a0f565b15611ba3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9a906138e7565b60405180910390fd5b6001600a60006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611be76116be565b604051611bf4919061370a565b60405180910390a1565b6000611c086120ce565b905080600b81905550611c1b82826121d0565b5050565b6000611c2a82610a26565b9050611c3881600084611fba565b611c436000836116c6565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611c939190613cb2565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b611d3b84848461185d565b611d47848484846121ee565b611d86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d7d90613847565b60405180910390fd5b50505050565b606060405180602001604052806000815250905090565b60606000821415611deb576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611f4b565b600082905060005b60008214611e1d578080611e0690613df7565b915050600a82611e169190613c81565b9150611df3565b60008167ffffffffffffffff811115611e5f577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611e915781602001600182028036833780820191505090505b5090505b60008514611f4457600182611eaa9190613cb2565b9150600a85611eb99190613e6a565b6030611ec59190613c2b565b60f81b818381518110611f01577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611f3d9190613c81565b9450611e95565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b611fc5838383612385565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612008576120038161238a565b612047565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146120465761204583826123d3565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561208a5761208581612540565b6120c9565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146120c8576120c78282612683565b5b5b505050565b6000806120d9612702565b90506000601c90506000828260ff166020811061211f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b60f81c60ff169050601d91505b601e8260ff1610156121a957600881901b9050828260ff166020811061217f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b60f81c60ff16816121949190613c2b565b905081806121a190613e40565b925050612130565b601081901b90506121c5600c548261274390919063ffffffff16565b905080935050505090565b6121ea828260405180602001604052806000815250612759565b5050565b600061220f8473ffffffffffffffffffffffffffffffffffffffff166127b4565b15612378578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026122386116be565b8786866040518563ffffffff1660e01b815260040161225a9493929190613725565b602060405180830381600087803b15801561227457600080fd5b505af19250505080156122a557506040513d601f19601f820116820180604052508101906122a29190612d0d565b60015b612328573d80600081146122d5576040519150601f19603f3d011682016040523d82523d6000602084013e6122da565b606091505b50600081511415612320576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161231790613847565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061237d565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016123e084610ad8565b6123ea9190613cb2565b90506000600760008481526020019081526020016000205490508181146124cf576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506125549190613cb2565b90506000600960008481526020019081526020016000205490506000600883815481106125aa577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154905080600883815481106125f2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612667577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061268e83610ad8565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b60006001436127119190613cb2565b4041600b54604051602001612728939291906137ae565b60405160208183030381529060405280519060200120905090565b600081836127519190613c2b565b905092915050565b61276383836127c7565b61277060008484846121ee565b6127af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127a690613847565b60405180910390fd5b505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612837576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161282e90613987565b60405180910390fd5b61284081611652565b15612880576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161287790613867565b60405180910390fd5b61288c60008383611fba565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128dc9190613c2b565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60006129a86129a384613b53565b613b22565b905080838252602082019050828560208602820111156129c757600080fd5b60005b858110156129f757816129dd8882612ae7565b8452602084019350602083019250506001810190506129ca565b5050509392505050565b6000612a14612a0f84613b7f565b613b22565b905082815260208101848484011115612a2c57600080fd5b612a37848285613d83565b509392505050565b600081359050612a4e81613f68565b92915050565b600082601f830112612a6557600080fd5b8135612a75848260208601612995565b91505092915050565b600081359050612a8d81613f7f565b92915050565b600081359050612aa281613f96565b92915050565b600081519050612ab781613f96565b92915050565b600082601f830112612ace57600080fd5b8135612ade848260208601612a01565b91505092915050565b600081359050612af681613fad565b92915050565b600060208284031215612b0e57600080fd5b6000612b1c84828501612a3f565b91505092915050565b60008060408385031215612b3857600080fd5b6000612b4685828601612a3f565b9250506020612b5785828601612a3f565b9150509250929050565b600080600060608486031215612b7657600080fd5b6000612b8486828701612a3f565b9350506020612b9586828701612a3f565b9250506040612ba686828701612ae7565b9150509250925092565b60008060008060808587031215612bc657600080fd5b6000612bd487828801612a3f565b9450506020612be587828801612a3f565b9350506040612bf687828801612ae7565b925050606085013567ffffffffffffffff811115612c1357600080fd5b612c1f87828801612abd565b91505092959194509250565b60008060408385031215612c3e57600080fd5b6000612c4c85828601612a3f565b9250506020612c5d85828601612a7e565b9150509250929050565b60008060408385031215612c7a57600080fd5b6000612c8885828601612a3f565b9250506020612c9985828601612ae7565b9150509250929050565b600060208284031215612cb557600080fd5b600082013567ffffffffffffffff811115612ccf57600080fd5b612cdb84828501612a54565b91505092915050565b600060208284031215612cf657600080fd5b6000612d0484828501612a93565b91505092915050565b600060208284031215612d1f57600080fd5b6000612d2d84828501612aa8565b91505092915050565b600060208284031215612d4857600080fd5b6000612d5684828501612ae7565b91505092915050565b6000612d6b83836136c8565b60208301905092915050565b612d8081613cf8565b82525050565b612d8f81613ce6565b82525050565b6000612da082613bbf565b612daa8185613bed565b9350612db583613baf565b8060005b83811015612de6578151612dcd8882612d5f565b9750612dd883613be0565b925050600181019050612db9565b5085935050505092915050565b612dfc81613d0a565b82525050565b612e0b81613d16565b82525050565b6000612e1c82613bca565b612e268185613bfe565b9350612e36818560208601613d92565b612e3f81613f57565b840191505092915050565b6000612e5582613bd5565b612e5f8185613c0f565b9350612e6f818560208601613d92565b612e7881613f57565b840191505092915050565b6000612e8e82613bd5565b612e988185613c20565b9350612ea8818560208601613d92565b80840191505092915050565b6000612ec1601483613c0f565b91507f5061757361626c653a206e6f74207061757365640000000000000000000000006000830152602082019050919050565b6000612f01602b83613c0f565b91507f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008301527f74206f6620626f756e64730000000000000000000000000000000000000000006020830152604082019050919050565b6000612f67603283613c0f565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b6000612fcd601c83613c0f565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b600061300d602483613c0f565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613073601983613c0f565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b60006130b3602c83613c0f565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000613119601083613c0f565b91507f5061757361626c653a20706175736564000000000000000000000000000000006000830152602082019050919050565b6000613159603883613c0f565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b60006131bf602a83613c0f565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b6000613225602983613c0f565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b600061328b601883613c0f565b91507f546f74616c206d696e74206c696d6974206973203130303000000000000000006000830152602082019050919050565b60006132cb602083613c0f565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b600061330b602c83613c0f565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000613371601d83613c0f565b91507f4f6e6c79207468652063726561746f722063616e20756e7061757365210000006000830152602082019050919050565b60006133b1602983613c0f565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000613417602f83613c0f565b91507f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008301527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006020830152604082019050919050565b600061347d602183613c0f565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006134e3601e83613c0f565b91507f4f6e6c7920746865206f776e65722063616e206275726e2070696563657300006000830152602082019050919050565b6000613523603183613c0f565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b6000613589602c83613c0f565b91507f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008301527f7574206f6620626f756e647300000000000000000000000000000000000000006020830152604082019050919050565b60006135ef601583613c0f565b91507f4275726e206174206c65617374203120706965636500000000000000000000006000830152602082019050919050565b600061362f601683613c0f565b91507f546f74616c206275726e206c696d6974206973203130000000000000000000006000830152602082019050919050565b600061366f603d83613c0f565b91507f4f6e6c79206163636f756e74732077697468206c657373207468616e2031302060008301527f4672616d657267656e6365732063616e2067656e65736973206d696e740000006020830152604082019050919050565b6136d181613d6c565b82525050565b6136e081613d6c565b82525050565b60006136f28285612e83565b91506136fe8284612e83565b91508190509392505050565b600060208201905061371f6000830184612d86565b92915050565b600060808201905061373a6000830187612d86565b6137476020830186612d86565b61375460408301856136d7565b81810360608301526137668184612e11565b905095945050505050565b6000602082019050818103600083015261378b8184612d95565b905092915050565b60006020820190506137a86000830184612df3565b92915050565b60006060820190506137c36000830186612e02565b6137d06020830185612d77565b6137dd60408301846136d7565b949350505050565b600060208201905081810360008301526137ff8184612e4a565b905092915050565b6000602082019050818103600083015261382081612eb4565b9050919050565b6000602082019050818103600083015261384081612ef4565b9050919050565b6000602082019050818103600083015261386081612f5a565b9050919050565b6000602082019050818103600083015261388081612fc0565b9050919050565b600060208201905081810360008301526138a081613000565b9050919050565b600060208201905081810360008301526138c081613066565b9050919050565b600060208201905081810360008301526138e0816130a6565b9050919050565b600060208201905081810360008301526139008161310c565b9050919050565b600060208201905081810360008301526139208161314c565b9050919050565b60006020820190508181036000830152613940816131b2565b9050919050565b6000602082019050818103600083015261396081613218565b9050919050565b600060208201905081810360008301526139808161327e565b9050919050565b600060208201905081810360008301526139a0816132be565b9050919050565b600060208201905081810360008301526139c0816132fe565b9050919050565b600060208201905081810360008301526139e081613364565b9050919050565b60006020820190508181036000830152613a00816133a4565b9050919050565b60006020820190508181036000830152613a208161340a565b9050919050565b60006020820190508181036000830152613a4081613470565b9050919050565b60006020820190508181036000830152613a60816134d6565b9050919050565b60006020820190508181036000830152613a8081613516565b9050919050565b60006020820190508181036000830152613aa08161357c565b9050919050565b60006020820190508181036000830152613ac0816135e2565b9050919050565b60006020820190508181036000830152613ae081613622565b9050919050565b60006020820190508181036000830152613b0081613662565b9050919050565b6000602082019050613b1c60008301846136d7565b92915050565b6000604051905081810181811067ffffffffffffffff82111715613b4957613b48613f28565b5b8060405250919050565b600067ffffffffffffffff821115613b6e57613b6d613f28565b5b602082029050602081019050919050565b600067ffffffffffffffff821115613b9a57613b99613f28565b5b601f19601f8301169050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613c3682613d6c565b9150613c4183613d6c565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613c7657613c75613e9b565b5b828201905092915050565b6000613c8c82613d6c565b9150613c9783613d6c565b925082613ca757613ca6613eca565b5b828204905092915050565b6000613cbd82613d6c565b9150613cc883613d6c565b925082821015613cdb57613cda613e9b565b5b828203905092915050565b6000613cf182613d4c565b9050919050565b6000613d0382613d4c565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015613db0578082015181840152602081019050613d95565b83811115613dbf576000848401525b50505050565b60006002820490506001821680613ddd57607f821691505b60208210811415613df157613df0613ef9565b5b50919050565b6000613e0282613d6c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613e3557613e34613e9b565b5b600182019050919050565b6000613e4b82613d76565b915060ff821415613e5f57613e5e613e9b565b5b600182019050919050565b6000613e7582613d6c565b9150613e8083613d6c565b925082613e9057613e8f613eca565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b613f7181613ce6565b8114613f7c57600080fd5b50565b613f8881613d0a565b8114613f9357600080fd5b50565b613f9f81613d20565b8114613faa57600080fd5b50565b613fb681613d6c565b8114613fc157600080fd5b5056fea264697066735822122039d3819f1555d24f5d1cb2659c5ae05674b64b45b5e75ce96f8cfd41705ea75164736f6c63430008000033000000000000000000000000a5caf5406c83205fab198e69f9e9e0a2c41c9e59
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101735760003560e01c80635c975abb116100de5780639402039211610097578063b007e18811610071578063b007e18814610438578063b88d4fde14610454578063c87b56dd14610470578063e985e9c5146104a057610173565b806394020392146103e257806395d89b41146103fe578063a22cb4651461041c57610173565b80635c975abb1461030e5780636352211e1461032c57806370a082311461035c57806374580e2f1461038c5780638456cb59146103a85780638e089173146103b257610173565b80631f21bfbf116101305780631f21bfbf1461024e57806323b872dd1461026c5780632f745c59146102885780633f4ba83a146102b857806342842e0e146102c25780634f6ccce7146102de57610173565b806301ffc9a71461017857806302d05d3f146101a857806306fdde03146101c6578063081812fc146101e4578063095ea7b31461021457806318160ddd14610230575b600080fd5b610192600480360381019061018d9190612ce4565b6104d0565b60405161019f9190613793565b60405180910390f35b6101b061054a565b6040516101bd919061370a565b60405180910390f35b6101ce610570565b6040516101db91906137e5565b60405180910390f35b6101fe60048036038101906101f99190612d36565b610602565b60405161020b919061370a565b60405180910390f35b61022e60048036038101906102299190612c67565b610687565b005b61023861079f565b6040516102459190613b07565b60405180910390f35b6102566107ac565b6040516102639190613b07565b60405180910390f35b61028660048036038101906102819190612b61565b6107b2565b005b6102a2600480360381019061029d9190612c67565b610812565b6040516102af9190613b07565b60405180910390f35b6102c06108b7565b005b6102dc60048036038101906102d79190612b61565b610958565b005b6102f860048036038101906102f39190612d36565b610978565b6040516103059190613b07565b60405180910390f35b610316610a0f565b6040516103239190613793565b60405180910390f35b61034660048036038101906103419190612d36565b610a26565b604051610353919061370a565b60405180910390f35b61037660048036038101906103719190612afc565b610ad8565b6040516103839190613b07565b60405180910390f35b6103a660048036038101906103a19190612afc565b610b90565b005b6103b0610c6b565b005b6103cc60048036038101906103c79190612d36565b610d0c565b6040516103d99190613b07565b60405180910390f35b6103fc60048036038101906103f79190612afc565b610d30565b005b610406610e89565b60405161041391906137e5565b60405180910390f35b61043660048036038101906104319190612c2b565b610f1b565b005b610452600480360381019061044d9190612ca3565b61109c565b005b61046e60048036038101906104699190612bb0565b6113d3565b005b61048a60048036038101906104859190612d36565b611435565b60405161049791906137e5565b60405180910390f35b6104ba60048036038101906104b59190612b25565b6114dc565b6040516104c79190613793565b60405180910390f35b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610543575061054282611570565b5b9050919050565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60606000805461057f90613dc5565b80601f01602080910402602001604051908101604052809291908181526020018280546105ab90613dc5565b80156105f85780601f106105cd576101008083540402835291602001916105f8565b820191906000526020600020905b8154815290600101906020018083116105db57829003601f168201915b5050505050905090565b600061060d82611652565b61064c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610643906139a7565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061069282610a26565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610703576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106fa90613a27565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166107226116be565b73ffffffffffffffffffffffffffffffffffffffff16148061075157506107508161074b6116be565b6114dc565b5b610790576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161078790613907565b60405180910390fd5b61079a83836116c6565b505050565b6000600880549050905090565b600c5481565b6107c36107bd6116be565b8261177f565b610802576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107f990613a67565b60405180910390fd5b61080d83838361185d565b505050565b600061081d83610ad8565b821061085e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161085590613827565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108f86116be565b73ffffffffffffffffffffffffffffffffffffffff161461094e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610945906139c7565b60405180910390fd5b610956611ab9565b565b610973838383604051806020016040528060008152506113d3565b505050565b600061098261079f565b82106109c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109ba90613a87565b60405180910390fd5b600882815481106109fd577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6000600a60009054906101000a900460ff16905090565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610acf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ac690613947565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610b49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4090613927565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610bd16116be565b73ffffffffffffffffffffffffffffffffffffffff1614610c27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1e906139c7565b60405180910390fd5b80600e60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610cac6116be565b73ffffffffffffffffffffffffffffffffffffffff1614610d02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf9906139c7565b60405180910390fd5b610d0a611b5b565b565b600d8181548110610d1c57600080fd5b906000526020600020016000915090505481565b610d38610a0f565b15610d78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6f906138e7565b60405180910390fd5b6103e8600c5410610dbe576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db590613967565b60405180910390fd5b600a610dc982610ad8565b1080610e295750610dd86116be565b73ffffffffffffffffffffffffffffffffffffffff16600e60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b610e68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5f90613ae7565b60405180910390fd5b6001600c54610e779190613c2b565b600c81905550610e8681611bfe565b50565b606060018054610e9890613dc5565b80601f0160208091040260200160405190810160405280929190818152602001828054610ec490613dc5565b8015610f115780601f10610ee657610100808354040283529160200191610f11565b820191906000526020600020905b815481529060010190602001808311610ef457829003601f168201915b5050505050905090565b610f236116be565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610f91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f88906138a7565b60405180910390fd5b8060056000610f9e6116be565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661104b6116be565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516110909190613793565b60405180910390a35050565b60008151116110e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d790613aa7565b60405180910390fd5b600a815110611124576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111b90613ac7565b60405180910390fd5b60005b81518160ff1610156111d95761118761113e6116be565b838360ff168151811061117a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015161177f565b6111c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111bd90613a47565b60405180910390fd5b80806111d190613e40565b915050611127565b5061122481600081518110611217577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151611c1f565b600d81600081518110611260577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190806001815401808255809150506001900390600052602060002001600090919091909150556000600190505b81518160ff16101561137a576112ed828260ff16815181106112e0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151611c1f565b600d82600081518110611329577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190806001815401808255809150506001900390600052602060002001600090919091909150556113676113626116be565b611bfe565b808061137290613e40565b915050611295565b506113836116be565b73ffffffffffffffffffffffffffffffffffffffff167fb268bc161c55ff094dc5a31e34540f7102ff7aa235e12550c3f182f00d032e90826040516113c89190613771565b60405180910390a250565b6113e46113de6116be565b8361177f565b611423576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141a90613a67565b60405180910390fd5b61142f84848484611d30565b50505050565b606061144082611652565b61147f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161147690613a07565b60405180910390fd5b6000611489611d8c565b905060008151116114a957604051806020016040528060008152506114d4565b806114b384611da3565b6040516020016114c49291906136e6565b6040516020818303038152906040525b915050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061163b57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061164b575061164a82611f50565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661173983610a26565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061178a82611652565b6117c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c0906138c7565b60405180910390fd5b60006117d483610a26565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061184357508373ffffffffffffffffffffffffffffffffffffffff1661182b84610602565b73ffffffffffffffffffffffffffffffffffffffff16145b80611854575061185381856114dc565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661187d82610a26565b73ffffffffffffffffffffffffffffffffffffffff16146118d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ca906139e7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611943576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193a90613887565b60405180910390fd5b61194e838383611fba565b6119596000826116c6565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546119a99190613cb2565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611a009190613c2b565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b611ac1610a0f565b611b00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af790613807565b60405180910390fd5b6000600a60006101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa611b446116be565b604051611b51919061370a565b60405180910390a1565b611b63610a0f565b15611ba3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9a906138e7565b60405180910390fd5b6001600a60006101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611be76116be565b604051611bf4919061370a565b60405180910390a1565b6000611c086120ce565b905080600b81905550611c1b82826121d0565b5050565b6000611c2a82610a26565b9050611c3881600084611fba565b611c436000836116c6565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611c939190613cb2565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b611d3b84848461185d565b611d47848484846121ee565b611d86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d7d90613847565b60405180910390fd5b50505050565b606060405180602001604052806000815250905090565b60606000821415611deb576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611f4b565b600082905060005b60008214611e1d578080611e0690613df7565b915050600a82611e169190613c81565b9150611df3565b60008167ffffffffffffffff811115611e5f577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611e915781602001600182028036833780820191505090505b5090505b60008514611f4457600182611eaa9190613cb2565b9150600a85611eb99190613e6a565b6030611ec59190613c2b565b60f81b818381518110611f01577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611f3d9190613c81565b9450611e95565b8093505050505b919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b611fc5838383612385565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612008576120038161238a565b612047565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146120465761204583826123d3565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561208a5761208581612540565b6120c9565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146120c8576120c78282612683565b5b5b505050565b6000806120d9612702565b90506000601c90506000828260ff166020811061211f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b60f81c60ff169050601d91505b601e8260ff1610156121a957600881901b9050828260ff166020811061217f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b60f81c60ff16816121949190613c2b565b905081806121a190613e40565b925050612130565b601081901b90506121c5600c548261274390919063ffffffff16565b905080935050505090565b6121ea828260405180602001604052806000815250612759565b5050565b600061220f8473ffffffffffffffffffffffffffffffffffffffff166127b4565b15612378578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026122386116be565b8786866040518563ffffffff1660e01b815260040161225a9493929190613725565b602060405180830381600087803b15801561227457600080fd5b505af19250505080156122a557506040513d601f19601f820116820180604052508101906122a29190612d0d565b60015b612328573d80600081146122d5576040519150601f19603f3d011682016040523d82523d6000602084013e6122da565b606091505b50600081511415612320576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161231790613847565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061237d565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016123e084610ad8565b6123ea9190613cb2565b90506000600760008481526020019081526020016000205490508181146124cf576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506125549190613cb2565b90506000600960008481526020019081526020016000205490506000600883815481106125aa577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154905080600883815481106125f2577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480612667577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b600061268e83610ad8565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b60006001436127119190613cb2565b4041600b54604051602001612728939291906137ae565b60405160208183030381529060405280519060200120905090565b600081836127519190613c2b565b905092915050565b61276383836127c7565b61277060008484846121ee565b6127af576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127a690613847565b60405180910390fd5b505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612837576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161282e90613987565b60405180910390fd5b61284081611652565b15612880576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161287790613867565b60405180910390fd5b61288c60008383611fba565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128dc9190613c2b565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60006129a86129a384613b53565b613b22565b905080838252602082019050828560208602820111156129c757600080fd5b60005b858110156129f757816129dd8882612ae7565b8452602084019350602083019250506001810190506129ca565b5050509392505050565b6000612a14612a0f84613b7f565b613b22565b905082815260208101848484011115612a2c57600080fd5b612a37848285613d83565b509392505050565b600081359050612a4e81613f68565b92915050565b600082601f830112612a6557600080fd5b8135612a75848260208601612995565b91505092915050565b600081359050612a8d81613f7f565b92915050565b600081359050612aa281613f96565b92915050565b600081519050612ab781613f96565b92915050565b600082601f830112612ace57600080fd5b8135612ade848260208601612a01565b91505092915050565b600081359050612af681613fad565b92915050565b600060208284031215612b0e57600080fd5b6000612b1c84828501612a3f565b91505092915050565b60008060408385031215612b3857600080fd5b6000612b4685828601612a3f565b9250506020612b5785828601612a3f565b9150509250929050565b600080600060608486031215612b7657600080fd5b6000612b8486828701612a3f565b9350506020612b9586828701612a3f565b9250506040612ba686828701612ae7565b9150509250925092565b60008060008060808587031215612bc657600080fd5b6000612bd487828801612a3f565b9450506020612be587828801612a3f565b9350506040612bf687828801612ae7565b925050606085013567ffffffffffffffff811115612c1357600080fd5b612c1f87828801612abd565b91505092959194509250565b60008060408385031215612c3e57600080fd5b6000612c4c85828601612a3f565b9250506020612c5d85828601612a7e565b9150509250929050565b60008060408385031215612c7a57600080fd5b6000612c8885828601612a3f565b9250506020612c9985828601612ae7565b9150509250929050565b600060208284031215612cb557600080fd5b600082013567ffffffffffffffff811115612ccf57600080fd5b612cdb84828501612a54565b91505092915050565b600060208284031215612cf657600080fd5b6000612d0484828501612a93565b91505092915050565b600060208284031215612d1f57600080fd5b6000612d2d84828501612aa8565b91505092915050565b600060208284031215612d4857600080fd5b6000612d5684828501612ae7565b91505092915050565b6000612d6b83836136c8565b60208301905092915050565b612d8081613cf8565b82525050565b612d8f81613ce6565b82525050565b6000612da082613bbf565b612daa8185613bed565b9350612db583613baf565b8060005b83811015612de6578151612dcd8882612d5f565b9750612dd883613be0565b925050600181019050612db9565b5085935050505092915050565b612dfc81613d0a565b82525050565b612e0b81613d16565b82525050565b6000612e1c82613bca565b612e268185613bfe565b9350612e36818560208601613d92565b612e3f81613f57565b840191505092915050565b6000612e5582613bd5565b612e5f8185613c0f565b9350612e6f818560208601613d92565b612e7881613f57565b840191505092915050565b6000612e8e82613bd5565b612e988185613c20565b9350612ea8818560208601613d92565b80840191505092915050565b6000612ec1601483613c0f565b91507f5061757361626c653a206e6f74207061757365640000000000000000000000006000830152602082019050919050565b6000612f01602b83613c0f565b91507f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008301527f74206f6620626f756e64730000000000000000000000000000000000000000006020830152604082019050919050565b6000612f67603283613c0f565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b6000612fcd601c83613c0f565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b600061300d602483613c0f565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613073601983613c0f565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b60006130b3602c83613c0f565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000613119601083613c0f565b91507f5061757361626c653a20706175736564000000000000000000000000000000006000830152602082019050919050565b6000613159603883613c0f565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b60006131bf602a83613c0f565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b6000613225602983613c0f565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b600061328b601883613c0f565b91507f546f74616c206d696e74206c696d6974206973203130303000000000000000006000830152602082019050919050565b60006132cb602083613c0f565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b600061330b602c83613c0f565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000613371601d83613c0f565b91507f4f6e6c79207468652063726561746f722063616e20756e7061757365210000006000830152602082019050919050565b60006133b1602983613c0f565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000613417602f83613c0f565b91507f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008301527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006020830152604082019050919050565b600061347d602183613c0f565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006134e3601e83613c0f565b91507f4f6e6c7920746865206f776e65722063616e206275726e2070696563657300006000830152602082019050919050565b6000613523603183613c0f565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b6000613589602c83613c0f565b91507f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008301527f7574206f6620626f756e647300000000000000000000000000000000000000006020830152604082019050919050565b60006135ef601583613c0f565b91507f4275726e206174206c65617374203120706965636500000000000000000000006000830152602082019050919050565b600061362f601683613c0f565b91507f546f74616c206275726e206c696d6974206973203130000000000000000000006000830152602082019050919050565b600061366f603d83613c0f565b91507f4f6e6c79206163636f756e74732077697468206c657373207468616e2031302060008301527f4672616d657267656e6365732063616e2067656e65736973206d696e740000006020830152604082019050919050565b6136d181613d6c565b82525050565b6136e081613d6c565b82525050565b60006136f28285612e83565b91506136fe8284612e83565b91508190509392505050565b600060208201905061371f6000830184612d86565b92915050565b600060808201905061373a6000830187612d86565b6137476020830186612d86565b61375460408301856136d7565b81810360608301526137668184612e11565b905095945050505050565b6000602082019050818103600083015261378b8184612d95565b905092915050565b60006020820190506137a86000830184612df3565b92915050565b60006060820190506137c36000830186612e02565b6137d06020830185612d77565b6137dd60408301846136d7565b949350505050565b600060208201905081810360008301526137ff8184612e4a565b905092915050565b6000602082019050818103600083015261382081612eb4565b9050919050565b6000602082019050818103600083015261384081612ef4565b9050919050565b6000602082019050818103600083015261386081612f5a565b9050919050565b6000602082019050818103600083015261388081612fc0565b9050919050565b600060208201905081810360008301526138a081613000565b9050919050565b600060208201905081810360008301526138c081613066565b9050919050565b600060208201905081810360008301526138e0816130a6565b9050919050565b600060208201905081810360008301526139008161310c565b9050919050565b600060208201905081810360008301526139208161314c565b9050919050565b60006020820190508181036000830152613940816131b2565b9050919050565b6000602082019050818103600083015261396081613218565b9050919050565b600060208201905081810360008301526139808161327e565b9050919050565b600060208201905081810360008301526139a0816132be565b9050919050565b600060208201905081810360008301526139c0816132fe565b9050919050565b600060208201905081810360008301526139e081613364565b9050919050565b60006020820190508181036000830152613a00816133a4565b9050919050565b60006020820190508181036000830152613a208161340a565b9050919050565b60006020820190508181036000830152613a4081613470565b9050919050565b60006020820190508181036000830152613a60816134d6565b9050919050565b60006020820190508181036000830152613a8081613516565b9050919050565b60006020820190508181036000830152613aa08161357c565b9050919050565b60006020820190508181036000830152613ac0816135e2565b9050919050565b60006020820190508181036000830152613ae081613622565b9050919050565b60006020820190508181036000830152613b0081613662565b9050919050565b6000602082019050613b1c60008301846136d7565b92915050565b6000604051905081810181811067ffffffffffffffff82111715613b4957613b48613f28565b5b8060405250919050565b600067ffffffffffffffff821115613b6e57613b6d613f28565b5b602082029050602081019050919050565b600067ffffffffffffffff821115613b9a57613b99613f28565b5b601f19601f8301169050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613c3682613d6c565b9150613c4183613d6c565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613c7657613c75613e9b565b5b828201905092915050565b6000613c8c82613d6c565b9150613c9783613d6c565b925082613ca757613ca6613eca565b5b828204905092915050565b6000613cbd82613d6c565b9150613cc883613d6c565b925082821015613cdb57613cda613e9b565b5b828203905092915050565b6000613cf182613d4c565b9050919050565b6000613d0382613d4c565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015613db0578082015181840152602081019050613d95565b83811115613dbf576000848401525b50505050565b60006002820490506001821680613ddd57607f821691505b60208210811415613df157613df0613ef9565b5b50919050565b6000613e0282613d6c565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613e3557613e34613e9b565b5b600182019050919050565b6000613e4b82613d76565b915060ff821415613e5f57613e5e613e9b565b5b600182019050919050565b6000613e7582613d6c565b9150613e8083613d6c565b925082613e9057613e8f613eca565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b613f7181613ce6565b8114613f7c57600080fd5b50565b613f8881613d0a565b8114613f9357600080fd5b50565b613f9f81613d20565b8114613faa57600080fd5b50565b613fb681613d6c565b8114613fc157600080fd5b5056fea264697066735822122039d3819f1555d24f5d1cb2659c5ae05674b64b45b5e75ce96f8cfd41705ea75164736f6c63430008000033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000a5caf5406c83205fab198e69f9e9e0a2c41c9e59
-----Decoded View---------------
Arg [0] : creatorAddress (address): 0xa5caf5406C83205faB198E69f9e9e0a2c41c9e59
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000a5caf5406c83205fab198e69f9e9e0a2c41c9e59
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.