Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
5,814 SHINIKI
Holders
732
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
4 SHINIKILoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Shiniki
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
Yes with 1 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "./interfaces/IShiniki.sol"; import "./interfaces/ISignatureVerifier.sol"; import "./ShinikiTransfer.sol"; import "./ERC721A.sol"; import "./access/Ownable.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/token/common/ERC2981.sol"; contract Shiniki is Ownable, IShiniki, ERC721A, ReentrancyGuard, Pausable, ERC2981, ShinikiTransfer { // Info config struct SaleConfig { uint128 preSaleStartTime; uint128 preSaleDuration; uint128 publicSaleStartTime; uint128 publicSaleDuration; uint256 publicSalePrice; } // Info interface address signature ISignatureVerifier public SIGNATURE_VERIFIER; // Info config mint SaleConfig public saleConfig; // Check transfer when tokenId is locked mapping(uint256 => bool) public stakingTransfer; // Info number minted public mapping(address => uint256) public numberPublicMinted; // Info number minted pre mapping(address => uint256) public numberPreMinted; // Info locked mapping(uint256 => bool) public locked; event Lock(address locker, uint256 tokenId, uint64 startTimestampLock); event UnLock(address unlocker, uint256 tokenId); constructor( address signatureVerifier, uint256 collectionSize_, uint256 maxBatchSize_, uint256 amountMintDev_, string memory defaultURI_ ) ERC721A("Shiniki - Land of Gods", "SHINIKI", collectionSize_, maxBatchSize_) { SIGNATURE_VERIFIER = ISignatureVerifier(signatureVerifier); currentIndex[TYPE_1] = 0; currentIndex[TYPE_2] = collectionSize_ / 2; startIndex[TYPE_1] = 0; startIndex[TYPE_2] = collectionSize_ / 2; revealed = false; defaultURI = defaultURI_; privateMint(msg.sender, amountMintDev_ / 2, amountMintDev_ / 2); } /** * @notice Validate caller */ modifier callerIsUser() { require( tx.origin == msg.sender, "Shiniki: The caller is another contract" ); _; } /** * @notice mint pre sale * @param receiver 'address' receiver for nft * @param typeMints array 'bytes32' type mint * @param quantities array 'uint256' quantity for each type * @param amountAllowce 'uint256' maximum quanity of user in whitelist * @param nonce 'uint256' a number random * @param signature 'bytes' a signature to verify data when mint nft */ function preSaleMint( address receiver, bytes32[] memory typeMints, uint256[] memory quantities, uint256 amountAllowce, uint256 nonce, bytes memory signature ) external override nonReentrant callerIsUser whenNotPaused { require(receiver == msg.sender, "Shiniki: caller is not receiver"); require( SIGNATURE_VERIFIER.verifyPreSaleMint( receiver, typeMints, quantities, amountAllowce, nonce, signature ), "Shiniki: signature claim is invalid" ); uint256 totalMint = caculatorQuantity(typeMints, quantities); require( totalMint <= maxBatchSize, "Shiniki: quantity to mint is less than maxBatchSize" ); require(isPreSaleOn(), "Shiniki: pre sale has not begun yet"); require( totalSupply() + totalMint <= collectionSize, "Shiniki: reached max supply" ); require( numberPreMinted[msg.sender] + totalMint <= amountAllowce, "Shiniki: can not mint greater than whiteList" ); numberPreMinted[msg.sender] += totalMint; for (uint8 i = 0; i < typeMints.length; i++) { _safeMint(msg.sender, quantities[i], typeMints[i]); } } /** * @notice mint public sale * @param typeMints array 'bytes32' type mint * @param quantities array 'uint256' quantity for each type */ function publicSaleMint( bytes32[] memory typeMints, uint256[] memory quantities ) external payable override nonReentrant callerIsUser whenNotPaused { uint256 totalMint = caculatorQuantity(typeMints, quantities); require( totalMint <= maxBatchSize, "Shiniki: quantity to mint is less than maxBatchSize" ); require(isPublicSaleOn(), "Shiniki: public sale has not begun yet"); require( totalSupply() + totalMint <= collectionSize, "Shiniki: reached max supply" ); numberPublicMinted[msg.sender] += totalMint; uint256 totalPrice = saleConfig.publicSalePrice * totalMint; require(msg.value >= totalPrice, "Shiniki: insufficient balance"); if (msg.value > totalPrice) { transferETH(msg.sender, msg.value - totalPrice); } for (uint8 i = 0; i < typeMints.length; i++) { _safeMint(msg.sender, quantities[i], typeMints[i]); } } /** * @notice mint private * @param receiver 'address' receiver when mint nft * @param quantityType1 'uint256' quantity when mint nft by Type1 * @param quantityType2 'uint256' quantity when mint nft by Type2 */ function privateMint( address receiver, uint256 quantityType1, uint256 quantityType2 ) public override onlyOwner whenNotPaused { require( totalSupply() + quantityType1 + quantityType2 <= collectionSize, "Shiniki: reached max supply" ); //mint with type 1 if (quantityType1 != 0) { require( totalSupply(TYPE_1) + quantityType1 <= collectionSize / 2, "Shiniki: type1 input is reached max supply" ); _safeMint(receiver, quantityType1, TYPE_1); } //mint with type 2 if (quantityType2 != 0) { require( totalSupply(TYPE_2) + quantityType2 <= (collectionSize - (collectionSize / 2)), "Shiniki: type2 input is reached max supply" ); _safeMint(receiver, quantityType2, TYPE_2); } } /** * @notice caculate total quantity * @param typeMints array 'bytes32' type mint * @param quantities array 'uint256' quantity for each type * @return 'uint256' total quantity user want to mint */ function caculatorQuantity( bytes32[] memory typeMints, uint256[] memory quantities ) internal view returns (uint256) { uint256 totalQuantity = 0; require( (typeMints.length == quantities.length), "Shiniki: input is invalid" ); for (uint8 i = 0; i < typeMints.length; i++) { require( (typeMints[i] == TYPE_1 || typeMints[i] == TYPE_2), "Shiniki: type input is invalid" ); if (typeMints[i] == TYPE_1) { require( totalSupply(typeMints[i]) + quantities[i] <= collectionSize / 2, "Shiniki: type1 input is reached max supply" ); } else { require( quantities[i] + totalSupply(typeMints[i]) <= (collectionSize - (collectionSize / 2)), "Shiniki: type2 input is reached max supply" ); } totalQuantity += quantities[i]; } return totalQuantity; } /** * @notice lock nft for staking * @param tokenIds array 'uint256' tokenIds */ function lock(uint256[] memory tokenIds) public override { require(tokenIds.length != 0, "Shiniki: tokenIds is not zero"); for (uint256 i = 0; i < tokenIds.length; i++) { TokenOwnership memory ownership = ownershipOf(tokenIds[i]); require( msg.sender == ownership.addr, "Shiniki: You are not owner of tokenId" ); require(!locked[tokenIds[i]], "Shiniki: tokenId is locked"); uint64 timeStampNow = uint64(block.timestamp); _ownerships[tokenIds[i]] = TokenOwnership( ownership.addr, ownership.startTimestamp, timeStampNow ); locked[tokenIds[i]] = true; stakingTransfer[tokenIds[i]] = true; emit Lock(msg.sender, tokenIds[i], timeStampNow); } } /** * @notice unlock nft for un-staking * @param tokenIds array 'uint256' tokenIds */ function unlock(uint256[] memory tokenIds) public override { require(tokenIds.length != 0, "Shiniki: tokenIds is not zero"); for (uint256 i = 0; i < tokenIds.length; i++) { TokenOwnership memory ownership = ownershipOf(tokenIds[i]); require( msg.sender == ownership.addr, "Shiniki: You are not owner of tokenId" ); require(locked[tokenIds[i]], "Shiniki: tokenId is not locked"); _ownerships[tokenIds[i]] = TokenOwnership( ownership.addr, ownership.startTimestamp, 0 ); locked[tokenIds[i]] = false; stakingTransfer[tokenIds[i]] = false; emit UnLock(msg.sender, tokenIds[i]); } } /** * @notice set base uri * @param _typeMint array 'bytes32' type mint * @param _baseURI array 'string' base uri */ function setBaseURI(bytes32[] memory _typeMint, string[] memory _baseURI) external onlyOwner { require( _typeMint.length == _baseURI.length, "Shiniki: input data is invalid" ); for (uint256 i = 0; i < _typeMint.length; i++) { require( (_typeMint[i] == TYPE_1 || _typeMint[i] == TYPE_2), "Shiniki: type input is invalid" ); _baseTokenURI[_typeMint[i]] = _baseURI[i]; } } /** * @notice set default uri * @param _defaultURI 'string' default uri */ function setDefaultURI(string memory _defaultURI) external onlyOwner { defaultURI = _defaultURI; } /** * @notice set max batch size * @param _maxBatchSize 'uint256' number new maxBatchSize */ function setMaxBatchSize(uint256 _maxBatchSize) external onlyOwner { maxBatchSize = _maxBatchSize; } /** @notice Setting new address signature * @param _signatureVerifier 'address' signature */ function setSignatureVerifier(address _signatureVerifier) external onlyOwner { SIGNATURE_VERIFIER = ISignatureVerifier(_signatureVerifier); } /** * @notice check pre sale * @return 'bool' status pre sale */ function isPreSaleOn() public view returns (bool) { return block.timestamp >= saleConfig.preSaleStartTime && block.timestamp <= saleConfig.preSaleStartTime + saleConfig.preSaleDuration; } /** * @notice check public sale * @return 'bool' status public sale */ function isPublicSaleOn() public view returns (bool) { return saleConfig.publicSalePrice != 0 && block.timestamp >= saleConfig.publicSaleStartTime && block.timestamp <= saleConfig.publicSaleStartTime + saleConfig.publicSaleDuration; } /** * @notice set pre sale config * @param _preSaleStartTime 'uint128' start time pre sale * @param _preSaleDuration 'uint128' duration time of pre sale */ function setPreSaleConfig( uint128 _preSaleStartTime, uint128 _preSaleDuration ) external onlyOwner { saleConfig.preSaleStartTime = _preSaleStartTime; saleConfig.preSaleDuration = _preSaleDuration; } /** * @notice set public sale config * @param _publicSaleStartTime 'uint128' start time public sale * @param _publicSaleDuration 'uint128' duration time of public sale * @param _publicSalePrice 'uint256' price of public sale for each nft */ function setPublicSaleConfig( uint128 _publicSaleStartTime, uint128 _publicSaleDuration, uint256 _publicSalePrice ) external onlyOwner { saleConfig.publicSaleStartTime = _publicSaleStartTime; saleConfig.publicSaleDuration = _publicSaleDuration; saleConfig.publicSalePrice = _publicSalePrice; } /** * @notice set revealed * @param _revealed 'bool' status revealed */ function setRevealed(bool _revealed) external onlyOwner { revealed = _revealed; } /** * @notice withdraw asset * @param receiver 'address' receiver asset * @param amount 'uint256' number asset to withdraw */ function withdraw(address receiver, uint256 amount) external override onlyOwner nonReentrant { transferETH(receiver, amount); } /** * @notice withdraw all asset * @param receiver 'address' receiver asset */ function withdrawAll(address receiver) external override onlyOwner nonReentrant { transferETH(receiver, address(this).balance); } /** * @notice number minted * @param owner 'address' user */ function numberMinted(address owner) public view returns (uint256) { return _numberMinted(owner); } /** * @notice get ownership data of a nft * @param tokenId 'uint256' id of nft * @return 'TokenOwnership' detail a nft */ function getOwnershipData(uint256 tokenId) external view returns (TokenOwnership memory) { return ownershipOf(tokenId); } /** @notice Transfer a token between addresses while the Shiniki is staking * @param from 'address' sender * @param to 'address' receiver * @param tokenId 'uint256' id of nft */ function safeTransferWhileStaking( address from, address to, uint256 tokenId ) external override { require(ownerOf(tokenId) == _msgSender(), "Shiniki: Only owner"); if (stakingTransfer[tokenId]) { stakingTransfer[tokenId] = false; safeTransferFrom(from, to, tokenId); stakingTransfer[tokenId] = true; } else { safeTransferFrom(from, to, tokenId); } } /** @dev Pause the contract */ function pause() public onlyOwner { _pause(); } /** @dev Unpause the contract */ function unpause() public onlyOwner { _unpause(); } /** @dev Block transfers while staking. */ function _beforeTokenTransfers( address from, address, uint256 tokenId, uint256 ) internal view override { if (from != address(0)) { require(!stakingTransfer[tokenId], "Shiniki: staking"); } } /** @notice Sets the contract-wide royalty info. */ function setRoyaltyInfo(address receiver, uint96 feeBasisPoints) external onlyOwner { _setDefaultRoyalty(receiver, feeBasisPoints); } function supportsInterface(bytes4 interfaceId) public view override(ERC721A, ERC2981) returns (bool) { return super.supportsInterface(interfaceId); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner, uint256 nonce, bytes memory signature) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); require( SIGNATURE_VERIFIER.verifyTransferOwner(newOwner, nonce, signature), "Shiniki: signature transfer owner is invalid" ); _transferOwnership(newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface IShiniki { function preSaleMint( address receiver, bytes32[] memory typeMints, uint256[] memory quantities, uint256 amountAllowce, uint256 nonce, bytes memory signature ) external; function publicSaleMint( bytes32[] memory typeMints, uint256[] memory quantities ) external payable; function privateMint( address receiver, uint256 quantityType1, uint256 quantityType2 ) external; function lock(uint256[] memory tokenIds) external; function unlock(uint256[] memory tokenIds) external; function withdraw(address receiver, uint256 amount) external; function withdrawAll(address receiver) external; function safeTransferWhileStaking( address from, address to, uint256 tokenId ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; interface ISignatureVerifier { event UsedNonce(address account, bytes32 nonce, string action); function verifyClaim( address token, address receiver, uint256 maxAllowce, uint256 amount, uint256 nonce, bytes memory signature ) external returns (bool); function verifyPreSaleMint( address receiver, bytes32[] memory typeMints, uint256[] memory quantities, uint256 amountAllowce, uint256 nonce, bytes memory signature ) external returns (bool); function verifyTransferOwner( address newOwner, uint256 nonce, bytes memory signature ) external returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./interfaces/ISignatureVerifier.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; contract ShinikiTransfer { using SafeERC20 for IERC20; constructor() {} receive() external payable {} /** @notice Transfer ETH * @param receiver 'address' receiver ETH * @param amount 'uint256' number ETH to transfer */ function transferETH(address receiver, uint256 amount) internal { (bool success, ) = receiver.call{value: amount}(""); require(success, "transfer failed."); } /** @notice Transfer token * @param token 'address' token * @param sender 'address' sender token * @param receiver 'address' receiver token * @param amount 'uint256' number token to transfer */ function transferToken( address token, address sender, address receiver, uint256 amount ) internal { require( IERC20(token).balanceOf(sender) >= amount, "token insufficient balance" ); IERC20(token).safeTransferFrom(sender, receiver, amount); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata and Enumerable extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..). * * Assumes the number of issuable tokens (collection size) is capped and fits in a uint128. * uint128 is a number with a maximum value of 2^127-1 or 340,282,366,920,938,463,463,374,607,431,768,211,455. * * Does not support burning tokens to address(0). */ contract ERC721A is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; struct TokenOwnership { address addr; uint64 startTimestamp; uint64 startTimestampLock; } struct AddressData { uint128 balance; uint128 numberMinted; } // Token name string private _name; // Token symbol string private _symbol; // Revealed bool public revealed; // type NFT bytes32 public constant TYPE_1 = keccak256("TYPE_1"); bytes32 public constant TYPE_2 = keccak256("TYPE_2"); // default URI string public defaultURI; // collection size with round uint256 public collectionSize; // maxBatchSize uint256 public maxBatchSize; // curent index by round,type mapping(bytes32 => uint256) public currentIndex; // start index by round,type mapping(bytes32 => uint256) public startIndex; // metadata URI mapping(bytes32 => string) internal _baseTokenURI; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. See ownershipOf implementation for details. mapping(uint256 => TokenOwnership) internal _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // 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 * `collectionSize_` refers to how many tokens are in the collection. * Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor( string memory name_, string memory symbol_, uint256 collectionSize_, uint256 maxBatchSize_ ) { require( collectionSize_ > 0 && maxBatchSize_ > 0, "ERC721A: collection must have a nonzero supply" ); _name = name_; _symbol = symbol_; collectionSize = collectionSize_; maxBatchSize = maxBatchSize_; } /** * @dev See {totalSupply}. */ function totalSupply() public view returns (uint256) { unchecked { return (currentIndex[TYPE_1] - startIndex[TYPE_1]) + (currentIndex[TYPE_2] - startIndex[TYPE_2]); } } /** * @dev See {totalSupply}. * @param typeMint 'bytes32' type mint */ function totalSupply(bytes32 typeMint) public view returns (uint256) { unchecked { return currentIndex[typeMint] - startIndex[typeMint]; } } /** * @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 override returns (uint256) { require( owner != address(0), "ERC721A: balance query for the zero address" ); return uint256(_addressData[owner].balance); } function _numberMinted(address owner) internal view returns (uint256) { require( owner != address(0), "ERC721A: number minted query for the zero address" ); return uint256(_addressData[owner].numberMinted); } function ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { require(_exists(tokenId), "ERC721A: owner query for nonexistent token"); TokenOwnership memory ownership = _ownerships[tokenId]; unchecked { if (ownership.addr != address(0)) { return ownership; } // while (true) { tokenId--; ownership = _ownerships[tokenId]; if (ownership.addr != address(0)) { return ownership; } } } revert("ERC721A: unable to determine the owner of token"); } function typeTokenUri(uint256 tokenId) internal view returns (bytes32) { if (tokenId < currentIndex[TYPE_1] && tokenId >= startIndex[TYPE_1]) { return TYPE_1; } return TYPE_2; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return ownershipOf(tokenId).addr; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require( _exists(tokenId), "ERC721Metadata: URI query for nonexistent token" ); if (!revealed) { return defaultURI; } string memory baseURI; bytes32 typeUri = typeTokenUri(tokenId); baseURI = _baseTokenURI[typeUri]; return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI(bytes32 _typeMint) external view virtual returns (string memory) { return _baseTokenURI[_typeMint]; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ERC721A.ownerOf(tokenId); require(to != owner, "ERC721A: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721A: approve caller is not owner nor approved for all" ); _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { require( _exists(tokenId), "ERC721A: approved query for nonexistent token" ); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public override { require(operator != _msgSender(), "ERC721A: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public override { _transfer(from, to, tokenId); require( _checkOnERC721Received(from, to, tokenId, _data), "ERC721A: 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`), */ function _exists(uint256 tokenId) public view returns (bool) { if ( (tokenId < currentIndex[TYPE_1] && tokenId >= startIndex[TYPE_1]) || (tokenId < currentIndex[TYPE_2] && tokenId >= startIndex[TYPE_2]) ) { return true; } return false; } function _safeMint( address to, uint256 quantity, bytes32 typeMint ) internal { _safeMint(to, quantity, "", typeMint); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - there must be `quantity` tokens remaining unminted in the total collection. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data, bytes32 typeMint ) internal { uint256 startTokenId = currentIndex[typeMint]; require(to != address(0), "ERC721A: mint to the zero address"); // We know if the first token in the batch doesn't exist, the other ones don't as well, because of serial ordering. require(!_exists(startTokenId), "ERC721A: token already minted"); require(quantity != 0, "ERC721A: quantity to mint is zero"); _beforeTokenTransfers(address(0), to, startTokenId, quantity); unchecked { AddressData memory addressData = _addressData[to]; _addressData[to] = AddressData( addressData.balance + uint128(quantity), addressData.numberMinted + uint128(quantity) ); _ownerships[startTokenId] = TokenOwnership( to, uint64(block.timestamp), 0 ); uint256 updatedIndex = startTokenId; // for (uint256 i = 0; i < quantity; i++) { emit Transfer(address(0), to, updatedIndex); require( _checkOnERC721Received(address(0), to, updatedIndex, _data), "ERC721A: transfer to non ERC721Receiver implementer" ); updatedIndex++; } currentIndex[typeMint] = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * 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 ) private { TokenOwnership memory prevOwnership = ownershipOf(tokenId); bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr || getApproved(tokenId) == _msgSender() || isApprovedForAll(prevOwnership.addr, _msgSender())); require( isApprovedOrOwner, "ERC721A: transfer caller is not owner nor approved" ); require( prevOwnership.addr == from, "ERC721A: transfer from incorrect owner" ); require(to != address(0), "ERC721A: transfer to the zero address"); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); unchecked { _addressData[from].balance -= 1; _addressData[to].balance += 1; _ownerships[tokenId] = TokenOwnership( to, uint64(block.timestamp), 0 ); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; if (_ownerships[nextTokenId].addr == address(0)) { if (_exists(nextTokenId)) { _ownerships[nextTokenId] = TokenOwnership( prevOwnership.addr, prevOwnership.startTimestamp, prevOwnership.startTimestampLock ); } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received( _msgSender(), from, tokenId, _data ) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert( "ERC721A: transfer to non ERC721Receiver implementer" ); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * 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`. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "@openzeppelin/contracts/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 Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/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) (security/Pausable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { _requireNotPaused(); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { _requirePaused(); _; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Throws if the contract is paused. */ function _requireNotPaused() internal view virtual { require(!paused(), "Pausable: paused"); } /** * @dev Throws if the contract is not paused. */ function _requirePaused() internal view virtual { require(paused(), "Pausable: not paused"); } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol) pragma solidity ^0.8.0; import "../../interfaces/IERC2981.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information. * * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first. * * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the * fee is specified in basis points by default. * * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported. * * _Available since v4.5._ */ abstract contract ERC2981 is IERC2981, ERC165 { struct RoyaltyInfo { address receiver; uint96 royaltyFraction; } RoyaltyInfo private _defaultRoyaltyInfo; mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) { return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId); } /** * @inheritdoc IERC2981 */ function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) { RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId]; if (royalty.receiver == address(0)) { royalty = _defaultRoyaltyInfo; } uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator(); return (royalty.receiver, royaltyAmount); } /** * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an * override. */ function _feeDenominator() internal pure virtual returns (uint96) { return 10000; } /** * @dev Sets the royalty information that all ids in this contract will default to. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: invalid receiver"); _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Removes default royalty information. */ function _deleteDefaultRoyalty() internal virtual { delete _defaultRoyaltyInfo; } /** * @dev Sets the royalty information for a specific token id, overriding the global default. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setTokenRoyalty( uint256 tokenId, address receiver, uint96 feeNumerator ) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: Invalid parameters"); _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Resets royalty information for the token id back to the global default. */ function _resetTokenRoyalty(uint256 tokenId) internal virtual { delete _tokenRoyaltyInfo[tokenId]; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; import "../extensions/draft-IERC20Permit.sol"; import "../../../utils/Address.sol"; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; function safeTransfer( IERC20 token, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom( IERC20 token, address from, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove( IERC20 token, address spender, uint256 value ) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance( IERC20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender) + value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance( IERC20 token, address spender, uint256 value ) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); uint256 newAllowance = oldAllowance - value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } } function safePermit( IERC20Permit token, address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) internal { uint256 nonceBefore = token.nonces(owner); token.permit(owner, spender, value, deadline, v, r, s); uint256 nonceAfter = token.nonces(owner); require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed"); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. */ interface IERC20Permit { /** * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens, * given ``owner``'s signed approval. * * IMPORTANT: The same issues {IERC20-approve} has related to transaction * ordering also apply here. * * Emits an {Approval} event. * * Requirements: * * - `spender` cannot be the zero address. * - `deadline` must be a timestamp in the future. * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` * over the EIP712-formatted function arguments. * - the signature must use ``owner``'s current nonce (see {nonces}). * * For more information on the signature format, see the * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP * section]. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; /** * @dev Returns the current nonce for `owner`. This value must be * included whenever a signature is generated for {permit}. * * Every successful call to {permit} increases ``owner``'s nonce by one. This * prevents a signature from being used multiple times. */ function nonces(address owner) external view returns (uint256); /** * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view returns (bytes32); }
// 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 (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 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": true, "runs": 1 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"signatureVerifier","type":"address"},{"internalType":"uint256","name":"collectionSize_","type":"uint256"},{"internalType":"uint256","name":"maxBatchSize_","type":"uint256"},{"internalType":"uint256","name":"amountMintDev_","type":"uint256"},{"internalType":"string","name":"defaultURI_","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"locker","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint64","name":"startTimestampLock","type":"uint64"}],"name":"Lock","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"unlocker","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"UnLock","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"SIGNATURE_VERIFIER","outputs":[{"internalType":"contract ISignatureVerifier","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TYPE_1","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TYPE_2","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_typeMint","type":"bytes32"}],"name":"_baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"_exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"collectionSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"currentIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"defaultURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getOwnershipData","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"uint64","name":"startTimestampLock","type":"uint64"}],"internalType":"struct ERC721A.TokenOwnership","name":"","type":"tuple"}],"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":"isPreSaleOn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPublicSaleOn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"lock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"locked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxBatchSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"numberPreMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"numberPublicMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"bytes32[]","name":"typeMints","type":"bytes32[]"},{"internalType":"uint256[]","name":"quantities","type":"uint256[]"},{"internalType":"uint256","name":"amountAllowce","type":"uint256"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"preSaleMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"quantityType1","type":"uint256"},{"internalType":"uint256","name":"quantityType2","type":"uint256"}],"name":"privateMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"typeMints","type":"bytes32[]"},{"internalType":"uint256[]","name":"quantities","type":"uint256[]"}],"name":"publicSaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferWhileStaking","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleConfig","outputs":[{"internalType":"uint128","name":"preSaleStartTime","type":"uint128"},{"internalType":"uint128","name":"preSaleDuration","type":"uint128"},{"internalType":"uint128","name":"publicSaleStartTime","type":"uint128"},{"internalType":"uint128","name":"publicSaleDuration","type":"uint128"},{"internalType":"uint256","name":"publicSalePrice","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_typeMint","type":"bytes32[]"},{"internalType":"string[]","name":"_baseURI","type":"string[]"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_defaultURI","type":"string"}],"name":"setDefaultURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxBatchSize","type":"uint256"}],"name":"setMaxBatchSize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint128","name":"_preSaleStartTime","type":"uint128"},{"internalType":"uint128","name":"_preSaleDuration","type":"uint128"}],"name":"setPreSaleConfig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint128","name":"_publicSaleStartTime","type":"uint128"},{"internalType":"uint128","name":"_publicSaleDuration","type":"uint128"},{"internalType":"uint256","name":"_publicSalePrice","type":"uint256"}],"name":"setPublicSaleConfig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_revealed","type":"bool"}],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeBasisPoints","type":"uint96"}],"name":"setRoyaltyInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_signatureVerifier","type":"address"}],"name":"setSignatureVerifier","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"stakingTransfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"startIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"typeMint","type":"bytes32"}],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"unlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040523480156200001157600080fd5b506040516200589138038062005891833981016040819052620000349162000d4c565b6040518060400160405280601681526020017f5368696e696b69202d204c616e64206f6620476f647300000000000000000000815250604051806040016040528060078152602001665348494e494b4960c81b8152508585620000a6620000a06200027f60201b60201c565b62000283565b600082118015620000b75750600081115b620001205760405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20636f6c6c656374696f6e206d757374206861766520612060448201526d6e6f6e7a65726f20737570706c7960901b60648201526084015b60405180910390fd5b83516200013590600190602087019062000ca6565b5082516200014b90600290602086019062000ca6565b5060059190915560065550506001600e55600f805460ff19169055601280546001600160a01b0319166001600160a01b03871617905560008051602062005851833981519152600090815260076020526000805160206200581183398151915255620001b960028562000f3f565b6000805160206200583183398151915255600080516020620058518339815191526000908152600860205260008051602062005871833981519152556200020260028562000f3f565b600080516020620057d183398151915260005260086020908152600080516020620057f1833981519152919091556003805460ff1916905581516200024e916004919084019062000ca6565b5062000274336200026160028562000f3f565b6200026e60028662000f3f565b620002d3565b505050505062001012565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b620002dd6200054c565b620002e7620005aa565b600554818362000354600080516020620057f183398151915254600080516020620058318339815191525460008051602062005851833981519152600052600080516020620058718339815191525460076020526000805160206200581183398151915254039190030190565b62000360919062000f24565b6200036c919062000f24565b1115620003bc5760405162461bcd60e51b815260206004820152601b60248201527f5368696e696b693a2072656163686564206d617820737570706c790000000000604482015260640162000117565b81156200047a576002600554620003d4919062000f3f565b82620003ef60008051602062005851833981519152620005f2565b620003fb919062000f24565b11156200045e5760405162461bcd60e51b815260206004820152602a60248201527f5368696e696b693a20747970653120696e7075742069732072656163686564206044820152696d617820737570706c7960b01b606482015260840162000117565b6200047a83836000805160206200585183398151915262000611565b80156200054757600260055462000492919062000f3f565b600554620004a1919062000f60565b81620004bc600080516020620057d1833981519152620005f2565b620004c8919062000f24565b11156200052b5760405162461bcd60e51b815260206004820152602a60248201527f5368696e696b693a20747970653220696e7075742069732072656163686564206044820152696d617820737570706c7960b01b606482015260840162000117565b620005478382600080516020620057d183398151915262000611565b505050565b6000546001600160a01b03163314620005a85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640162000117565b565b600f5460ff1615620005a85760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015260640162000117565b6000908152600860209081526040808320546007909252909120540390565b62000547838360405180602001604052806000815250846200063460201b60201c565b6000818152600760205260409020546001600160a01b038516620006a55760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b606482015260840162000117565b620006b08162000a1e565b15620006ff5760405162461bcd60e51b815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e746564000000604482015260640162000117565b83620007585760405162461bcd60e51b815260206004820152602160248201527f455243373231413a207175616e7469747920746f206d696e74206973207a65726044820152606f60f81b606482015260840162000117565b62000767600086838762000afd565b6000600b6000876001600160a01b03166001600160a01b031681526020019081526020016000206040518060400160405290816000820160009054906101000a90046001600160801b03166001600160801b03166001600160801b031681526020016000820160109054906101000a90046001600160801b03166001600160801b03166001600160801b03168152505090506040518060400160405280868360000151016001600160801b03168152602001868360200151016001600160801b0316815250600b6000886001600160a01b03166001600160a01b0316815260200190815260200160002060008201518160000160006101000a8154816001600160801b0302191690836001600160801b0316021790555060208201518160000160106101000a8154816001600160801b0302191690836001600160801b031602179055509050506040518060600160405280876001600160a01b03168152602001426001600160401b0316815260200160006001600160401b0316815250600a600084815260200190815260200160002060008201518160000160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060208201518160000160146101000a8154816001600160401b0302191690836001600160401b0316021790555060408201518160010160006101000a8154816001600160401b0302191690836001600160401b03160217905550905050600082905060005b8681101562000a065760405182906001600160a01b038a16906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4620009da600089848962000b67565b620009f95760405162461bcd60e51b8152600401620001179062000ec7565b600191820191016200098a565b50600084815260076020526040902055505050505050565b600080516020620058518339815191526000908152600760205260008051602062005811833981519152548210801562000a80575060008051602062005851833981519152600052600860205260008051602062005871833981519152548210155b8062000ae75750600080516020620057d1833981519152600052600760205260008051602062005831833981519152548210801562000ae75750600080516020620057d18339815191526000526008602052600080516020620057f1833981519152548210155b1562000af557506001919050565b506000919050565b6001600160a01b0384161562000b615760008281526016602052604090205460ff161562000b615760405162461bcd60e51b815260206004820152601060248201526f5368696e696b693a207374616b696e6760801b604482015260640162000117565b50505050565b600062000b88846001600160a01b031662000c9760201b620026221760201c565b1562000c8b57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029062000bc290339089908890889060040162000e71565b602060405180830381600087803b15801562000bdd57600080fd5b505af192505050801562000c10575060408051601f3d908101601f1916820190925262000c0d9181019062000e40565b60015b62000c70573d80801562000c41576040519150601f19603f3d011682016040523d82523d6000602084013e62000c46565b606091505b50805162000c685760405162461bcd60e51b8152600401620001179062000ec7565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905062000c8f565b5060015b949350505050565b6001600160a01b03163b151590565b82805462000cb49062000fa9565b90600052602060002090601f01602090048101928262000cd8576000855562000d23565b82601f1062000cf357805160ff191683800117855562000d23565b8280016001018555821562000d23579182015b8281111562000d2357825182559160200191906001019062000d06565b5062000d3192915062000d35565b5090565b5b8082111562000d31576000815560010162000d36565b600080600080600060a0868803121562000d64578081fd5b85516001600160a01b038116811462000d7b578182fd5b60208701516040880151606089015160808a0151939850919650945092506001600160401b038082111562000dae578283fd5b818801915088601f83011262000dc2578283fd5b81518181111562000dd75762000dd762000ffc565b604051601f8201601f19908116603f0116810190838211818310171562000e025762000e0262000ffc565b816040528281528b602084870101111562000e1b578586fd5b62000e2e83602083016020880162000f7a565b80955050505050509295509295909350565b60006020828403121562000e52578081fd5b81516001600160e01b03198116811462000e6a578182fd5b9392505050565b600060018060a01b03808716835280861660208401525083604083015260806060830152825180608084015262000eb08160a085016020870162000f7a565b601f01601f19169190910160a00195945050505050565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527f6563656976657220696d706c656d656e74657200000000000000000000000000606082015260800190565b6000821982111562000f3a5762000f3a62000fe6565b500190565b60008262000f5b57634e487b7160e01b81526012600452602481fd5b500490565b60008282101562000f755762000f7562000fe6565b500390565b60005b8381101562000f9757818101518382015260200162000f7d565b8381111562000b615750506000910152565b600181811c9082168062000fbe57607f821691505b6020821081141562000fe057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6147af80620010226000396000f3fe60806040526004361061028a5760003560e01c806301ffc9a71461029657806302fa7c47146102cb5780630443bdf9146102ed57806306fdde0314610328578063081812fc1461034a57806308b5985c14610377578063095ea7b3146103975780631681d6da146103b757806318160ddd146103d757806323b872dd146103ec5780632913daa01461040c5780632a55205a146104225780632b26a6bf146104505780632cc4d9dd146104705780632df98c3c146104835780633a367a67146104b05780633dcdc35d146104c55780633f4ba83a146104e55780633f5e4741146104fa57806342842e0e1461050f57806345c0f5331461052f578063512fe3c5146105455780635183022714610575578063578e694d1461058f5780635c975abb146105b15780635d36598f146105c95780636352211e146105e957806370a082311461060957806379aef52d146106295780637a072ef71461064957806381403082146106695780638456cb5914610696578063859610c6146106ab57806389b8a38b146106cb5780638da5cb5b146106eb57806390aa0b0f146107005780639231ab2a1461077b57806395d89b41146107d7578063a22cb465146107ec578063b15ff6e11461080c578063b45a3c0e1461082e578063b524abcf1461085e578063b88d4fde1461087e578063c87b56dd1461089e578063cd4c16e2146108be578063d05bbf99146108d3578063da1b9e08146108f3578063dc33e68114610913578063e08a660514610933578063e0a8085314610953578063e4a51e7414610973578063e8831b0214610993578063e985e9c5146109c0578063f3fef3a314610a09578063f58fc73014610a29578063f8e76cc014610a49578063fa09e63014610a6957600080fd5b3661029157005b600080fd5b3480156102a257600080fd5b506102b66102b1366004613f6e565b610a89565b60405190151581526020015b60405180910390f35b3480156102d757600080fd5b506102eb6102e6366004613d85565b610a9a565b005b3480156102f957600080fd5b5061031a610308366004613f56565b60076020526000908152604090205481565b6040519081526020016102c2565b34801561033457600080fd5b5061033d610ab0565b6040516102c291906141f0565b34801561035657600080fd5b5061036a610365366004613f56565b610b42565b6040516102c291906140a8565b34801561038357600080fd5b506102eb610392366004613dbb565b610bd0565b3480156103a357600080fd5b506102eb6103b2366004613cd6565b610d55565b3480156103c357600080fd5b506102eb6103d2366004613d53565b610e64565b3480156103e357600080fd5b5061031a610f9c565b3480156103f857600080fd5b506102eb610407366004613b5a565b610ffb565b34801561041857600080fd5b5061031a60065481565b34801561042e57600080fd5b5061044261043d36600461402c565b611006565b6040516102c29291906141a7565b34801561045c57600080fd5b506102eb61046b366004613f56565b6110b2565b6102eb61047e366004613e8c565b6110bf565b34801561048f57600080fd5b5061031a61049e366004613f56565b60086020526000908152604090205481565b3480156104bc57600080fd5b5061033d611303565b3480156104d157600080fd5b506102eb6104e0366004613fd8565b611391565b3480156104f157600080fd5b506102eb6113b2565b34801561050657600080fd5b506102b66113c4565b34801561051b57600080fd5b506102eb61052a366004613b5a565b61141b565b34801561053b57600080fd5b5061031a60055481565b34801561055157600080fd5b506102b6610560366004613f56565b60166020526000908152604090205460ff1681565b34801561058157600080fd5b506003546102b69060ff1681565b34801561059b57600080fd5b5061031a60008051602061471a83398151915281565b3480156105bd57600080fd5b50600f5460ff166102b6565b3480156105d557600080fd5b506102eb6105e4366004613eec565b611436565b3480156105f557600080fd5b5061036a610604366004613f56565b61173f565b34801561061557600080fd5b5061031a610624366004613b07565b611751565b34801561063557600080fd5b506102eb610644366004613b5a565b6117e2565b34801561065557600080fd5b506102eb610664366004613bfa565b611899565b34801561067557600080fd5b5061031a610684366004613b07565b60186020526000908152604090205481565b3480156106a257600080fd5b506102eb611c0f565b3480156106b757600080fd5b506102eb6106c6366004613eec565b611c1f565b3480156106d757600080fd5b5060125461036a906001600160a01b031681565b3480156106f757600080fd5b5061036a611f38565b34801561070c57600080fd5b50601354601454601554610740926001600160801b0380821693600160801b92839004821693818316939091049091169085565b604080516001600160801b0396871681529486166020860152928516928401929092529092166060820152608081019190915260a0016102c2565b34801561078757600080fd5b5061079b610796366004613f56565b611f47565b6040805182516001600160a01b031681526020808401516001600160401b039081169183019190915292820151909216908201526060016102c2565b3480156107e357600080fd5b5061033d611f58565b3480156107f857600080fd5b506102eb610807366004613ca0565b611f67565b34801561081857600080fd5b5061031a60008051602061469a83398151915281565b34801561083a57600080fd5b506102b6610849366004613f56565b60196020526000908152604090205460ff1681565b34801561086a57600080fd5b5061031a610879366004613f56565b612029565b34801561088a57600080fd5b506102eb610899366004613b95565b612048565b3480156108aa57600080fd5b5061033d6108b9366004613f56565b612081565b3480156108ca57600080fd5b506102b6612287565b3480156108df57600080fd5b506102eb6108ee366004613cff565b6122bf565b3480156108ff57600080fd5b506102eb61090e366004613fa6565b61241c565b34801561091f57600080fd5b5061031a61092e366004613b07565b612437565b34801561093f57600080fd5b506102eb61094e366004613b07565b612442565b34801561095f57600080fd5b506102eb61096e366004613f1e565b61246c565b34801561097f57600080fd5b5061033d61098e366004613f56565b612487565b34801561099f57600080fd5b5061031a6109ae366004613b07565b60176020526000908152604090205481565b3480156109cc57600080fd5b506102b66109db366004613b28565b6001600160a01b039182166000908152600d6020908152604080832093909416825291909152205460ff1690565b348015610a1557600080fd5b506102eb610a24366004613cd6565b6124a4565b348015610a3557600080fd5b506102eb610a44366004614001565b6124e7565b348015610a5557600080fd5b506102b6610a64366004613f56565b61250d565b348015610a7557600080fd5b506102eb610a84366004613b07565b6125e0565b6000610a9482612631565b92915050565b610aa2612656565b610aac82826126b5565b5050565b606060018054610abf906145a6565b80601f0160208091040260200160405190810160405280929190818152602001828054610aeb906145a6565b8015610b385780601f10610b0d57610100808354040283529160200191610b38565b820191906000526020600020905b815481529060010190602001808311610b1b57829003601f168201915b5050505050905090565b6000610b4d8261250d565b610bb45760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201526c3c34b9ba32b73a103a37b5b2b760991b60648201526084015b60405180910390fd5b506000908152600c60205260409020546001600160a01b031690565b610bd8612656565b8051825114610c295760405162461bcd60e51b815260206004820152601e60248201527f5368696e696b693a20696e707574206461746120697320696e76616c696400006044820152606401610bab565b60005b8251811015610d505760008051602061471a833981519152838281518110610c6457634e487b7160e01b600052603260045260246000fd5b60200260200101511480610cac575060008051602061469a833981519152838281518110610ca257634e487b7160e01b600052603260045260246000fd5b6020026020010151145b610cc85760405162461bcd60e51b8152600401610bab906142fe565b818181518110610ce857634e487b7160e01b600052603260045260246000fd5b602002602001015160096000858481518110610d1457634e487b7160e01b600052603260045260246000fd5b602002602001015181526020019081526020016000209080519060200190610d3d929190613942565b5080610d48816145e1565b915050610c2c565b505050565b6000610d608261173f565b9050806001600160a01b0316836001600160a01b03161415610dcf5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b6064820152608401610bab565b336001600160a01b0382161480610deb5750610deb81336109db565b610e595760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f6044820152781ddb995c881b9bdc88185c1c1c9bdd995908199bdc88185b1b603a1b6064820152608401610bab565b610d508383836127ae565b610e6c612656565b610e7461280a565b6005548183610e81610f9c565b610e8b9190614518565b610e959190614518565b1115610eb35760405162461bcd60e51b8152600401610bab906142c9565b8115610f21576002600554610ec89190614530565b82610ee060008051602061471a833981519152612029565b610eea9190614518565b1115610f085760405162461bcd60e51b8152600401610bab90614248565b610f21838360008051602061471a833981519152612850565b8015610d50576002600554610f369190614530565b600554610f439190614563565b81610f5b60008051602061469a833981519152612029565b610f659190614518565b1115610f835760405162461bcd60e51b8152600401610bab90614422565b610d50838260008051602061469a833981519152612850565b6000805160206146ba833981519152546000805160206146fa8339815191525460008051602061471a83398151915260005260008051602061475a8339815191525460076020526000805160206146da83398151915254039190030190565b610d5083838361286b565b60008281526011602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b031692820192909252829161107b5750604080518082019091526010546001600160a01b0381168252600160a01b90046001600160601b031660208201525b60208101516000906127109061109a906001600160601b031687614544565b6110a49190614530565b915196919550909350505050565b6110ba612656565b600655565b6002600e5414156110e25760405162461bcd60e51b8152600401610bab9061446c565b6002600e553233146111065760405162461bcd60e51b8152600401610bab90614335565b61110e61280a565b600061111a8383612bc8565b905060065481111561113e5760405162461bcd60e51b8152600401610bab906143cf565b6111466113c4565b6111a15760405162461bcd60e51b815260206004820152602660248201527f5368696e696b693a207075626c69632073616c6520686173206e6f74206265676044820152651d5b881e595d60d21b6064820152608401610bab565b600554816111ad610f9c565b6111b79190614518565b11156111d55760405162461bcd60e51b8152600401610bab906142c9565b33600090815260176020526040812080548392906111f4908490614518565b909155505060155460009061120a908390614544565b90508034101561125c5760405162461bcd60e51b815260206004820152601d60248201527f5368696e696b693a20696e73756666696369656e742062616c616e63650000006044820152606401610bab565b8034111561127757611277336112728334614563565b612e83565b60005b84518160ff1610156112f7576112e533858360ff16815181106112ad57634e487b7160e01b600052603260045260246000fd5b6020026020010151878460ff16815181106112d857634e487b7160e01b600052603260045260246000fd5b6020026020010151612850565b806112ef816145fc565b91505061127a565b50506001600e55505050565b60048054611310906145a6565b80601f016020809104026020016040519081016040528092919081815260200182805461133c906145a6565b80156113895780601f1061135e57610100808354040283529160200191611389565b820191906000526020600020905b81548152906001019060200180831161136c57829003601f168201915b505050505081565b611399612656565b6001600160801b03908116600160801b02911617601355565b6113ba612656565b6113c2612f19565b565b601554600090158015906113e357506014546001600160801b03164210155b80156114165750601454611409906001600160801b03600160801b8204811691166144f6565b6001600160801b03164211155b905090565b610d5083838360405180602001604052806000815250612048565b80516114545760405162461bcd60e51b8152600401610bab90614292565b60005b8151811015610aac57600061149283838151811061148557634e487b7160e01b600052603260045260246000fd5b6020026020010151612f65565b80519091506001600160a01b031633146114be5760405162461bcd60e51b8152600401610bab90614203565b601960008484815181106114e257634e487b7160e01b600052603260045260246000fd5b60209081029190910181015182528101919091526040016000205460ff1661154c5760405162461bcd60e51b815260206004820152601e60248201527f5368696e696b693a20746f6b656e4964206973206e6f74206c6f636b656400006044820152606401610bab565b604051806060016040528082600001516001600160a01b0316815260200182602001516001600160401b0316815260200160006001600160401b0316815250600a60008585815181106115af57634e487b7160e01b600052603260045260246000fd5b6020908102919091018101518252818101929092526040908101600090812084518154948601516001600160a01b039091166001600160e01b031990951694909417600160a01b6001600160401b03958616021781559390910151600190930180546001600160401b031916939092169290921790558351601990829086908690811061164c57634e487b7160e01b600052603260045260246000fd5b6020026020010151815260200190815260200160002060006101000a81548160ff02191690831515021790555060006016600085858151811061169f57634e487b7160e01b600052603260045260246000fd5b6020026020010151815260200190815260200160002060006101000a81548160ff0219169083151502179055507fb371d42b3715509a27f3109f6ac1ef6b7d7e7f8e9232b738ed17338be6cf95803384848151811061170e57634e487b7160e01b600052603260045260246000fd5b60200260200101516040516117249291906141a7565b60405180910390a15080611737816145e1565b915050611457565b600061174a82612f65565b5192915050565b60006001600160a01b0382166117bd5760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b6064820152608401610bab565b506001600160a01b03166000908152600b60205260409020546001600160801b031690565b336117ec8261173f565b6001600160a01b0316146118385760405162461bcd60e51b815260206004820152601360248201527229b434b734b5b49d1027b7363c9037bbb732b960691b6044820152606401610bab565b60008181526016602052604090205460ff161561188e576000818152601660205260409020805460ff1916905561187083838361141b565b6000818152601660205260409020805460ff19166001179055505050565b610d5083838361141b565b6002600e5414156118bc5760405162461bcd60e51b8152600401610bab9061446c565b6002600e553233146118e05760405162461bcd60e51b8152600401610bab90614335565b6118e861280a565b6001600160a01b03861633146119405760405162461bcd60e51b815260206004820152601f60248201527f5368696e696b693a2063616c6c6572206973206e6f74207265636569766572006044820152606401610bab565b60125460405163d907f98d60e01b81526001600160a01b039091169063d907f98d9061197a908990899089908990899089906004016140f9565b602060405180830381600087803b15801561199457600080fd5b505af11580156119a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119cc9190613f3a565b611a245760405162461bcd60e51b815260206004820152602360248201527f5368696e696b693a207369676e617475726520636c61696d20697320696e76616044820152621b1a5960ea1b6064820152608401610bab565b6000611a308686612bc8565b9050600654811115611a545760405162461bcd60e51b8152600401610bab906143cf565b611a5c612287565b611ab45760405162461bcd60e51b815260206004820152602360248201527f5368696e696b693a207072652073616c6520686173206e6f7420626567756e206044820152621e595d60ea1b6064820152608401610bab565b60055481611ac0610f9c565b611aca9190614518565b1115611ae85760405162461bcd60e51b8152600401610bab906142c9565b336000908152601860205260409020548490611b05908390614518565b1115611b685760405162461bcd60e51b815260206004820152602c60248201527f5368696e696b693a2063616e206e6f74206d696e74206772656174657220746860448201526b185b881dda1a5d19531a5cdd60a21b6064820152608401610bab565b3360009081526018602052604081208054839290611b87908490614518565b90915550600090505b86518160ff161015611c0057611bee33878360ff1681518110611bc357634e487b7160e01b600052603260045260246000fd5b6020026020010151898460ff16815181106112d857634e487b7160e01b600052603260045260246000fd5b80611bf8816145fc565b915050611b90565b50506001600e55505050505050565b611c17612656565b6113c261309f565b8051611c3d5760405162461bcd60e51b8152600401610bab90614292565b60005b8151811015610aac576000611c6e83838151811061148557634e487b7160e01b600052603260045260246000fd5b80519091506001600160a01b03163314611c9a5760405162461bcd60e51b8152600401610bab90614203565b60196000848481518110611cbe57634e487b7160e01b600052603260045260246000fd5b60209081029190910181015182528101919091526040016000205460ff1615611d265760405162461bcd60e51b815260206004820152601a60248201527914da1a5b9a5ada4e881d1bdad95b9259081a5cc81b1bd8dad95960321b6044820152606401610bab565b6000429050604051806060016040528083600001516001600160a01b0316815260200183602001516001600160401b03168152602001826001600160401b0316815250600a6000868681518110611d8d57634e487b7160e01b600052603260045260246000fd5b6020908102919091018101518252818101929092526040908101600090812084518154948601516001600160a01b039091166001600160e01b031990951694909417600160a01b6001600160401b03958616021781559390910151600193840180546001600160401b0319169190931617909155855160199190879087908110611e2757634e487b7160e01b600052603260045260246000fd5b6020026020010151815260200190815260200160002060006101000a81548160ff021916908315150217905550600160166000868681518110611e7a57634e487b7160e01b600052603260045260246000fd5b6020026020010151815260200190815260200160002060006101000a81548160ff0219169083151502179055507f600eab1037adedc39da34f0f0beb7f46da5216d4669a5bc9d0ae8b8fc12814b733858581518110611ee957634e487b7160e01b600052603260045260246000fd5b602090810291909101810151604080516001600160a01b039094168452918301526001600160401b0384169082015260600160405180910390a150508080611f30906145e1565b915050611c40565b6000546001600160a01b031690565b611f4f6139c6565b610a9482612f65565b606060028054610abf906145a6565b6001600160a01b038216331415611fbd5760405162461bcd60e51b815260206004820152601a60248201527922a9219b9918a09d1030b8383937bb32903a379031b0b63632b960311b6044820152606401610bab565b336000818152600d602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6000908152600860209081526040808320546007909252909120540390565b61205384848461286b565b61205f848484846130dc565b61207b5760405162461bcd60e51b8152600401610bab9061437c565b50505050565b606061208c8261250d565b6120f05760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610bab565b60035460ff1661218c5760048054612107906145a6565b80601f0160208091040260200160405190810160405280929190818152602001828054612133906145a6565b80156121805780601f1061215557610100808354040283529160200191612180565b820191906000526020600020905b81548152906001019060200180831161216357829003601f168201915b50505050509050919050565b60606000612199846131f0565b60008181526009602052604090208054919250906121b6906145a6565b80601f01602080910402602001604051908101604052809291908181526020018280546121e2906145a6565b801561222f5780601f106122045761010080835404028352916020019161222f565b820191906000526020600020905b81548152906001019060200180831161221257829003601f168201915b505050505091506000825111612254576040518060200160405280600081525061227f565b8161225e8561327c565b60405160200161226f929190614079565b6040516020818303038152906040525b949350505050565b6013546000906001600160801b031642108015906114165750601354611409906001600160801b03600160801b8204811691166144f6565b6122c7612656565b6001600160a01b03831661232c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610bab565b601254604051635195219360e11b81526001600160a01b039091169063a32a432690612360908690869086906004016141c0565b602060405180830381600087803b15801561237a57600080fd5b505af115801561238e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123b29190613f3a565b6124135760405162461bcd60e51b815260206004820152602c60248201527f5368696e696b693a207369676e6174757265207472616e73666572206f776e6560448201526b1c881a5cc81a5b9d985b1a5960a21b6064820152608401610bab565b610d5083613395565b612424612656565b8051610aac906004906020840190613942565b6000610a94826133e5565b61244a612656565b601280546001600160a01b0319166001600160a01b0392909216919091179055565b612474612656565b6003805460ff1916911515919091179055565b6000818152600960205260409020805460609190612107906145a6565b6124ac612656565b6002600e5414156124cf5760405162461bcd60e51b8152600401610bab9061446c565b6002600e556124de8282612e83565b50506001600e55565b6124ef612656565b6001600160801b03918216600160801b029190921617601455601555565b60008051602061471a833981519152600090815260076020526000805160206146da833981519152548210801561256a575060008051602061471a833981519152600052600860205260008051602061475a833981519152548210155b806125cb575060008051602061469a83398151915260005260076020526000805160206146fa83398151915254821080156125cb575060008051602061469a83398151915260005260086020526000805160206146ba833981519152548210155b156125d857506001919050565b506000919050565b6125e8612656565b6002600e54141561260b5760405162461bcd60e51b8152600401610bab9061446c565b6002600e5561261a8147612e83565b506001600e55565b6001600160a01b03163b151590565b60006001600160e01b0319821663152a902d60e11b1480610a945750610a9482613483565b3361265f611f38565b6001600160a01b0316146113c25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bab565b6127106001600160601b03821611156127235760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b6064820152608401610bab565b6001600160a01b0382166127755760405162461bcd60e51b815260206004820152601960248201527822a921991c9c189d1034b73b30b634b2103932b1b2b4bb32b960391b6044820152606401610bab565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217601055565b6000828152600c602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600f5460ff16156113c25760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610bab565b610d50838360405180602001604052806000815250846134d3565b600061287682612f65565b80519091506000906001600160a01b0316336001600160a01b031614806128ad5750336128a284610b42565b6001600160a01b0316145b806128bf575081516128bf90336109db565b9050806129295760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b6064820152608401610bab565b846001600160a01b031682600001516001600160a01b03161461299d5760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746044820152651037bbb732b960d11b6064820152608401610bab565b6001600160a01b038416612a015760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b6064820152608401610bab565b612a0e8585856001613898565b612a1e60008484600001516127ae565b6001600160a01b038086166000908152600b6020908152604080832080546000196001600160801b038083169190910181166001600160801b0319928316179092558986168086528386208054808516600190810190951693169290921790915582516060810184529081526001600160401b034281168286019081528285018781528b8852600a9096528487209251835491518316600160a01b026001600160e01b03199092169089161717825593519082018054919094166001600160401b031990911617909255908601808352912054909116612b9057612b018161250d565b15612b90576040805160608101825284516001600160a01b0390811682526020808701516001600160401b039081168285019081528886015182168587019081526000888152600a909452959092209351845492518216600160a01b026001600160e01b0319909316931692909217178255915160019091018054919092166001600160401b03199091161790555b5082846001600160a01b0316866001600160a01b031660008051602061473a83398151915260405160405180910390a45b5050505050565b80518251600091829114612c1a5760405162461bcd60e51b815260206004820152601960248201527814da1a5b9a5ada4e881a5b9c1d5d081a5cc81a5b9d985b1a59603a1b6044820152606401610bab565b60005b84518160ff161015612e7b5760008051602061471a833981519152858260ff1681518110612c5b57634e487b7160e01b600052603260045260246000fd5b60200260200101511480612ca6575060008051602061469a833981519152858260ff1681518110612c9c57634e487b7160e01b600052603260045260246000fd5b6020026020010151145b612cc25760405162461bcd60e51b8152600401610bab906142fe565b60008051602061471a833981519152858260ff1681518110612cf457634e487b7160e01b600052603260045260246000fd5b60200260200101511415612d9c576002600554612d119190614530565b848260ff1681518110612d3457634e487b7160e01b600052603260045260246000fd5b6020026020010151612d6f878460ff1681518110612d6257634e487b7160e01b600052603260045260246000fd5b6020026020010151612029565b612d799190614518565b1115612d975760405162461bcd60e51b8152600401610bab90614248565b612e31565b6002600554612dab9190614530565b600554612db89190614563565b612dde868360ff1681518110612d6257634e487b7160e01b600052603260045260246000fd5b858360ff1681518110612e0157634e487b7160e01b600052603260045260246000fd5b6020026020010151612e139190614518565b1115612e315760405162461bcd60e51b8152600401610bab90614422565b838160ff1681518110612e5457634e487b7160e01b600052603260045260246000fd5b602002602001015182612e679190614518565b915080612e73816145fc565b915050612c1d565b509392505050565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114612ed0576040519150601f19603f3d011682016040523d82523d6000602084013e612ed5565b606091505b5050905080610d505760405162461bcd60e51b815260206004820152601060248201526f3a3930b739b332b9103330b4b632b21760811b6044820152606401610bab565b612f216138f9565b600f805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b604051612f5b91906140a8565b60405180910390a1565b612f6d6139c6565b612f768261250d565b612fd55760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736044820152693a32b73a103a37b5b2b760b11b6064820152608401610bab565b6000828152600a6020908152604091829020825160608101845281546001600160a01b0381168083526001600160401b03600160a01b90920482169483019490945260019092015490911692810192909252156130325792915050565b506000199091016000818152600a6020908152604091829020825160608101845281546001600160a01b0381168083526001600160401b03600160a01b90920482169483019490945260019290920154909116928101929092529192911561309a5792915050565b613032565b6130a761280a565b600f805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612f4e3390565b60006130f0846001600160a01b0316612622565b156131e557604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906131279033908990889088906004016140bc565b602060405180830381600087803b15801561314157600080fd5b505af1925050508015613171575060408051601f3d908101601f1916820190925261316e91810190613f8a565b60015b6131cb573d80801561319f576040519150601f19603f3d011682016040523d82523d6000602084013e6131a4565b606091505b5080516131c35760405162461bcd60e51b8152600401610bab9061437c565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061227f565b506001949350505050565b60008051602061471a833981519152600090815260076020526000805160206146da833981519152548210801561324d575060008051602061471a833981519152600052600860205260008051602061475a833981519152548210155b15613267575060008051602061471a833981519152919050565b5060008051602061469a833981519152919050565b6060816132a05750506040805180820190915260018152600360fc1b602082015290565b8160005b81156132ca57806132b4816145e1565b91506132c39050600a83614530565b91506132a4565b6000816001600160401b038111156132f257634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561331c576020820181803683370190505b5090505b841561227f57613331600183614563565b915061333e600a8661461c565b613349906030614518565b60f81b81838151811061336c57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535061338e600a86614530565b9450613320565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006001600160a01b0382166134575760405162461bcd60e51b815260206004820152603160248201527f455243373231413a206e756d626572206d696e74656420717565727920666f7260448201527020746865207a65726f206164647265737360781b6064820152608401610bab565b506001600160a01b03166000908152600b6020526040902054600160801b90046001600160801b031690565b60006001600160e01b031982166380ac58cd60e01b14806134b457506001600160e01b03198216635b5e139f60e01b145b80610a9457506301ffc9a760e01b6001600160e01b0319831614610a94565b6000818152600760205260409020546001600160a01b0385166135425760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610bab565b61354b8161250d565b156135985760405162461bcd60e51b815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e7465640000006044820152606401610bab565b836135ef5760405162461bcd60e51b815260206004820152602160248201527f455243373231413a207175616e7469747920746f206d696e74206973207a65726044820152606f60f81b6064820152608401610bab565b6135fc6000868387613898565b6000600b6000876001600160a01b03166001600160a01b031681526020019081526020016000206040518060400160405290816000820160009054906101000a90046001600160801b03166001600160801b03166001600160801b031681526020016000820160109054906101000a90046001600160801b03166001600160801b03166001600160801b03168152505090506040518060400160405280868360000151016001600160801b03168152602001868360200151016001600160801b0316815250600b6000886001600160a01b03166001600160a01b0316815260200190815260200160002060008201518160000160006101000a8154816001600160801b0302191690836001600160801b0316021790555060208201518160000160106101000a8154816001600160801b0302191690836001600160801b031602179055509050506040518060600160405280876001600160a01b03168152602001426001600160401b0316815260200160006001600160401b0316815250600a600084815260200190815260200160002060008201518160000160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060208201518160000160146101000a8154816001600160401b0302191690836001600160401b0316021790555060408201518160010160006101000a8154816001600160401b0302191690836001600160401b03160217905550905050600082905060005b868110156138825760405182906001600160a01b038a169060009060008051602061473a833981519152908290a461385a60008984896130dc565b6138765760405162461bcd60e51b8152600401610bab9061437c565b6001918201910161381f565b5060008481526007602052604090205550612bc1565b6001600160a01b0384161561207b5760008281526016602052604090205460ff161561207b5760405162461bcd60e51b815260206004820152601060248201526f5368696e696b693a207374616b696e6760801b6044820152606401610bab565b600f5460ff166113c25760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610bab565b82805461394e906145a6565b90600052602060002090601f01602090048101928261397057600085556139b6565b82601f1061398957805160ff19168380011785556139b6565b828001600101855582156139b6579182015b828111156139b657825182559160200191906001019061399b565b506139c29291506139e6565b5090565b604080516060810182526000808252602082018190529181019190915290565b5b808211156139c257600081556001016139e7565b80356001600160a01b0381168114613a1257600080fd5b919050565b600082601f830112613a27578081fd5b81356020613a3c613a37836144d3565b6144a3565b80838252828201915082860187848660051b8901011115613a5b578586fd5b855b85811015613a7957813584529284019290840190600101613a5d565b5090979650505050505050565b600082601f830112613a96578081fd5b81356001600160401b03811115613aaf57613aaf61465c565b613ac2601f8201601f19166020016144a3565b818152846020838601011115613ad6578283fd5b816020850160208301379081016020019190915292915050565b80356001600160801b0381168114613a1257600080fd5b600060208284031215613b18578081fd5b613b21826139fb565b9392505050565b60008060408385031215613b3a578081fd5b613b43836139fb565b9150613b51602084016139fb565b90509250929050565b600080600060608486031215613b6e578081fd5b613b77846139fb565b9250613b85602085016139fb565b9150604084013590509250925092565b60008060008060808587031215613baa578081fd5b613bb3856139fb565b9350613bc1602086016139fb565b92506040850135915060608501356001600160401b03811115613be2578182fd5b613bee87828801613a86565b91505092959194509250565b60008060008060008060c08789031215613c12578182fd5b613c1b876139fb565b955060208701356001600160401b0380821115613c36578384fd5b613c428a838b01613a17565b96506040890135915080821115613c57578384fd5b613c638a838b01613a17565b9550606089013594506080890135935060a0890135915080821115613c86578283fd5b50613c9389828a01613a86565b9150509295509295509295565b60008060408385031215613cb2578182fd5b613cbb836139fb565b91506020830135613ccb81614672565b809150509250929050565b60008060408385031215613ce8578182fd5b613cf1836139fb565b946020939093013593505050565b600080600060608486031215613d13578081fd5b613d1c846139fb565b92506020840135915060408401356001600160401b03811115613d3d578182fd5b613d4986828701613a86565b9150509250925092565b600080600060608486031215613d67578081fd5b613d70846139fb565b95602085013595506040909401359392505050565b60008060408385031215613d97578182fd5b613da0836139fb565b915060208301356001600160601b0381168114613ccb578182fd5b60008060408385031215613dcd578182fd5b82356001600160401b0380821115613de3578384fd5b613def86838701613a17565b9350602091508185013581811115613e05578384fd5b8501601f81018713613e15578384fd5b8035613e23613a37826144d3565b8082825285820191508584018a878560051b8701011115613e42578788fd5b875b84811015613e7b57813587811115613e5a57898afd5b613e688d8a838a0101613a86565b8552509287019290870190600101613e44565b50979a909950975050505050505050565b60008060408385031215613e9e578182fd5b82356001600160401b0380821115613eb4578384fd5b613ec086838701613a17565b93506020850135915080821115613ed5578283fd5b50613ee285828601613a17565b9150509250929050565b600060208284031215613efd578081fd5b81356001600160401b03811115613f12578182fd5b61227f84828501613a17565b600060208284031215613f2f578081fd5b8135613b2181614672565b600060208284031215613f4b578081fd5b8151613b2181614672565b600060208284031215613f67578081fd5b5035919050565b600060208284031215613f7f578081fd5b8135613b2181614683565b600060208284031215613f9b578081fd5b8151613b2181614683565b600060208284031215613fb7578081fd5b81356001600160401b03811115613fcc578182fd5b61227f84828501613a86565b60008060408385031215613fea578182fd5b613ff383613af0565b9150613b5160208401613af0565b600080600060608486031215614015578081fd5b61401e84613af0565b9250613b8560208501613af0565b6000806040838503121561403e578182fd5b50508035926020909101359150565b6000815180845261406581602086016020860161457a565b601f01601f19169290920160200192915050565b6000835161408b81846020880161457a565b83519083019061409f81836020880161457a565b01949350505050565b6001600160a01b0391909116815260200190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906140ef9083018461404d565b9695505050505050565b6001600160a01b038716815260c060208083018290528751918301829052600091888201919060e0850190845b8181101561414257845183529383019391830191600101614126565b505084810360408601528851808252908201925081890190845b818110156141785782518552938301939183019160010161415c565b5050505085606084015284608084015282810360a084015261419a818561404d565b9998505050505050505050565b6001600160a01b03929092168252602082015260400190565b60018060a01b03841681528260208201526060604082015260006141e7606083018461404d565b95945050505050565b602081526000613b21602083018461404d565b60208082526025908201527f5368696e696b693a20596f7520617265206e6f74206f776e6572206f6620746f6040820152641ad95b925960da1b606082015260800190565b6020808252602a908201527f5368696e696b693a20747970653120696e7075742069732072656163686564206040820152696d617820737570706c7960b01b606082015260800190565b6020808252601d908201527f5368696e696b693a20746f6b656e496473206973206e6f74207a65726f000000604082015260600190565b6020808252601b908201527a5368696e696b693a2072656163686564206d617820737570706c7960281b604082015260600190565b6020808252601e908201527f5368696e696b693a207479706520696e70757420697320696e76616c69640000604082015260600190565b60208082526027908201527f5368696e696b693a205468652063616c6c657220697320616e6f7468657220636040820152661bdb9d1c9858dd60ca1b606082015260800190565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b60208082526033908201527f5368696e696b693a207175616e7469747920746f206d696e74206973206c657360408201527273207468616e206d6178426174636853697a6560681b606082015260800190565b6020808252602a908201527f5368696e696b693a20747970653220696e7075742069732072656163686564206040820152696d617820737570706c7960b01b606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b604051601f8201601f191681016001600160401b03811182821017156144cb576144cb61465c565b604052919050565b60006001600160401b038211156144ec576144ec61465c565b5060051b60200190565b60006001600160801b0382811684821680830382111561409f5761409f614630565b6000821982111561452b5761452b614630565b500190565b60008261453f5761453f614646565b500490565b600081600019048311821515161561455e5761455e614630565b500290565b60008282101561457557614575614630565b500390565b60005b8381101561459557818101518382015260200161457d565b8381111561207b5750506000910152565b600181811c908216806145ba57607f821691505b602082108114156145db57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156145f5576145f5614630565b5060010190565b600060ff821660ff81141561461357614613614630565b60010192915050565b60008261462b5761462b614646565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b801515811461468057600080fd5b50565b6001600160e01b03198116811461468057600080fdfe1a571ff5fd2aaba77df45c20471ba2d62945f00b32030fbe6af65f7cb68f385f6c619f8adafea4aed213face60fc9bd675a961eca0e293d4ec41b0d16c987a63f097807904505033fbef5d8343c54af4ef71d82caba802facfd7d355077bacb92222b8c6b781476d2f2af5501d17e9306e4c4cdcb6da196b79b3d09077bc2d4833d9b6a83d9f6c40374670302183487afd6f6b41426b9c3518fb7bfca094a544ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef273272298579b7c5554881f6c8aa3b016756c4e6bf348342e429301204ad6f81a2646970667358221220a0a7e22b02bcc154029b51aa108467ed86496a0d8dc1798ace3f2c258b3cb39264736f6c634300080400331a571ff5fd2aaba77df45c20471ba2d62945f00b32030fbe6af65f7cb68f385f6c619f8adafea4aed213face60fc9bd675a961eca0e293d4ec41b0d16c987a63f097807904505033fbef5d8343c54af4ef71d82caba802facfd7d355077bacb92222b8c6b781476d2f2af5501d17e9306e4c4cdcb6da196b79b3d09077bc2d4833d9b6a83d9f6c40374670302183487afd6f6b41426b9c3518fb7bfca094a544273272298579b7c5554881f6c8aa3b016756c4e6bf348342e429301204ad6f81000000000000000000000000648e3710392dee333901e8a43b19c65854fa1a920000000000000000000000000000000000000000000000000000000000001e61000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000004a68747470733a2f2f697066732e7368696e696b2e696f2f697066732f516d5873716354477444437254685769727451767a7a54474e4e59336b6433387a6662556b624d4a77365937333500000000000000000000000000000000000000000000
Deployed Bytecode
0x60806040526004361061028a5760003560e01c806301ffc9a71461029657806302fa7c47146102cb5780630443bdf9146102ed57806306fdde0314610328578063081812fc1461034a57806308b5985c14610377578063095ea7b3146103975780631681d6da146103b757806318160ddd146103d757806323b872dd146103ec5780632913daa01461040c5780632a55205a146104225780632b26a6bf146104505780632cc4d9dd146104705780632df98c3c146104835780633a367a67146104b05780633dcdc35d146104c55780633f4ba83a146104e55780633f5e4741146104fa57806342842e0e1461050f57806345c0f5331461052f578063512fe3c5146105455780635183022714610575578063578e694d1461058f5780635c975abb146105b15780635d36598f146105c95780636352211e146105e957806370a082311461060957806379aef52d146106295780637a072ef71461064957806381403082146106695780638456cb5914610696578063859610c6146106ab57806389b8a38b146106cb5780638da5cb5b146106eb57806390aa0b0f146107005780639231ab2a1461077b57806395d89b41146107d7578063a22cb465146107ec578063b15ff6e11461080c578063b45a3c0e1461082e578063b524abcf1461085e578063b88d4fde1461087e578063c87b56dd1461089e578063cd4c16e2146108be578063d05bbf99146108d3578063da1b9e08146108f3578063dc33e68114610913578063e08a660514610933578063e0a8085314610953578063e4a51e7414610973578063e8831b0214610993578063e985e9c5146109c0578063f3fef3a314610a09578063f58fc73014610a29578063f8e76cc014610a49578063fa09e63014610a6957600080fd5b3661029157005b600080fd5b3480156102a257600080fd5b506102b66102b1366004613f6e565b610a89565b60405190151581526020015b60405180910390f35b3480156102d757600080fd5b506102eb6102e6366004613d85565b610a9a565b005b3480156102f957600080fd5b5061031a610308366004613f56565b60076020526000908152604090205481565b6040519081526020016102c2565b34801561033457600080fd5b5061033d610ab0565b6040516102c291906141f0565b34801561035657600080fd5b5061036a610365366004613f56565b610b42565b6040516102c291906140a8565b34801561038357600080fd5b506102eb610392366004613dbb565b610bd0565b3480156103a357600080fd5b506102eb6103b2366004613cd6565b610d55565b3480156103c357600080fd5b506102eb6103d2366004613d53565b610e64565b3480156103e357600080fd5b5061031a610f9c565b3480156103f857600080fd5b506102eb610407366004613b5a565b610ffb565b34801561041857600080fd5b5061031a60065481565b34801561042e57600080fd5b5061044261043d36600461402c565b611006565b6040516102c29291906141a7565b34801561045c57600080fd5b506102eb61046b366004613f56565b6110b2565b6102eb61047e366004613e8c565b6110bf565b34801561048f57600080fd5b5061031a61049e366004613f56565b60086020526000908152604090205481565b3480156104bc57600080fd5b5061033d611303565b3480156104d157600080fd5b506102eb6104e0366004613fd8565b611391565b3480156104f157600080fd5b506102eb6113b2565b34801561050657600080fd5b506102b66113c4565b34801561051b57600080fd5b506102eb61052a366004613b5a565b61141b565b34801561053b57600080fd5b5061031a60055481565b34801561055157600080fd5b506102b6610560366004613f56565b60166020526000908152604090205460ff1681565b34801561058157600080fd5b506003546102b69060ff1681565b34801561059b57600080fd5b5061031a60008051602061471a83398151915281565b3480156105bd57600080fd5b50600f5460ff166102b6565b3480156105d557600080fd5b506102eb6105e4366004613eec565b611436565b3480156105f557600080fd5b5061036a610604366004613f56565b61173f565b34801561061557600080fd5b5061031a610624366004613b07565b611751565b34801561063557600080fd5b506102eb610644366004613b5a565b6117e2565b34801561065557600080fd5b506102eb610664366004613bfa565b611899565b34801561067557600080fd5b5061031a610684366004613b07565b60186020526000908152604090205481565b3480156106a257600080fd5b506102eb611c0f565b3480156106b757600080fd5b506102eb6106c6366004613eec565b611c1f565b3480156106d757600080fd5b5060125461036a906001600160a01b031681565b3480156106f757600080fd5b5061036a611f38565b34801561070c57600080fd5b50601354601454601554610740926001600160801b0380821693600160801b92839004821693818316939091049091169085565b604080516001600160801b0396871681529486166020860152928516928401929092529092166060820152608081019190915260a0016102c2565b34801561078757600080fd5b5061079b610796366004613f56565b611f47565b6040805182516001600160a01b031681526020808401516001600160401b039081169183019190915292820151909216908201526060016102c2565b3480156107e357600080fd5b5061033d611f58565b3480156107f857600080fd5b506102eb610807366004613ca0565b611f67565b34801561081857600080fd5b5061031a60008051602061469a83398151915281565b34801561083a57600080fd5b506102b6610849366004613f56565b60196020526000908152604090205460ff1681565b34801561086a57600080fd5b5061031a610879366004613f56565b612029565b34801561088a57600080fd5b506102eb610899366004613b95565b612048565b3480156108aa57600080fd5b5061033d6108b9366004613f56565b612081565b3480156108ca57600080fd5b506102b6612287565b3480156108df57600080fd5b506102eb6108ee366004613cff565b6122bf565b3480156108ff57600080fd5b506102eb61090e366004613fa6565b61241c565b34801561091f57600080fd5b5061031a61092e366004613b07565b612437565b34801561093f57600080fd5b506102eb61094e366004613b07565b612442565b34801561095f57600080fd5b506102eb61096e366004613f1e565b61246c565b34801561097f57600080fd5b5061033d61098e366004613f56565b612487565b34801561099f57600080fd5b5061031a6109ae366004613b07565b60176020526000908152604090205481565b3480156109cc57600080fd5b506102b66109db366004613b28565b6001600160a01b039182166000908152600d6020908152604080832093909416825291909152205460ff1690565b348015610a1557600080fd5b506102eb610a24366004613cd6565b6124a4565b348015610a3557600080fd5b506102eb610a44366004614001565b6124e7565b348015610a5557600080fd5b506102b6610a64366004613f56565b61250d565b348015610a7557600080fd5b506102eb610a84366004613b07565b6125e0565b6000610a9482612631565b92915050565b610aa2612656565b610aac82826126b5565b5050565b606060018054610abf906145a6565b80601f0160208091040260200160405190810160405280929190818152602001828054610aeb906145a6565b8015610b385780601f10610b0d57610100808354040283529160200191610b38565b820191906000526020600020905b815481529060010190602001808311610b1b57829003601f168201915b5050505050905090565b6000610b4d8261250d565b610bb45760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201526c3c34b9ba32b73a103a37b5b2b760991b60648201526084015b60405180910390fd5b506000908152600c60205260409020546001600160a01b031690565b610bd8612656565b8051825114610c295760405162461bcd60e51b815260206004820152601e60248201527f5368696e696b693a20696e707574206461746120697320696e76616c696400006044820152606401610bab565b60005b8251811015610d505760008051602061471a833981519152838281518110610c6457634e487b7160e01b600052603260045260246000fd5b60200260200101511480610cac575060008051602061469a833981519152838281518110610ca257634e487b7160e01b600052603260045260246000fd5b6020026020010151145b610cc85760405162461bcd60e51b8152600401610bab906142fe565b818181518110610ce857634e487b7160e01b600052603260045260246000fd5b602002602001015160096000858481518110610d1457634e487b7160e01b600052603260045260246000fd5b602002602001015181526020019081526020016000209080519060200190610d3d929190613942565b5080610d48816145e1565b915050610c2c565b505050565b6000610d608261173f565b9050806001600160a01b0316836001600160a01b03161415610dcf5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b6064820152608401610bab565b336001600160a01b0382161480610deb5750610deb81336109db565b610e595760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f6044820152781ddb995c881b9bdc88185c1c1c9bdd995908199bdc88185b1b603a1b6064820152608401610bab565b610d508383836127ae565b610e6c612656565b610e7461280a565b6005548183610e81610f9c565b610e8b9190614518565b610e959190614518565b1115610eb35760405162461bcd60e51b8152600401610bab906142c9565b8115610f21576002600554610ec89190614530565b82610ee060008051602061471a833981519152612029565b610eea9190614518565b1115610f085760405162461bcd60e51b8152600401610bab90614248565b610f21838360008051602061471a833981519152612850565b8015610d50576002600554610f369190614530565b600554610f439190614563565b81610f5b60008051602061469a833981519152612029565b610f659190614518565b1115610f835760405162461bcd60e51b8152600401610bab90614422565b610d50838260008051602061469a833981519152612850565b6000805160206146ba833981519152546000805160206146fa8339815191525460008051602061471a83398151915260005260008051602061475a8339815191525460076020526000805160206146da83398151915254039190030190565b610d5083838361286b565b60008281526011602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b031692820192909252829161107b5750604080518082019091526010546001600160a01b0381168252600160a01b90046001600160601b031660208201525b60208101516000906127109061109a906001600160601b031687614544565b6110a49190614530565b915196919550909350505050565b6110ba612656565b600655565b6002600e5414156110e25760405162461bcd60e51b8152600401610bab9061446c565b6002600e553233146111065760405162461bcd60e51b8152600401610bab90614335565b61110e61280a565b600061111a8383612bc8565b905060065481111561113e5760405162461bcd60e51b8152600401610bab906143cf565b6111466113c4565b6111a15760405162461bcd60e51b815260206004820152602660248201527f5368696e696b693a207075626c69632073616c6520686173206e6f74206265676044820152651d5b881e595d60d21b6064820152608401610bab565b600554816111ad610f9c565b6111b79190614518565b11156111d55760405162461bcd60e51b8152600401610bab906142c9565b33600090815260176020526040812080548392906111f4908490614518565b909155505060155460009061120a908390614544565b90508034101561125c5760405162461bcd60e51b815260206004820152601d60248201527f5368696e696b693a20696e73756666696369656e742062616c616e63650000006044820152606401610bab565b8034111561127757611277336112728334614563565b612e83565b60005b84518160ff1610156112f7576112e533858360ff16815181106112ad57634e487b7160e01b600052603260045260246000fd5b6020026020010151878460ff16815181106112d857634e487b7160e01b600052603260045260246000fd5b6020026020010151612850565b806112ef816145fc565b91505061127a565b50506001600e55505050565b60048054611310906145a6565b80601f016020809104026020016040519081016040528092919081815260200182805461133c906145a6565b80156113895780601f1061135e57610100808354040283529160200191611389565b820191906000526020600020905b81548152906001019060200180831161136c57829003601f168201915b505050505081565b611399612656565b6001600160801b03908116600160801b02911617601355565b6113ba612656565b6113c2612f19565b565b601554600090158015906113e357506014546001600160801b03164210155b80156114165750601454611409906001600160801b03600160801b8204811691166144f6565b6001600160801b03164211155b905090565b610d5083838360405180602001604052806000815250612048565b80516114545760405162461bcd60e51b8152600401610bab90614292565b60005b8151811015610aac57600061149283838151811061148557634e487b7160e01b600052603260045260246000fd5b6020026020010151612f65565b80519091506001600160a01b031633146114be5760405162461bcd60e51b8152600401610bab90614203565b601960008484815181106114e257634e487b7160e01b600052603260045260246000fd5b60209081029190910181015182528101919091526040016000205460ff1661154c5760405162461bcd60e51b815260206004820152601e60248201527f5368696e696b693a20746f6b656e4964206973206e6f74206c6f636b656400006044820152606401610bab565b604051806060016040528082600001516001600160a01b0316815260200182602001516001600160401b0316815260200160006001600160401b0316815250600a60008585815181106115af57634e487b7160e01b600052603260045260246000fd5b6020908102919091018101518252818101929092526040908101600090812084518154948601516001600160a01b039091166001600160e01b031990951694909417600160a01b6001600160401b03958616021781559390910151600190930180546001600160401b031916939092169290921790558351601990829086908690811061164c57634e487b7160e01b600052603260045260246000fd5b6020026020010151815260200190815260200160002060006101000a81548160ff02191690831515021790555060006016600085858151811061169f57634e487b7160e01b600052603260045260246000fd5b6020026020010151815260200190815260200160002060006101000a81548160ff0219169083151502179055507fb371d42b3715509a27f3109f6ac1ef6b7d7e7f8e9232b738ed17338be6cf95803384848151811061170e57634e487b7160e01b600052603260045260246000fd5b60200260200101516040516117249291906141a7565b60405180910390a15080611737816145e1565b915050611457565b600061174a82612f65565b5192915050565b60006001600160a01b0382166117bd5760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b6064820152608401610bab565b506001600160a01b03166000908152600b60205260409020546001600160801b031690565b336117ec8261173f565b6001600160a01b0316146118385760405162461bcd60e51b815260206004820152601360248201527229b434b734b5b49d1027b7363c9037bbb732b960691b6044820152606401610bab565b60008181526016602052604090205460ff161561188e576000818152601660205260409020805460ff1916905561187083838361141b565b6000818152601660205260409020805460ff19166001179055505050565b610d5083838361141b565b6002600e5414156118bc5760405162461bcd60e51b8152600401610bab9061446c565b6002600e553233146118e05760405162461bcd60e51b8152600401610bab90614335565b6118e861280a565b6001600160a01b03861633146119405760405162461bcd60e51b815260206004820152601f60248201527f5368696e696b693a2063616c6c6572206973206e6f74207265636569766572006044820152606401610bab565b60125460405163d907f98d60e01b81526001600160a01b039091169063d907f98d9061197a908990899089908990899089906004016140f9565b602060405180830381600087803b15801561199457600080fd5b505af11580156119a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119cc9190613f3a565b611a245760405162461bcd60e51b815260206004820152602360248201527f5368696e696b693a207369676e617475726520636c61696d20697320696e76616044820152621b1a5960ea1b6064820152608401610bab565b6000611a308686612bc8565b9050600654811115611a545760405162461bcd60e51b8152600401610bab906143cf565b611a5c612287565b611ab45760405162461bcd60e51b815260206004820152602360248201527f5368696e696b693a207072652073616c6520686173206e6f7420626567756e206044820152621e595d60ea1b6064820152608401610bab565b60055481611ac0610f9c565b611aca9190614518565b1115611ae85760405162461bcd60e51b8152600401610bab906142c9565b336000908152601860205260409020548490611b05908390614518565b1115611b685760405162461bcd60e51b815260206004820152602c60248201527f5368696e696b693a2063616e206e6f74206d696e74206772656174657220746860448201526b185b881dda1a5d19531a5cdd60a21b6064820152608401610bab565b3360009081526018602052604081208054839290611b87908490614518565b90915550600090505b86518160ff161015611c0057611bee33878360ff1681518110611bc357634e487b7160e01b600052603260045260246000fd5b6020026020010151898460ff16815181106112d857634e487b7160e01b600052603260045260246000fd5b80611bf8816145fc565b915050611b90565b50506001600e55505050505050565b611c17612656565b6113c261309f565b8051611c3d5760405162461bcd60e51b8152600401610bab90614292565b60005b8151811015610aac576000611c6e83838151811061148557634e487b7160e01b600052603260045260246000fd5b80519091506001600160a01b03163314611c9a5760405162461bcd60e51b8152600401610bab90614203565b60196000848481518110611cbe57634e487b7160e01b600052603260045260246000fd5b60209081029190910181015182528101919091526040016000205460ff1615611d265760405162461bcd60e51b815260206004820152601a60248201527914da1a5b9a5ada4e881d1bdad95b9259081a5cc81b1bd8dad95960321b6044820152606401610bab565b6000429050604051806060016040528083600001516001600160a01b0316815260200183602001516001600160401b03168152602001826001600160401b0316815250600a6000868681518110611d8d57634e487b7160e01b600052603260045260246000fd5b6020908102919091018101518252818101929092526040908101600090812084518154948601516001600160a01b039091166001600160e01b031990951694909417600160a01b6001600160401b03958616021781559390910151600193840180546001600160401b0319169190931617909155855160199190879087908110611e2757634e487b7160e01b600052603260045260246000fd5b6020026020010151815260200190815260200160002060006101000a81548160ff021916908315150217905550600160166000868681518110611e7a57634e487b7160e01b600052603260045260246000fd5b6020026020010151815260200190815260200160002060006101000a81548160ff0219169083151502179055507f600eab1037adedc39da34f0f0beb7f46da5216d4669a5bc9d0ae8b8fc12814b733858581518110611ee957634e487b7160e01b600052603260045260246000fd5b602090810291909101810151604080516001600160a01b039094168452918301526001600160401b0384169082015260600160405180910390a150508080611f30906145e1565b915050611c40565b6000546001600160a01b031690565b611f4f6139c6565b610a9482612f65565b606060028054610abf906145a6565b6001600160a01b038216331415611fbd5760405162461bcd60e51b815260206004820152601a60248201527922a9219b9918a09d1030b8383937bb32903a379031b0b63632b960311b6044820152606401610bab565b336000818152600d602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6000908152600860209081526040808320546007909252909120540390565b61205384848461286b565b61205f848484846130dc565b61207b5760405162461bcd60e51b8152600401610bab9061437c565b50505050565b606061208c8261250d565b6120f05760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610bab565b60035460ff1661218c5760048054612107906145a6565b80601f0160208091040260200160405190810160405280929190818152602001828054612133906145a6565b80156121805780601f1061215557610100808354040283529160200191612180565b820191906000526020600020905b81548152906001019060200180831161216357829003601f168201915b50505050509050919050565b60606000612199846131f0565b60008181526009602052604090208054919250906121b6906145a6565b80601f01602080910402602001604051908101604052809291908181526020018280546121e2906145a6565b801561222f5780601f106122045761010080835404028352916020019161222f565b820191906000526020600020905b81548152906001019060200180831161221257829003601f168201915b505050505091506000825111612254576040518060200160405280600081525061227f565b8161225e8561327c565b60405160200161226f929190614079565b6040516020818303038152906040525b949350505050565b6013546000906001600160801b031642108015906114165750601354611409906001600160801b03600160801b8204811691166144f6565b6122c7612656565b6001600160a01b03831661232c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610bab565b601254604051635195219360e11b81526001600160a01b039091169063a32a432690612360908690869086906004016141c0565b602060405180830381600087803b15801561237a57600080fd5b505af115801561238e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123b29190613f3a565b6124135760405162461bcd60e51b815260206004820152602c60248201527f5368696e696b693a207369676e6174757265207472616e73666572206f776e6560448201526b1c881a5cc81a5b9d985b1a5960a21b6064820152608401610bab565b610d5083613395565b612424612656565b8051610aac906004906020840190613942565b6000610a94826133e5565b61244a612656565b601280546001600160a01b0319166001600160a01b0392909216919091179055565b612474612656565b6003805460ff1916911515919091179055565b6000818152600960205260409020805460609190612107906145a6565b6124ac612656565b6002600e5414156124cf5760405162461bcd60e51b8152600401610bab9061446c565b6002600e556124de8282612e83565b50506001600e55565b6124ef612656565b6001600160801b03918216600160801b029190921617601455601555565b60008051602061471a833981519152600090815260076020526000805160206146da833981519152548210801561256a575060008051602061471a833981519152600052600860205260008051602061475a833981519152548210155b806125cb575060008051602061469a83398151915260005260076020526000805160206146fa83398151915254821080156125cb575060008051602061469a83398151915260005260086020526000805160206146ba833981519152548210155b156125d857506001919050565b506000919050565b6125e8612656565b6002600e54141561260b5760405162461bcd60e51b8152600401610bab9061446c565b6002600e5561261a8147612e83565b506001600e55565b6001600160a01b03163b151590565b60006001600160e01b0319821663152a902d60e11b1480610a945750610a9482613483565b3361265f611f38565b6001600160a01b0316146113c25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bab565b6127106001600160601b03821611156127235760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b6064820152608401610bab565b6001600160a01b0382166127755760405162461bcd60e51b815260206004820152601960248201527822a921991c9c189d1034b73b30b634b2103932b1b2b4bb32b960391b6044820152606401610bab565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217601055565b6000828152600c602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600f5460ff16156113c25760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610bab565b610d50838360405180602001604052806000815250846134d3565b600061287682612f65565b80519091506000906001600160a01b0316336001600160a01b031614806128ad5750336128a284610b42565b6001600160a01b0316145b806128bf575081516128bf90336109db565b9050806129295760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b6064820152608401610bab565b846001600160a01b031682600001516001600160a01b03161461299d5760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746044820152651037bbb732b960d11b6064820152608401610bab565b6001600160a01b038416612a015760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b6064820152608401610bab565b612a0e8585856001613898565b612a1e60008484600001516127ae565b6001600160a01b038086166000908152600b6020908152604080832080546000196001600160801b038083169190910181166001600160801b0319928316179092558986168086528386208054808516600190810190951693169290921790915582516060810184529081526001600160401b034281168286019081528285018781528b8852600a9096528487209251835491518316600160a01b026001600160e01b03199092169089161717825593519082018054919094166001600160401b031990911617909255908601808352912054909116612b9057612b018161250d565b15612b90576040805160608101825284516001600160a01b0390811682526020808701516001600160401b039081168285019081528886015182168587019081526000888152600a909452959092209351845492518216600160a01b026001600160e01b0319909316931692909217178255915160019091018054919092166001600160401b03199091161790555b5082846001600160a01b0316866001600160a01b031660008051602061473a83398151915260405160405180910390a45b5050505050565b80518251600091829114612c1a5760405162461bcd60e51b815260206004820152601960248201527814da1a5b9a5ada4e881a5b9c1d5d081a5cc81a5b9d985b1a59603a1b6044820152606401610bab565b60005b84518160ff161015612e7b5760008051602061471a833981519152858260ff1681518110612c5b57634e487b7160e01b600052603260045260246000fd5b60200260200101511480612ca6575060008051602061469a833981519152858260ff1681518110612c9c57634e487b7160e01b600052603260045260246000fd5b6020026020010151145b612cc25760405162461bcd60e51b8152600401610bab906142fe565b60008051602061471a833981519152858260ff1681518110612cf457634e487b7160e01b600052603260045260246000fd5b60200260200101511415612d9c576002600554612d119190614530565b848260ff1681518110612d3457634e487b7160e01b600052603260045260246000fd5b6020026020010151612d6f878460ff1681518110612d6257634e487b7160e01b600052603260045260246000fd5b6020026020010151612029565b612d799190614518565b1115612d975760405162461bcd60e51b8152600401610bab90614248565b612e31565b6002600554612dab9190614530565b600554612db89190614563565b612dde868360ff1681518110612d6257634e487b7160e01b600052603260045260246000fd5b858360ff1681518110612e0157634e487b7160e01b600052603260045260246000fd5b6020026020010151612e139190614518565b1115612e315760405162461bcd60e51b8152600401610bab90614422565b838160ff1681518110612e5457634e487b7160e01b600052603260045260246000fd5b602002602001015182612e679190614518565b915080612e73816145fc565b915050612c1d565b509392505050565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114612ed0576040519150601f19603f3d011682016040523d82523d6000602084013e612ed5565b606091505b5050905080610d505760405162461bcd60e51b815260206004820152601060248201526f3a3930b739b332b9103330b4b632b21760811b6044820152606401610bab565b612f216138f9565b600f805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b604051612f5b91906140a8565b60405180910390a1565b612f6d6139c6565b612f768261250d565b612fd55760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736044820152693a32b73a103a37b5b2b760b11b6064820152608401610bab565b6000828152600a6020908152604091829020825160608101845281546001600160a01b0381168083526001600160401b03600160a01b90920482169483019490945260019092015490911692810192909252156130325792915050565b506000199091016000818152600a6020908152604091829020825160608101845281546001600160a01b0381168083526001600160401b03600160a01b90920482169483019490945260019290920154909116928101929092529192911561309a5792915050565b613032565b6130a761280a565b600f805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612f4e3390565b60006130f0846001600160a01b0316612622565b156131e557604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906131279033908990889088906004016140bc565b602060405180830381600087803b15801561314157600080fd5b505af1925050508015613171575060408051601f3d908101601f1916820190925261316e91810190613f8a565b60015b6131cb573d80801561319f576040519150601f19603f3d011682016040523d82523d6000602084013e6131a4565b606091505b5080516131c35760405162461bcd60e51b8152600401610bab9061437c565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061227f565b506001949350505050565b60008051602061471a833981519152600090815260076020526000805160206146da833981519152548210801561324d575060008051602061471a833981519152600052600860205260008051602061475a833981519152548210155b15613267575060008051602061471a833981519152919050565b5060008051602061469a833981519152919050565b6060816132a05750506040805180820190915260018152600360fc1b602082015290565b8160005b81156132ca57806132b4816145e1565b91506132c39050600a83614530565b91506132a4565b6000816001600160401b038111156132f257634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561331c576020820181803683370190505b5090505b841561227f57613331600183614563565b915061333e600a8661461c565b613349906030614518565b60f81b81838151811061336c57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535061338e600a86614530565b9450613320565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60006001600160a01b0382166134575760405162461bcd60e51b815260206004820152603160248201527f455243373231413a206e756d626572206d696e74656420717565727920666f7260448201527020746865207a65726f206164647265737360781b6064820152608401610bab565b506001600160a01b03166000908152600b6020526040902054600160801b90046001600160801b031690565b60006001600160e01b031982166380ac58cd60e01b14806134b457506001600160e01b03198216635b5e139f60e01b145b80610a9457506301ffc9a760e01b6001600160e01b0319831614610a94565b6000818152600760205260409020546001600160a01b0385166135425760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610bab565b61354b8161250d565b156135985760405162461bcd60e51b815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e7465640000006044820152606401610bab565b836135ef5760405162461bcd60e51b815260206004820152602160248201527f455243373231413a207175616e7469747920746f206d696e74206973207a65726044820152606f60f81b6064820152608401610bab565b6135fc6000868387613898565b6000600b6000876001600160a01b03166001600160a01b031681526020019081526020016000206040518060400160405290816000820160009054906101000a90046001600160801b03166001600160801b03166001600160801b031681526020016000820160109054906101000a90046001600160801b03166001600160801b03166001600160801b03168152505090506040518060400160405280868360000151016001600160801b03168152602001868360200151016001600160801b0316815250600b6000886001600160a01b03166001600160a01b0316815260200190815260200160002060008201518160000160006101000a8154816001600160801b0302191690836001600160801b0316021790555060208201518160000160106101000a8154816001600160801b0302191690836001600160801b031602179055509050506040518060600160405280876001600160a01b03168152602001426001600160401b0316815260200160006001600160401b0316815250600a600084815260200190815260200160002060008201518160000160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060208201518160000160146101000a8154816001600160401b0302191690836001600160401b0316021790555060408201518160010160006101000a8154816001600160401b0302191690836001600160401b03160217905550905050600082905060005b868110156138825760405182906001600160a01b038a169060009060008051602061473a833981519152908290a461385a60008984896130dc565b6138765760405162461bcd60e51b8152600401610bab9061437c565b6001918201910161381f565b5060008481526007602052604090205550612bc1565b6001600160a01b0384161561207b5760008281526016602052604090205460ff161561207b5760405162461bcd60e51b815260206004820152601060248201526f5368696e696b693a207374616b696e6760801b6044820152606401610bab565b600f5460ff166113c25760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610bab565b82805461394e906145a6565b90600052602060002090601f01602090048101928261397057600085556139b6565b82601f1061398957805160ff19168380011785556139b6565b828001600101855582156139b6579182015b828111156139b657825182559160200191906001019061399b565b506139c29291506139e6565b5090565b604080516060810182526000808252602082018190529181019190915290565b5b808211156139c257600081556001016139e7565b80356001600160a01b0381168114613a1257600080fd5b919050565b600082601f830112613a27578081fd5b81356020613a3c613a37836144d3565b6144a3565b80838252828201915082860187848660051b8901011115613a5b578586fd5b855b85811015613a7957813584529284019290840190600101613a5d565b5090979650505050505050565b600082601f830112613a96578081fd5b81356001600160401b03811115613aaf57613aaf61465c565b613ac2601f8201601f19166020016144a3565b818152846020838601011115613ad6578283fd5b816020850160208301379081016020019190915292915050565b80356001600160801b0381168114613a1257600080fd5b600060208284031215613b18578081fd5b613b21826139fb565b9392505050565b60008060408385031215613b3a578081fd5b613b43836139fb565b9150613b51602084016139fb565b90509250929050565b600080600060608486031215613b6e578081fd5b613b77846139fb565b9250613b85602085016139fb565b9150604084013590509250925092565b60008060008060808587031215613baa578081fd5b613bb3856139fb565b9350613bc1602086016139fb565b92506040850135915060608501356001600160401b03811115613be2578182fd5b613bee87828801613a86565b91505092959194509250565b60008060008060008060c08789031215613c12578182fd5b613c1b876139fb565b955060208701356001600160401b0380821115613c36578384fd5b613c428a838b01613a17565b96506040890135915080821115613c57578384fd5b613c638a838b01613a17565b9550606089013594506080890135935060a0890135915080821115613c86578283fd5b50613c9389828a01613a86565b9150509295509295509295565b60008060408385031215613cb2578182fd5b613cbb836139fb565b91506020830135613ccb81614672565b809150509250929050565b60008060408385031215613ce8578182fd5b613cf1836139fb565b946020939093013593505050565b600080600060608486031215613d13578081fd5b613d1c846139fb565b92506020840135915060408401356001600160401b03811115613d3d578182fd5b613d4986828701613a86565b9150509250925092565b600080600060608486031215613d67578081fd5b613d70846139fb565b95602085013595506040909401359392505050565b60008060408385031215613d97578182fd5b613da0836139fb565b915060208301356001600160601b0381168114613ccb578182fd5b60008060408385031215613dcd578182fd5b82356001600160401b0380821115613de3578384fd5b613def86838701613a17565b9350602091508185013581811115613e05578384fd5b8501601f81018713613e15578384fd5b8035613e23613a37826144d3565b8082825285820191508584018a878560051b8701011115613e42578788fd5b875b84811015613e7b57813587811115613e5a57898afd5b613e688d8a838a0101613a86565b8552509287019290870190600101613e44565b50979a909950975050505050505050565b60008060408385031215613e9e578182fd5b82356001600160401b0380821115613eb4578384fd5b613ec086838701613a17565b93506020850135915080821115613ed5578283fd5b50613ee285828601613a17565b9150509250929050565b600060208284031215613efd578081fd5b81356001600160401b03811115613f12578182fd5b61227f84828501613a17565b600060208284031215613f2f578081fd5b8135613b2181614672565b600060208284031215613f4b578081fd5b8151613b2181614672565b600060208284031215613f67578081fd5b5035919050565b600060208284031215613f7f578081fd5b8135613b2181614683565b600060208284031215613f9b578081fd5b8151613b2181614683565b600060208284031215613fb7578081fd5b81356001600160401b03811115613fcc578182fd5b61227f84828501613a86565b60008060408385031215613fea578182fd5b613ff383613af0565b9150613b5160208401613af0565b600080600060608486031215614015578081fd5b61401e84613af0565b9250613b8560208501613af0565b6000806040838503121561403e578182fd5b50508035926020909101359150565b6000815180845261406581602086016020860161457a565b601f01601f19169290920160200192915050565b6000835161408b81846020880161457a565b83519083019061409f81836020880161457a565b01949350505050565b6001600160a01b0391909116815260200190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906140ef9083018461404d565b9695505050505050565b6001600160a01b038716815260c060208083018290528751918301829052600091888201919060e0850190845b8181101561414257845183529383019391830191600101614126565b505084810360408601528851808252908201925081890190845b818110156141785782518552938301939183019160010161415c565b5050505085606084015284608084015282810360a084015261419a818561404d565b9998505050505050505050565b6001600160a01b03929092168252602082015260400190565b60018060a01b03841681528260208201526060604082015260006141e7606083018461404d565b95945050505050565b602081526000613b21602083018461404d565b60208082526025908201527f5368696e696b693a20596f7520617265206e6f74206f776e6572206f6620746f6040820152641ad95b925960da1b606082015260800190565b6020808252602a908201527f5368696e696b693a20747970653120696e7075742069732072656163686564206040820152696d617820737570706c7960b01b606082015260800190565b6020808252601d908201527f5368696e696b693a20746f6b656e496473206973206e6f74207a65726f000000604082015260600190565b6020808252601b908201527a5368696e696b693a2072656163686564206d617820737570706c7960281b604082015260600190565b6020808252601e908201527f5368696e696b693a207479706520696e70757420697320696e76616c69640000604082015260600190565b60208082526027908201527f5368696e696b693a205468652063616c6c657220697320616e6f7468657220636040820152661bdb9d1c9858dd60ca1b606082015260800190565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b60208082526033908201527f5368696e696b693a207175616e7469747920746f206d696e74206973206c657360408201527273207468616e206d6178426174636853697a6560681b606082015260800190565b6020808252602a908201527f5368696e696b693a20747970653220696e7075742069732072656163686564206040820152696d617820737570706c7960b01b606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b604051601f8201601f191681016001600160401b03811182821017156144cb576144cb61465c565b604052919050565b60006001600160401b038211156144ec576144ec61465c565b5060051b60200190565b60006001600160801b0382811684821680830382111561409f5761409f614630565b6000821982111561452b5761452b614630565b500190565b60008261453f5761453f614646565b500490565b600081600019048311821515161561455e5761455e614630565b500290565b60008282101561457557614575614630565b500390565b60005b8381101561459557818101518382015260200161457d565b8381111561207b5750506000910152565b600181811c908216806145ba57607f821691505b602082108114156145db57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156145f5576145f5614630565b5060010190565b600060ff821660ff81141561461357614613614630565b60010192915050565b60008261462b5761462b614646565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b801515811461468057600080fd5b50565b6001600160e01b03198116811461468057600080fdfe1a571ff5fd2aaba77df45c20471ba2d62945f00b32030fbe6af65f7cb68f385f6c619f8adafea4aed213face60fc9bd675a961eca0e293d4ec41b0d16c987a63f097807904505033fbef5d8343c54af4ef71d82caba802facfd7d355077bacb92222b8c6b781476d2f2af5501d17e9306e4c4cdcb6da196b79b3d09077bc2d4833d9b6a83d9f6c40374670302183487afd6f6b41426b9c3518fb7bfca094a544ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef273272298579b7c5554881f6c8aa3b016756c4e6bf348342e429301204ad6f81a2646970667358221220a0a7e22b02bcc154029b51aa108467ed86496a0d8dc1798ace3f2c258b3cb39264736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000648e3710392dee333901e8a43b19c65854fa1a920000000000000000000000000000000000000000000000000000000000001e61000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000004a68747470733a2f2f697066732e7368696e696b2e696f2f697066732f516d5873716354477444437254685769727451767a7a54474e4e59336b6433387a6662556b624d4a77365937333500000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : signatureVerifier (address): 0x648E3710392dEe333901e8a43B19c65854fA1A92
Arg [1] : collectionSize_ (uint256): 7777
Arg [2] : maxBatchSize_ (uint256): 10
Arg [3] : amountMintDev_ (uint256): 0
Arg [4] : defaultURI_ (string): https://ipfs.shinik.io/ipfs/QmXsqcTGtDCrThWirtQvzzTGNNY3kd38zfbUkbMJw6Y735
-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 000000000000000000000000648e3710392dee333901e8a43b19c65854fa1a92
Arg [1] : 0000000000000000000000000000000000000000000000000000000000001e61
Arg [2] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [4] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [5] : 000000000000000000000000000000000000000000000000000000000000004a
Arg [6] : 68747470733a2f2f697066732e7368696e696b2e696f2f697066732f516d5873
Arg [7] : 716354477444437254685769727451767a7a54474e4e59336b6433387a666255
Arg [8] : 6b624d4a77365937333500000000000000000000000000000000000000000000
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.