ERC-721
Overview
Max Total Supply
36 IDMemoriam
Holders
27
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 IDMemoriamLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
IDMemoriam
Compiler Version
v0.8.16+commit.07a7930e
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSED pragma solidity 0.8.16; import { ERC2981 } from "@openzeppelin/contracts/token/common/ERC2981.sol"; import { ERC721 } from "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import { IERC721 } from "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import { Ownable } from "@openzeppelin/contracts/access/Ownable.sol"; import { Address } from "@openzeppelin/contracts/utils/Address.sol"; import { Counters } from "@openzeppelin/contracts/utils/Counters.sol"; /* I see you nerd! ⌐⊙_⊙ */ contract IDMemoriam is ERC2981, ERC721, Ownable { using Counters for Counters.Counter; Counters.Counter private _tokenIdCounter; bool public claimIsActive; bool public isLocked; string public baseURI; string public provenance; IERC721 public immutable afterlifeContract; uint256 public startTokenId; uint256 public packedOffsets; // errors error ProvenanceLocked(); error TokenNotEligible(); error AlreadyClaimed(); error ClaimNotLive(); error NotOwner(); constructor(string memory name, string memory symbol, address afterlifeAddress) ERC721(name, symbol) { afterlifeContract = IERC721(afterlifeAddress); _setDefaultRoyalty(msg.sender, 500); } function reserveMint(uint256[] calldata tokenIds, address mintAddress) external onlyOwner { _mintMultiple(tokenIds, mintAddress); } function _mintMultiple(uint256[] calldata tokenIds, address mintAddress) internal { unchecked { for (uint256 i = 0; i < tokenIds.length; ++i) { _tokenIdCounter.increment(); _safeMint(mintAddress, tokenIds[i]); } } } function flipClaimState() external onlyOwner { claimIsActive = !claimIsActive; } function lockProvenance() external onlyOwner { isLocked = true; } function totalSupply() external view returns (uint256) { return _tokenIdCounter.current(); } function setDefaultRoyalty(address receiver, uint96 feeNumerator) external onlyOwner { _setDefaultRoyalty(receiver, feeNumerator); } function setClaimableTokens(uint256 baseStart, uint256 offset) external onlyOwner { startTokenId = baseStart; packedOffsets = offset; } function getOffsetFor(uint256 baseStart, uint256[] calldata tokenIds) external pure returns (uint256) { uint256 offset; for (uint256 i = 0; i < tokenIds.length; ++i) { // We are assuming tokenIds are within a range of 256 offset = offset | (1 << (tokenIds[i] - baseStart - 1)); } return offset; } function isClaimableToken(uint256 tokenId) external view returns (bool) { if (tokenId <= startTokenId || tokenId > (startTokenId + 256)) { return false; } uint256 mask = (1 << (tokenId - startTokenId - 1)); return packedOffsets & mask == mask; } function claim(uint256[] calldata tokenIds) external { if (!claimIsActive) { revert ClaimNotLive(); } uint256 baseStart = startTokenId; uint256 offsets = packedOffsets; for (uint256 i = 0; i < tokenIds.length; ) { uint256 mask = (1 << (tokenIds[i] - baseStart - 1)); if (offsets & mask != mask) { revert TokenNotEligible(); } if (afterlifeContract.ownerOf(tokenIds[i]) != msg.sender) { revert NotOwner(); } unchecked { ++i; } } _mintMultiple(tokenIds, msg.sender); } function _baseURI() internal view virtual override returns (string memory) { return baseURI; } function setBaseURI(string memory newBaseURI) external onlyOwner { if (isLocked) { revert ProvenanceLocked(); } baseURI = newBaseURI; } /* * Set provenance once it's calculated. */ function setProvenanceHash(string memory provenanceHash) external onlyOwner { if (isLocked) { revert ProvenanceLocked(); } provenance = provenanceHash; } function supportsInterface(bytes4 interfaceId) public view override(ERC2981, ERC721) returns (bool) { return super.supportsInterface(interfaceId); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol) pragma solidity ^0.8.0; import "../../interfaces/IERC2981.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information. * * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first. * * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the * fee is specified in basis points by default. * * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported. * * _Available since v4.5._ */ abstract contract ERC2981 is IERC2981, ERC165 { struct RoyaltyInfo { address receiver; uint96 royaltyFraction; } RoyaltyInfo private _defaultRoyaltyInfo; mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) { return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId); } /** * @inheritdoc IERC2981 */ function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) { RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId]; if (royalty.receiver == address(0)) { royalty = _defaultRoyaltyInfo; } uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator(); return (royalty.receiver, royaltyAmount); } /** * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an * override. */ function _feeDenominator() internal pure virtual returns (uint96) { return 10000; } /** * @dev Sets the royalty information that all ids in this contract will default to. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: invalid receiver"); _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Removes default royalty information. */ function _deleteDefaultRoyalty() internal virtual { delete _defaultRoyaltyInfo; } /** * @dev Sets the royalty information for a specific token id, overriding the global default. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setTokenRoyalty( uint256 tokenId, address receiver, uint96 feeNumerator ) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: Invalid parameters"); _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Resets royalty information for the token id back to the global default. */ function _resetTokenRoyalty(uint256 tokenId) internal virtual { delete _tokenRoyaltyInfo[tokenId]; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token 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: address zero is not a valid owner"); 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: invalid token ID"); 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) { _requireMinted(tokenId); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not token owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { _requireMinted(tokenId); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_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: caller is not token 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: caller is not token 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) { address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == 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); _afterTokenTransfer(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); _afterTokenTransfer(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 from incorrect owner"); 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); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { /// @solidity memory-safe-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` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @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; /** * @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 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 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 the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; import "../utils/introspection/IERC165.sol"; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be paid in that same unit of exchange. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"address","name":"afterlifeAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AlreadyClaimed","type":"error"},{"inputs":[],"name":"ClaimNotLive","type":"error"},{"inputs":[],"name":"NotOwner","type":"error"},{"inputs":[],"name":"ProvenanceLocked","type":"error"},{"inputs":[],"name":"TokenNotEligible","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"afterlifeContract","outputs":[{"internalType":"contract IERC721","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipClaimState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"baseStart","type":"uint256"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"getOffsetFor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","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":"uint256","name":"tokenId","type":"uint256"}],"name":"isClaimableToken","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isLocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockProvenance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"packedOffsets","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"provenance","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"},{"internalType":"address","name":"mintAddress","type":"address"}],"name":"reserveMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"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":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"baseStart","type":"uint256"},{"internalType":"uint256","name":"offset","type":"uint256"}],"name":"setClaimableTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"setDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"provenanceHash","type":"string"}],"name":"setProvenanceHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startTokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60a06040523480156200001157600080fd5b506040516200481538038062004815833981810160405281019062000037919062000542565b828281600290816200004a919062000827565b5080600390816200005c919062000827565b5050506200007f62000073620000d060201b60201c565b620000d860201b60201c565b8073ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1681525050620000c7336101f46200019e60201b60201c565b50505062000a29565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620001ae6200034060201b60201c565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff1611156200020f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002069062000995565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160362000281576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002789062000a07565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff168152506000808201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b6000612710905090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620003b38262000368565b810181811067ffffffffffffffff82111715620003d557620003d462000379565b5b80604052505050565b6000620003ea6200034a565b9050620003f88282620003a8565b919050565b600067ffffffffffffffff8211156200041b576200041a62000379565b5b620004268262000368565b9050602081019050919050565b60005b838110156200045357808201518184015260208101905062000436565b60008484015250505050565b6000620004766200047084620003fd565b620003de565b90508281526020810184848401111562000495576200049462000363565b5b620004a284828562000433565b509392505050565b600082601f830112620004c257620004c16200035e565b5b8151620004d48482602086016200045f565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200050a82620004dd565b9050919050565b6200051c81620004fd565b81146200052857600080fd5b50565b6000815190506200053c8162000511565b92915050565b6000806000606084860312156200055e576200055d62000354565b5b600084015167ffffffffffffffff8111156200057f576200057e62000359565b5b6200058d86828701620004aa565b935050602084015167ffffffffffffffff811115620005b157620005b062000359565b5b620005bf86828701620004aa565b9250506040620005d2868287016200052b565b9150509250925092565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200062f57607f821691505b602082108103620006455762000644620005e7565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620006af7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000670565b620006bb868362000670565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b60006200070862000702620006fc84620006d3565b620006dd565b620006d3565b9050919050565b6000819050919050565b6200072483620006e7565b6200073c62000733826200070f565b8484546200067d565b825550505050565b600090565b6200075362000744565b6200076081848462000719565b505050565b5b8181101562000788576200077c60008262000749565b60018101905062000766565b5050565b601f821115620007d757620007a1816200064b565b620007ac8462000660565b81016020851015620007bc578190505b620007d4620007cb8562000660565b83018262000765565b50505b505050565b600082821c905092915050565b6000620007fc60001984600802620007dc565b1980831691505092915050565b6000620008178383620007e9565b9150826002028217905092915050565b6200083282620005dc565b67ffffffffffffffff8111156200084e576200084d62000379565b5b6200085a825462000616565b620008678282856200078c565b600060209050601f8311600181146200089f57600084156200088a578287015190505b62000896858262000809565b86555062000906565b601f198416620008af866200064b565b60005b82811015620008d957848901518255600182019150602085019450602081019050620008b2565b86831015620008f95784890151620008f5601f891682620007e9565b8355505b6001600288020188555050505b505050505050565b600082825260208201905092915050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b60006200097d602a836200090e565b91506200098a826200091f565b604082019050919050565b60006020820190508181036000830152620009b0816200096e565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b6000620009ef6019836200090e565b9150620009fc82620009b7565b602082019050919050565b6000602082019050818103600083015262000a2281620009e0565b9050919050565b608051613dc962000a4c60003960008181610e4e01526114b20152613dc96000f3fe608060405234801561001057600080fd5b50600436106102115760003560e01c80636ba4c13811610125578063a4e2d634116100ad578063e6798baa1161007c578063e6798baa146105ed578063e985e9c51461060b578063ea7523ee1461063b578063f2fde38b14610645578063f6c227fd1461066157610211565b8063a4e2d63414610553578063b88d4fde14610571578063c87b56dd1461058d578063dfcae98d146105bd57610211565b8063715018a6116100f4578063715018a6146104c15780638da5cb5b146104cb57806391baa9ad146104e957806395d89b4114610519578063a22cb4651461053757610211565b80636ba4c1381461044d5780636c0360eb146104695780636d60e6c11461048757806370a082311461049157610211565b806318160ddd116101a857806342842e0e1161017757806342842e0e146103ab578063496fac26146103c75780635303f68c146103e357806355f804b3146104015780636352211e1461041d57610211565b806318160ddd1461032257806323b872dd146103405780632a55205a1461035c5780633f0e974f1461038d57610211565b806308564878116101e457806308564878146102b0578063095ea7b3146102cc5780630f7309e8146102e8578063109695231461030657610211565b806301ffc9a71461021657806304634d8d1461024657806306fdde0314610262578063081812fc14610280575b600080fd5b610230600480360381019061022b919061268b565b61067f565b60405161023d91906126d3565b60405180910390f35b610260600480360381019061025b9190612790565b610691565b005b61026a6106a7565b6040516102779190612860565b60405180910390f35b61029a600480360381019061029591906128b8565b610739565b6040516102a791906128f4565b60405180910390f35b6102ca60048036038101906102c5919061290f565b61077f565b005b6102e660048036038101906102e1919061294f565b610799565b005b6102f06108b0565b6040516102fd9190612860565b60405180910390f35b610320600480360381019061031b9190612ac4565b61093e565b005b61032a6109a0565b6040516103379190612b1c565b60405180910390f35b61035a60048036038101906103559190612b37565b6109b1565b005b6103766004803603810190610371919061290f565b610a11565b604051610384929190612b8a565b60405180910390f35b610395610bfb565b6040516103a29190612b1c565b60405180910390f35b6103c560048036038101906103c09190612b37565b610c01565b005b6103e160048036038101906103dc9190612c13565b610c21565b005b6103eb610c39565b6040516103f891906126d3565b60405180910390f35b61041b60048036038101906104169190612ac4565b610c4c565b005b610437600480360381019061043291906128b8565b610cae565b60405161044491906128f4565b60405180910390f35b61046760048036038101906104629190612c73565b610d5f565b005b610471610f6a565b60405161047e9190612860565b60405180910390f35b61048f610ff8565b005b6104ab60048036038101906104a69190612cc0565b61102c565b6040516104b89190612b1c565b60405180910390f35b6104c96110e3565b005b6104d36110f7565b6040516104e091906128f4565b60405180910390f35b61050360048036038101906104fe9190612ced565b611121565b6040516105109190612b1c565b60405180910390f35b610521611188565b60405161052e9190612860565b60405180910390f35b610551600480360381019061054c9190612d79565b61121a565b005b61055b611230565b60405161056891906126d3565b60405180910390f35b61058b60048036038101906105869190612e5a565b611243565b005b6105a760048036038101906105a291906128b8565b6112a5565b6040516105b49190612860565b60405180910390f35b6105d760048036038101906105d291906128b8565b61130d565b6040516105e491906126d3565b60405180910390f35b6105f561136e565b6040516106029190612b1c565b60405180910390f35b61062560048036038101906106209190612edd565b611374565b60405161063291906126d3565b60405180910390f35b610643611408565b005b61065f600480360381019061065a9190612cc0565b61142d565b005b6106696114b0565b6040516106769190612f7c565b60405180910390f35b600061068a826114d4565b9050919050565b6106996115b6565b6106a38282611634565b5050565b6060600280546106b690612fc6565b80601f01602080910402602001604051908101604052809291908181526020018280546106e290612fc6565b801561072f5780601f106107045761010080835404028352916020019161072f565b820191906000526020600020905b81548152906001019060200180831161071257829003601f168201915b5050505050905090565b6000610744826117c8565b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6107876115b6565b81600d8190555080600e819055505050565b60006107a482610cae565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610814576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161080b90613069565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610833611813565b73ffffffffffffffffffffffffffffffffffffffff16148061086257506108618161085c611813565b611374565b5b6108a1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610898906130fb565b60405180910390fd5b6108ab838361181b565b505050565b600c80546108bd90612fc6565b80601f01602080910402602001604051908101604052809291908181526020018280546108e990612fc6565b80156109365780601f1061090b57610100808354040283529160200191610936565b820191906000526020600020905b81548152906001019060200180831161091957829003601f168201915b505050505081565b6109466115b6565b600a60019054906101000a900460ff161561098d576040517f073a11f300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600c908161099c91906132bd565b5050565b60006109ac60096118d4565b905090565b6109c26109bc611813565b826118e2565b610a01576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f890613401565b60405180910390fd5b610a0c838383611977565b505050565b6000806000600160008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1603610ba65760006040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b6000610bb0611bdd565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff1686610bdc9190613450565b610be691906134d9565b90508160000151819350935050509250929050565b600e5481565b610c1c83838360405180602001604052806000815250611243565b505050565b610c296115b6565b610c34838383611be7565b505050565b600a60009054906101000a900460ff1681565b610c546115b6565b600a60019054906101000a900460ff1615610c9b576040517f073a11f300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600b9081610caa91906132bd565b5050565b6000806004600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610d56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4d90613556565b60405180910390fd5b80915050919050565b600a60009054906101000a900460ff16610da5576040517f44c11cfe00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600d5490506000600e54905060005b84849050811015610f58576000600184878785818110610dd957610dd8613576565b5b90506020020135610dea91906135a5565b610df491906135a5565b6001901b90508081841614610e35576040517f0f7eff3a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16636352211e888886818110610e9b57610e9a613576565b5b905060200201356040518263ffffffff1660e01b8152600401610ebe9190612b1c565b602060405180830381865afa158015610edb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eff91906135ee565b73ffffffffffffffffffffffffffffffffffffffff1614610f4c576040517f30cd747100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81600101915050610db6565b50610f64848433611be7565b50505050565b600b8054610f7790612fc6565b80601f0160208091040260200160405190810160405280929190818152602001828054610fa390612fc6565b8015610ff05780601f10610fc557610100808354040283529160200191610ff0565b820191906000526020600020905b815481529060010190602001808311610fd357829003601f168201915b505050505081565b6110006115b6565b600a60009054906101000a900460ff1615600a60006101000a81548160ff021916908315150217905550565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361109c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110939061368d565b60405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6110eb6115b6565b6110f56000611c33565b565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60008060005b8484905081101561117c5760018686868481811061114857611147613576565b5b9050602002013561115991906135a5565b61116391906135a5565b6001901b8217915080611175906136ad565b9050611127565b50809150509392505050565b60606003805461119790612fc6565b80601f01602080910402602001604051908101604052809291908181526020018280546111c390612fc6565b80156112105780601f106111e557610100808354040283529160200191611210565b820191906000526020600020905b8154815290600101906020018083116111f357829003601f168201915b5050505050905090565b61122c611225611813565b8383611cf9565b5050565b600a60019054906101000a900460ff1681565b61125461124e611813565b836118e2565b611293576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128a90613401565b60405180910390fd5b61129f84848484611e65565b50505050565b60606112b0826117c8565b60006112ba611ec1565b905060008151116112da5760405180602001604052806000815250611305565b806112e484611f53565b6040516020016112f5929190613731565b6040516020818303038152906040525b915050919050565b6000600d548211158061132e5750610100600d5461132b9190613755565b82115b1561133c5760009050611369565b60006001600d548461134e91906135a5565b61135891906135a5565b6001901b90508081600e5416149150505b919050565b600d5481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6114106115b6565b6001600a60016101000a81548160ff021916908315150217905550565b6114356115b6565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036114a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149b906137fb565b60405180910390fd5b6114ad81611c33565b50565b7f000000000000000000000000000000000000000000000000000000000000000081565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061159f57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806115af57506115ae826120b3565b5b9050919050565b6115be611813565b73ffffffffffffffffffffffffffffffffffffffff166115dc6110f7565b73ffffffffffffffffffffffffffffffffffffffff1614611632576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162990613867565b60405180910390fd5b565b61163c611bdd565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff16111561169a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611691906138f9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611709576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170090613965565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff168152506000808201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b6117d18161212d565b611810576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180790613556565b60405180910390fd5b50565b600033905090565b816006600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661188e83610cae565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b6000806118ee83610cae565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611930575061192f8185611374565b5b8061196e57508373ffffffffffffffffffffffffffffffffffffffff1661195684610739565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661199782610cae565b73ffffffffffffffffffffffffffffffffffffffff16146119ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e4906139f7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611a5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5390613a89565b60405180910390fd5b611a67838383612199565b611a7260008261181b565b6001600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ac291906135a5565b925050819055506001600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b199190613755565b92505081905550816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611bd883838361219e565b505050565b6000612710905090565b60005b83839050811015611c2d57611bff60096121a3565b611c2282858584818110611c1657611c15613576565b5b905060200201356121b9565b806001019050611bea565b50505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611d67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5e90613af5565b60405180910390fd5b80600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611e5891906126d3565b60405180910390a3505050565b611e70848484611977565b611e7c848484846121d7565b611ebb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb290613b87565b60405180910390fd5b50505050565b6060600b8054611ed090612fc6565b80601f0160208091040260200160405190810160405280929190818152602001828054611efc90612fc6565b8015611f495780601f10611f1e57610100808354040283529160200191611f49565b820191906000526020600020905b815481529060010190602001808311611f2c57829003601f168201915b5050505050905090565b606060008203611f9a576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506120ae565b600082905060005b60008214611fcc578080611fb5906136ad565b915050600a82611fc591906134d9565b9150611fa2565b60008167ffffffffffffffff811115611fe857611fe7612999565b5b6040519080825280601f01601f19166020018201604052801561201a5781602001600182028036833780820191505090505b5090505b600085146120a75760018261203391906135a5565b9150600a856120429190613ba7565b603061204e9190613755565b60f81b81838151811061206457612063613576565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856120a091906134d9565b945061201e565b8093505050505b919050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061212657506121258261235e565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166004600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b505050565b505050565b6001816000016000828254019250508190555050565b6121d38282604051806020016040528060008152506123c8565b5050565b60006121f88473ffffffffffffffffffffffffffffffffffffffff16612423565b15612351578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612221611813565b8786866040518563ffffffff1660e01b81526004016122439493929190613c2d565b6020604051808303816000875af192505050801561227f57506040513d601f19601f8201168201806040525081019061227c9190613c8e565b60015b612301573d80600081146122af576040519150601f19603f3d011682016040523d82523d6000602084013e6122b4565b606091505b5060008151036122f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122f090613b87565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612356565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6123d28383612446565b6123df60008484846121d7565b61241e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161241590613b87565b60405180910390fd5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036124b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124ac90613d07565b60405180910390fd5b6124be8161212d565b156124fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124f590613d73565b60405180910390fd5b61250a60008383612199565b6001600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461255a9190613755565b92505081905550816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461261b6000838361219e565b5050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61266881612633565b811461267357600080fd5b50565b6000813590506126858161265f565b92915050565b6000602082840312156126a1576126a0612629565b5b60006126af84828501612676565b91505092915050565b60008115159050919050565b6126cd816126b8565b82525050565b60006020820190506126e860008301846126c4565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612719826126ee565b9050919050565b6127298161270e565b811461273457600080fd5b50565b60008135905061274681612720565b92915050565b60006bffffffffffffffffffffffff82169050919050565b61276d8161274c565b811461277857600080fd5b50565b60008135905061278a81612764565b92915050565b600080604083850312156127a7576127a6612629565b5b60006127b585828601612737565b92505060206127c68582860161277b565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561280a5780820151818401526020810190506127ef565b60008484015250505050565b6000601f19601f8301169050919050565b6000612832826127d0565b61283c81856127db565b935061284c8185602086016127ec565b61285581612816565b840191505092915050565b6000602082019050818103600083015261287a8184612827565b905092915050565b6000819050919050565b61289581612882565b81146128a057600080fd5b50565b6000813590506128b28161288c565b92915050565b6000602082840312156128ce576128cd612629565b5b60006128dc848285016128a3565b91505092915050565b6128ee8161270e565b82525050565b600060208201905061290960008301846128e5565b92915050565b6000806040838503121561292657612925612629565b5b6000612934858286016128a3565b9250506020612945858286016128a3565b9150509250929050565b6000806040838503121561296657612965612629565b5b600061297485828601612737565b9250506020612985858286016128a3565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6129d182612816565b810181811067ffffffffffffffff821117156129f0576129ef612999565b5b80604052505050565b6000612a0361261f565b9050612a0f82826129c8565b919050565b600067ffffffffffffffff821115612a2f57612a2e612999565b5b612a3882612816565b9050602081019050919050565b82818337600083830152505050565b6000612a67612a6284612a14565b6129f9565b905082815260208101848484011115612a8357612a82612994565b5b612a8e848285612a45565b509392505050565b600082601f830112612aab57612aaa61298f565b5b8135612abb848260208601612a54565b91505092915050565b600060208284031215612ada57612ad9612629565b5b600082013567ffffffffffffffff811115612af857612af761262e565b5b612b0484828501612a96565b91505092915050565b612b1681612882565b82525050565b6000602082019050612b316000830184612b0d565b92915050565b600080600060608486031215612b5057612b4f612629565b5b6000612b5e86828701612737565b9350506020612b6f86828701612737565b9250506040612b80868287016128a3565b9150509250925092565b6000604082019050612b9f60008301856128e5565b612bac6020830184612b0d565b9392505050565b600080fd5b600080fd5b60008083601f840112612bd357612bd261298f565b5b8235905067ffffffffffffffff811115612bf057612bef612bb3565b5b602083019150836020820283011115612c0c57612c0b612bb8565b5b9250929050565b600080600060408486031215612c2c57612c2b612629565b5b600084013567ffffffffffffffff811115612c4a57612c4961262e565b5b612c5686828701612bbd565b93509350506020612c6986828701612737565b9150509250925092565b60008060208385031215612c8a57612c89612629565b5b600083013567ffffffffffffffff811115612ca857612ca761262e565b5b612cb485828601612bbd565b92509250509250929050565b600060208284031215612cd657612cd5612629565b5b6000612ce484828501612737565b91505092915050565b600080600060408486031215612d0657612d05612629565b5b6000612d14868287016128a3565b935050602084013567ffffffffffffffff811115612d3557612d3461262e565b5b612d4186828701612bbd565b92509250509250925092565b612d56816126b8565b8114612d6157600080fd5b50565b600081359050612d7381612d4d565b92915050565b60008060408385031215612d9057612d8f612629565b5b6000612d9e85828601612737565b9250506020612daf85828601612d64565b9150509250929050565b600067ffffffffffffffff821115612dd457612dd3612999565b5b612ddd82612816565b9050602081019050919050565b6000612dfd612df884612db9565b6129f9565b905082815260208101848484011115612e1957612e18612994565b5b612e24848285612a45565b509392505050565b600082601f830112612e4157612e4061298f565b5b8135612e51848260208601612dea565b91505092915050565b60008060008060808587031215612e7457612e73612629565b5b6000612e8287828801612737565b9450506020612e9387828801612737565b9350506040612ea4878288016128a3565b925050606085013567ffffffffffffffff811115612ec557612ec461262e565b5b612ed187828801612e2c565b91505092959194509250565b60008060408385031215612ef457612ef3612629565b5b6000612f0285828601612737565b9250506020612f1385828601612737565b9150509250929050565b6000819050919050565b6000612f42612f3d612f38846126ee565b612f1d565b6126ee565b9050919050565b6000612f5482612f27565b9050919050565b6000612f6682612f49565b9050919050565b612f7681612f5b565b82525050565b6000602082019050612f916000830184612f6d565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612fde57607f821691505b602082108103612ff157612ff0612f97565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006130536021836127db565b915061305e82612ff7565b604082019050919050565b6000602082019050818103600083015261308281613046565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b60006130e5603e836127db565b91506130f082613089565b604082019050919050565b60006020820190508181036000830152613114816130d8565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261317d7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613140565b6131878683613140565b95508019841693508086168417925050509392505050565b60006131ba6131b56131b084612882565b612f1d565b612882565b9050919050565b6000819050919050565b6131d48361319f565b6131e86131e0826131c1565b84845461314d565b825550505050565b600090565b6131fd6131f0565b6132088184846131cb565b505050565b5b8181101561322c576132216000826131f5565b60018101905061320e565b5050565b601f821115613271576132428161311b565b61324b84613130565b8101602085101561325a578190505b61326e61326685613130565b83018261320d565b50505b505050565b600082821c905092915050565b600061329460001984600802613276565b1980831691505092915050565b60006132ad8383613283565b9150826002028217905092915050565b6132c6826127d0565b67ffffffffffffffff8111156132df576132de612999565b5b6132e98254612fc6565b6132f4828285613230565b600060209050601f8311600181146133275760008415613315578287015190505b61331f85826132a1565b865550613387565b601f1984166133358661311b565b60005b8281101561335d57848901518255600182019150602085019450602081019050613338565b8683101561337a5784890151613376601f891682613283565b8355505b6001600288020188555050505b505050505050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b60006133eb602e836127db565b91506133f68261338f565b604082019050919050565b6000602082019050818103600083015261341a816133de565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061345b82612882565b915061346683612882565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561349f5761349e613421565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006134e482612882565b91506134ef83612882565b9250826134ff576134fe6134aa565b5b828204905092915050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b60006135406018836127db565b915061354b8261350a565b602082019050919050565b6000602082019050818103600083015261356f81613533565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006135b082612882565b91506135bb83612882565b92508282039050818111156135d3576135d2613421565b5b92915050565b6000815190506135e881612720565b92915050565b60006020828403121561360457613603612629565b5b6000613612848285016135d9565b91505092915050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b60006136776029836127db565b91506136828261361b565b604082019050919050565b600060208201905081810360008301526136a68161366a565b9050919050565b60006136b882612882565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036136ea576136e9613421565b5b600182019050919050565b600081905092915050565b600061370b826127d0565b61371581856136f5565b93506137258185602086016127ec565b80840191505092915050565b600061373d8285613700565b91506137498284613700565b91508190509392505050565b600061376082612882565b915061376b83612882565b925082820190508082111561378357613782613421565b5b92915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006137e56026836127db565b91506137f082613789565b604082019050919050565b60006020820190508181036000830152613814816137d8565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006138516020836127db565b915061385c8261381b565b602082019050919050565b6000602082019050818103600083015261388081613844565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b60006138e3602a836127db565b91506138ee82613887565b604082019050919050565b60006020820190508181036000830152613912816138d6565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b600061394f6019836127db565b915061395a82613919565b602082019050919050565b6000602082019050818103600083015261397e81613942565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b60006139e16025836127db565b91506139ec82613985565b604082019050919050565b60006020820190508181036000830152613a10816139d4565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000613a736024836127db565b9150613a7e82613a17565b604082019050919050565b60006020820190508181036000830152613aa281613a66565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000613adf6019836127db565b9150613aea82613aa9565b602082019050919050565b60006020820190508181036000830152613b0e81613ad2565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000613b716032836127db565b9150613b7c82613b15565b604082019050919050565b60006020820190508181036000830152613ba081613b64565b9050919050565b6000613bb282612882565b9150613bbd83612882565b925082613bcd57613bcc6134aa565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b6000613bff82613bd8565b613c098185613be3565b9350613c198185602086016127ec565b613c2281612816565b840191505092915050565b6000608082019050613c4260008301876128e5565b613c4f60208301866128e5565b613c5c6040830185612b0d565b8181036060830152613c6e8184613bf4565b905095945050505050565b600081519050613c888161265f565b92915050565b600060208284031215613ca457613ca3612629565b5b6000613cb284828501613c79565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000613cf16020836127db565b9150613cfc82613cbb565b602082019050919050565b60006020820190508181036000830152613d2081613ce4565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000613d5d601c836127db565b9150613d6882613d27565b602082019050919050565b60006020820190508181036000830152613d8c81613d50565b905091905056fea26469706673582212203398ea3fc0d3782289e13df51b2dd9d660730b049cae772c54d4d66f30cc75c264736f6c63430008100033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000dd5081723e3b6c869597339525ed5aae12e2ccf000000000000000000000000000000000000000000000000000000000000000b4944204d656d6f7269616d000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a49444d656d6f7269616d00000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102115760003560e01c80636ba4c13811610125578063a4e2d634116100ad578063e6798baa1161007c578063e6798baa146105ed578063e985e9c51461060b578063ea7523ee1461063b578063f2fde38b14610645578063f6c227fd1461066157610211565b8063a4e2d63414610553578063b88d4fde14610571578063c87b56dd1461058d578063dfcae98d146105bd57610211565b8063715018a6116100f4578063715018a6146104c15780638da5cb5b146104cb57806391baa9ad146104e957806395d89b4114610519578063a22cb4651461053757610211565b80636ba4c1381461044d5780636c0360eb146104695780636d60e6c11461048757806370a082311461049157610211565b806318160ddd116101a857806342842e0e1161017757806342842e0e146103ab578063496fac26146103c75780635303f68c146103e357806355f804b3146104015780636352211e1461041d57610211565b806318160ddd1461032257806323b872dd146103405780632a55205a1461035c5780633f0e974f1461038d57610211565b806308564878116101e457806308564878146102b0578063095ea7b3146102cc5780630f7309e8146102e8578063109695231461030657610211565b806301ffc9a71461021657806304634d8d1461024657806306fdde0314610262578063081812fc14610280575b600080fd5b610230600480360381019061022b919061268b565b61067f565b60405161023d91906126d3565b60405180910390f35b610260600480360381019061025b9190612790565b610691565b005b61026a6106a7565b6040516102779190612860565b60405180910390f35b61029a600480360381019061029591906128b8565b610739565b6040516102a791906128f4565b60405180910390f35b6102ca60048036038101906102c5919061290f565b61077f565b005b6102e660048036038101906102e1919061294f565b610799565b005b6102f06108b0565b6040516102fd9190612860565b60405180910390f35b610320600480360381019061031b9190612ac4565b61093e565b005b61032a6109a0565b6040516103379190612b1c565b60405180910390f35b61035a60048036038101906103559190612b37565b6109b1565b005b6103766004803603810190610371919061290f565b610a11565b604051610384929190612b8a565b60405180910390f35b610395610bfb565b6040516103a29190612b1c565b60405180910390f35b6103c560048036038101906103c09190612b37565b610c01565b005b6103e160048036038101906103dc9190612c13565b610c21565b005b6103eb610c39565b6040516103f891906126d3565b60405180910390f35b61041b60048036038101906104169190612ac4565b610c4c565b005b610437600480360381019061043291906128b8565b610cae565b60405161044491906128f4565b60405180910390f35b61046760048036038101906104629190612c73565b610d5f565b005b610471610f6a565b60405161047e9190612860565b60405180910390f35b61048f610ff8565b005b6104ab60048036038101906104a69190612cc0565b61102c565b6040516104b89190612b1c565b60405180910390f35b6104c96110e3565b005b6104d36110f7565b6040516104e091906128f4565b60405180910390f35b61050360048036038101906104fe9190612ced565b611121565b6040516105109190612b1c565b60405180910390f35b610521611188565b60405161052e9190612860565b60405180910390f35b610551600480360381019061054c9190612d79565b61121a565b005b61055b611230565b60405161056891906126d3565b60405180910390f35b61058b60048036038101906105869190612e5a565b611243565b005b6105a760048036038101906105a291906128b8565b6112a5565b6040516105b49190612860565b60405180910390f35b6105d760048036038101906105d291906128b8565b61130d565b6040516105e491906126d3565b60405180910390f35b6105f561136e565b6040516106029190612b1c565b60405180910390f35b61062560048036038101906106209190612edd565b611374565b60405161063291906126d3565b60405180910390f35b610643611408565b005b61065f600480360381019061065a9190612cc0565b61142d565b005b6106696114b0565b6040516106769190612f7c565b60405180910390f35b600061068a826114d4565b9050919050565b6106996115b6565b6106a38282611634565b5050565b6060600280546106b690612fc6565b80601f01602080910402602001604051908101604052809291908181526020018280546106e290612fc6565b801561072f5780601f106107045761010080835404028352916020019161072f565b820191906000526020600020905b81548152906001019060200180831161071257829003601f168201915b5050505050905090565b6000610744826117c8565b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6107876115b6565b81600d8190555080600e819055505050565b60006107a482610cae565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610814576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161080b90613069565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610833611813565b73ffffffffffffffffffffffffffffffffffffffff16148061086257506108618161085c611813565b611374565b5b6108a1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610898906130fb565b60405180910390fd5b6108ab838361181b565b505050565b600c80546108bd90612fc6565b80601f01602080910402602001604051908101604052809291908181526020018280546108e990612fc6565b80156109365780601f1061090b57610100808354040283529160200191610936565b820191906000526020600020905b81548152906001019060200180831161091957829003601f168201915b505050505081565b6109466115b6565b600a60019054906101000a900460ff161561098d576040517f073a11f300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600c908161099c91906132bd565b5050565b60006109ac60096118d4565b905090565b6109c26109bc611813565b826118e2565b610a01576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f890613401565b60405180910390fd5b610a0c838383611977565b505050565b6000806000600160008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1603610ba65760006040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b6000610bb0611bdd565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff1686610bdc9190613450565b610be691906134d9565b90508160000151819350935050509250929050565b600e5481565b610c1c83838360405180602001604052806000815250611243565b505050565b610c296115b6565b610c34838383611be7565b505050565b600a60009054906101000a900460ff1681565b610c546115b6565b600a60019054906101000a900460ff1615610c9b576040517f073a11f300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600b9081610caa91906132bd565b5050565b6000806004600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610d56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4d90613556565b60405180910390fd5b80915050919050565b600a60009054906101000a900460ff16610da5576040517f44c11cfe00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000600d5490506000600e54905060005b84849050811015610f58576000600184878785818110610dd957610dd8613576565b5b90506020020135610dea91906135a5565b610df491906135a5565b6001901b90508081841614610e35576040517f0f7eff3a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff167f0000000000000000000000000dd5081723e3b6c869597339525ed5aae12e2ccf73ffffffffffffffffffffffffffffffffffffffff16636352211e888886818110610e9b57610e9a613576565b5b905060200201356040518263ffffffff1660e01b8152600401610ebe9190612b1c565b602060405180830381865afa158015610edb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eff91906135ee565b73ffffffffffffffffffffffffffffffffffffffff1614610f4c576040517f30cd747100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81600101915050610db6565b50610f64848433611be7565b50505050565b600b8054610f7790612fc6565b80601f0160208091040260200160405190810160405280929190818152602001828054610fa390612fc6565b8015610ff05780601f10610fc557610100808354040283529160200191610ff0565b820191906000526020600020905b815481529060010190602001808311610fd357829003601f168201915b505050505081565b6110006115b6565b600a60009054906101000a900460ff1615600a60006101000a81548160ff021916908315150217905550565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361109c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110939061368d565b60405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6110eb6115b6565b6110f56000611c33565b565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60008060005b8484905081101561117c5760018686868481811061114857611147613576565b5b9050602002013561115991906135a5565b61116391906135a5565b6001901b8217915080611175906136ad565b9050611127565b50809150509392505050565b60606003805461119790612fc6565b80601f01602080910402602001604051908101604052809291908181526020018280546111c390612fc6565b80156112105780601f106111e557610100808354040283529160200191611210565b820191906000526020600020905b8154815290600101906020018083116111f357829003601f168201915b5050505050905090565b61122c611225611813565b8383611cf9565b5050565b600a60019054906101000a900460ff1681565b61125461124e611813565b836118e2565b611293576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161128a90613401565b60405180910390fd5b61129f84848484611e65565b50505050565b60606112b0826117c8565b60006112ba611ec1565b905060008151116112da5760405180602001604052806000815250611305565b806112e484611f53565b6040516020016112f5929190613731565b6040516020818303038152906040525b915050919050565b6000600d548211158061132e5750610100600d5461132b9190613755565b82115b1561133c5760009050611369565b60006001600d548461134e91906135a5565b61135891906135a5565b6001901b90508081600e5416149150505b919050565b600d5481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6114106115b6565b6001600a60016101000a81548160ff021916908315150217905550565b6114356115b6565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036114a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149b906137fb565b60405180910390fd5b6114ad81611c33565b50565b7f0000000000000000000000000dd5081723e3b6c869597339525ed5aae12e2ccf81565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061159f57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806115af57506115ae826120b3565b5b9050919050565b6115be611813565b73ffffffffffffffffffffffffffffffffffffffff166115dc6110f7565b73ffffffffffffffffffffffffffffffffffffffff1614611632576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162990613867565b60405180910390fd5b565b61163c611bdd565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff16111561169a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611691906138f9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611709576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170090613965565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff168152506000808201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b6117d18161212d565b611810576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161180790613556565b60405180910390fd5b50565b600033905090565b816006600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661188e83610cae565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b6000806118ee83610cae565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611930575061192f8185611374565b5b8061196e57508373ffffffffffffffffffffffffffffffffffffffff1661195684610739565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661199782610cae565b73ffffffffffffffffffffffffffffffffffffffff16146119ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e4906139f7565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611a5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5390613a89565b60405180910390fd5b611a67838383612199565b611a7260008261181b565b6001600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ac291906135a5565b925050819055506001600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b199190613755565b92505081905550816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611bd883838361219e565b505050565b6000612710905090565b60005b83839050811015611c2d57611bff60096121a3565b611c2282858584818110611c1657611c15613576565b5b905060200201356121b9565b806001019050611bea565b50505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611d67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5e90613af5565b60405180910390fd5b80600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611e5891906126d3565b60405180910390a3505050565b611e70848484611977565b611e7c848484846121d7565b611ebb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb290613b87565b60405180910390fd5b50505050565b6060600b8054611ed090612fc6565b80601f0160208091040260200160405190810160405280929190818152602001828054611efc90612fc6565b8015611f495780601f10611f1e57610100808354040283529160200191611f49565b820191906000526020600020905b815481529060010190602001808311611f2c57829003601f168201915b5050505050905090565b606060008203611f9a576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506120ae565b600082905060005b60008214611fcc578080611fb5906136ad565b915050600a82611fc591906134d9565b9150611fa2565b60008167ffffffffffffffff811115611fe857611fe7612999565b5b6040519080825280601f01601f19166020018201604052801561201a5781602001600182028036833780820191505090505b5090505b600085146120a75760018261203391906135a5565b9150600a856120429190613ba7565b603061204e9190613755565b60f81b81838151811061206457612063613576565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856120a091906134d9565b945061201e565b8093505050505b919050565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061212657506121258261235e565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166004600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b505050565b505050565b6001816000016000828254019250508190555050565b6121d38282604051806020016040528060008152506123c8565b5050565b60006121f88473ffffffffffffffffffffffffffffffffffffffff16612423565b15612351578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612221611813565b8786866040518563ffffffff1660e01b81526004016122439493929190613c2d565b6020604051808303816000875af192505050801561227f57506040513d601f19601f8201168201806040525081019061227c9190613c8e565b60015b612301573d80600081146122af576040519150601f19603f3d011682016040523d82523d6000602084013e6122b4565b606091505b5060008151036122f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122f090613b87565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612356565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6123d28383612446565b6123df60008484846121d7565b61241e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161241590613b87565b60405180910390fd5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036124b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124ac90613d07565b60405180910390fd5b6124be8161212d565b156124fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124f590613d73565b60405180910390fd5b61250a60008383612199565b6001600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461255a9190613755565b92505081905550816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461261b6000838361219e565b5050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61266881612633565b811461267357600080fd5b50565b6000813590506126858161265f565b92915050565b6000602082840312156126a1576126a0612629565b5b60006126af84828501612676565b91505092915050565b60008115159050919050565b6126cd816126b8565b82525050565b60006020820190506126e860008301846126c4565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612719826126ee565b9050919050565b6127298161270e565b811461273457600080fd5b50565b60008135905061274681612720565b92915050565b60006bffffffffffffffffffffffff82169050919050565b61276d8161274c565b811461277857600080fd5b50565b60008135905061278a81612764565b92915050565b600080604083850312156127a7576127a6612629565b5b60006127b585828601612737565b92505060206127c68582860161277b565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561280a5780820151818401526020810190506127ef565b60008484015250505050565b6000601f19601f8301169050919050565b6000612832826127d0565b61283c81856127db565b935061284c8185602086016127ec565b61285581612816565b840191505092915050565b6000602082019050818103600083015261287a8184612827565b905092915050565b6000819050919050565b61289581612882565b81146128a057600080fd5b50565b6000813590506128b28161288c565b92915050565b6000602082840312156128ce576128cd612629565b5b60006128dc848285016128a3565b91505092915050565b6128ee8161270e565b82525050565b600060208201905061290960008301846128e5565b92915050565b6000806040838503121561292657612925612629565b5b6000612934858286016128a3565b9250506020612945858286016128a3565b9150509250929050565b6000806040838503121561296657612965612629565b5b600061297485828601612737565b9250506020612985858286016128a3565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6129d182612816565b810181811067ffffffffffffffff821117156129f0576129ef612999565b5b80604052505050565b6000612a0361261f565b9050612a0f82826129c8565b919050565b600067ffffffffffffffff821115612a2f57612a2e612999565b5b612a3882612816565b9050602081019050919050565b82818337600083830152505050565b6000612a67612a6284612a14565b6129f9565b905082815260208101848484011115612a8357612a82612994565b5b612a8e848285612a45565b509392505050565b600082601f830112612aab57612aaa61298f565b5b8135612abb848260208601612a54565b91505092915050565b600060208284031215612ada57612ad9612629565b5b600082013567ffffffffffffffff811115612af857612af761262e565b5b612b0484828501612a96565b91505092915050565b612b1681612882565b82525050565b6000602082019050612b316000830184612b0d565b92915050565b600080600060608486031215612b5057612b4f612629565b5b6000612b5e86828701612737565b9350506020612b6f86828701612737565b9250506040612b80868287016128a3565b9150509250925092565b6000604082019050612b9f60008301856128e5565b612bac6020830184612b0d565b9392505050565b600080fd5b600080fd5b60008083601f840112612bd357612bd261298f565b5b8235905067ffffffffffffffff811115612bf057612bef612bb3565b5b602083019150836020820283011115612c0c57612c0b612bb8565b5b9250929050565b600080600060408486031215612c2c57612c2b612629565b5b600084013567ffffffffffffffff811115612c4a57612c4961262e565b5b612c5686828701612bbd565b93509350506020612c6986828701612737565b9150509250925092565b60008060208385031215612c8a57612c89612629565b5b600083013567ffffffffffffffff811115612ca857612ca761262e565b5b612cb485828601612bbd565b92509250509250929050565b600060208284031215612cd657612cd5612629565b5b6000612ce484828501612737565b91505092915050565b600080600060408486031215612d0657612d05612629565b5b6000612d14868287016128a3565b935050602084013567ffffffffffffffff811115612d3557612d3461262e565b5b612d4186828701612bbd565b92509250509250925092565b612d56816126b8565b8114612d6157600080fd5b50565b600081359050612d7381612d4d565b92915050565b60008060408385031215612d9057612d8f612629565b5b6000612d9e85828601612737565b9250506020612daf85828601612d64565b9150509250929050565b600067ffffffffffffffff821115612dd457612dd3612999565b5b612ddd82612816565b9050602081019050919050565b6000612dfd612df884612db9565b6129f9565b905082815260208101848484011115612e1957612e18612994565b5b612e24848285612a45565b509392505050565b600082601f830112612e4157612e4061298f565b5b8135612e51848260208601612dea565b91505092915050565b60008060008060808587031215612e7457612e73612629565b5b6000612e8287828801612737565b9450506020612e9387828801612737565b9350506040612ea4878288016128a3565b925050606085013567ffffffffffffffff811115612ec557612ec461262e565b5b612ed187828801612e2c565b91505092959194509250565b60008060408385031215612ef457612ef3612629565b5b6000612f0285828601612737565b9250506020612f1385828601612737565b9150509250929050565b6000819050919050565b6000612f42612f3d612f38846126ee565b612f1d565b6126ee565b9050919050565b6000612f5482612f27565b9050919050565b6000612f6682612f49565b9050919050565b612f7681612f5b565b82525050565b6000602082019050612f916000830184612f6d565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612fde57607f821691505b602082108103612ff157612ff0612f97565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006130536021836127db565b915061305e82612ff7565b604082019050919050565b6000602082019050818103600083015261308281613046565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b60006130e5603e836127db565b91506130f082613089565b604082019050919050565b60006020820190508181036000830152613114816130d8565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830261317d7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613140565b6131878683613140565b95508019841693508086168417925050509392505050565b60006131ba6131b56131b084612882565b612f1d565b612882565b9050919050565b6000819050919050565b6131d48361319f565b6131e86131e0826131c1565b84845461314d565b825550505050565b600090565b6131fd6131f0565b6132088184846131cb565b505050565b5b8181101561322c576132216000826131f5565b60018101905061320e565b5050565b601f821115613271576132428161311b565b61324b84613130565b8101602085101561325a578190505b61326e61326685613130565b83018261320d565b50505b505050565b600082821c905092915050565b600061329460001984600802613276565b1980831691505092915050565b60006132ad8383613283565b9150826002028217905092915050565b6132c6826127d0565b67ffffffffffffffff8111156132df576132de612999565b5b6132e98254612fc6565b6132f4828285613230565b600060209050601f8311600181146133275760008415613315578287015190505b61331f85826132a1565b865550613387565b601f1984166133358661311b565b60005b8281101561335d57848901518255600182019150602085019450602081019050613338565b8683101561337a5784890151613376601f891682613283565b8355505b6001600288020188555050505b505050505050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b60006133eb602e836127db565b91506133f68261338f565b604082019050919050565b6000602082019050818103600083015261341a816133de565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061345b82612882565b915061346683612882565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561349f5761349e613421565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006134e482612882565b91506134ef83612882565b9250826134ff576134fe6134aa565b5b828204905092915050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b60006135406018836127db565b915061354b8261350a565b602082019050919050565b6000602082019050818103600083015261356f81613533565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006135b082612882565b91506135bb83612882565b92508282039050818111156135d3576135d2613421565b5b92915050565b6000815190506135e881612720565b92915050565b60006020828403121561360457613603612629565b5b6000613612848285016135d9565b91505092915050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b60006136776029836127db565b91506136828261361b565b604082019050919050565b600060208201905081810360008301526136a68161366a565b9050919050565b60006136b882612882565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036136ea576136e9613421565b5b600182019050919050565b600081905092915050565b600061370b826127d0565b61371581856136f5565b93506137258185602086016127ec565b80840191505092915050565b600061373d8285613700565b91506137498284613700565b91508190509392505050565b600061376082612882565b915061376b83612882565b925082820190508082111561378357613782613421565b5b92915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006137e56026836127db565b91506137f082613789565b604082019050919050565b60006020820190508181036000830152613814816137d8565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006138516020836127db565b915061385c8261381b565b602082019050919050565b6000602082019050818103600083015261388081613844565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b60006138e3602a836127db565b91506138ee82613887565b604082019050919050565b60006020820190508181036000830152613912816138d6565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b600061394f6019836127db565b915061395a82613919565b602082019050919050565b6000602082019050818103600083015261397e81613942565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b60006139e16025836127db565b91506139ec82613985565b604082019050919050565b60006020820190508181036000830152613a10816139d4565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000613a736024836127db565b9150613a7e82613a17565b604082019050919050565b60006020820190508181036000830152613aa281613a66565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000613adf6019836127db565b9150613aea82613aa9565b602082019050919050565b60006020820190508181036000830152613b0e81613ad2565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000613b716032836127db565b9150613b7c82613b15565b604082019050919050565b60006020820190508181036000830152613ba081613b64565b9050919050565b6000613bb282612882565b9150613bbd83612882565b925082613bcd57613bcc6134aa565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b6000613bff82613bd8565b613c098185613be3565b9350613c198185602086016127ec565b613c2281612816565b840191505092915050565b6000608082019050613c4260008301876128e5565b613c4f60208301866128e5565b613c5c6040830185612b0d565b8181036060830152613c6e8184613bf4565b905095945050505050565b600081519050613c888161265f565b92915050565b600060208284031215613ca457613ca3612629565b5b6000613cb284828501613c79565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000613cf16020836127db565b9150613cfc82613cbb565b602082019050919050565b60006020820190508181036000830152613d2081613ce4565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000613d5d601c836127db565b9150613d6882613d27565b602082019050919050565b60006020820190508181036000830152613d8c81613d50565b905091905056fea26469706673582212203398ea3fc0d3782289e13df51b2dd9d660730b049cae772c54d4d66f30cc75c264736f6c63430008100033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000dd5081723e3b6c869597339525ed5aae12e2ccf000000000000000000000000000000000000000000000000000000000000000b4944204d656d6f7269616d000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a49444d656d6f7269616d00000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name (string): ID Memoriam
Arg [1] : symbol (string): IDMemoriam
Arg [2] : afterlifeAddress (address): 0x0dD5081723E3B6C869597339525ed5aaE12E2CcF
-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 0000000000000000000000000dd5081723e3b6c869597339525ed5aae12e2ccf
Arg [3] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [4] : 4944204d656d6f7269616d000000000000000000000000000000000000000000
Arg [5] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [6] : 49444d656d6f7269616d00000000000000000000000000000000000000000000
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.