Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Source Code
Overview
Max Total Supply
1,000 LPCU
Holders
156
Transfers
-
0
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
| # | Exchange | Pair | Price | 24H Volume | % Volume |
|---|
Contract Name:
LeParisienCryptoUnes
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT
pragma solidity 0.8.17;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/common/ERC2981.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
/// Cap of the collection has been exceeded
/// @param totalSupply current token supply
/// @param maxSupply cap of token supply
error CapExceeded(uint256 totalSupply, uint256 maxSupply);
/// Assigned token's identifier is out of range
/// @param tokenId token identifier
/// @param startingIdentifier starting token identifier
/// @param endingIdentifier ending token identifier
error IdentifierOutOfRange(uint256 tokenId, uint256 startingIdentifier, uint256 endingIdentifier);
/// All tokens have not yet been minted, the current supply must be equal to the target supply
/// @param totalSupply current supply
/// @param maxSupply target supply
error RemainingTokensToBeMinted(uint256 totalSupply, uint256 maxSupply);
/// Starting index has not been set
/// @param startingIndex revealed status
error StartingIndexNotSet(uint256 startingIndex);
/// Collection metadata has already been revealed
/// @param isRevealed revealed status
/// @param revealedBaseURI already revealed metadata
error MetadataAlreadyRevealed(bool isRevealed, string revealedBaseURI);
/// String variable is empty
/// @param emptyString empty string
error EmptyString(string emptyString);
/// Public Address is `0x0`
/// @param to invalid address
error ZeroAddress(address to);
/// Max supply value is invalid, the maxSupply must be greater than zero
/// @param maxSupply invalid supply
error InvalidSupply(uint256 maxSupply);
/// Le Parisien Crypto-unes is a collection of the most emblematic cover of Le Parisien available in a limited edition. Each cover gives a subscription period to Le Parisien newspaper for a period relative to its rarity, access to journalist and the editorial team, events, and more to come...
/// @title Le Parisien Crypto-unes
/// @notice Limited collection of Le Parisien's front-covers implementing a random delayed reveal.
contract LeParisienCryptoUnes is ERC721, ERC2981, Ownable {
using Counters for Counters.Counter;
using Strings for uint256;
/// Crypto-unes metadata
string public contractURI;
string public baseURI;
bool public isRevealed;
/// Crypto-unes supply management
uint256 public immutable maxSupply;
Counters.Counter public totalSupply;
/// Secondary sales royalty
uint96 public immutable feeNumerator;
/// @notice `provenanceHash` + generation of an on-chain random `startingIndex` guarantee the nft drop fairness
/// Hash of the concatenated hashes of the images of the collection
string public provenanceHash;
/// Index from which the collection will start
uint256 public startingIndex;
/// Collection metadata is updated
/// @param updatedBaseURI revealed metadata
event BaseURIUpdated(string updatedBaseURI);
/// Contract metadata is updated
/// @param updatedContractURI contract metadata
event ContractURIUpdated(string updatedContractURI);
/// Crypto-unes collection initiation
/// @param contractURI_ contract-level metadata
/// @param unrevealedBaseURI_ Unrevealed Crypto-unes metadata
/// @param name_ Crypto-unes collection name
/// @param symbol_ Crypto-unes collection symbol
/// @param provenanceHash_ Provenance hash based on the collection images hash
/// @param maxSupply_ Crypto-unes collection cap. The collection has an immutable fixed supply.
/// @param receiver_ Address on which royalty will be distributed
/// @param feeNumerator_ Royalty fee numerator enabling to retrieve the royalty percentage (feeNumerator/_feeDenominator())
constructor(
string memory name_,
string memory symbol_,
string memory contractURI_,
string memory unrevealedBaseURI_,
string memory provenanceHash_,
uint256 maxSupply_,
address receiver_,
uint96 feeNumerator_
) ERC721(name_, symbol_) {
if (bytes(name_).length == 0) revert EmptyString(name_);
if (bytes(symbol_).length == 0) revert EmptyString(symbol_);
if (bytes(provenanceHash_).length == 0) revert EmptyString(provenanceHash_);
if (maxSupply_ == 0) revert InvalidSupply(maxSupply_);
// Royalty information initiation
_setDefaultRoyalty(receiver_, feeNumerator_);
feeNumerator = feeNumerator_;
// Metadata initiation
setContractURI(contractURI_);
_setBaseURI(unrevealedBaseURI_);
provenanceHash = provenanceHash_;
/// Supply information initiation
maxSupply = maxSupply_;
}
/// Mint of a new Crypto-une
/// @notice each Crypto-une mint increment the `totalSupply` so as not to exceed the cap
/// @param to_ Recipient address
/// @param tokenId_ Crypto-une identifier
function adminMint(address to_, uint256 tokenId_) external onlyOwner {
uint256 startingIdentifier = 1;
uint256 cap = maxSupply;
if (totalSupply.current() >= cap) revert CapExceeded(totalSupply.current(), cap);
if (tokenId_ < startingIdentifier || tokenId_ > cap) revert IdentifierOutOfRange(tokenId_, startingIdentifier, cap);
_mint(to_, tokenId_);
totalSupply.increment();
}
/// Get metadata of a specific Crypto-une
/// @dev First, all Crypto-unes point to the same metadata `baseURI`, then at reveal time each Crypto-une points to its own metadata `baseURI+tokenId`
/// @param tokenId_ Crypto-une identifier
/// @return tokenURI Crypto-une unrevealed or revealed metadata
function tokenURI(uint256 tokenId_) public view virtual override returns (string memory) {
_requireMinted(tokenId_);
if (!isRevealed) {
return _baseURI();
} else {
return string(abi.encodePacked(_baseURI(), tokenId_.toString()));
}
}
/// Generate randomly the starting index from which the `tokenId` will start
/// @notice Random starting index should be generated after the last token is minted
function setStartingIndex() external onlyOwner {
if (totalSupply.current() < maxSupply) revert RemainingTokensToBeMinted(totalSupply.current(), maxSupply);
/// @notice `block.difficulty` (now `randao`) returns a random number that we divide by the `maxSupply` and from which we finally take the rest and finally add 1 to be in the range.
startingIndex = (uint(keccak256(abi.encodePacked(block.difficulty))) % maxSupply) + 1;
}
/// Reveal the Crypto-unes collection
/// @notice Metadata reveal is possible only when all tokens are minted
/// @param revealedBaseURI_ revealed Crypto-unes metadata
function reveal(string memory revealedBaseURI_) external onlyOwner {
if (isRevealed) revert MetadataAlreadyRevealed(isRevealed, revealedBaseURI_);
if (startingIndex == 0) revert StartingIndexNotSet(startingIndex);
_setBaseURI(revealedBaseURI_);
isRevealed = true;
}
/// Change the contract-level metadata
/// @param contractURI_ New contract-level metadata
function setContractURI(string memory contractURI_) public onlyOwner {
if (bytes(contractURI_).length == 0) revert EmptyString(contractURI_);
contractURI = contractURI_;
emit ContractURIUpdated(contractURI_);
}
/// @dev See {IERC2981-setDefaultRoyalty}
/// @notice The royalty fees can not be updated, only the receiver address can be updated
function setDefaultRoyalty(address receiver_) external virtual onlyOwner {
_setDefaultRoyalty(receiver_, feeNumerator);
}
/// @dev See {IERC165-supportsInterface}
function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721, ERC2981) returns (bool) {
return super.supportsInterface(interfaceId);
}
/// Change the collection metadata
/// @param baseURI_ New collection metadata
function _setBaseURI(string memory baseURI_) internal virtual {
if (bytes(baseURI_).length == 0) revert EmptyString(baseURI_);
baseURI = baseURI_;
emit BaseURIUpdated(baseURI_);
}
/// @dev See {IERC721-_baseURI}
function _baseURI() internal view override returns (string memory) {
return baseURI;
}
}// 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) (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) (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 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.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);
}
}// 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.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 (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/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 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) (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);
}{
"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
Contract ABI
API[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"string","name":"contractURI_","type":"string"},{"internalType":"string","name":"unrevealedBaseURI_","type":"string"},{"internalType":"string","name":"provenanceHash_","type":"string"},{"internalType":"uint256","name":"maxSupply_","type":"uint256"},{"internalType":"address","name":"receiver_","type":"address"},{"internalType":"uint96","name":"feeNumerator_","type":"uint96"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"uint256","name":"totalSupply","type":"uint256"},{"internalType":"uint256","name":"maxSupply","type":"uint256"}],"name":"CapExceeded","type":"error"},{"inputs":[{"internalType":"string","name":"emptyString","type":"string"}],"name":"EmptyString","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"startingIdentifier","type":"uint256"},{"internalType":"uint256","name":"endingIdentifier","type":"uint256"}],"name":"IdentifierOutOfRange","type":"error"},{"inputs":[{"internalType":"uint256","name":"maxSupply","type":"uint256"}],"name":"InvalidSupply","type":"error"},{"inputs":[{"internalType":"bool","name":"isRevealed","type":"bool"},{"internalType":"string","name":"revealedBaseURI","type":"string"}],"name":"MetadataAlreadyRevealed","type":"error"},{"inputs":[{"internalType":"uint256","name":"totalSupply","type":"uint256"},{"internalType":"uint256","name":"maxSupply","type":"uint256"}],"name":"RemainingTokensToBeMinted","type":"error"},{"inputs":[{"internalType":"uint256","name":"startingIndex","type":"uint256"}],"name":"StartingIndexNotSet","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":false,"internalType":"string","name":"updatedBaseURI","type":"string"}],"name":"BaseURIUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"updatedContractURI","type":"string"}],"name":"ContractURIUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to_","type":"address"},{"internalType":"uint256","name":"tokenId_","type":"uint256"}],"name":"adminMint","outputs":[],"stateMutability":"nonpayable","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":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeNumerator","outputs":[{"internalType":"uint96","name":"","type":"uint96"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isRevealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"provenanceHash","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"revealedBaseURI_","type":"string"}],"name":"reveal","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":"contractURI_","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver_","type":"address"}],"name":"setDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setStartingIndex","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startingIndex","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":"_value","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
60c06040523480156200001157600080fd5b5060405162004b1b38038062004b1b833981810160405281019062000037919062000912565b878781600090816200004a919062000cb7565b5080600190816200005c919062000cb7565b5050506200007f620000736200022260201b60201c565b6200022a60201b60201c565b6000885103620000c857876040517f62a65aec000000000000000000000000000000000000000000000000000000008152600401620000bf919062000df0565b60405180910390fd5b60008751036200011157866040517f62a65aec00000000000000000000000000000000000000000000000000000000815260040162000108919062000df0565b60405180910390fd5b60008451036200015a57836040517f62a65aec00000000000000000000000000000000000000000000000000000000815260040162000151919062000df0565b60405180910390fd5b60008303620001a257826040517f7cbab89700000000000000000000000000000000000000000000000000000000815260040162000199919062000e25565b60405180910390fd5b620001b48282620002f060201b60201c565b806bffffffffffffffffffffffff1660a0816bffffffffffffffffffffffff1681525050620001e9866200049360201b60201c565b620001fa856200053a60201b60201c565b83600d90816200020b919062000cb7565b508260808181525050505050505050505062000fbe565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b62000300620005d160201b60201c565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff16111562000361576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003589062000eb8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603620003d3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003ca9062000f2a565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600660008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b620004a3620005db60201b60201c565b6000815103620004ec57806040517f62a65aec000000000000000000000000000000000000000000000000000000008152600401620004e3919062000df0565b60405180910390fd5b8060099081620004fd919062000cb7565b507f905d981207a7d0b6c62cc46ab0be2a076d0298e4a86d0ab79882dbd01ac37378816040516200052f919062000df0565b60405180910390a150565b60008151036200058357806040517f62a65aec0000000000000000000000000000000000000000000000000000000081526004016200057a919062000df0565b60405180910390fd5b80600a908162000594919062000cb7565b507f6741b2fc379fad678116fe3d4d4b9a1a184ab53ba36b86ad0fa66340b1ab41ad81604051620005c6919062000df0565b60405180910390a150565b6000612710905090565b620005eb6200022260201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620006116200066c60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16146200066a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620006619062000f9c565b60405180910390fd5b565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620006ff82620006b4565b810181811067ffffffffffffffff82111715620007215762000720620006c5565b5b80604052505050565b60006200073662000696565b9050620007448282620006f4565b919050565b600067ffffffffffffffff821115620007675762000766620006c5565b5b6200077282620006b4565b9050602081019050919050565b60005b838110156200079f57808201518184015260208101905062000782565b60008484015250505050565b6000620007c2620007bc8462000749565b6200072a565b905082815260208101848484011115620007e157620007e0620006af565b5b620007ee8482856200077f565b509392505050565b600082601f8301126200080e576200080d620006aa565b5b815162000820848260208601620007ab565b91505092915050565b6000819050919050565b6200083e8162000829565b81146200084a57600080fd5b50565b6000815190506200085e8162000833565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620008918262000864565b9050919050565b620008a38162000884565b8114620008af57600080fd5b50565b600081519050620008c38162000898565b92915050565b60006bffffffffffffffffffffffff82169050919050565b620008ec81620008c9565b8114620008f857600080fd5b50565b6000815190506200090c81620008e1565b92915050565b600080600080600080600080610100898b031215620009365762000935620006a0565b5b600089015167ffffffffffffffff811115620009575762000956620006a5565b5b620009658b828c01620007f6565b985050602089015167ffffffffffffffff811115620009895762000988620006a5565b5b620009978b828c01620007f6565b975050604089015167ffffffffffffffff811115620009bb57620009ba620006a5565b5b620009c98b828c01620007f6565b965050606089015167ffffffffffffffff811115620009ed57620009ec620006a5565b5b620009fb8b828c01620007f6565b955050608089015167ffffffffffffffff81111562000a1f5762000a1e620006a5565b5b62000a2d8b828c01620007f6565b94505060a062000a408b828c016200084d565b93505060c062000a538b828c01620008b2565b92505060e062000a668b828c01620008fb565b9150509295985092959890939650565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168062000ac957607f821691505b60208210810362000adf5762000ade62000a81565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830262000b497fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000b0a565b62000b55868362000b0a565b95508019841693508086168417925050509392505050565b6000819050919050565b600062000b9862000b9262000b8c8462000829565b62000b6d565b62000829565b9050919050565b6000819050919050565b62000bb48362000b77565b62000bcc62000bc38262000b9f565b84845462000b17565b825550505050565b600090565b62000be362000bd4565b62000bf081848462000ba9565b505050565b5b8181101562000c185762000c0c60008262000bd9565b60018101905062000bf6565b5050565b601f82111562000c675762000c318162000ae5565b62000c3c8462000afa565b8101602085101562000c4c578190505b62000c6462000c5b8562000afa565b83018262000bf5565b50505b505050565b600082821c905092915050565b600062000c8c6000198460080262000c6c565b1980831691505092915050565b600062000ca7838362000c79565b9150826002028217905092915050565b62000cc28262000a76565b67ffffffffffffffff81111562000cde5762000cdd620006c5565b5b62000cea825462000ab0565b62000cf782828562000c1c565b600060209050601f83116001811462000d2f576000841562000d1a578287015190505b62000d26858262000c99565b86555062000d96565b601f19841662000d3f8662000ae5565b60005b8281101562000d695784890151825560018201915060208501945060208101905062000d42565b8683101562000d89578489015162000d85601f89168262000c79565b8355505b6001600288020188555050505b505050505050565b600082825260208201905092915050565b600062000dbc8262000a76565b62000dc8818562000d9e565b935062000dda8185602086016200077f565b62000de581620006b4565b840191505092915050565b6000602082019050818103600083015262000e0c818462000daf565b905092915050565b62000e1f8162000829565b82525050565b600060208201905062000e3c600083018462000e14565b92915050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b600062000ea0602a8362000d9e565b915062000ead8262000e42565b604082019050919050565b6000602082019050818103600083015262000ed38162000e91565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b600062000f1260198362000d9e565b915062000f1f8262000eda565b602082019050919050565b6000602082019050818103600083015262000f458162000f03565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600062000f8460208362000d9e565b915062000f918262000f4c565b602082019050919050565b6000602082019050818103600083015262000fb78162000f75565b9050919050565b60805160a051613b146200100760003960008181610e8d015261112f015260008181611013015281816110470152818161127d015281816112b801526113180152613b146000f3fe608060405234801561001057600080fd5b50600436106101da5760003560e01c8063938e3d7b11610104578063cb774d47116100a2578063e8a3d48511610071578063e8a3d48514610532578063e985e9c514610550578063e986655014610580578063f2fde38b1461058a576101da565b8063cb774d47146104bc578063d5abeb01146104da578063e58306f9146104f8578063e86dea4a14610514576101da565b8063b03b74aa116100de578063b03b74aa14610436578063b88d4fde14610452578063c6ab67a31461046e578063c87b56dd1461048c576101da565b8063938e3d7b146103e057806395d89b41146103fc578063a22cb4651461041a576101da565b806342842e0e1161017c5780636c0360eb1161014b5780636c0360eb1461036a57806370a0823114610388578063715018a6146103b85780638da5cb5b146103c2576101da565b806342842e0e146102e45780634c2612471461030057806354214f691461031c5780636352211e1461033a576101da565b8063095ea7b3116101b8578063095ea7b31461025d57806318160ddd1461027957806323b872dd146102975780632a55205a146102b3576101da565b806301ffc9a7146101df57806306fdde031461020f578063081812fc1461022d575b600080fd5b6101f960048036038101906101f49190612583565b6105a6565b60405161020691906125cb565b60405180910390f35b6102176105b8565b6040516102249190612676565b60405180910390f35b610247600480360381019061024291906126ce565b61064a565b604051610254919061273c565b60405180910390f35b61027760048036038101906102729190612783565b610690565b005b6102816107a7565b60405161028e91906127d2565b60405180910390f35b6102b160048036038101906102ac91906127ed565b6107b3565b005b6102cd60048036038101906102c89190612840565b610813565b6040516102db929190612880565b60405180910390f35b6102fe60048036038101906102f991906127ed565b6109fd565b005b61031a600480360381019061031591906129de565b610a1d565b005b610324610af8565b60405161033191906125cb565b60405180910390f35b610354600480360381019061034f91906126ce565b610b0b565b604051610361919061273c565b60405180910390f35b610372610bbc565b60405161037f9190612676565b60405180910390f35b6103a2600480360381019061039d9190612a27565b610c4a565b6040516103af91906127d2565b60405180910390f35b6103c0610d01565b005b6103ca610d15565b6040516103d7919061273c565b60405180910390f35b6103fa60048036038101906103f591906129de565b610d3f565b005b610404610dd7565b6040516104119190612676565b60405180910390f35b610434600480360381019061042f9190612a80565b610e69565b005b610450600480360381019061044b9190612a27565b610e7f565b005b61046c60048036038101906104679190612b61565b610eb4565b005b610476610f16565b6040516104839190612676565b60405180910390f35b6104a660048036038101906104a191906126ce565b610fa4565b6040516104b39190612676565b60405180910390f35b6104c461100b565b6040516104d191906127d2565b60405180910390f35b6104e2611011565b6040516104ef91906127d2565b60405180910390f35b610512600480360381019061050d9190612783565b611035565b005b61051c61112d565b6040516105299190612c0b565b60405180910390f35b61053a611151565b6040516105479190612676565b60405180910390f35b61056a60048036038101906105659190612c26565b6111df565b60405161057791906125cb565b60405180910390f35b610588611273565b005b6105a4600480360381019061059f9190612a27565b61137d565b005b60006105b182611400565b9050919050565b6060600080546105c790612c95565b80601f01602080910402602001604051908101604052809291908181526020018280546105f390612c95565b80156106405780601f1061061557610100808354040283529160200191610640565b820191906000526020600020905b81548152906001019060200180831161062357829003601f168201915b5050505050905090565b60006106558261147a565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061069b82610b0b565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361070b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161070290612d38565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661072a6114c5565b73ffffffffffffffffffffffffffffffffffffffff1614806107595750610758816107536114c5565b6111df565b5b610798576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161078f90612dca565b60405180910390fd5b6107a283836114cd565b505050565b600c8060000154905081565b6107c46107be6114c5565b82611586565b610803576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107fa90612e5c565b60405180910390fd5b61080e83838361161b565b505050565b6000806000600760008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16036109a85760066040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b60006109b2611881565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff16866109de9190612eab565b6109e89190612f1c565b90508160000151819350935050509250929050565b610a1883838360405180602001604052806000815250610eb4565b505050565b610a2561188b565b600b60009054906101000a900460ff1615610a8857600b60009054906101000a900460ff16816040517ff25e27eb000000000000000000000000000000000000000000000000000000008152600401610a7f929190612f4d565b60405180910390fd5b6000600e5403610ad157600e546040517f94af8d06000000000000000000000000000000000000000000000000000000008152600401610ac891906127d2565b60405180910390fd5b610ada81611909565b6001600b60006101000a81548160ff02191690831515021790555050565b600b60009054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610bb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610baa90612fc9565b60405180910390fd5b80915050919050565b600a8054610bc990612c95565b80601f0160208091040260200160405190810160405280929190818152602001828054610bf590612c95565b8015610c425780601f10610c1757610100808354040283529160200191610c42565b820191906000526020600020905b815481529060010190602001808311610c2557829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610cba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb19061305b565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610d0961188b565b610d136000611999565b565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610d4761188b565b6000815103610d8d57806040517f62a65aec000000000000000000000000000000000000000000000000000000008152600401610d849190612676565b60405180910390fd5b8060099081610d9c9190613227565b507f905d981207a7d0b6c62cc46ab0be2a076d0298e4a86d0ab79882dbd01ac3737881604051610dcc9190612676565b60405180910390a150565b606060018054610de690612c95565b80601f0160208091040260200160405190810160405280929190818152602001828054610e1290612c95565b8015610e5f5780601f10610e3457610100808354040283529160200191610e5f565b820191906000526020600020905b815481529060010190602001808311610e4257829003601f168201915b5050505050905090565b610e7b610e746114c5565b8383611a5f565b5050565b610e8761188b565b610eb1817f0000000000000000000000000000000000000000000000000000000000000000611bcb565b50565b610ec5610ebf6114c5565b83611586565b610f04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610efb90612e5c565b60405180910390fd5b610f1084848484611d60565b50505050565b600d8054610f2390612c95565b80601f0160208091040260200160405190810160405280929190818152602001828054610f4f90612c95565b8015610f9c5780601f10610f7157610100808354040283529160200191610f9c565b820191906000526020600020905b815481529060010190602001808311610f7f57829003601f168201915b505050505081565b6060610faf8261147a565b600b60009054906101000a900460ff16610fd257610fcb611dbc565b9050611006565b610fda611dbc565b610fe383611e4e565b604051602001610ff4929190613335565b60405160208183030381529060405290505b919050565b600e5481565b7f000000000000000000000000000000000000000000000000000000000000000081565b61103d61188b565b60006001905060007f0000000000000000000000000000000000000000000000000000000000000000905080611073600c611fae565b106110c057611082600c611fae565b816040517ff480e2850000000000000000000000000000000000000000000000000000000081526004016110b7929190613359565b60405180910390fd5b818310806110cd57508083115b15611113578282826040517fc5a8621f00000000000000000000000000000000000000000000000000000000815260040161110a93929190613382565b60405180910390fd5b61111d8484611fbc565b611127600c612195565b50505050565b7f000000000000000000000000000000000000000000000000000000000000000081565b6009805461115e90612c95565b80601f016020809104026020016040519081016040528092919081815260200182805461118a90612c95565b80156111d75780601f106111ac576101008083540402835291602001916111d7565b820191906000526020600020905b8154815290600101906020018083116111ba57829003601f168201915b505050505081565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61127b61188b565b7f00000000000000000000000000000000000000000000000000000000000000006112a6600c611fae565b1015611314576112b6600c611fae565b7f00000000000000000000000000000000000000000000000000000000000000006040517f647b3eef00000000000000000000000000000000000000000000000000000000815260040161130b929190613359565b60405180910390fd5b60017f00000000000000000000000000000000000000000000000000000000000000004460405160200161134891906133da565b6040516020818303038152906040528051906020012060001c61136b91906133f5565b6113759190613426565b600e81905550565b61138561188b565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036113f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113eb906134cc565b60405180910390fd5b6113fd81611999565b50565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806114735750611472826121ab565b5b9050919050565b6114838161228d565b6114c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b990612fc9565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661154083610b0b565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008061159283610b0b565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806115d457506115d381856111df565b5b8061161257508373ffffffffffffffffffffffffffffffffffffffff166115fa8461064a565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661163b82610b0b565b73ffffffffffffffffffffffffffffffffffffffff1614611691576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116889061355e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611700576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f7906135f0565b60405180910390fd5b61170b8383836122f9565b6117166000826114cd565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546117669190613610565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546117bd9190613426565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461187c8383836122fe565b505050565b6000612710905090565b6118936114c5565b73ffffffffffffffffffffffffffffffffffffffff166118b1610d15565b73ffffffffffffffffffffffffffffffffffffffff1614611907576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118fe90613690565b60405180910390fd5b565b600081510361194f57806040517f62a65aec0000000000000000000000000000000000000000000000000000000081526004016119469190612676565b60405180910390fd5b80600a908161195e9190613227565b507f6741b2fc379fad678116fe3d4d4b9a1a184ab53ba36b86ad0fa66340b1ab41ad8160405161198e9190612676565b60405180910390a150565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611acd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ac4906136fc565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611bbe91906125cb565b60405180910390a3505050565b611bd3611881565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115611c31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c289061378e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611ca0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c97906137fa565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600660008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b611d6b84848461161b565b611d7784848484612303565b611db6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dad9061388c565b60405180910390fd5b50505050565b6060600a8054611dcb90612c95565b80601f0160208091040260200160405190810160405280929190818152602001828054611df790612c95565b8015611e445780601f10611e1957610100808354040283529160200191611e44565b820191906000526020600020905b815481529060010190602001808311611e2757829003601f168201915b5050505050905090565b606060008203611e95576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611fa9565b600082905060005b60008214611ec7578080611eb0906138ac565b915050600a82611ec09190612f1c565b9150611e9d565b60008167ffffffffffffffff811115611ee357611ee26128b3565b5b6040519080825280601f01601f191660200182016040528015611f155781602001600182028036833780820191505090505b5090505b60008514611fa257600182611f2e9190613610565b9150600a85611f3d91906133f5565b6030611f499190613426565b60f81b818381518110611f5f57611f5e6138f4565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611f9b9190612f1c565b9450611f19565b8093505050505b919050565b600081600001549050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361202b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120229061396f565b60405180910390fd5b6120348161228d565b15612074576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161206b906139db565b60405180910390fd5b612080600083836122f9565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120d09190613426565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612191600083836122fe565b5050565b6001816000016000828254019250508190555050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061227657507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061228657506122858261248a565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b505050565b505050565b60006123248473ffffffffffffffffffffffffffffffffffffffff166124f4565b1561247d578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261234d6114c5565b8786866040518563ffffffff1660e01b815260040161236f9493929190613a50565b6020604051808303816000875af19250505080156123ab57506040513d601f19601f820116820180604052508101906123a89190613ab1565b60015b61242d573d80600081146123db576040519150601f19603f3d011682016040523d82523d6000602084013e6123e0565b606091505b506000815103612425576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161241c9061388c565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612482565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6125608161252b565b811461256b57600080fd5b50565b60008135905061257d81612557565b92915050565b60006020828403121561259957612598612521565b5b60006125a78482850161256e565b91505092915050565b60008115159050919050565b6125c5816125b0565b82525050565b60006020820190506125e060008301846125bc565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612620578082015181840152602081019050612605565b60008484015250505050565b6000601f19601f8301169050919050565b6000612648826125e6565b61265281856125f1565b9350612662818560208601612602565b61266b8161262c565b840191505092915050565b60006020820190508181036000830152612690818461263d565b905092915050565b6000819050919050565b6126ab81612698565b81146126b657600080fd5b50565b6000813590506126c8816126a2565b92915050565b6000602082840312156126e4576126e3612521565b5b60006126f2848285016126b9565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612726826126fb565b9050919050565b6127368161271b565b82525050565b6000602082019050612751600083018461272d565b92915050565b6127608161271b565b811461276b57600080fd5b50565b60008135905061277d81612757565b92915050565b6000806040838503121561279a57612799612521565b5b60006127a88582860161276e565b92505060206127b9858286016126b9565b9150509250929050565b6127cc81612698565b82525050565b60006020820190506127e760008301846127c3565b92915050565b60008060006060848603121561280657612805612521565b5b60006128148682870161276e565b93505060206128258682870161276e565b9250506040612836868287016126b9565b9150509250925092565b6000806040838503121561285757612856612521565b5b6000612865858286016126b9565b9250506020612876858286016126b9565b9150509250929050565b6000604082019050612895600083018561272d565b6128a260208301846127c3565b9392505050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6128eb8261262c565b810181811067ffffffffffffffff8211171561290a576129096128b3565b5b80604052505050565b600061291d612517565b905061292982826128e2565b919050565b600067ffffffffffffffff821115612949576129486128b3565b5b6129528261262c565b9050602081019050919050565b82818337600083830152505050565b600061298161297c8461292e565b612913565b90508281526020810184848401111561299d5761299c6128ae565b5b6129a884828561295f565b509392505050565b600082601f8301126129c5576129c46128a9565b5b81356129d584826020860161296e565b91505092915050565b6000602082840312156129f4576129f3612521565b5b600082013567ffffffffffffffff811115612a1257612a11612526565b5b612a1e848285016129b0565b91505092915050565b600060208284031215612a3d57612a3c612521565b5b6000612a4b8482850161276e565b91505092915050565b612a5d816125b0565b8114612a6857600080fd5b50565b600081359050612a7a81612a54565b92915050565b60008060408385031215612a9757612a96612521565b5b6000612aa58582860161276e565b9250506020612ab685828601612a6b565b9150509250929050565b600067ffffffffffffffff821115612adb57612ada6128b3565b5b612ae48261262c565b9050602081019050919050565b6000612b04612aff84612ac0565b612913565b905082815260208101848484011115612b2057612b1f6128ae565b5b612b2b84828561295f565b509392505050565b600082601f830112612b4857612b476128a9565b5b8135612b58848260208601612af1565b91505092915050565b60008060008060808587031215612b7b57612b7a612521565b5b6000612b898782880161276e565b9450506020612b9a8782880161276e565b9350506040612bab878288016126b9565b925050606085013567ffffffffffffffff811115612bcc57612bcb612526565b5b612bd887828801612b33565b91505092959194509250565b60006bffffffffffffffffffffffff82169050919050565b612c0581612be4565b82525050565b6000602082019050612c206000830184612bfc565b92915050565b60008060408385031215612c3d57612c3c612521565b5b6000612c4b8582860161276e565b9250506020612c5c8582860161276e565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612cad57607f821691505b602082108103612cc057612cbf612c66565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000612d226021836125f1565b9150612d2d82612cc6565b604082019050919050565b60006020820190508181036000830152612d5181612d15565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b6000612db4603e836125f1565b9150612dbf82612d58565b604082019050919050565b60006020820190508181036000830152612de381612da7565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b6000612e46602e836125f1565b9150612e5182612dea565b604082019050919050565b60006020820190508181036000830152612e7581612e39565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612eb682612698565b9150612ec183612698565b9250828202612ecf81612698565b91508282048414831517612ee657612ee5612e7c565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000612f2782612698565b9150612f3283612698565b925082612f4257612f41612eed565b5b828204905092915050565b6000604082019050612f6260008301856125bc565b8181036020830152612f74818461263d565b90509392505050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b6000612fb36018836125f1565b9150612fbe82612f7d565b602082019050919050565b60006020820190508181036000830152612fe281612fa6565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b60006130456029836125f1565b915061305082612fe9565b604082019050919050565b6000602082019050818103600083015261307481613038565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026130dd7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826130a0565b6130e786836130a0565b95508019841693508086168417925050509392505050565b6000819050919050565b600061312461311f61311a84612698565b6130ff565b612698565b9050919050565b6000819050919050565b61313e83613109565b61315261314a8261312b565b8484546130ad565b825550505050565b600090565b61316761315a565b613172818484613135565b505050565b5b818110156131965761318b60008261315f565b600181019050613178565b5050565b601f8211156131db576131ac8161307b565b6131b584613090565b810160208510156131c4578190505b6131d86131d085613090565b830182613177565b50505b505050565b600082821c905092915050565b60006131fe600019846008026131e0565b1980831691505092915050565b600061321783836131ed565b9150826002028217905092915050565b613230826125e6565b67ffffffffffffffff811115613249576132486128b3565b5b6132538254612c95565b61325e82828561319a565b600060209050601f831160018114613291576000841561327f578287015190505b613289858261320b565b8655506132f1565b601f19841661329f8661307b565b60005b828110156132c7578489015182556001820191506020850194506020810190506132a2565b868310156132e457848901516132e0601f8916826131ed565b8355505b6001600288020188555050505b505050505050565b600081905092915050565b600061330f826125e6565b61331981856132f9565b9350613329818560208601612602565b80840191505092915050565b60006133418285613304565b915061334d8284613304565b91508190509392505050565b600060408201905061336e60008301856127c3565b61337b60208301846127c3565b9392505050565b600060608201905061339760008301866127c3565b6133a460208301856127c3565b6133b160408301846127c3565b949350505050565b6000819050919050565b6133d46133cf82612698565b6133b9565b82525050565b60006133e682846133c3565b60208201915081905092915050565b600061340082612698565b915061340b83612698565b92508261341b5761341a612eed565b5b828206905092915050565b600061343182612698565b915061343c83612698565b925082820190508082111561345457613453612e7c565b5b92915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006134b66026836125f1565b91506134c18261345a565b604082019050919050565b600060208201905081810360008301526134e5816134a9565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b60006135486025836125f1565b9150613553826134ec565b604082019050919050565b600060208201905081810360008301526135778161353b565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006135da6024836125f1565b91506135e58261357e565b604082019050919050565b60006020820190508181036000830152613609816135cd565b9050919050565b600061361b82612698565b915061362683612698565b925082820390508181111561363e5761363d612e7c565b5b92915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061367a6020836125f1565b915061368582613644565b602082019050919050565b600060208201905081810360008301526136a98161366d565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006136e66019836125f1565b91506136f1826136b0565b602082019050919050565b60006020820190508181036000830152613715816136d9565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b6000613778602a836125f1565b91506137838261371c565b604082019050919050565b600060208201905081810360008301526137a78161376b565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b60006137e46019836125f1565b91506137ef826137ae565b602082019050919050565b60006020820190508181036000830152613813816137d7565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006138766032836125f1565b91506138818261381a565b604082019050919050565b600060208201905081810360008301526138a581613869565b9050919050565b60006138b782612698565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036138e9576138e8612e7c565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006139596020836125f1565b915061396482613923565b602082019050919050565b600060208201905081810360008301526139888161394c565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006139c5601c836125f1565b91506139d08261398f565b602082019050919050565b600060208201905081810360008301526139f4816139b8565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000613a22826139fb565b613a2c8185613a06565b9350613a3c818560208601612602565b613a458161262c565b840191505092915050565b6000608082019050613a65600083018761272d565b613a72602083018661272d565b613a7f60408301856127c3565b8181036060830152613a918184613a17565b905095945050505050565b600081519050613aab81612557565b92915050565b600060208284031215613ac757613ac6612521565b5b6000613ad584828501613a9c565b9150509291505056fea26469706673582212201c2352d6612ba9221f170cc5373d9ccf22adc580a7f7cfb65b8dc6eec6fba85c64736f6c6343000811003300000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000001e0000000000000000000000000000000000000000000000000000000000000024000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000de64832e90b9c221aa9428329ff0bf945025759200000000000000000000000000000000000000000000000000000000000002bc00000000000000000000000000000000000000000000000000000000000000174c6520506172697369656e2043727970746f2d756e657300000000000000000000000000000000000000000000000000000000000000000000000000000000044c504355000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d55316f644861634e34526b61796766706b72476436346e5577413362624b656a6f4e46363756667a4b50554d00000000000000000000000000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d534365326f7134626d5141715a4c555044686469336d6d566d6f5866715a77575852703362703553376135680000000000000000000000000000000000000000000000000000000000000000000000000000000000004065626562613465363466653134343566356265326139636265373230633538353138306632313738643164653065346238373261623539333933623639646636
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101da5760003560e01c8063938e3d7b11610104578063cb774d47116100a2578063e8a3d48511610071578063e8a3d48514610532578063e985e9c514610550578063e986655014610580578063f2fde38b1461058a576101da565b8063cb774d47146104bc578063d5abeb01146104da578063e58306f9146104f8578063e86dea4a14610514576101da565b8063b03b74aa116100de578063b03b74aa14610436578063b88d4fde14610452578063c6ab67a31461046e578063c87b56dd1461048c576101da565b8063938e3d7b146103e057806395d89b41146103fc578063a22cb4651461041a576101da565b806342842e0e1161017c5780636c0360eb1161014b5780636c0360eb1461036a57806370a0823114610388578063715018a6146103b85780638da5cb5b146103c2576101da565b806342842e0e146102e45780634c2612471461030057806354214f691461031c5780636352211e1461033a576101da565b8063095ea7b3116101b8578063095ea7b31461025d57806318160ddd1461027957806323b872dd146102975780632a55205a146102b3576101da565b806301ffc9a7146101df57806306fdde031461020f578063081812fc1461022d575b600080fd5b6101f960048036038101906101f49190612583565b6105a6565b60405161020691906125cb565b60405180910390f35b6102176105b8565b6040516102249190612676565b60405180910390f35b610247600480360381019061024291906126ce565b61064a565b604051610254919061273c565b60405180910390f35b61027760048036038101906102729190612783565b610690565b005b6102816107a7565b60405161028e91906127d2565b60405180910390f35b6102b160048036038101906102ac91906127ed565b6107b3565b005b6102cd60048036038101906102c89190612840565b610813565b6040516102db929190612880565b60405180910390f35b6102fe60048036038101906102f991906127ed565b6109fd565b005b61031a600480360381019061031591906129de565b610a1d565b005b610324610af8565b60405161033191906125cb565b60405180910390f35b610354600480360381019061034f91906126ce565b610b0b565b604051610361919061273c565b60405180910390f35b610372610bbc565b60405161037f9190612676565b60405180910390f35b6103a2600480360381019061039d9190612a27565b610c4a565b6040516103af91906127d2565b60405180910390f35b6103c0610d01565b005b6103ca610d15565b6040516103d7919061273c565b60405180910390f35b6103fa60048036038101906103f591906129de565b610d3f565b005b610404610dd7565b6040516104119190612676565b60405180910390f35b610434600480360381019061042f9190612a80565b610e69565b005b610450600480360381019061044b9190612a27565b610e7f565b005b61046c60048036038101906104679190612b61565b610eb4565b005b610476610f16565b6040516104839190612676565b60405180910390f35b6104a660048036038101906104a191906126ce565b610fa4565b6040516104b39190612676565b60405180910390f35b6104c461100b565b6040516104d191906127d2565b60405180910390f35b6104e2611011565b6040516104ef91906127d2565b60405180910390f35b610512600480360381019061050d9190612783565b611035565b005b61051c61112d565b6040516105299190612c0b565b60405180910390f35b61053a611151565b6040516105479190612676565b60405180910390f35b61056a60048036038101906105659190612c26565b6111df565b60405161057791906125cb565b60405180910390f35b610588611273565b005b6105a4600480360381019061059f9190612a27565b61137d565b005b60006105b182611400565b9050919050565b6060600080546105c790612c95565b80601f01602080910402602001604051908101604052809291908181526020018280546105f390612c95565b80156106405780601f1061061557610100808354040283529160200191610640565b820191906000526020600020905b81548152906001019060200180831161062357829003601f168201915b5050505050905090565b60006106558261147a565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061069b82610b0b565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361070b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161070290612d38565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661072a6114c5565b73ffffffffffffffffffffffffffffffffffffffff1614806107595750610758816107536114c5565b6111df565b5b610798576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161078f90612dca565b60405180910390fd5b6107a283836114cd565b505050565b600c8060000154905081565b6107c46107be6114c5565b82611586565b610803576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107fa90612e5c565b60405180910390fd5b61080e83838361161b565b505050565b6000806000600760008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16036109a85760066040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b60006109b2611881565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff16866109de9190612eab565b6109e89190612f1c565b90508160000151819350935050509250929050565b610a1883838360405180602001604052806000815250610eb4565b505050565b610a2561188b565b600b60009054906101000a900460ff1615610a8857600b60009054906101000a900460ff16816040517ff25e27eb000000000000000000000000000000000000000000000000000000008152600401610a7f929190612f4d565b60405180910390fd5b6000600e5403610ad157600e546040517f94af8d06000000000000000000000000000000000000000000000000000000008152600401610ac891906127d2565b60405180910390fd5b610ada81611909565b6001600b60006101000a81548160ff02191690831515021790555050565b600b60009054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610bb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610baa90612fc9565b60405180910390fd5b80915050919050565b600a8054610bc990612c95565b80601f0160208091040260200160405190810160405280929190818152602001828054610bf590612c95565b8015610c425780601f10610c1757610100808354040283529160200191610c42565b820191906000526020600020905b815481529060010190602001808311610c2557829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610cba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb19061305b565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610d0961188b565b610d136000611999565b565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610d4761188b565b6000815103610d8d57806040517f62a65aec000000000000000000000000000000000000000000000000000000008152600401610d849190612676565b60405180910390fd5b8060099081610d9c9190613227565b507f905d981207a7d0b6c62cc46ab0be2a076d0298e4a86d0ab79882dbd01ac3737881604051610dcc9190612676565b60405180910390a150565b606060018054610de690612c95565b80601f0160208091040260200160405190810160405280929190818152602001828054610e1290612c95565b8015610e5f5780601f10610e3457610100808354040283529160200191610e5f565b820191906000526020600020905b815481529060010190602001808311610e4257829003601f168201915b5050505050905090565b610e7b610e746114c5565b8383611a5f565b5050565b610e8761188b565b610eb1817f00000000000000000000000000000000000000000000000000000000000002bc611bcb565b50565b610ec5610ebf6114c5565b83611586565b610f04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610efb90612e5c565b60405180910390fd5b610f1084848484611d60565b50505050565b600d8054610f2390612c95565b80601f0160208091040260200160405190810160405280929190818152602001828054610f4f90612c95565b8015610f9c5780601f10610f7157610100808354040283529160200191610f9c565b820191906000526020600020905b815481529060010190602001808311610f7f57829003601f168201915b505050505081565b6060610faf8261147a565b600b60009054906101000a900460ff16610fd257610fcb611dbc565b9050611006565b610fda611dbc565b610fe383611e4e565b604051602001610ff4929190613335565b60405160208183030381529060405290505b919050565b600e5481565b7f00000000000000000000000000000000000000000000000000000000000003e881565b61103d61188b565b60006001905060007f00000000000000000000000000000000000000000000000000000000000003e8905080611073600c611fae565b106110c057611082600c611fae565b816040517ff480e2850000000000000000000000000000000000000000000000000000000081526004016110b7929190613359565b60405180910390fd5b818310806110cd57508083115b15611113578282826040517fc5a8621f00000000000000000000000000000000000000000000000000000000815260040161110a93929190613382565b60405180910390fd5b61111d8484611fbc565b611127600c612195565b50505050565b7f00000000000000000000000000000000000000000000000000000000000002bc81565b6009805461115e90612c95565b80601f016020809104026020016040519081016040528092919081815260200182805461118a90612c95565b80156111d75780601f106111ac576101008083540402835291602001916111d7565b820191906000526020600020905b8154815290600101906020018083116111ba57829003601f168201915b505050505081565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61127b61188b565b7f00000000000000000000000000000000000000000000000000000000000003e86112a6600c611fae565b1015611314576112b6600c611fae565b7f00000000000000000000000000000000000000000000000000000000000003e86040517f647b3eef00000000000000000000000000000000000000000000000000000000815260040161130b929190613359565b60405180910390fd5b60017f00000000000000000000000000000000000000000000000000000000000003e84460405160200161134891906133da565b6040516020818303038152906040528051906020012060001c61136b91906133f5565b6113759190613426565b600e81905550565b61138561188b565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036113f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113eb906134cc565b60405180910390fd5b6113fd81611999565b50565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806114735750611472826121ab565b5b9050919050565b6114838161228d565b6114c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b990612fc9565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661154083610b0b565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008061159283610b0b565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806115d457506115d381856111df565b5b8061161257508373ffffffffffffffffffffffffffffffffffffffff166115fa8461064a565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661163b82610b0b565b73ffffffffffffffffffffffffffffffffffffffff1614611691576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116889061355e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611700576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f7906135f0565b60405180910390fd5b61170b8383836122f9565b6117166000826114cd565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546117669190613610565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546117bd9190613426565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461187c8383836122fe565b505050565b6000612710905090565b6118936114c5565b73ffffffffffffffffffffffffffffffffffffffff166118b1610d15565b73ffffffffffffffffffffffffffffffffffffffff1614611907576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118fe90613690565b60405180910390fd5b565b600081510361194f57806040517f62a65aec0000000000000000000000000000000000000000000000000000000081526004016119469190612676565b60405180910390fd5b80600a908161195e9190613227565b507f6741b2fc379fad678116fe3d4d4b9a1a184ab53ba36b86ad0fa66340b1ab41ad8160405161198e9190612676565b60405180910390a150565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611acd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ac4906136fc565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611bbe91906125cb565b60405180910390a3505050565b611bd3611881565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115611c31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c289061378e565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611ca0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c97906137fa565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600660008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b611d6b84848461161b565b611d7784848484612303565b611db6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dad9061388c565b60405180910390fd5b50505050565b6060600a8054611dcb90612c95565b80601f0160208091040260200160405190810160405280929190818152602001828054611df790612c95565b8015611e445780601f10611e1957610100808354040283529160200191611e44565b820191906000526020600020905b815481529060010190602001808311611e2757829003601f168201915b5050505050905090565b606060008203611e95576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611fa9565b600082905060005b60008214611ec7578080611eb0906138ac565b915050600a82611ec09190612f1c565b9150611e9d565b60008167ffffffffffffffff811115611ee357611ee26128b3565b5b6040519080825280601f01601f191660200182016040528015611f155781602001600182028036833780820191505090505b5090505b60008514611fa257600182611f2e9190613610565b9150600a85611f3d91906133f5565b6030611f499190613426565b60f81b818381518110611f5f57611f5e6138f4565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611f9b9190612f1c565b9450611f19565b8093505050505b919050565b600081600001549050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361202b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120229061396f565b60405180910390fd5b6120348161228d565b15612074576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161206b906139db565b60405180910390fd5b612080600083836122f9565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120d09190613426565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612191600083836122fe565b5050565b6001816000016000828254019250508190555050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061227657507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061228657506122858261248a565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b505050565b505050565b60006123248473ffffffffffffffffffffffffffffffffffffffff166124f4565b1561247d578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261234d6114c5565b8786866040518563ffffffff1660e01b815260040161236f9493929190613a50565b6020604051808303816000875af19250505080156123ab57506040513d601f19601f820116820180604052508101906123a89190613ab1565b60015b61242d573d80600081146123db576040519150601f19603f3d011682016040523d82523d6000602084013e6123e0565b606091505b506000815103612425576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161241c9061388c565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612482565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6125608161252b565b811461256b57600080fd5b50565b60008135905061257d81612557565b92915050565b60006020828403121561259957612598612521565b5b60006125a78482850161256e565b91505092915050565b60008115159050919050565b6125c5816125b0565b82525050565b60006020820190506125e060008301846125bc565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612620578082015181840152602081019050612605565b60008484015250505050565b6000601f19601f8301169050919050565b6000612648826125e6565b61265281856125f1565b9350612662818560208601612602565b61266b8161262c565b840191505092915050565b60006020820190508181036000830152612690818461263d565b905092915050565b6000819050919050565b6126ab81612698565b81146126b657600080fd5b50565b6000813590506126c8816126a2565b92915050565b6000602082840312156126e4576126e3612521565b5b60006126f2848285016126b9565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612726826126fb565b9050919050565b6127368161271b565b82525050565b6000602082019050612751600083018461272d565b92915050565b6127608161271b565b811461276b57600080fd5b50565b60008135905061277d81612757565b92915050565b6000806040838503121561279a57612799612521565b5b60006127a88582860161276e565b92505060206127b9858286016126b9565b9150509250929050565b6127cc81612698565b82525050565b60006020820190506127e760008301846127c3565b92915050565b60008060006060848603121561280657612805612521565b5b60006128148682870161276e565b93505060206128258682870161276e565b9250506040612836868287016126b9565b9150509250925092565b6000806040838503121561285757612856612521565b5b6000612865858286016126b9565b9250506020612876858286016126b9565b9150509250929050565b6000604082019050612895600083018561272d565b6128a260208301846127c3565b9392505050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6128eb8261262c565b810181811067ffffffffffffffff8211171561290a576129096128b3565b5b80604052505050565b600061291d612517565b905061292982826128e2565b919050565b600067ffffffffffffffff821115612949576129486128b3565b5b6129528261262c565b9050602081019050919050565b82818337600083830152505050565b600061298161297c8461292e565b612913565b90508281526020810184848401111561299d5761299c6128ae565b5b6129a884828561295f565b509392505050565b600082601f8301126129c5576129c46128a9565b5b81356129d584826020860161296e565b91505092915050565b6000602082840312156129f4576129f3612521565b5b600082013567ffffffffffffffff811115612a1257612a11612526565b5b612a1e848285016129b0565b91505092915050565b600060208284031215612a3d57612a3c612521565b5b6000612a4b8482850161276e565b91505092915050565b612a5d816125b0565b8114612a6857600080fd5b50565b600081359050612a7a81612a54565b92915050565b60008060408385031215612a9757612a96612521565b5b6000612aa58582860161276e565b9250506020612ab685828601612a6b565b9150509250929050565b600067ffffffffffffffff821115612adb57612ada6128b3565b5b612ae48261262c565b9050602081019050919050565b6000612b04612aff84612ac0565b612913565b905082815260208101848484011115612b2057612b1f6128ae565b5b612b2b84828561295f565b509392505050565b600082601f830112612b4857612b476128a9565b5b8135612b58848260208601612af1565b91505092915050565b60008060008060808587031215612b7b57612b7a612521565b5b6000612b898782880161276e565b9450506020612b9a8782880161276e565b9350506040612bab878288016126b9565b925050606085013567ffffffffffffffff811115612bcc57612bcb612526565b5b612bd887828801612b33565b91505092959194509250565b60006bffffffffffffffffffffffff82169050919050565b612c0581612be4565b82525050565b6000602082019050612c206000830184612bfc565b92915050565b60008060408385031215612c3d57612c3c612521565b5b6000612c4b8582860161276e565b9250506020612c5c8582860161276e565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612cad57607f821691505b602082108103612cc057612cbf612c66565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000612d226021836125f1565b9150612d2d82612cc6565b604082019050919050565b60006020820190508181036000830152612d5181612d15565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b6000612db4603e836125f1565b9150612dbf82612d58565b604082019050919050565b60006020820190508181036000830152612de381612da7565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b6000612e46602e836125f1565b9150612e5182612dea565b604082019050919050565b60006020820190508181036000830152612e7581612e39565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000612eb682612698565b9150612ec183612698565b9250828202612ecf81612698565b91508282048414831517612ee657612ee5612e7c565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000612f2782612698565b9150612f3283612698565b925082612f4257612f41612eed565b5b828204905092915050565b6000604082019050612f6260008301856125bc565b8181036020830152612f74818461263d565b90509392505050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b6000612fb36018836125f1565b9150612fbe82612f7d565b602082019050919050565b60006020820190508181036000830152612fe281612fa6565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b60006130456029836125f1565b915061305082612fe9565b604082019050919050565b6000602082019050818103600083015261307481613038565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026130dd7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826130a0565b6130e786836130a0565b95508019841693508086168417925050509392505050565b6000819050919050565b600061312461311f61311a84612698565b6130ff565b612698565b9050919050565b6000819050919050565b61313e83613109565b61315261314a8261312b565b8484546130ad565b825550505050565b600090565b61316761315a565b613172818484613135565b505050565b5b818110156131965761318b60008261315f565b600181019050613178565b5050565b601f8211156131db576131ac8161307b565b6131b584613090565b810160208510156131c4578190505b6131d86131d085613090565b830182613177565b50505b505050565b600082821c905092915050565b60006131fe600019846008026131e0565b1980831691505092915050565b600061321783836131ed565b9150826002028217905092915050565b613230826125e6565b67ffffffffffffffff811115613249576132486128b3565b5b6132538254612c95565b61325e82828561319a565b600060209050601f831160018114613291576000841561327f578287015190505b613289858261320b565b8655506132f1565b601f19841661329f8661307b565b60005b828110156132c7578489015182556001820191506020850194506020810190506132a2565b868310156132e457848901516132e0601f8916826131ed565b8355505b6001600288020188555050505b505050505050565b600081905092915050565b600061330f826125e6565b61331981856132f9565b9350613329818560208601612602565b80840191505092915050565b60006133418285613304565b915061334d8284613304565b91508190509392505050565b600060408201905061336e60008301856127c3565b61337b60208301846127c3565b9392505050565b600060608201905061339760008301866127c3565b6133a460208301856127c3565b6133b160408301846127c3565b949350505050565b6000819050919050565b6133d46133cf82612698565b6133b9565b82525050565b60006133e682846133c3565b60208201915081905092915050565b600061340082612698565b915061340b83612698565b92508261341b5761341a612eed565b5b828206905092915050565b600061343182612698565b915061343c83612698565b925082820190508082111561345457613453612e7c565b5b92915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006134b66026836125f1565b91506134c18261345a565b604082019050919050565b600060208201905081810360008301526134e5816134a9565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b60006135486025836125f1565b9150613553826134ec565b604082019050919050565b600060208201905081810360008301526135778161353b565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006135da6024836125f1565b91506135e58261357e565b604082019050919050565b60006020820190508181036000830152613609816135cd565b9050919050565b600061361b82612698565b915061362683612698565b925082820390508181111561363e5761363d612e7c565b5b92915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061367a6020836125f1565b915061368582613644565b602082019050919050565b600060208201905081810360008301526136a98161366d565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006136e66019836125f1565b91506136f1826136b0565b602082019050919050565b60006020820190508181036000830152613715816136d9565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b6000613778602a836125f1565b91506137838261371c565b604082019050919050565b600060208201905081810360008301526137a78161376b565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b60006137e46019836125f1565b91506137ef826137ae565b602082019050919050565b60006020820190508181036000830152613813816137d7565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006138766032836125f1565b91506138818261381a565b604082019050919050565b600060208201905081810360008301526138a581613869565b9050919050565b60006138b782612698565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036138e9576138e8612e7c565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006139596020836125f1565b915061396482613923565b602082019050919050565b600060208201905081810360008301526139888161394c565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006139c5601c836125f1565b91506139d08261398f565b602082019050919050565b600060208201905081810360008301526139f4816139b8565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000613a22826139fb565b613a2c8185613a06565b9350613a3c818560208601612602565b613a458161262c565b840191505092915050565b6000608082019050613a65600083018761272d565b613a72602083018661272d565b613a7f60408301856127c3565b8181036060830152613a918184613a17565b905095945050505050565b600081519050613aab81612557565b92915050565b600060208284031215613ac757613ac6612521565b5b6000613ad584828501613a9c565b9150509291505056fea26469706673582212201c2352d6612ba9221f170cc5373d9ccf22adc580a7f7cfb65b8dc6eec6fba85c64736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000001e0000000000000000000000000000000000000000000000000000000000000024000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000de64832e90b9c221aa9428329ff0bf945025759200000000000000000000000000000000000000000000000000000000000002bc00000000000000000000000000000000000000000000000000000000000000174c6520506172697369656e2043727970746f2d756e657300000000000000000000000000000000000000000000000000000000000000000000000000000000044c504355000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d55316f644861634e34526b61796766706b72476436346e5577413362624b656a6f4e46363756667a4b50554d00000000000000000000000000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d534365326f7134626d5141715a4c555044686469336d6d566d6f5866715a77575852703362703553376135680000000000000000000000000000000000000000000000000000000000000000000000000000000000004065626562613465363466653134343566356265326139636265373230633538353138306632313738643164653065346238373261623539333933623639646636
-----Decoded View---------------
Arg [0] : name_ (string): Le Parisien Crypto-unes
Arg [1] : symbol_ (string): LPCU
Arg [2] : contractURI_ (string): ipfs://QmU1odHacN4RkaygfpkrGd64nUwA3bbKejoNF67VfzKPUM
Arg [3] : unrevealedBaseURI_ (string): ipfs://QmSCe2oq4bmQAqZLUPDhdi3mmVmoXfqZwWXRp3bp5S7a5h
Arg [4] : provenanceHash_ (string): ebeba4e64fe1445f5be2a9cbe720c585180f2178d1de0e4b872ab59393b69df6
Arg [5] : maxSupply_ (uint256): 1000
Arg [6] : receiver_ (address): 0xDE64832E90B9C221Aa9428329FF0bF9450257592
Arg [7] : feeNumerator_ (uint96): 700
-----Encoded View---------------
21 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000180
Arg [3] : 00000000000000000000000000000000000000000000000000000000000001e0
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000240
Arg [5] : 00000000000000000000000000000000000000000000000000000000000003e8
Arg [6] : 000000000000000000000000de64832e90b9c221aa9428329ff0bf9450257592
Arg [7] : 00000000000000000000000000000000000000000000000000000000000002bc
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000017
Arg [9] : 4c6520506172697369656e2043727970746f2d756e6573000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [11] : 4c50435500000000000000000000000000000000000000000000000000000000
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000035
Arg [13] : 697066733a2f2f516d55316f644861634e34526b61796766706b72476436346e
Arg [14] : 5577413362624b656a6f4e46363756667a4b50554d0000000000000000000000
Arg [15] : 0000000000000000000000000000000000000000000000000000000000000035
Arg [16] : 697066733a2f2f516d534365326f7134626d5141715a4c555044686469336d6d
Arg [17] : 566d6f5866715a77575852703362703553376135680000000000000000000000
Arg [18] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [19] : 6562656261346536346665313434356635626532613963626537323063353835
Arg [20] : 3138306632313738643164653065346238373261623539333933623639646636
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.