Feature Tip: Add private address tag to any address under My Name Tag !
ERC-1155
Overview
Max Total Supply
200 UKIYOFP
Holders
184
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
UkiyoPendant
Compiler Version
v0.8.13+commit.abaa5c0e
Optimization Enabled:
Yes with 10000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// "½▓▓▓▓æM $▓▓| 7G▒▀▓█▓╗▄ // ████▌M ▐██│ `▓██▒∩ █▓░" ▐▀│" ▀██▓| ▓▓Γ ▄███▀╚* ╙████▄ // ║███b∩ ▐██∩ ▐██b ▄█Ñ╙ S▓█▓Ω∞ ╙███y╓█╣╙ ╓████ƒ ▀███▌, // ║███b∩ (██∩ ▐██b╔█▒Q █▐▌M ██▓V¢ ████⌠ ████M // ║▒▒▒b⌐ ▐▒▒∩ ▐▒▒b╚∩ ▓▒▓\ ▒j▒M ▐█▒Ñ (▒▒▒▒│ ║▒▒█▒M // ║▒▒▒bM ▐▒▓∩ ╞▒▒bM ▓▒▒\ ▒j▒M ▐▒▒Ñ ▒▒▒▒│ ▓▒▒▒½∩ // ╘▒▒▒▒| ▒▒Ñ∩ ╚▒▒░M ╙▒▒∞⌐ ╙j░∩ ╘▒▒½¡ ╙▒▒▒NC ╒▒▒▒▒╡ // ╙║║║#▄ ,║║╜╛ «▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄,, ╙▒║║░▄ ,#║║║╠∩ // └╙╚║║╜/##║║╠Ñ╙ '╙╚╙╚╠Ñ╙║║║╠║║║║║║╜╜╚║╜Ñ╚╙""" ╙╙╚║║░#╠║║╚╠░∩ // "(╚╚ⁿ"└ "└ ╚╜Ñ∞╙ """""" // └╛ // SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import "@openzeppelin/contracts/access/Ownable.sol"; import "./abstracts/CappedERC1155XRoyalty.sol"; import "./UkiyoPendantTicketChecker.sol"; contract UkiyoPendant is Ownable, CappedERC1155XRoyalty, UkiyoPendantTicketChecker { uint256 private constant PENDANT_ID = 0; struct MintConfig { uint128 mintPrice; uint64 wlSaleStart; uint64 publicSaleStart; } MintConfig public mintConfig; constructor( uint128 mintPrice_, uint256 maxSupply_, address signerAddress_, address royaltyReceiver_, uint96 royaltyPercent_, string memory baseTokenUri_, string memory baseExtension_ ) CappedERC1155XRoyalty( "Ukiyo Founder's Pendant", "UKIYOFP", baseTokenUri_, baseExtension_ ) UkiyoPendantTicketChecker(signerAddress_) { mintConfig.mintPrice = mintPrice_; _setSupply(PENDANT_ID, maxSupply_); _updateRoyalty(royaltyReceiver_, royaltyPercent_); } modifier callerIsUser() { require(msg.sender == tx.origin, "Caller is contract!"); _; } /************************ ** Minting functions ** ************************/ function whitelistMint(bytes calldata signature) external payable callerIsUser validTicket(TicketType.WHITELIST, signature) withinLimit(PENDANT_ID, 1) { require( block.timestamp >= mintConfig.wlSaleStart && block.timestamp < mintConfig.wlSaleStart + 1 days, "Whitelist sale not active!" ); require(!whitelistMinted(PENDANT_ID, msg.sender), "Already minted"); _setWhitelistMinted(PENDANT_ID, msg.sender); _mint(msg.sender, PENDANT_ID, 1, ""); _refundIfOver(1); } function publicMint(bytes calldata signature) external payable callerIsUser validTicket(TicketType.PUBLIC, signature) withinLimit(PENDANT_ID, 1) { require( block.timestamp >= mintConfig.publicSaleStart && block.timestamp < mintConfig.publicSaleStart + 1 days, "Public sale not active!" ); require(!publicMinted(PENDANT_ID, msg.sender), "Already minted"); _setPublicMinted(PENDANT_ID, msg.sender); _mint(msg.sender, PENDANT_ID, 1, ""); _refundIfOver(1); } function _refundIfOver(uint256 quantity) private { uint256 price = quantity * mintConfig.mintPrice; require(msg.value >= price, "Need more ether!"); if (msg.value > price) { payable(msg.sender).transfer(msg.value - price); } } /******************************* ** Administrative functions ** *******************************/ function setupWLSaleTime(uint64 _wlSaleStart) external onlyOwner { mintConfig.wlSaleStart = _wlSaleStart; } function setupPublicSaleTime(uint64 _publicSaleStart) external onlyOwner { mintConfig.publicSaleStart = _publicSaleStart; } function setSigner(address _signerAddress) external onlyOwner { _setSigner(_signerAddress); } function withdraw() external onlyOwner { (bool success, ) = msg.sender.call{value: address(this).balance}(""); require(success, "Failed to transfer"); } function updateRoyalty(address _royaltyReceiver, uint96 _royaltyPercent) external onlyOwner { _updateRoyalty(_royaltyReceiver, _royaltyPercent); } function setBaseUri(string calldata baseUri) external onlyOwner { _setBaseUri(baseUri); } function setBaseExtension(string calldata baseExtension) external onlyOwner { _setBaseExtension(baseExtension); } function setPendantSupply(uint256 newSupply) external onlyOwner { require( newSupply < tokenMaxSupplies[PENDANT_ID], "New pendant supply must be less than current supply" ); _setSupply(PENDANT_ID, newSupply); } // Mint remaining Pendants to wallet function devMint() external onlyOwner { require( block.timestamp < mintConfig.wlSaleStart || block.timestamp >= mintConfig.wlSaleStart + 1 days, "Whitelist sale is active!" ); require( block.timestamp < mintConfig.publicSaleStart || block.timestamp >= mintConfig.publicSaleStart + 1 days, "Public sale is active!" ); uint256 leftOver = tokenMaxSupplies[PENDANT_ID] - totalSupply(PENDANT_ID); require(leftOver > 0, "No pendants left!"); _mint(msg.sender, PENDANT_ID, leftOver, ""); } /**************************** ** Aux data helpers ** ** ** ** Bits Layout: ** ** [0] `whitelistMinted` ** ** [1] `publicMinted` ** ****************************/ function _setWhitelistMinted(uint256 tokenId, address owner) private { uint64 aux = _getAux(tokenId, owner); _setAux(0, owner, aux |= 1); } function whitelistMinted(uint256 tokenId, address owner) public view returns (bool) { uint64 aux = _getAux(tokenId, owner); uint64 mask = 1; return (aux & mask) != 0; } function _setPublicMinted(uint256 tokenId, address owner) private { uint64 aux = _getAux(tokenId, owner); _setAux(0, owner, aux |= (1 << 1)); } function publicMinted(uint256 tokenId, address owner) public view returns (bool) { uint64 aux = _getAux(tokenId, owner); uint64 mask = 1 << 1; return (aux & mask) != 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import "../token/ERC1155/extensions/ERC1155XSupply.sol"; import "@openzeppelin/contracts/token/common/ERC2981.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; abstract contract CappedERC1155XRoyalty is ERC2981, ERC1155XSupply { // Token name string private _name; // Token symbol string private _symbol; // Base metadata URI string private _baseTokenUri; // Base metadata URI extension string private _baseExtension; // Max supply for each tokenId; mapping(uint256 => uint256) public tokenMaxSupplies; // Maximum royalty percentage (10%, 2 decimals) uint256 public constant MAX_ROYALTIES = 1000; constructor( string memory name_, string memory symbol_, string memory baseTokenUri_, string memory baseExtension_ ) ERC1155X(baseTokenUri_) { _name = name_; _symbol = symbol_; _baseTokenUri = baseTokenUri_; _baseExtension = baseExtension_; } modifier withinLimit(uint256 tokenId, uint256 quantity) { require( totalSupply(tokenId) + quantity <= tokenMaxSupplies[tokenId], "Maximum supply reached" ); _; } function name() public view returns (string memory) { return _name; } function symbol() public view returns (string memory) { return _symbol; } function _setSupply(uint256 tokenId, uint256 newSupply) internal { require( newSupply >= totalSupply(tokenId), "New supply less than current supply" ); tokenMaxSupplies[tokenId] = newSupply; } function _updateRoyalty(address _royaltyReceiver, uint96 _royaltyPercent) internal { require( _royaltyPercent <= MAX_ROYALTIES, "Royalties cannot be more than 10%" ); _setDefaultRoyalty(_royaltyReceiver, _royaltyPercent); } function _setBaseUri(string memory baseUri) internal { _baseTokenUri = baseUri; } function _setBaseExtension(string memory baseExtension) internal { _baseExtension = baseExtension; } /** * @dev See {IERC1155-uri}. */ function uri(uint256 _tokenId) public view virtual override returns (string memory) { return string( abi.encodePacked( _baseTokenUri, Strings.toString(_tokenId), _baseExtension ) ); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC1155X, ERC2981) returns (bool) { return super.supportsInterface(interfaceId); } }
// "½▓▓▓▓æM $▓▓| 7G▒▀▓█▓╗▄ // ████▌M ▐██│ `▓██▒∩ █▓░" ▐▀│" ▀██▓| ▓▓Γ ▄███▀╚* ╙████▄ // ║███b∩ ▐██∩ ▐██b ▄█Ñ╙ S▓█▓Ω∞ ╙███y╓█╣╙ ╓████ƒ ▀███▌, // ║███b∩ (██∩ ▐██b╔█▒Q █▐▌M ██▓V¢ ████⌠ ████M // ║▒▒▒b⌐ ▐▒▒∩ ▐▒▒b╚∩ ▓▒▓\ ▒j▒M ▐█▒Ñ (▒▒▒▒│ ║▒▒█▒M // ║▒▒▒bM ▐▒▓∩ ╞▒▒bM ▓▒▒\ ▒j▒M ▐▒▒Ñ ▒▒▒▒│ ▓▒▒▒½∩ // ╘▒▒▒▒| ▒▒Ñ∩ ╚▒▒░M ╙▒▒∞⌐ ╙j░∩ ╘▒▒½¡ ╙▒▒▒NC ╒▒▒▒▒╡ // ╙║║║#▄ ,║║╜╛ «▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄,, ╙▒║║░▄ ,#║║║╠∩ // └╙╚║║╜/##║║╠Ñ╙ '╙╚╙╚╠Ñ╙║║║╠║║║║║║╜╜╚║╜Ñ╚╙""" ╙╙╚║║░#╠║║╚╠░∩ // "(╚╚ⁿ"└ "└ ╚╜Ñ∞╙ """""" // └╛ // // "Papers Please" // SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import "@openzeppelin/contracts/utils/cryptography/draft-EIP712.sol"; contract UkiyoPendantTicketChecker is EIP712 { string private constant _SIGNING_NAME = "UkiyoPendant"; string private constant _SIGNATURE_VERSION = "1"; address private _signerAddress; enum TicketType { WHITELIST, PUBLIC } // Typed data reference, doesn't look good but saves gas ;) // struct Ticket { // address addr; // TicketType ticketType; // } constructor(address signerAddress_) EIP712(_SIGNING_NAME, _SIGNATURE_VERSION) { _setSigner(signerAddress_); } modifier validTicket(TicketType ticketType, bytes memory signature) { require( _signerAddress == _recoverAddress(ticketType, signature), "Invalid ticket" ); _; } function _setSigner(address signerAddress) internal { _signerAddress = signerAddress; } function _recoverAddress(TicketType ticketType, bytes memory signature) private view returns (address) { bytes32 digest = _hashTypedDataV4( keccak256( abi.encode( keccak256("Ticket(address addr,uint8 ticketType)"), msg.sender, // Enums are still encoded as uint8 internally ticketType ) ) ); return ECDSA.recover(digest, signature); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) pragma solidity ^0.8.0; import "../ERC1155X.sol"; /** * @dev Extension of ERC1155X that adds tracking of total supply per id. * * Useful for scenarios where Fungible and Non-fungible tokens have to be * clearly identified. Note: While a totalSupply of 1 might mean the * corresponding is an NFT, there is no guarantees that no other token with the * same id are not going to be minted. */ abstract contract ERC1155XSupply is ERC1155X { mapping(uint256 => uint256) private _totalSupply; /** * @dev Total amount of tokens in with a given id. */ function totalSupply(uint256 id) public view virtual returns (uint256) { return _totalSupply[id]; } /** * @dev Indicates whether any token exist with a given id, or not. */ function exists(uint256 id) public view virtual returns (bool) { return ERC1155XSupply.totalSupply(id) > 0; } /** * @dev See {ERC1155X-_beforeTokenTransfer}. */ function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual override { super._beforeTokenTransfer(operator, from, to, ids, amounts, data); if (from == address(0)) { for (uint256 i = 0; i < ids.length; ++i) { _totalSupply[ids[i]] += amounts[i]; } } if (to == address(0)) { for (uint256 i = 0; i < ids.length; ++i) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 supply = _totalSupply[id]; require( supply >= amount, "ERC1155: burn amount exceeds totalSupply" ); unchecked { _totalSupply[id] = supply - amount; } } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.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: * * - `tokenId` must be already minted. * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setTokenRoyalty( uint256 tokenId, address receiver, uint96 feeNumerator ) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: Invalid parameters"); _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Resets royalty information for the token id back to the global default. */ function _resetTokenRoyalty(uint256 tokenId) internal virtual { delete _tokenRoyaltyInfo[tokenId]; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) // Modified by the Ukiyo Team pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol"; import "@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol"; import "@openzeppelin/contracts/token/ERC1155/extensions/IERC1155MetadataURI.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; /** * @dev Implementation of the basic standard multi-token. * See https://eips.ethereum.org/EIPS/eip-1155 * Originally based on code by Enjin: https://github.com/enjin/erc-1155 * * Assumes that an owner cannot have more than 2**192 - 1 (max value of uint192) * of supply for each tokenId * * Optimization tricks and aux data support inspired by: vectorized.eth and Chiru Labs' ERC721A */ contract ERC1155X is Context, ERC165, IERC1155, IERC1155MetadataURI { using Address for address; // The bit position of `aux` in packed address data. uint256 private constant BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant BITMASK_AUX_COMPLEMENT = ((1 << 192) - 1); // Mapping from token ID to address data // // Bits Layout: // - [0..191] `balance` // - [192..255] `aux` mapping(uint256 => mapping(address => uint256)) private _packedBalances; // Mapping from account to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json string private _uri; /** * @dev See {_setURI}. */ constructor(string memory uri_) { _setURI(uri_); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC1155).interfaceId || interfaceId == type(IERC1155MetadataURI).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC1155MetadataURI-uri}. * * This implementation returns the same URI for *all* token types. It relies * on the token type ID substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * Clients calling this function must replace the `\{id\}` substring with the * actual token type ID. */ function uri(uint256) public view virtual override returns (string memory) { return _uri; } /** * @dev See {IERC1155-balanceOf}. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) public view virtual override returns (uint256) { require( account != address(0), "ERC1155: balance query for the zero address" ); return _packedBalances[id][account] & BITMASK_AUX_COMPLEMENT; } /** * @dev See {IERC1155-balanceOfBatch}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] memory accounts, uint256[] memory ids) public view virtual override returns (uint256[] memory) { require( accounts.length == ids.length, "ERC1155: accounts and ids length mismatch" ); uint256[] memory batchBalances = new uint256[](accounts.length); for (uint256 i = 0; i < accounts.length; ++i) { batchBalances[i] = balanceOf(accounts[i], ids[i]); } return batchBalances; } /** * @dev Returns the auxillary data of tokenId for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(uint256 tokenId, address owner) internal view returns (uint64) { return uint64(_packedBalances[tokenId][owner] >> BITPOS_AUX); } /** * @dev Sets the auxillary data of tokenId for `owner`. (e.g. number of whitelist mint slots used). * * If there are multiple variables, please pack them into a uint64. */ function _setAux( uint256 tokenId, address owner, uint64 aux ) internal { uint256 packed = _packedBalances[tokenId][owner]; uint256 auxCasted; assembly { // Cast aux without masking. auxCasted := aux } packed = (packed & BITMASK_AUX_COMPLEMENT) | (auxCasted << BITPOS_AUX); _packedBalances[tokenId][owner] = packed; } /** * @dev See {IERC1155-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC1155-isApprovedForAll}. */ function isApprovedForAll(address account, address operator) public view virtual override returns (bool) { return _operatorApprovals[account][operator]; } /** * @dev See {IERC1155-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: caller is not owner nor approved" ); _safeTransferFrom(from, to, id, amount, data); } /** * @dev See {IERC1155-safeBatchTransferFrom}. */ function safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) public virtual override { require( from == _msgSender() || isApprovedForAll(from, _msgSender()), "ERC1155: transfer caller is not owner nor approved" ); _safeBatchTransferFrom(from, to, ids, amounts, data); } /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); uint256[] memory ids = _asSingletonArray(id); uint256[] memory amounts = _asSingletonArray(amount); _beforeTokenTransfer(operator, from, to, ids, amounts, data); require( _packedBalances[id][from] & BITMASK_AUX_COMPLEMENT >= amount, "ERC1155: insufficient balance for transfer" ); // Underflow of the sender's balance is impossible because we check for // balance above and the recipient's balance can't realistically overflow. unchecked { _packedBalances[id][from] -= amount; _packedBalances[id][to] += amount; } emit TransferSingle(operator, from, to, id, amount); _afterTokenTransfer(operator, from, to, ids, amounts, data); _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _safeBatchTransferFrom( address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require( ids.length == amounts.length, "ERC1155: ids and amounts length mismatch" ); require(to != address(0), "ERC1155: transfer to the zero address"); address operator = _msgSender(); _beforeTokenTransfer(operator, from, to, ids, amounts, data); unchecked { uint256 tokenIdsLength = ids.length; for (uint256 i = 0; i < tokenIdsLength; ++i) { uint256 id = ids[i]; uint256 amount = amounts[i]; require( _packedBalances[id][from] & BITMASK_AUX_COMPLEMENT >= amount, "ERC1155: insufficient balance for transfer" ); // Underflow of the sender's balance is impossible because we check for // balance above and the recipient's balance can't realistically overflow. _packedBalances[id][from] -= amount; _packedBalances[id][to] += amount; } } emit TransferBatch(operator, from, to, ids, amounts); _afterTokenTransfer(operator, from, to, ids, amounts, data); _doSafeBatchTransferAcceptanceCheck( operator, from, to, ids, amounts, data ); } /** * @dev Sets a new URI for all token types, by relying on the token type ID * substitution mechanism * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP]. * * By this mechanism, any occurrence of the `\{id\}` substring in either the * URI or any of the amounts in the JSON file at said URI will be replaced by * clients with the token type ID. * * For example, the `https://token-cdn-domain/\{id\}.json` URI would be * interpreted by clients as * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json` * for token type ID 0x4cce0. * * See {uri}. * * Because these URIs cannot be meaningfully represented by the {URI} event, * this function emits no events. */ function _setURI(string memory newuri) internal virtual { _uri = newuri; } /** * @dev Creates `amount` tokens of token type `id`, and assigns them to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function _mint( address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); address operator = _msgSender(); uint256[] memory ids = _asSingletonArray(id); uint256[] memory amounts = _asSingletonArray(amount); _beforeTokenTransfer(operator, address(0), to, ids, amounts, data); // Recipient's balance can't realistically overflow. unchecked { _packedBalances[id][to] += amount; } emit TransferSingle(operator, address(0), to, id, amount); _afterTokenTransfer(operator, address(0), to, ids, amounts, data); _doSafeTransferAcceptanceCheck( operator, address(0), to, id, amount, data ); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function _mintBatch( address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual { require(to != address(0), "ERC1155: mint to the zero address"); require( ids.length == amounts.length, "ERC1155: ids and amounts length mismatch" ); address operator = _msgSender(); _beforeTokenTransfer(operator, address(0), to, ids, amounts, data); // Recipient's balance can't realistically overflow. unchecked { uint256 tokenIdsLength = ids.length; for (uint256 i = 0; i < tokenIdsLength; ++i) { _packedBalances[ids[i]][to] += amounts[i]; } } emit TransferBatch(operator, address(0), to, ids, amounts); _afterTokenTransfer(operator, address(0), to, ids, amounts, data); _doSafeBatchTransferAcceptanceCheck( operator, address(0), to, ids, amounts, data ); } /** * @dev Destroys `amount` tokens of token type `id` from `from` * * Requirements: * * - `from` cannot be the zero address. * - `from` must have at least `amount` tokens of token type `id`. */ function _burn( address from, uint256 id, uint256 amount ) internal virtual { require(from != address(0), "ERC1155: burn from the zero address"); address operator = _msgSender(); uint256[] memory ids = _asSingletonArray(id); uint256[] memory amounts = _asSingletonArray(amount); _beforeTokenTransfer(operator, from, address(0), ids, amounts, ""); require( _packedBalances[id][from] & BITMASK_AUX_COMPLEMENT >= amount, "ERC1155: burn amount exceeds balance" ); unchecked { _packedBalances[id][from] -= amount; } emit TransferSingle(operator, from, address(0), id, amount); _afterTokenTransfer(operator, from, address(0), ids, amounts, ""); } /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}. * * Requirements: * * - `ids` and `amounts` must have the same length. */ function _burnBatch( address from, uint256[] memory ids, uint256[] memory amounts ) internal virtual { require(from != address(0), "ERC1155: burn from the zero address"); require( ids.length == amounts.length, "ERC1155: ids and amounts length mismatch" ); address operator = _msgSender(); _beforeTokenTransfer(operator, from, address(0), ids, amounts, ""); unchecked { uint256 tokenIdsLength = ids.length; for (uint256 i = 0; i < tokenIdsLength; ++i) { uint256 id = ids[i]; uint256 amount = amounts[i]; require( _packedBalances[id][from] & BITMASK_AUX_COMPLEMENT >= amount, "ERC1155: burn amount exceeds balance" ); _packedBalances[id][from] -= amount; } } emit TransferBatch(operator, from, address(0), ids, amounts); _afterTokenTransfer(operator, from, address(0), ids, amounts, ""); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC1155: setting approval status for self"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Hook that is called before any token transfer. This includes minting * and burning, as well as batched variants. * * The same hook is called on both single and batched variants. For single * transfers, the length of the `id` and `amount` arrays will be 1. * * Calling conditions (for each `id` and `amount` pair): * * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens * of token type `id` will be transferred to `to`. * - When `from` is zero, `amount` tokens of token type `id` will be minted * for `to`. * - when `to` is zero, `amount` of ``from``'s tokens of token type `id` * will be burned. * - `from` and `to` are never both zero. * - `ids` and `amounts` have the same, non-zero length. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual {} /** * @dev Hook that is called after any token transfer. This includes minting * and burning, as well as batched variants. * * The same hook is called on both single and batched variants. For single * transfers, the length of the `id` and `amount` arrays will be 1. * * Calling conditions (for each `id` and `amount` pair): * * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens * of token type `id` will be transferred to `to`. * - When `from` is zero, `amount` tokens of token type `id` will be minted * for `to`. * - when `to` is zero, `amount` of ``from``'s tokens of token type `id` * will be burned. * - `from` and `to` are never both zero. * - `ids` and `amounts` have the same, non-zero length. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) internal virtual {} function _doSafeTransferAcceptanceCheck( address operator, address from, address to, uint256 id, uint256 amount, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155Received( operator, from, id, amount, data ) returns (bytes4 response) { if (response != IERC1155Receiver.onERC1155Received.selector) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _doSafeBatchTransferAcceptanceCheck( address operator, address from, address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) private { if (to.isContract()) { try IERC1155Receiver(to).onERC1155BatchReceived( operator, from, ids, amounts, data ) returns (bytes4 response) { if ( response != IERC1155Receiver.onERC1155BatchReceived.selector ) { revert("ERC1155: ERC1155Receiver rejected tokens"); } } catch Error(string memory reason) { revert(reason); } catch { revert("ERC1155: transfer to non ERC1155Receiver implementer"); } } } function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) { uint256[] memory array = new uint256[](1); array[0] = element; return array; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC1155 compliant contract, as defined in the * https://eips.ethereum.org/EIPS/eip-1155[EIP]. * * _Available since v3.1._ */ interface IERC1155 is IERC165 { /** * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`. */ event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value); /** * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all * transfers. */ event TransferBatch( address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values ); /** * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to * `approved`. */ event ApprovalForAll(address indexed account, address indexed operator, bool approved); /** * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI. * * If an {URI} event was emitted for `id`, the standard * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value * returned by {IERC1155MetadataURI-uri}. */ event URI(string value, uint256 indexed id); /** * @dev Returns the amount of tokens of token type `id` owned by `account`. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) external view returns (uint256); /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids) external view returns (uint256[] memory); /** * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`, * * Emits an {ApprovalForAll} event. * * Requirements: * * - `operator` cannot be the caller. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns true if `operator` is approved to transfer ``account``'s tokens. * * See {setApprovalForAll}. */ function isApprovedForAll(address account, address operator) external view returns (bool); /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes calldata data ) external; /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function safeBatchTransferFrom( address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/IERC1155Receiver.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev _Available since v3.1._ */ interface IERC1155Receiver is IERC165 { /** * @dev Handles the receipt of a single ERC1155 token type. This function is * called at the end of a `safeTransferFrom` after the balance has been updated. * * NOTE: To accept the transfer, this must return * `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` * (i.e. 0xf23a6e61, or its own function selector). * * @param operator The address which initiated the transfer (i.e. msg.sender) * @param from The address which previously owned the token * @param id The ID of the token being transferred * @param value The amount of tokens being transferred * @param data Additional data with no specified format * @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed */ function onERC1155Received( address operator, address from, uint256 id, uint256 value, bytes calldata data ) external returns (bytes4); /** * @dev Handles the receipt of a multiple ERC1155 token types. This function * is called at the end of a `safeBatchTransferFrom` after the balances have * been updated. * * NOTE: To accept the transfer(s), this must return * `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` * (i.e. 0xbc197c81, or its own function selector). * * @param operator The address which initiated the batch transfer (i.e. msg.sender) * @param from The address which previously owned the token * @param ids An array containing ids of each token being transferred (order and length must match values array) * @param values An array containing amounts of each token being transferred (order and length must match ids array) * @param data Additional data with no specified format * @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed */ function onERC1155BatchReceived( address operator, address from, uint256[] calldata ids, uint256[] calldata values, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol) pragma solidity ^0.8.0; import "../IERC1155.sol"; /** * @dev Interface of the optional ERC1155MetadataExtension interface, as defined * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP]. * * _Available since v3.1._ */ interface IERC1155MetadataURI is IERC1155 { /** * @dev Returns the URI for token type `id`. * * If the `\{id\}` substring is present in the URI, it must be replaced by * clients with the actual token type ID. */ function uri(uint256 id) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.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 assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/cryptography/draft-EIP712.sol) pragma solidity ^0.8.0; import "./ECDSA.sol"; /** * @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data. * * The encoding specified in the EIP is very generic, and such a generic implementation in Solidity is not feasible, * thus this contract does not implement the encoding itself. Protocols need to implement the type-specific encoding * they need in their contracts using a combination of `abi.encode` and `keccak256`. * * This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding * scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA * ({_hashTypedDataV4}). * * The implementation of the domain separator was designed to be as efficient as possible while still properly updating * the chain id to protect against replay attacks on an eventual fork of the chain. * * NOTE: This contract implements the version of the encoding known as "v4", as implemented by the JSON RPC method * https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask]. * * _Available since v3.4._ */ abstract contract EIP712 { /* solhint-disable var-name-mixedcase */ // Cache the domain separator as an immutable value, but also store the chain id that it corresponds to, in order to // invalidate the cached domain separator if the chain id changes. bytes32 private immutable _CACHED_DOMAIN_SEPARATOR; uint256 private immutable _CACHED_CHAIN_ID; address private immutable _CACHED_THIS; bytes32 private immutable _HASHED_NAME; bytes32 private immutable _HASHED_VERSION; bytes32 private immutable _TYPE_HASH; /* solhint-enable var-name-mixedcase */ /** * @dev Initializes the domain separator and parameter caches. * * The meaning of `name` and `version` is specified in * https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]: * * - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol. * - `version`: the current major version of the signing domain. * * NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart * contract upgrade]. */ constructor(string memory name, string memory version) { bytes32 hashedName = keccak256(bytes(name)); bytes32 hashedVersion = keccak256(bytes(version)); bytes32 typeHash = keccak256( "EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)" ); _HASHED_NAME = hashedName; _HASHED_VERSION = hashedVersion; _CACHED_CHAIN_ID = block.chainid; _CACHED_DOMAIN_SEPARATOR = _buildDomainSeparator(typeHash, hashedName, hashedVersion); _CACHED_THIS = address(this); _TYPE_HASH = typeHash; } /** * @dev Returns the domain separator for the current chain. */ function _domainSeparatorV4() internal view returns (bytes32) { if (address(this) == _CACHED_THIS && block.chainid == _CACHED_CHAIN_ID) { return _CACHED_DOMAIN_SEPARATOR; } else { return _buildDomainSeparator(_TYPE_HASH, _HASHED_NAME, _HASHED_VERSION); } } function _buildDomainSeparator( bytes32 typeHash, bytes32 nameHash, bytes32 versionHash ) private view returns (bytes32) { return keccak256(abi.encode(typeHash, nameHash, versionHash, block.chainid, address(this))); } /** * @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this * function returns the hash of the fully encoded EIP712 message for this domain. * * This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example: * * ```solidity * bytes32 digest = _hashTypedDataV4(keccak256(abi.encode( * keccak256("Mail(address to,string contents)"), * mailTo, * keccak256(bytes(mailContents)) * ))); * address signer = ECDSA.recover(digest, signature); * ``` */ function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) { return ECDSA.toTypedDataHash(_domainSeparatorV4(), structHash); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/ECDSA.sol) pragma solidity ^0.8.0; import "../Strings.sol"; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } else if (error == RecoverError.InvalidSignatureV) { revert("ECDSA: invalid signature 'v' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { // Check the signature length // - case 65: r,s,v signature (standard) // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._ if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else if (signature.length == 64) { bytes32 r; bytes32 vs; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) vs := mload(add(signature, 0x40)) } return tryRecover(hash, r, vs); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff); uint8 v = uint8((uint256(vs) >> 255) + 27); return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } if (v != 27 && v != 28) { return (address(0), RecoverError.InvalidSignatureV); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Message, created from `s`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } }
{ "optimizer": { "enabled": true, "runs": 10000 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"uint128","name":"mintPrice_","type":"uint128"},{"internalType":"uint256","name":"maxSupply_","type":"uint256"},{"internalType":"address","name":"signerAddress_","type":"address"},{"internalType":"address","name":"royaltyReceiver_","type":"address"},{"internalType":"uint96","name":"royaltyPercent_","type":"uint96"},{"internalType":"string","name":"baseTokenUri_","type":"string"},{"internalType":"string","name":"baseExtension_","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[],"name":"MAX_ROYALTIES","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"devMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintConfig","outputs":[{"internalType":"uint128","name":"mintPrice","type":"uint128"},{"internalType":"uint64","name":"wlSaleStart","type":"uint64"},{"internalType":"uint64","name":"publicSaleStart","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"owner","type":"address"}],"name":"publicMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseExtension","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseUri","type":"string"}],"name":"setBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newSupply","type":"uint256"}],"name":"setPendantSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_signerAddress","type":"address"}],"name":"setSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint64","name":"_publicSaleStart","type":"uint64"}],"name":"setupPublicSaleTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint64","name":"_wlSaleStart","type":"uint64"}],"name":"setupWLSaleTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenMaxSupplies","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_royaltyReceiver","type":"address"},{"internalType":"uint96","name":"_royaltyPercent","type":"uint96"}],"name":"updateRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"owner","type":"address"}],"name":"whitelistMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6101406040523480156200001257600080fd5b506040516200479d3803806200479d833981016040819052620000359162000633565b846040518060400160405280600c81526020016b155ada5e5bd4195b99185b9d60a21b815250604051806040016040528060018152602001603160f81b8152506040518060400160405280601781526020017f556b69796f20466f756e64657227732050656e64616e74000000000000000000815250604051806040016040528060078152602001660554b49594f46560cc1b815250868681620000e8620000e26200024660201b60201c565b6200024a565b620000f3816200029a565b50835162000109906007906020870190620004a3565b5082516200011f906008906020860190620004a3565b50815162000135906009906020850190620004a3565b5080516200014b90600a906020840190620004a3565b5050845160208087019190912085518683012060e08290526101008190524660a0818152604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f81880181905281830187905260608201869052608082019490945230818401528151808203909301835260c0019052805194019390932091955093509091506080523060c052610120525050600c80546001600160a01b0319166001600160a01b03851617905550620002049050565b50600d80546001600160801b0319166001600160801b0389161790556200022d600087620002b3565b62000239848462000335565b505050505050506200074a565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b8051620002af906005906020840190620004a3565b5050565b600082815260066020526040902054811015620003235760405162461bcd60e51b815260206004820152602360248201527f4e657720737570706c79206c657373207468616e2063757272656e7420737570604482015262706c7960e81b60648201526084015b60405180910390fd5b6000918252600b602052604090912055565b6103e8816001600160601b031611156200039c5760405162461bcd60e51b815260206004820152602160248201527f526f79616c746965732063616e6e6f74206265206d6f7265207468616e2031306044820152602560f81b60648201526084016200031a565b620002af82826127106001600160601b0382161115620004125760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b60648201526084016200031a565b6001600160a01b0382166200046a5760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c69642072656365697665720000000000000060448201526064016200031a565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600155565b828054620004b1906200070e565b90600052602060002090601f016020900481019282620004d5576000855562000520565b82601f10620004f057805160ff191683800117855562000520565b8280016001018555821562000520579182015b828111156200052057825182559160200191906001019062000503565b506200052e92915062000532565b5090565b5b808211156200052e576000815560010162000533565b80516001600160a01b03811681146200056157600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200058e57600080fd5b81516001600160401b0380821115620005ab57620005ab62000566565b604051601f8301601f19908116603f01168101908282118183101715620005d657620005d662000566565b81604052838152602092508683858801011115620005f357600080fd5b600091505b83821015620006175785820183015181830184015290820190620005f8565b83821115620006295760008385830101525b9695505050505050565b600080600080600080600060e0888a0312156200064f57600080fd5b87516001600160801b03811681146200066757600080fd5b602089015190975095506200067f6040890162000549565b94506200068f6060890162000549565b60808901519094506001600160601b0381168114620006ad57600080fd5b60a08901519093506001600160401b0380821115620006cb57600080fd5b620006d98b838c016200057c565b935060c08a0151915080821115620006f057600080fd5b50620006ff8a828b016200057c565b91505092959891949750929550565b600181811c908216806200072357607f821691505b6020821081036200074457634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a05160c05160e05161010051610120516140036200079a6000396000612f8e01526000612fdd01526000612fb801526000612f1101526000612f3b01526000612f6501526140036000f3fe6080604052600436106101e25760003560e01c80638da5cb5b11610102578063daa83c6d11610095578063f17e9bae11610064578063f17e9bae14610670578063f242432a14610690578063f2fde38b146106b0578063f629c430146106d057600080fd5b8063daa83c6d14610553578063de6892c814610573578063e7cc724414610586578063e985e9c51461062757600080fd5b8063ac2ffd12116100d1578063ac2ffd121461048e578063b8237fe3146104bb578063bd85b03914610506578063da3ef23f1461053357600080fd5b80638da5cb5b1461041157806395d89b4114610439578063a0bcfc7f1461044e578063a22cb4651461046e57600080fd5b806337bc4c0b1161017a5780635b89a6a7116101495780635b89a6a7146103b15780636c19e783146103c7578063715018a6146103e75780637c69e207146103fc57600080fd5b806337bc4c0b1461032d5780633ccfd60b146103405780634e1273f4146103555780634f558e791461038257600080fd5b80630e89341c116101b65780630e89341c1461028e5780632a55205a146102ae5780632c62927d146102ed5780632eb2c2d61461030d57600080fd5b8062fdd58e146101e757806301ffc9a71461021a57806306fdde031461024a578063093c2cac1461026c575b600080fd5b3480156101f357600080fd5b50610207610202366004613479565b61071b565b6040519081526020015b60405180910390f35b34801561022657600080fd5b5061023a6102353660046134d1565b6107e0565b6040519015158152602001610211565b34801561025657600080fd5b5061025f6107f1565b6040516102119190613551565b34801561027857600080fd5b5061028c610287366004613564565b610883565b005b34801561029a57600080fd5b5061025f6102a936600461358e565b61092c565b3480156102ba57600080fd5b506102ce6102c93660046135a7565b610963565b604080516001600160a01b039093168352602083019190915201610211565b3480156102f957600080fd5b5061028c61030836600461358e565b610a42565b34801561031957600080fd5b5061028c61032836600461372e565b610b49565b61028c61033b36600461381a565b610beb565b34801561034c57600080fd5b5061028c610f44565b34801561036157600080fd5b5061037561037036600461385c565b611036565b6040516102119190613962565b34801561038e57600080fd5b5061023a61039d36600461358e565b600090815260066020526040902054151590565b3480156103bd57600080fd5b506102076103e881565b3480156103d357600080fd5b5061028c6103e2366004613975565b611174565b3480156103f357600080fd5b5061028c611204565b34801561040857600080fd5b5061028c61126a565b34801561041d57600080fd5b506000546040516001600160a01b039091168152602001610211565b34801561044557600080fd5b5061025f6114fc565b34801561045a57600080fd5b5061028c61046936600461381a565b61150b565b34801561047a57600080fd5b5061028c610489366004613990565b6115a8565b34801561049a57600080fd5b506102076104a936600461358e565b600b6020526000908152604090205481565b3480156104c757600080fd5b5061023a6104d63660046139cc565b60009182526003602090815260408084206001600160a01b0393909316845291905290205460c01c600216151590565b34801561051257600080fd5b5061020761052136600461358e565b60009081526006602052604090205490565b34801561053f57600080fd5b5061028c61054e36600461381a565b6115b3565b34801561055f57600080fd5b5061028c61056e3660046139f8565b61164c565b61028c61058136600461381a565b6116b0565b34801561059257600080fd5b50600d546105ee906fffffffffffffffffffffffffffffffff81169067ffffffffffffffff7001000000000000000000000000000000008204811691780100000000000000000000000000000000000000000000000090041683565b604080516fffffffffffffffffffffffffffffffff909416845267ffffffffffffffff9283166020850152911690820152606001610211565b34801561063357600080fd5b5061023a610642366004613a35565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205460ff1690565b34801561067c57600080fd5b5061028c61068b366004613564565b6119ee565b34801561069c57600080fd5b5061028c6106ab366004613a5f565b611a97565b3480156106bc57600080fd5b5061028c6106cb366004613975565b611b32565b3480156106dc57600080fd5b5061023a6106eb3660046139cc565b60009182526003602090815260408084206001600160a01b0393909316845291905290205460c01c600116151590565b60006001600160a01b03831661079e5760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201527f65726f206164647265737300000000000000000000000000000000000000000060648201526084015b60405180910390fd5b5060009081526003602090815260408083206001600160a01b03949094168352929052205477ffffffffffffffffffffffffffffffffffffffffffffffff1690565b60006107eb82611c11565b92915050565b60606007805461080090613ac4565b80601f016020809104026020016040519081016040528092919081815260200182805461082c90613ac4565b80156108795780601f1061084e57610100808354040283529160200191610879565b820191906000526020600020905b81548152906001019060200180831161085c57829003601f168201915b5050505050905090565b6000546001600160a01b031633146108dd5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610795565b600d805467ffffffffffffffff90921678010000000000000000000000000000000000000000000000000277ffffffffffffffffffffffffffffffffffffffffffffffff909216919091179055565b6060600961093983611cb3565b600a60405160200161094d93929190613be7565b6040516020818303038152906040529050919050565b60008281526002602090815260408083208151808301909252546001600160a01b038116808352740100000000000000000000000000000000000000009091046bffffffffffffffffffffffff16928201929092528291610a045750604080518082019091526001546001600160a01b03811682527401000000000000000000000000000000000000000090046bffffffffffffffffffffffff1660208201525b602081015160009061271090610a28906bffffffffffffffffffffffff1687613c49565b610a329190613cb5565b91519350909150505b9250929050565b6000546001600160a01b03163314610a9c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610795565b60008052600b6020527fdf7de25b7f1fd6d0b5205f0e18f1f35bd7b8d84cce336588d184533ce43a6f76548110610b3b5760405162461bcd60e51b815260206004820152603360248201527f4e65772070656e64616e7420737570706c79206d757374206265206c6573732060448201527f7468616e2063757272656e7420737570706c79000000000000000000000000006064820152608401610795565b610b46600082611df0565b50565b6001600160a01b038516331480610b655750610b658533610642565b610bd75760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f742060448201527f6f776e6572206e6f7220617070726f76656400000000000000000000000000006064820152608401610795565b610be48585858585611e86565b5050505050565b333214610c3a5760405162461bcd60e51b815260206004820152601360248201527f43616c6c657220697320636f6e747261637421000000000000000000000000006044820152606401610795565b600082828080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250610c7f925084915083905061212f565b600c546001600160a01b03908116911614610cdc5760405162461bcd60e51b815260206004820152600e60248201527f496e76616c6964207469636b65740000000000000000000000000000000000006044820152606401610795565b60008080527fdf7de25b7f1fd6d0b5205f0e18f1f35bd7b8d84cce336588d184533ce43a6f765460066020527f54cdd369e4e8a8515e52ca72ec816c2101831ad1f18bf44102ed171459c9b4f85460019190610d39908390613cc9565b1115610d875760405162461bcd60e51b815260206004820152601660248201527f4d6178696d756d20737570706c792072656163686564000000000000000000006044820152606401610795565b600d54700100000000000000000000000000000000900467ffffffffffffffff164210801590610ded5750600d54610de090700100000000000000000000000000000000900467ffffffffffffffff1662015180613ce1565b67ffffffffffffffff1642105b610e395760405162461bcd60e51b815260206004820152601a60248201527f57686974656c6973742073616c65206e6f7420616374697665210000000000006044820152606401610795565b3360009081527f3617319a054d772f909f7c479a2cebe5066e836a939412e32403c99029b92eff602052604090205460c01c60011615610ebb5760405162461bcd60e51b815260206004820152600e60248201527f416c7265616479206d696e7465640000000000000000000000000000000000006044820152606401610795565b3360009081527f3617319a054d772f909f7c479a2cebe5066e836a939412e32403c99029b92eff60205260409020805477ffffffffffffffffffffffffffffffffffffffffffffffff811660c091821c60011790911b1790555b610f32336000600160405180602001604052806000815250612196565b610f3c60016122bc565b505050505050565b6000546001600160a01b03163314610f9e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610795565b604051600090339047908381818185875af1925050503d8060008114610fe0576040519150601f19603f3d011682016040523d82523d6000602084013e610fe5565b606091505b5050905080610b465760405162461bcd60e51b815260206004820152601260248201527f4661696c656420746f207472616e7366657200000000000000000000000000006044820152606401610795565b606081518351146110af5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e67746860448201527f206d69736d6174636800000000000000000000000000000000000000000000006064820152608401610795565b6000835167ffffffffffffffff8111156110cb576110cb6135c9565b6040519080825280602002602001820160405280156110f4578160200160208202803683370190505b50905060005b845181101561116c5761113f85828151811061111857611118613d0d565b602002602001015185838151811061113257611132613d0d565b602002602001015161071b565b82828151811061115157611151613d0d565b602090810291909101015261116581613d3c565b90506110fa565b509392505050565b6000546001600160a01b031633146111ce5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610795565b600c80547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b03831617905550565b6000546001600160a01b0316331461125e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610795565b611268600061236e565b565b6000546001600160a01b031633146112c45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610795565b600d54700100000000000000000000000000000000900467ffffffffffffffff164210806113295750600d5461131b90700100000000000000000000000000000000900467ffffffffffffffff1662015180613ce1565b67ffffffffffffffff164210155b6113755760405162461bcd60e51b815260206004820152601960248201527f57686974656c6973742073616c652069732061637469766521000000000000006044820152606401610795565b600d547801000000000000000000000000000000000000000000000000900467ffffffffffffffff164210806113ea5750600d546113dc907801000000000000000000000000000000000000000000000000900467ffffffffffffffff1662015180613ce1565b67ffffffffffffffff164210155b6114365760405162461bcd60e51b815260206004820152601660248201527f5075626c69632073616c652069732061637469766521000000000000000000006044820152606401610795565b60008080527f54cdd369e4e8a8515e52ca72ec816c2101831ad1f18bf44102ed171459c9b4f854600b6020527fdf7de25b7f1fd6d0b5205f0e18f1f35bd7b8d84cce336588d184533ce43a6f765461148e9190613d74565b9050600081116114e05760405162461bcd60e51b815260206004820152601160248201527f4e6f2070656e64616e7473206c656674210000000000000000000000000000006044820152606401610795565b610b463360008360405180602001604052806000815250612196565b60606008805461080090613ac4565b6000546001600160a01b031633146115655760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610795565b6115a482828080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506123d692505050565b5050565b6115a43383836123e9565b6000546001600160a01b0316331461160d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610795565b6115a482828080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506124fb92505050565b6000546001600160a01b031633146116a65760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610795565b6115a4828261250e565b3332146116ff5760405162461bcd60e51b815260206004820152601360248201527f43616c6c657220697320636f6e747261637421000000000000000000000000006044820152606401610795565b600182828080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611744925084915083905061212f565b600c546001600160a01b039081169116146117a15760405162461bcd60e51b815260206004820152600e60248201527f496e76616c6964207469636b65740000000000000000000000000000000000006044820152606401610795565b60008080527fdf7de25b7f1fd6d0b5205f0e18f1f35bd7b8d84cce336588d184533ce43a6f765460066020527f54cdd369e4e8a8515e52ca72ec816c2101831ad1f18bf44102ed171459c9b4f854600191906117fe908390613cc9565b111561184c5760405162461bcd60e51b815260206004820152601660248201527f4d6178696d756d20737570706c792072656163686564000000000000000000006044820152606401610795565b600d547801000000000000000000000000000000000000000000000000900467ffffffffffffffff1642108015906118c25750600d546118b5907801000000000000000000000000000000000000000000000000900467ffffffffffffffff1662015180613ce1565b67ffffffffffffffff1642105b61190e5760405162461bcd60e51b815260206004820152601760248201527f5075626c69632073616c65206e6f7420616374697665210000000000000000006044820152606401610795565b3360009081527f3617319a054d772f909f7c479a2cebe5066e836a939412e32403c99029b92eff602052604090205460c01c600216156119905760405162461bcd60e51b815260206004820152600e60248201527f416c7265616479206d696e7465640000000000000000000000000000000000006044820152606401610795565b3360009081527f3617319a054d772f909f7c479a2cebe5066e836a939412e32403c99029b92eff60205260409020805477ffffffffffffffffffffffffffffffffffffffffffffffff811660c091821c60021790911b179055610f15565b6000546001600160a01b03163314611a485760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610795565b600d805467ffffffffffffffff909216700100000000000000000000000000000000027fffffffffffffffff0000000000000000ffffffffffffffffffffffffffffffff909216919091179055565b6001600160a01b038516331480611ab35750611ab38533610642565b611b255760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201527f20617070726f76656400000000000000000000000000000000000000000000006064820152608401610795565b610be4858585858561259e565b6000546001600160a01b03163314611b8c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610795565b6001600160a01b038116611c085760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610795565b610b468161236e565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167fd9b67a26000000000000000000000000000000000000000000000000000000001480611ca457507fffffffff0000000000000000000000000000000000000000000000000000000082167f0e89341c00000000000000000000000000000000000000000000000000000000145b806107eb57506107eb82612785565b606081600003611cf657505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115611d205780611d0a81613d3c565b9150611d199050600a83613cb5565b9150611cfa565b60008167ffffffffffffffff811115611d3b57611d3b6135c9565b6040519080825280601f01601f191660200182016040528015611d65576020820181803683370190505b5090505b8415611de857611d7a600183613d74565b9150611d87600a86613d8b565b611d92906030613cc9565b60f81b818381518110611da757611da7613d0d565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611de1600a86613cb5565b9450611d69565b949350505050565b600082815260066020526040902054811015611e745760405162461bcd60e51b815260206004820152602360248201527f4e657720737570706c79206c657373207468616e2063757272656e742073757060448201527f706c7900000000000000000000000000000000000000000000000000000000006064820152608401610795565b6000918252600b602052604090912055565b8151835114611efd5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060448201527f6d69736d617463680000000000000000000000000000000000000000000000006064820152608401610795565b6001600160a01b038416611f795760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610795565b33611f8881878787878761281c565b835160005b818110156120c8576000868281518110611fa957611fa9613d0d565b602002602001015190506000868381518110611fc757611fc7613d0d565b60209081029190910181015160008481526003835260408082206001600160a01b038f168352909352919091205490915077ffffffffffffffffffffffffffffffffffffffffffffffff168111156120875760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201527f72207472616e73666572000000000000000000000000000000000000000000006064820152608401610795565b60009182526003602090815260408084206001600160a01b038d81168652925280842080548490039055908a16835290912080549091019055600101611f8d565b5050846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051612119929190613d9f565b60405180910390a4610f3c8187878787876129aa565b6000806121857f84c05b24e67efd92255eb089fba010b6b1c0866138ed3c888838ad2440b63eb1338660405160200161216a93929190613dfc565b60405160208183030381529060405280519060200120612bae565b9050611de88184612c17565b505050565b6001600160a01b0384166122125760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610795565b33600061221e85612c33565b9050600061222b85612c33565b905061223c8360008985858961281c565b60008681526003602090815260408083206001600160a01b038b811680865291845282852080548b01905582518b81529384018a9052909392908716917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46122b383600089898989612c7e565b50505050505050565b600d546000906122de906fffffffffffffffffffffffffffffffff1683613c49565b9050803410156123305760405162461bcd60e51b815260206004820152601060248201527f4e656564206d6f726520657468657221000000000000000000000000000000006044820152606401610795565b803411156115a457336108fc6123468334613d74565b6040518115909202916000818181858888f19350505050158015612191573d6000803e3d6000fd5b600080546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516115a49060099060208401906133c4565b816001600160a01b0316836001600160a01b0316036124705760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c2073746174757360448201527f20666f722073656c6600000000000000000000000000000000000000000000006064820152608401610795565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b80516115a490600a9060208401906133c4565b6103e8816bffffffffffffffffffffffff1611156125945760405162461bcd60e51b815260206004820152602160248201527f526f79616c746965732063616e6e6f74206265206d6f7265207468616e20313060448201527f25000000000000000000000000000000000000000000000000000000000000006064820152608401610795565b6115a48282612dd9565b6001600160a01b03841661261a5760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610795565b33600061262685612c33565b9050600061263385612c33565b905061264383898985858961281c565b60008681526003602090815260408083206001600160a01b038c16845290915290205477ffffffffffffffffffffffffffffffffffffffffffffffff168511156126f55760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201527f72207472616e73666572000000000000000000000000000000000000000000006064820152608401610795565b60008681526003602090815260408083206001600160a01b038c811680865291845282852080548b900390558b81168086529483902080548b01905582518b81529384018a90529092908716917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a461277b838989898989612c7e565b5050505050505050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f2a55205a0000000000000000000000000000000000000000000000000000000014806107eb57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316146107eb565b6001600160a01b0385166128a35760005b83518110156128a15782818151811061284857612848613d0d565b60200260200101516006600086848151811061286657612866613d0d565b60200260200101518152602001908152602001600020600082825461288b9190613cc9565b9091555061289a905081613d3c565b905061282d565b505b6001600160a01b038416610f3c5760005b83518110156122b35760008482815181106128d1576128d1613d0d565b6020026020010151905060008483815181106128ef576128ef613d0d565b60200260200101519050600060066000848152602001908152602001600020549050818110156129875760405162461bcd60e51b815260206004820152602860248201527f455243313135353a206275726e20616d6f756e74206578636565647320746f7460448201527f616c537570706c790000000000000000000000000000000000000000000000006064820152608401610795565b600092835260066020526040909220910390556129a381613d3c565b90506128b4565b6001600160a01b0384163b15610f3c576040517fbc197c810000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063bc197c8190612a079089908990889088908890600401613e57565b6020604051808303816000875af1925050508015612a42575060408051601f3d908101601f19168201909252612a3f91810190613eb5565b60015b612af757612a4e613ed2565b806308c379a003612a875750612a62613eed565b80612a6d5750612a89565b8060405162461bcd60e51b81526004016107959190613551565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e204552433131353560448201527f526563656976657220696d706c656d656e7465720000000000000000000000006064820152608401610795565b7fffffffff0000000000000000000000000000000000000000000000000000000081167fbc197c8100000000000000000000000000000000000000000000000000000000146122b35760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a6563746560448201527f6420746f6b656e730000000000000000000000000000000000000000000000006064820152608401610795565b60006107eb612bbb612f04565b836040517f19010000000000000000000000000000000000000000000000000000000000006020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b6000806000612c26858561302e565b9150915061116c81613099565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110612c6d57612c6d613d0d565b602090810291909101015292915050565b6001600160a01b0384163b15610f3c576040517ff23a6e610000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063f23a6e6190612cdb9089908990889088908890600401613f95565b6020604051808303816000875af1925050508015612d16575060408051601f3d908101601f19168201909252612d1391810190613eb5565b60015b612d2257612a4e613ed2565b7fffffffff0000000000000000000000000000000000000000000000000000000081167ff23a6e6100000000000000000000000000000000000000000000000000000000146122b35760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a6563746560448201527f6420746f6b656e730000000000000000000000000000000000000000000000006064820152608401610795565b6127106bffffffffffffffffffffffff82161115612e5f5760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c2065786365656460448201527f2073616c655072696365000000000000000000000000000000000000000000006064820152608401610795565b6001600160a01b038216612eb55760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610795565b604080518082019091526001600160a01b039092168083526bffffffffffffffffffffffff90911660209092018290527401000000000000000000000000000000000000000090910217600155565b6000306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016148015612f5d57507f000000000000000000000000000000000000000000000000000000000000000046145b15612f8757507f000000000000000000000000000000000000000000000000000000000000000090565b50604080517f00000000000000000000000000000000000000000000000000000000000000006020808301919091527f0000000000000000000000000000000000000000000000000000000000000000828401527f000000000000000000000000000000000000000000000000000000000000000060608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b90565b60008082516041036130645760208301516040840151606085015160001a61305887828585613285565b94509450505050610a3b565b825160400361308d5760208301516040840151613082868383613372565b935093505050610a3b565b50600090506002610a3b565b60008160048111156130ad576130ad613dcd565b036130b55750565b60018160048111156130c9576130c9613dcd565b036131165760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610795565b600281600481111561312a5761312a613dcd565b036131775760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610795565b600381600481111561318b5761318b613dcd565b036131fe5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c60448201527f75650000000000000000000000000000000000000000000000000000000000006064820152608401610795565b600481600481111561321257613212613dcd565b03610b465760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c60448201527f75650000000000000000000000000000000000000000000000000000000000006064820152608401610795565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156132bc5750600090506003613369565b8460ff16601b141580156132d457508460ff16601c14155b156132e55750600090506004613369565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015613339573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661336257600060019250925050613369565b9150600090505b94509492505050565b6000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8316816133a860ff86901c601b613cc9565b90506133b687828885613285565b935093505050935093915050565b8280546133d090613ac4565b90600052602060002090601f0160209004810192826133f25760008555613438565b82601f1061340b57805160ff1916838001178555613438565b82800160010185558215613438579182015b8281111561343857825182559160200191906001019061341d565b50613444929150613448565b5090565b5b808211156134445760008155600101613449565b80356001600160a01b038116811461347457600080fd5b919050565b6000806040838503121561348c57600080fd5b6134958361345d565b946020939093013593505050565b7fffffffff0000000000000000000000000000000000000000000000000000000081168114610b4657600080fd5b6000602082840312156134e357600080fd5b81356134ee816134a3565b9392505050565b60005b838110156135105781810151838201526020016134f8565b8381111561351f576000848401525b50505050565b6000815180845261353d8160208601602086016134f5565b601f01601f19169290920160200192915050565b6020815260006134ee6020830184613525565b60006020828403121561357657600080fd5b813567ffffffffffffffff811681146134ee57600080fd5b6000602082840312156135a057600080fd5b5035919050565b600080604083850312156135ba57600080fd5b50508035926020909101359150565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b601f19601f830116810181811067ffffffffffffffff8211171561361e5761361e6135c9565b6040525050565b600067ffffffffffffffff82111561363f5761363f6135c9565b5060051b60200190565b600082601f83011261365a57600080fd5b8135602061366782613625565b60405161367482826135f8565b83815260059390931b850182019282810191508684111561369457600080fd5b8286015b848110156136af5780358352918301918301613698565b509695505050505050565b600082601f8301126136cb57600080fd5b813567ffffffffffffffff8111156136e5576136e56135c9565b6040516136fc6020601f19601f85011601826135f8565b81815284602083860101111561371157600080fd5b816020850160208301376000918101602001919091529392505050565b600080600080600060a0868803121561374657600080fd5b61374f8661345d565b945061375d6020870161345d565b9350604086013567ffffffffffffffff8082111561377a57600080fd5b61378689838a01613649565b9450606088013591508082111561379c57600080fd5b6137a889838a01613649565b935060808801359150808211156137be57600080fd5b506137cb888289016136ba565b9150509295509295909350565b60008083601f8401126137ea57600080fd5b50813567ffffffffffffffff81111561380257600080fd5b602083019150836020828501011115610a3b57600080fd5b6000806020838503121561382d57600080fd5b823567ffffffffffffffff81111561384457600080fd5b613850858286016137d8565b90969095509350505050565b6000806040838503121561386f57600080fd5b823567ffffffffffffffff8082111561388757600080fd5b818501915085601f83011261389b57600080fd5b813560206138a882613625565b6040516138b582826135f8565b83815260059390931b85018201928281019150898411156138d557600080fd5b948201945b838610156138fa576138eb8661345d565b825294820194908201906138da565b9650508601359250508082111561391057600080fd5b5061391d85828601613649565b9150509250929050565b600081518084526020808501945080840160005b838110156139575781518752958201959082019060010161393b565b509495945050505050565b6020815260006134ee6020830184613927565b60006020828403121561398757600080fd5b6134ee8261345d565b600080604083850312156139a357600080fd5b6139ac8361345d565b9150602083013580151581146139c157600080fd5b809150509250929050565b600080604083850312156139df57600080fd5b823591506139ef6020840161345d565b90509250929050565b60008060408385031215613a0b57600080fd5b613a148361345d565b915060208301356bffffffffffffffffffffffff811681146139c157600080fd5b60008060408385031215613a4857600080fd5b613a518361345d565b91506139ef6020840161345d565b600080600080600060a08688031215613a7757600080fd5b613a808661345d565b9450613a8e6020870161345d565b93506040860135925060608601359150608086013567ffffffffffffffff811115613ab857600080fd5b6137cb888289016136ba565b600181811c90821680613ad857607f821691505b602082108103613b11577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b8054600090600181811c9080831680613b3157607f831692505b60208084108203613b6b577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b818015613b7f5760018114613bae57613bdb565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00861689528489019650613bdb565b60008881526020902060005b86811015613bd35781548b820152908501908301613bba565b505084890196505b50505050505092915050565b6000613bf38286613b17565b8451613c038183602089016134f5565b613c0f81830186613b17565b979650505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613c8157613c81613c1a565b500290565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082613cc457613cc4613c86565b500490565b60008219821115613cdc57613cdc613c1a565b500190565b600067ffffffffffffffff808316818516808303821115613d0457613d04613c1a565b01949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613d6d57613d6d613c1a565b5060010190565b600082821015613d8657613d86613c1a565b500390565b600082613d9a57613d9a613c86565b500690565b604081526000613db26040830185613927565b8281036020840152613dc48185613927565b95945050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8381526001600160a01b03831660208201526060810160028310613e49577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b826040830152949350505050565b60006001600160a01b03808816835280871660208401525060a06040830152613e8360a0830186613927565b8281036060840152613e958186613927565b90508281036080840152613ea98185613525565b98975050505050505050565b600060208284031215613ec757600080fd5b81516134ee816134a3565b600060033d111561302b5760046000803e5060005160e01c90565b600060443d1015613efb5790565b6040517ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc803d016004833e81513d67ffffffffffffffff8160248401118184111715613f4957505050505090565b8285019150815181811115613f615750505050505090565b843d8701016020828501011115613f7b5750505050505090565b613f8a602082860101876135f8565b509095945050505050565b60006001600160a01b03808816835280871660208401525084604083015283606083015260a06080830152613c0f60a083018461352556fea2646970667358221220279cede989ca1e0d158453f30675fa89e8dbbe9185418d25e9e280117edbc9e164736f6c634300080d00330000000000000000000000000000000000000000000000000494654067e10000000000000000000000000000000000000000000000000000000000000000014d000000000000000000000000c1228a5259936fb2acdf3cf5ebe0a5dab513794d0000000000000000000000003861758578c12ea5e56ef3830b3531dd17483e2d00000000000000000000000000000000000000000000000000000000000001f400000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000002768747470733a2f2f6d657461646174612e706c6179756b69796f2e636f6d2f70656e64616e742f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000052e6a736f6e000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106101e25760003560e01c80638da5cb5b11610102578063daa83c6d11610095578063f17e9bae11610064578063f17e9bae14610670578063f242432a14610690578063f2fde38b146106b0578063f629c430146106d057600080fd5b8063daa83c6d14610553578063de6892c814610573578063e7cc724414610586578063e985e9c51461062757600080fd5b8063ac2ffd12116100d1578063ac2ffd121461048e578063b8237fe3146104bb578063bd85b03914610506578063da3ef23f1461053357600080fd5b80638da5cb5b1461041157806395d89b4114610439578063a0bcfc7f1461044e578063a22cb4651461046e57600080fd5b806337bc4c0b1161017a5780635b89a6a7116101495780635b89a6a7146103b15780636c19e783146103c7578063715018a6146103e75780637c69e207146103fc57600080fd5b806337bc4c0b1461032d5780633ccfd60b146103405780634e1273f4146103555780634f558e791461038257600080fd5b80630e89341c116101b65780630e89341c1461028e5780632a55205a146102ae5780632c62927d146102ed5780632eb2c2d61461030d57600080fd5b8062fdd58e146101e757806301ffc9a71461021a57806306fdde031461024a578063093c2cac1461026c575b600080fd5b3480156101f357600080fd5b50610207610202366004613479565b61071b565b6040519081526020015b60405180910390f35b34801561022657600080fd5b5061023a6102353660046134d1565b6107e0565b6040519015158152602001610211565b34801561025657600080fd5b5061025f6107f1565b6040516102119190613551565b34801561027857600080fd5b5061028c610287366004613564565b610883565b005b34801561029a57600080fd5b5061025f6102a936600461358e565b61092c565b3480156102ba57600080fd5b506102ce6102c93660046135a7565b610963565b604080516001600160a01b039093168352602083019190915201610211565b3480156102f957600080fd5b5061028c61030836600461358e565b610a42565b34801561031957600080fd5b5061028c61032836600461372e565b610b49565b61028c61033b36600461381a565b610beb565b34801561034c57600080fd5b5061028c610f44565b34801561036157600080fd5b5061037561037036600461385c565b611036565b6040516102119190613962565b34801561038e57600080fd5b5061023a61039d36600461358e565b600090815260066020526040902054151590565b3480156103bd57600080fd5b506102076103e881565b3480156103d357600080fd5b5061028c6103e2366004613975565b611174565b3480156103f357600080fd5b5061028c611204565b34801561040857600080fd5b5061028c61126a565b34801561041d57600080fd5b506000546040516001600160a01b039091168152602001610211565b34801561044557600080fd5b5061025f6114fc565b34801561045a57600080fd5b5061028c61046936600461381a565b61150b565b34801561047a57600080fd5b5061028c610489366004613990565b6115a8565b34801561049a57600080fd5b506102076104a936600461358e565b600b6020526000908152604090205481565b3480156104c757600080fd5b5061023a6104d63660046139cc565b60009182526003602090815260408084206001600160a01b0393909316845291905290205460c01c600216151590565b34801561051257600080fd5b5061020761052136600461358e565b60009081526006602052604090205490565b34801561053f57600080fd5b5061028c61054e36600461381a565b6115b3565b34801561055f57600080fd5b5061028c61056e3660046139f8565b61164c565b61028c61058136600461381a565b6116b0565b34801561059257600080fd5b50600d546105ee906fffffffffffffffffffffffffffffffff81169067ffffffffffffffff7001000000000000000000000000000000008204811691780100000000000000000000000000000000000000000000000090041683565b604080516fffffffffffffffffffffffffffffffff909416845267ffffffffffffffff9283166020850152911690820152606001610211565b34801561063357600080fd5b5061023a610642366004613a35565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205460ff1690565b34801561067c57600080fd5b5061028c61068b366004613564565b6119ee565b34801561069c57600080fd5b5061028c6106ab366004613a5f565b611a97565b3480156106bc57600080fd5b5061028c6106cb366004613975565b611b32565b3480156106dc57600080fd5b5061023a6106eb3660046139cc565b60009182526003602090815260408084206001600160a01b0393909316845291905290205460c01c600116151590565b60006001600160a01b03831661079e5760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201527f65726f206164647265737300000000000000000000000000000000000000000060648201526084015b60405180910390fd5b5060009081526003602090815260408083206001600160a01b03949094168352929052205477ffffffffffffffffffffffffffffffffffffffffffffffff1690565b60006107eb82611c11565b92915050565b60606007805461080090613ac4565b80601f016020809104026020016040519081016040528092919081815260200182805461082c90613ac4565b80156108795780601f1061084e57610100808354040283529160200191610879565b820191906000526020600020905b81548152906001019060200180831161085c57829003601f168201915b5050505050905090565b6000546001600160a01b031633146108dd5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610795565b600d805467ffffffffffffffff90921678010000000000000000000000000000000000000000000000000277ffffffffffffffffffffffffffffffffffffffffffffffff909216919091179055565b6060600961093983611cb3565b600a60405160200161094d93929190613be7565b6040516020818303038152906040529050919050565b60008281526002602090815260408083208151808301909252546001600160a01b038116808352740100000000000000000000000000000000000000009091046bffffffffffffffffffffffff16928201929092528291610a045750604080518082019091526001546001600160a01b03811682527401000000000000000000000000000000000000000090046bffffffffffffffffffffffff1660208201525b602081015160009061271090610a28906bffffffffffffffffffffffff1687613c49565b610a329190613cb5565b91519350909150505b9250929050565b6000546001600160a01b03163314610a9c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610795565b60008052600b6020527fdf7de25b7f1fd6d0b5205f0e18f1f35bd7b8d84cce336588d184533ce43a6f76548110610b3b5760405162461bcd60e51b815260206004820152603360248201527f4e65772070656e64616e7420737570706c79206d757374206265206c6573732060448201527f7468616e2063757272656e7420737570706c79000000000000000000000000006064820152608401610795565b610b46600082611df0565b50565b6001600160a01b038516331480610b655750610b658533610642565b610bd75760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f742060448201527f6f776e6572206e6f7220617070726f76656400000000000000000000000000006064820152608401610795565b610be48585858585611e86565b5050505050565b333214610c3a5760405162461bcd60e51b815260206004820152601360248201527f43616c6c657220697320636f6e747261637421000000000000000000000000006044820152606401610795565b600082828080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250610c7f925084915083905061212f565b600c546001600160a01b03908116911614610cdc5760405162461bcd60e51b815260206004820152600e60248201527f496e76616c6964207469636b65740000000000000000000000000000000000006044820152606401610795565b60008080527fdf7de25b7f1fd6d0b5205f0e18f1f35bd7b8d84cce336588d184533ce43a6f765460066020527f54cdd369e4e8a8515e52ca72ec816c2101831ad1f18bf44102ed171459c9b4f85460019190610d39908390613cc9565b1115610d875760405162461bcd60e51b815260206004820152601660248201527f4d6178696d756d20737570706c792072656163686564000000000000000000006044820152606401610795565b600d54700100000000000000000000000000000000900467ffffffffffffffff164210801590610ded5750600d54610de090700100000000000000000000000000000000900467ffffffffffffffff1662015180613ce1565b67ffffffffffffffff1642105b610e395760405162461bcd60e51b815260206004820152601a60248201527f57686974656c6973742073616c65206e6f7420616374697665210000000000006044820152606401610795565b3360009081527f3617319a054d772f909f7c479a2cebe5066e836a939412e32403c99029b92eff602052604090205460c01c60011615610ebb5760405162461bcd60e51b815260206004820152600e60248201527f416c7265616479206d696e7465640000000000000000000000000000000000006044820152606401610795565b3360009081527f3617319a054d772f909f7c479a2cebe5066e836a939412e32403c99029b92eff60205260409020805477ffffffffffffffffffffffffffffffffffffffffffffffff811660c091821c60011790911b1790555b610f32336000600160405180602001604052806000815250612196565b610f3c60016122bc565b505050505050565b6000546001600160a01b03163314610f9e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610795565b604051600090339047908381818185875af1925050503d8060008114610fe0576040519150601f19603f3d011682016040523d82523d6000602084013e610fe5565b606091505b5050905080610b465760405162461bcd60e51b815260206004820152601260248201527f4661696c656420746f207472616e7366657200000000000000000000000000006044820152606401610795565b606081518351146110af5760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e67746860448201527f206d69736d6174636800000000000000000000000000000000000000000000006064820152608401610795565b6000835167ffffffffffffffff8111156110cb576110cb6135c9565b6040519080825280602002602001820160405280156110f4578160200160208202803683370190505b50905060005b845181101561116c5761113f85828151811061111857611118613d0d565b602002602001015185838151811061113257611132613d0d565b602002602001015161071b565b82828151811061115157611151613d0d565b602090810291909101015261116581613d3c565b90506110fa565b509392505050565b6000546001600160a01b031633146111ce5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610795565b600c80547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b03831617905550565b6000546001600160a01b0316331461125e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610795565b611268600061236e565b565b6000546001600160a01b031633146112c45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610795565b600d54700100000000000000000000000000000000900467ffffffffffffffff164210806113295750600d5461131b90700100000000000000000000000000000000900467ffffffffffffffff1662015180613ce1565b67ffffffffffffffff164210155b6113755760405162461bcd60e51b815260206004820152601960248201527f57686974656c6973742073616c652069732061637469766521000000000000006044820152606401610795565b600d547801000000000000000000000000000000000000000000000000900467ffffffffffffffff164210806113ea5750600d546113dc907801000000000000000000000000000000000000000000000000900467ffffffffffffffff1662015180613ce1565b67ffffffffffffffff164210155b6114365760405162461bcd60e51b815260206004820152601660248201527f5075626c69632073616c652069732061637469766521000000000000000000006044820152606401610795565b60008080527f54cdd369e4e8a8515e52ca72ec816c2101831ad1f18bf44102ed171459c9b4f854600b6020527fdf7de25b7f1fd6d0b5205f0e18f1f35bd7b8d84cce336588d184533ce43a6f765461148e9190613d74565b9050600081116114e05760405162461bcd60e51b815260206004820152601160248201527f4e6f2070656e64616e7473206c656674210000000000000000000000000000006044820152606401610795565b610b463360008360405180602001604052806000815250612196565b60606008805461080090613ac4565b6000546001600160a01b031633146115655760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610795565b6115a482828080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506123d692505050565b5050565b6115a43383836123e9565b6000546001600160a01b0316331461160d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610795565b6115a482828080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506124fb92505050565b6000546001600160a01b031633146116a65760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610795565b6115a4828261250e565b3332146116ff5760405162461bcd60e51b815260206004820152601360248201527f43616c6c657220697320636f6e747261637421000000000000000000000000006044820152606401610795565b600182828080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611744925084915083905061212f565b600c546001600160a01b039081169116146117a15760405162461bcd60e51b815260206004820152600e60248201527f496e76616c6964207469636b65740000000000000000000000000000000000006044820152606401610795565b60008080527fdf7de25b7f1fd6d0b5205f0e18f1f35bd7b8d84cce336588d184533ce43a6f765460066020527f54cdd369e4e8a8515e52ca72ec816c2101831ad1f18bf44102ed171459c9b4f854600191906117fe908390613cc9565b111561184c5760405162461bcd60e51b815260206004820152601660248201527f4d6178696d756d20737570706c792072656163686564000000000000000000006044820152606401610795565b600d547801000000000000000000000000000000000000000000000000900467ffffffffffffffff1642108015906118c25750600d546118b5907801000000000000000000000000000000000000000000000000900467ffffffffffffffff1662015180613ce1565b67ffffffffffffffff1642105b61190e5760405162461bcd60e51b815260206004820152601760248201527f5075626c69632073616c65206e6f7420616374697665210000000000000000006044820152606401610795565b3360009081527f3617319a054d772f909f7c479a2cebe5066e836a939412e32403c99029b92eff602052604090205460c01c600216156119905760405162461bcd60e51b815260206004820152600e60248201527f416c7265616479206d696e7465640000000000000000000000000000000000006044820152606401610795565b3360009081527f3617319a054d772f909f7c479a2cebe5066e836a939412e32403c99029b92eff60205260409020805477ffffffffffffffffffffffffffffffffffffffffffffffff811660c091821c60021790911b179055610f15565b6000546001600160a01b03163314611a485760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610795565b600d805467ffffffffffffffff909216700100000000000000000000000000000000027fffffffffffffffff0000000000000000ffffffffffffffffffffffffffffffff909216919091179055565b6001600160a01b038516331480611ab35750611ab38533610642565b611b255760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201527f20617070726f76656400000000000000000000000000000000000000000000006064820152608401610795565b610be4858585858561259e565b6000546001600160a01b03163314611b8c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610795565b6001600160a01b038116611c085760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610795565b610b468161236e565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167fd9b67a26000000000000000000000000000000000000000000000000000000001480611ca457507fffffffff0000000000000000000000000000000000000000000000000000000082167f0e89341c00000000000000000000000000000000000000000000000000000000145b806107eb57506107eb82612785565b606081600003611cf657505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115611d205780611d0a81613d3c565b9150611d199050600a83613cb5565b9150611cfa565b60008167ffffffffffffffff811115611d3b57611d3b6135c9565b6040519080825280601f01601f191660200182016040528015611d65576020820181803683370190505b5090505b8415611de857611d7a600183613d74565b9150611d87600a86613d8b565b611d92906030613cc9565b60f81b818381518110611da757611da7613d0d565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611de1600a86613cb5565b9450611d69565b949350505050565b600082815260066020526040902054811015611e745760405162461bcd60e51b815260206004820152602360248201527f4e657720737570706c79206c657373207468616e2063757272656e742073757060448201527f706c7900000000000000000000000000000000000000000000000000000000006064820152608401610795565b6000918252600b602052604090912055565b8151835114611efd5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060448201527f6d69736d617463680000000000000000000000000000000000000000000000006064820152608401610795565b6001600160a01b038416611f795760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610795565b33611f8881878787878761281c565b835160005b818110156120c8576000868281518110611fa957611fa9613d0d565b602002602001015190506000868381518110611fc757611fc7613d0d565b60209081029190910181015160008481526003835260408082206001600160a01b038f168352909352919091205490915077ffffffffffffffffffffffffffffffffffffffffffffffff168111156120875760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201527f72207472616e73666572000000000000000000000000000000000000000000006064820152608401610795565b60009182526003602090815260408084206001600160a01b038d81168652925280842080548490039055908a16835290912080549091019055600101611f8d565b5050846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051612119929190613d9f565b60405180910390a4610f3c8187878787876129aa565b6000806121857f84c05b24e67efd92255eb089fba010b6b1c0866138ed3c888838ad2440b63eb1338660405160200161216a93929190613dfc565b60405160208183030381529060405280519060200120612bae565b9050611de88184612c17565b505050565b6001600160a01b0384166122125760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610795565b33600061221e85612c33565b9050600061222b85612c33565b905061223c8360008985858961281c565b60008681526003602090815260408083206001600160a01b038b811680865291845282852080548b01905582518b81529384018a9052909392908716917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46122b383600089898989612c7e565b50505050505050565b600d546000906122de906fffffffffffffffffffffffffffffffff1683613c49565b9050803410156123305760405162461bcd60e51b815260206004820152601060248201527f4e656564206d6f726520657468657221000000000000000000000000000000006044820152606401610795565b803411156115a457336108fc6123468334613d74565b6040518115909202916000818181858888f19350505050158015612191573d6000803e3d6000fd5b600080546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516115a49060099060208401906133c4565b816001600160a01b0316836001600160a01b0316036124705760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c2073746174757360448201527f20666f722073656c6600000000000000000000000000000000000000000000006064820152608401610795565b6001600160a01b0383811660008181526004602090815260408083209487168084529482529182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b80516115a490600a9060208401906133c4565b6103e8816bffffffffffffffffffffffff1611156125945760405162461bcd60e51b815260206004820152602160248201527f526f79616c746965732063616e6e6f74206265206d6f7265207468616e20313060448201527f25000000000000000000000000000000000000000000000000000000000000006064820152608401610795565b6115a48282612dd9565b6001600160a01b03841661261a5760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610795565b33600061262685612c33565b9050600061263385612c33565b905061264383898985858961281c565b60008681526003602090815260408083206001600160a01b038c16845290915290205477ffffffffffffffffffffffffffffffffffffffffffffffff168511156126f55760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201527f72207472616e73666572000000000000000000000000000000000000000000006064820152608401610795565b60008681526003602090815260408083206001600160a01b038c811680865291845282852080548b900390558b81168086529483902080548b01905582518b81529384018a90529092908716917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a461277b838989898989612c7e565b5050505050505050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f2a55205a0000000000000000000000000000000000000000000000000000000014806107eb57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316146107eb565b6001600160a01b0385166128a35760005b83518110156128a15782818151811061284857612848613d0d565b60200260200101516006600086848151811061286657612866613d0d565b60200260200101518152602001908152602001600020600082825461288b9190613cc9565b9091555061289a905081613d3c565b905061282d565b505b6001600160a01b038416610f3c5760005b83518110156122b35760008482815181106128d1576128d1613d0d565b6020026020010151905060008483815181106128ef576128ef613d0d565b60200260200101519050600060066000848152602001908152602001600020549050818110156129875760405162461bcd60e51b815260206004820152602860248201527f455243313135353a206275726e20616d6f756e74206578636565647320746f7460448201527f616c537570706c790000000000000000000000000000000000000000000000006064820152608401610795565b600092835260066020526040909220910390556129a381613d3c565b90506128b4565b6001600160a01b0384163b15610f3c576040517fbc197c810000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063bc197c8190612a079089908990889088908890600401613e57565b6020604051808303816000875af1925050508015612a42575060408051601f3d908101601f19168201909252612a3f91810190613eb5565b60015b612af757612a4e613ed2565b806308c379a003612a875750612a62613eed565b80612a6d5750612a89565b8060405162461bcd60e51b81526004016107959190613551565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e204552433131353560448201527f526563656976657220696d706c656d656e7465720000000000000000000000006064820152608401610795565b7fffffffff0000000000000000000000000000000000000000000000000000000081167fbc197c8100000000000000000000000000000000000000000000000000000000146122b35760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a6563746560448201527f6420746f6b656e730000000000000000000000000000000000000000000000006064820152608401610795565b60006107eb612bbb612f04565b836040517f19010000000000000000000000000000000000000000000000000000000000006020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b6000806000612c26858561302e565b9150915061116c81613099565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110612c6d57612c6d613d0d565b602090810291909101015292915050565b6001600160a01b0384163b15610f3c576040517ff23a6e610000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063f23a6e6190612cdb9089908990889088908890600401613f95565b6020604051808303816000875af1925050508015612d16575060408051601f3d908101601f19168201909252612d1391810190613eb5565b60015b612d2257612a4e613ed2565b7fffffffff0000000000000000000000000000000000000000000000000000000081167ff23a6e6100000000000000000000000000000000000000000000000000000000146122b35760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a6563746560448201527f6420746f6b656e730000000000000000000000000000000000000000000000006064820152608401610795565b6127106bffffffffffffffffffffffff82161115612e5f5760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c2065786365656460448201527f2073616c655072696365000000000000000000000000000000000000000000006064820152608401610795565b6001600160a01b038216612eb55760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610795565b604080518082019091526001600160a01b039092168083526bffffffffffffffffffffffff90911660209092018290527401000000000000000000000000000000000000000090910217600155565b6000306001600160a01b037f000000000000000000000000efa035308b9954a783345c3f8a70020350d10c5116148015612f5d57507f000000000000000000000000000000000000000000000000000000000000000146145b15612f8757507f7ebbd7846a7dd68f41d4057dd38d927df6c74ac1106bafa51699309bb667d91690565b50604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6020808301919091527f9dd5dfa965a5bcb84e30d29f52902a6a5aa62fa7f17d8004e7c74d2f5fa2b9b5828401527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b90565b60008082516041036130645760208301516040840151606085015160001a61305887828585613285565b94509450505050610a3b565b825160400361308d5760208301516040840151613082868383613372565b935093505050610a3b565b50600090506002610a3b565b60008160048111156130ad576130ad613dcd565b036130b55750565b60018160048111156130c9576130c9613dcd565b036131165760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610795565b600281600481111561312a5761312a613dcd565b036131775760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610795565b600381600481111561318b5761318b613dcd565b036131fe5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c60448201527f75650000000000000000000000000000000000000000000000000000000000006064820152608401610795565b600481600481111561321257613212613dcd565b03610b465760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c60448201527f75650000000000000000000000000000000000000000000000000000000000006064820152608401610795565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156132bc5750600090506003613369565b8460ff16601b141580156132d457508460ff16601c14155b156132e55750600090506004613369565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015613339573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661336257600060019250925050613369565b9150600090505b94509492505050565b6000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8316816133a860ff86901c601b613cc9565b90506133b687828885613285565b935093505050935093915050565b8280546133d090613ac4565b90600052602060002090601f0160209004810192826133f25760008555613438565b82601f1061340b57805160ff1916838001178555613438565b82800160010185558215613438579182015b8281111561343857825182559160200191906001019061341d565b50613444929150613448565b5090565b5b808211156134445760008155600101613449565b80356001600160a01b038116811461347457600080fd5b919050565b6000806040838503121561348c57600080fd5b6134958361345d565b946020939093013593505050565b7fffffffff0000000000000000000000000000000000000000000000000000000081168114610b4657600080fd5b6000602082840312156134e357600080fd5b81356134ee816134a3565b9392505050565b60005b838110156135105781810151838201526020016134f8565b8381111561351f576000848401525b50505050565b6000815180845261353d8160208601602086016134f5565b601f01601f19169290920160200192915050565b6020815260006134ee6020830184613525565b60006020828403121561357657600080fd5b813567ffffffffffffffff811681146134ee57600080fd5b6000602082840312156135a057600080fd5b5035919050565b600080604083850312156135ba57600080fd5b50508035926020909101359150565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b601f19601f830116810181811067ffffffffffffffff8211171561361e5761361e6135c9565b6040525050565b600067ffffffffffffffff82111561363f5761363f6135c9565b5060051b60200190565b600082601f83011261365a57600080fd5b8135602061366782613625565b60405161367482826135f8565b83815260059390931b850182019282810191508684111561369457600080fd5b8286015b848110156136af5780358352918301918301613698565b509695505050505050565b600082601f8301126136cb57600080fd5b813567ffffffffffffffff8111156136e5576136e56135c9565b6040516136fc6020601f19601f85011601826135f8565b81815284602083860101111561371157600080fd5b816020850160208301376000918101602001919091529392505050565b600080600080600060a0868803121561374657600080fd5b61374f8661345d565b945061375d6020870161345d565b9350604086013567ffffffffffffffff8082111561377a57600080fd5b61378689838a01613649565b9450606088013591508082111561379c57600080fd5b6137a889838a01613649565b935060808801359150808211156137be57600080fd5b506137cb888289016136ba565b9150509295509295909350565b60008083601f8401126137ea57600080fd5b50813567ffffffffffffffff81111561380257600080fd5b602083019150836020828501011115610a3b57600080fd5b6000806020838503121561382d57600080fd5b823567ffffffffffffffff81111561384457600080fd5b613850858286016137d8565b90969095509350505050565b6000806040838503121561386f57600080fd5b823567ffffffffffffffff8082111561388757600080fd5b818501915085601f83011261389b57600080fd5b813560206138a882613625565b6040516138b582826135f8565b83815260059390931b85018201928281019150898411156138d557600080fd5b948201945b838610156138fa576138eb8661345d565b825294820194908201906138da565b9650508601359250508082111561391057600080fd5b5061391d85828601613649565b9150509250929050565b600081518084526020808501945080840160005b838110156139575781518752958201959082019060010161393b565b509495945050505050565b6020815260006134ee6020830184613927565b60006020828403121561398757600080fd5b6134ee8261345d565b600080604083850312156139a357600080fd5b6139ac8361345d565b9150602083013580151581146139c157600080fd5b809150509250929050565b600080604083850312156139df57600080fd5b823591506139ef6020840161345d565b90509250929050565b60008060408385031215613a0b57600080fd5b613a148361345d565b915060208301356bffffffffffffffffffffffff811681146139c157600080fd5b60008060408385031215613a4857600080fd5b613a518361345d565b91506139ef6020840161345d565b600080600080600060a08688031215613a7757600080fd5b613a808661345d565b9450613a8e6020870161345d565b93506040860135925060608601359150608086013567ffffffffffffffff811115613ab857600080fd5b6137cb888289016136ba565b600181811c90821680613ad857607f821691505b602082108103613b11577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b8054600090600181811c9080831680613b3157607f831692505b60208084108203613b6b577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b818015613b7f5760018114613bae57613bdb565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00861689528489019650613bdb565b60008881526020902060005b86811015613bd35781548b820152908501908301613bba565b505084890196505b50505050505092915050565b6000613bf38286613b17565b8451613c038183602089016134f5565b613c0f81830186613b17565b979650505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613c8157613c81613c1a565b500290565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082613cc457613cc4613c86565b500490565b60008219821115613cdc57613cdc613c1a565b500190565b600067ffffffffffffffff808316818516808303821115613d0457613d04613c1a565b01949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613d6d57613d6d613c1a565b5060010190565b600082821015613d8657613d86613c1a565b500390565b600082613d9a57613d9a613c86565b500690565b604081526000613db26040830185613927565b8281036020840152613dc48185613927565b95945050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b8381526001600160a01b03831660208201526060810160028310613e49577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b826040830152949350505050565b60006001600160a01b03808816835280871660208401525060a06040830152613e8360a0830186613927565b8281036060840152613e958186613927565b90508281036080840152613ea98185613525565b98975050505050505050565b600060208284031215613ec757600080fd5b81516134ee816134a3565b600060033d111561302b5760046000803e5060005160e01c90565b600060443d1015613efb5790565b6040517ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc803d016004833e81513d67ffffffffffffffff8160248401118184111715613f4957505050505090565b8285019150815181811115613f615750505050505090565b843d8701016020828501011115613f7b5750505050505090565b613f8a602082860101876135f8565b509095945050505050565b60006001600160a01b03808816835280871660208401525084604083015283606083015260a06080830152613c0f60a083018461352556fea2646970667358221220279cede989ca1e0d158453f30675fa89e8dbbe9185418d25e9e280117edbc9e164736f6c634300080d0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000494654067e10000000000000000000000000000000000000000000000000000000000000000014d000000000000000000000000c1228a5259936fb2acdf3cf5ebe0a5dab513794d0000000000000000000000003861758578c12ea5e56ef3830b3531dd17483e2d00000000000000000000000000000000000000000000000000000000000001f400000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000002768747470733a2f2f6d657461646174612e706c6179756b69796f2e636f6d2f70656e64616e742f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000052e6a736f6e000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : mintPrice_ (uint128): 330000000000000000
Arg [1] : maxSupply_ (uint256): 333
Arg [2] : signerAddress_ (address): 0xC1228a5259936FB2ACDF3cf5EbE0A5daB513794D
Arg [3] : royaltyReceiver_ (address): 0x3861758578C12EA5e56eF3830b3531dD17483E2D
Arg [4] : royaltyPercent_ (uint96): 500
Arg [5] : baseTokenUri_ (string): https://metadata.playukiyo.com/pendant/
Arg [6] : baseExtension_ (string): .json
-----Encoded View---------------
12 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000494654067e10000
Arg [1] : 000000000000000000000000000000000000000000000000000000000000014d
Arg [2] : 000000000000000000000000c1228a5259936fb2acdf3cf5ebe0a5dab513794d
Arg [3] : 0000000000000000000000003861758578c12ea5e56ef3830b3531dd17483e2d
Arg [4] : 00000000000000000000000000000000000000000000000000000000000001f4
Arg [5] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000027
Arg [8] : 68747470733a2f2f6d657461646174612e706c6179756b69796f2e636f6d2f70
Arg [9] : 656e64616e742f00000000000000000000000000000000000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [11] : 2e6a736f6e000000000000000000000000000000000000000000000000000000
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.