Feature Tip: Add private address tag to any address under My Name Tag !
ERC-1155
Overview
Max Total Supply
510
Holders
285
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:
CiderWonderPalsDigitalCollectibles
Compiler Version
v0.8.12+commit.f00d7308
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.12; import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@paperxyz/contracts/keyManager/IPaperKeyManager.sol"; contract CiderWonderPalsDigitalCollectibles is ERC1155Supply, Ownable { IPaperKeyManager paperKeyManager; uint8 public constant MAX_PER_WALLET_FREE = 1; uint8 public constant MAX_PER_WALLET_PRE_SALE = 5; uint8 public constant MAX_PER_WALLET_PUBLIC_SALE = 10; uint256 public constant MAX_SUPPLY = 3888; uint256 public preSaleDiscountPrice = 35000000000000000; uint256 public publicSalePrice = 80000000000000000; uint256 public preSaleWindowOpens = 1667174400; uint256 public publicSaleWindowOpens = 1667433600; uint256 public publicSaleWindowCloses = 1667692800; mapping(address => uint256) public mintedFreeTokens; mapping(address => uint256) public mintedPreSaleTokens; mapping(address => uint256) public mintedPublicTokens; uint256 public mintedToken = 0; uint256 public randNonce = 0; address payable private withdrawalWallet = payable(0x0c4F8E6b5516251364cf00893C7671747dBbd0d2); constructor( string memory _name, string memory _symbol, string memory initialBaseURI, address _paperKeyManagerAddress ) ERC1155(initialBaseURI) { _name = _name; _symbol = _symbol; paperKeyManager = IPaperKeyManager(_paperKeyManagerAddress); } modifier onlyPaper( bytes32 _hash, bytes32 _nonce, bytes calldata _signature ) { bool success = paperKeyManager.verify(_hash, _nonce, _signature); require(success, "Failed to verify signature"); _; } function registerPaperKey(address paperKey) public onlyOwner { paperKeyManager.register(paperKey); } function setURI(string memory newuri) public onlyOwner { _setURI(newuri); } function checkPreSaleClaimEligibility( address toAddress, uint256 amount, bool isFree ) external view returns (string memory) { if (mintedToken + amount > MAX_SUPPLY) { return "Max token supply reached"; } if (block.timestamp < preSaleWindowOpens || block.timestamp > publicSaleWindowCloses) { return "Pre sale window closed"; } if (mintedPreSaleTokens[toAddress] + amount > MAX_PER_WALLET_PRE_SALE) { return "Max supply of wallet reached"; } if (isFree && (mintedFreeTokens[toAddress] + amount > MAX_PER_WALLET_FREE)) { return "Max supply of free mint reached"; } return ""; } function checkPublicSaleClaimEligibility(address toAddress, uint256 amount) external view returns (string memory) { if (mintedToken + amount > MAX_SUPPLY) { return "Max token supply reached"; } if (block.timestamp < publicSaleWindowOpens || block.timestamp > publicSaleWindowCloses) { return "Public sale window closed"; } if (mintedPublicTokens[toAddress] + amount > MAX_PER_WALLET_PUBLIC_SALE) { return "Max supply of wallet reached"; } return ""; } function preSaleMint( address toAddress, uint256 amount, bool isFree, bytes32 _nonce, bytes calldata _signature ) external payable onlyPaper(keccak256(abi.encode(toAddress, amount, isFree)), _nonce, _signature) { require( block.timestamp >= preSaleWindowOpens && block.timestamp <= publicSaleWindowCloses, "Pre sale window closed" ); require(mintedToken + amount <= MAX_SUPPLY, "Max token supply reached"); require( mintedPreSaleTokens[toAddress] + amount <= MAX_PER_WALLET_PRE_SALE, "Max supply of wallet reached" ); require( !isFree || (mintedFreeTokens[toAddress] + amount <= MAX_PER_WALLET_FREE), "Invalid amount" ); require( (isFree && msg.value == 0) || (!isFree && msg.value == preSaleDiscountPrice * amount), "Incorrect payment value" ); for (uint256 i = 0; i < amount; i++) { uint256 id = _tokenId(toAddress); _mint(toAddress, id, 1, ""); } if (isFree) { mintedFreeTokens[toAddress] += amount; } mintedPreSaleTokens[toAddress] += amount; mintedToken += amount; } function publicSaleMint(address toAddress, uint256 amount) external payable { require( block.timestamp >= publicSaleWindowOpens && block.timestamp <= publicSaleWindowCloses, "Public sale window closed" ); require(mintedToken + amount <= MAX_SUPPLY, "Max token supply reached"); require( mintedPublicTokens[toAddress] + amount <= MAX_PER_WALLET_PUBLIC_SALE, "Max supply of wallet reached" ); require(msg.value == publicSalePrice * amount, "Incorrect payment value"); for (uint256 i = 0; i < amount; i++) { uint256 id = _tokenId(toAddress); _mint(toAddress, id, 1, ""); } mintedPublicTokens[toAddress] += amount; mintedToken += amount; } function editWindowsForProduction() external onlyOwner { preSaleWindowOpens = 1667174400; publicSaleWindowOpens = 1667433600; publicSaleWindowCloses = 1667692800; } function editWindowsForTest() external onlyOwner { preSaleWindowOpens = 1666908000; publicSaleWindowOpens = 1666908000; publicSaleWindowCloses = 1667080800; } function mintBatch( address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data ) external onlyOwner { uint256 i; uint256 sum = 0; _mintBatch(to, ids, amounts, data); for (i = 0; i < amounts.length; i++) { sum = sum + amounts[i]; } mintedToken += sum; } function setPreSaleDiscountPrice(uint256 _preSaleDiscountPrice) external onlyOwner { preSaleDiscountPrice = _preSaleDiscountPrice; } function setPublicSalePrice(uint256 _publicSalePrice) external onlyOwner { publicSalePrice = _publicSalePrice; } function setWithdrawalWallet(address payable walletAddress) external onlyOwner { withdrawalWallet = (walletAddress); } function withdraw() external onlyOwner { payable(withdrawalWallet).transfer(address(this).balance); } function _tokenId(address toAddress) private returns (uint256) { randNonce++; uint256 number = uint256(keccak256(abi.encodePacked(block.timestamp, toAddress, randNonce))) % 200; if (number == 0) { return 1; } else if (1 <= number && number <= 2) { return 2; } else if (3 <= number && number <= 5) { return 3; } else if (6 <= number && number <= 13) { return 4; } else if (14 <= number && number <= 23) { return 5; } else if (24 <= number && number <= 37) { return 6; } else if (38 <= number && number <= 51) { return 7; } else if (52 <= number && number <= 73) { return 8; } else if (74 <= number && number <= 95) { return 9; } else if (96 <= number && number <= 121) { return 10; } else if (122 <= number && number <= 153) { return 11; } else { return 12; } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC1155/ERC1155.sol) pragma solidity ^0.8.0; import "./IERC1155.sol"; import "./IERC1155Receiver.sol"; import "./extensions/IERC1155MetadataURI.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../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 * * _Available since v3.1._ */ contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI { using Address for address; // Mapping from token ID to account balances mapping(uint256 => mapping(address => uint256)) private _balances; // 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: address zero is not a valid owner"); return _balances[id][account]; } /** * @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 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 token 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: caller is not token 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); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[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); for (uint256 i = 0; i < ids.length; ++i) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: insufficient balance for transfer"); unchecked { _balances[id][from] = fromBalance - amount; } _balances[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); _balances[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}. * * 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 _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); for (uint256 i = 0; i < ids.length; i++) { _balances[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` * * Emits a {TransferSingle} event. * * 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, ""); uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][from] = fromBalance - 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}. * * Emits a {TransferBatch} event. * * 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, ""); for (uint256 i = 0; i < ids.length; i++) { uint256 id = ids[i]; uint256 amount = amounts[i]; uint256 fromBalance = _balances[id][from]; require(fromBalance >= amount, "ERC1155: burn amount exceeds balance"); unchecked { _balances[id][from] = fromBalance - 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 an {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 `ids` and `amounts` 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 (last updated v4.6.0) (token/ERC1155/extensions/ERC1155Supply.sol) pragma solidity ^0.8.0; import "../ERC1155.sol"; /** * @dev Extension of ERC1155 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 ERC1155Supply is ERC1155 { 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 ERC1155Supply.totalSupply(id) > 0; } /** * @dev See {ERC1155-_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 pragma solidity ^0.8.4; /// @title Paper Key Manager /// @author Winston Yeo /// @notice PaperKeyManager makes it easy for developers to restrict certain functions to Paper. /// @dev Developers are in charge of registering the contract with the initial Paper key. Paper will then help you automatically rotate and update your key in line with good security hygiene interface IPaperKeyManager { /// @notice Registers a Paper Key to a contract /// @dev Registers the @param _paperKey with the caller of the function /// @param _paperKey The Paper key that is associated with the checkout. You should be able to find this in the response of the checkout API or on the checkout dashbaord. /// @return bool indicating if the @param _paperKey was successfully registered with the calling address function register(address _paperKey) external returns (bool); /// @notice Verifies if the given @param _data is from Paper and have not been used before /// @dev Called as the first line in your function or extracted in a modifier. Refer to the Documentation for more usage details. /// @param _hash The bytes32 encoding of the data passed into your function /// @param _nonce a random set of bytes Paper passes your function which you forward. This helps ensure that the @param _hash has not been used before. /// @param _signature used to verify that Paper was the one who sent the @param _hash /// @return bool indicating if the @param _hash was successfully verified function verify( bytes32 _hash, bytes32 _nonce, bytes calldata _signature ) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts 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.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 (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/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 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 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 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); }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"initialBaseURI","type":"string"},{"internalType":"address","name":"_paperKeyManagerAddress","type":"address"}],"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_PER_WALLET_FREE","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PER_WALLET_PRE_SALE","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PER_WALLET_PUBLIC_SALE","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","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":[{"internalType":"address","name":"toAddress","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bool","name":"isFree","type":"bool"}],"name":"checkPreSaleClaimEligibility","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"toAddress","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"checkPublicSaleClaimEligibility","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"editWindowsForProduction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"editWindowsForTest","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":[{"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":"mintBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintedFreeTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintedPreSaleTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintedPublicTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintedToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preSaleDiscountPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"toAddress","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bool","name":"isFree","type":"bool"},{"internalType":"bytes32","name":"_nonce","type":"bytes32"},{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"preSaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"preSaleWindowOpens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"toAddress","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"publicSaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicSalePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleWindowCloses","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleWindowOpens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"randNonce","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"paperKey","type":"address"}],"name":"registerPaperKey","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","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":"uint256","name":"_preSaleDiscountPrice","type":"uint256"}],"name":"setPreSaleDiscountPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_publicSalePrice","type":"uint256"}],"name":"setPublicSalePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newuri","type":"string"}],"name":"setURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"walletAddress","type":"address"}],"name":"setWithdrawalWallet","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":[{"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":"uint256","name":"","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052667c58508723800060065567011c37937e08000060075563635f10006008556363630480600955636366f900600a556000600e556000600f55730c4f8e6b5516251364cf00893c7671747dbbd0d2601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055503480156200009f57600080fd5b50604051620055ae380380620055ae8339818101604052810190620000c59190620004df565b81620000d7816200014360201b60201c565b50620000f8620000ec6200015f60201b60201c565b6200016760201b60201c565b80600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050505062000613565b80600290805190602001906200015b9291906200022d565b5050565b600033905090565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200023b90620005dd565b90600052602060002090601f0160209004810192826200025f5760008555620002ab565b82601f106200027a57805160ff1916838001178555620002ab565b82800160010185558215620002ab579182015b82811115620002aa5782518255916020019190600101906200028d565b5b509050620002ba9190620002be565b5090565b5b80821115620002d9576000816000905550600101620002bf565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200034682620002fb565b810181811067ffffffffffffffff821117156200036857620003676200030c565b5b80604052505050565b60006200037d620002dd565b90506200038b82826200033b565b919050565b600067ffffffffffffffff821115620003ae57620003ad6200030c565b5b620003b982620002fb565b9050602081019050919050565b60005b83811015620003e6578082015181840152602081019050620003c9565b83811115620003f6576000848401525b50505050565b6000620004136200040d8462000390565b62000371565b905082815260208101848484011115620004325762000431620002f6565b5b6200043f848285620003c6565b509392505050565b600082601f8301126200045f576200045e620002f1565b5b815162000471848260208601620003fc565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620004a7826200047a565b9050919050565b620004b9816200049a565b8114620004c557600080fd5b50565b600081519050620004d981620004ae565b92915050565b60008060008060808587031215620004fc57620004fb620002e7565b5b600085015167ffffffffffffffff8111156200051d576200051c620002ec565b5b6200052b8782880162000447565b945050602085015167ffffffffffffffff8111156200054f576200054e620002ec565b5b6200055d8782880162000447565b935050604085015167ffffffffffffffff811115620005815762000580620002ec565b5b6200058f8782880162000447565b9250506060620005a287828801620004c8565b91505092959194509250565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620005f657607f821691505b602082108114156200060d576200060c620005ae565b5b50919050565b614f8b80620006236000396000f3fe60806040526004361061023a5760003560e01c806375796f761161012e578063bd85b039116100ab578063e2ea3a571161006f578063e2ea3a5714610856578063e985e9c514610893578063edabdc68146108d0578063f242432a146108fb578063f2fde38b146109245761023a565b8063bd85b0391461076c578063c5806190146107a9578063cd15fe19146107d4578063d6999075146107f0578063d7a334151461082d5761023a565b8063a22cb465116100f2578063a22cb46514610696578063a5b4549e146106bf578063ac0dadfa146106d6578063ac5ae11b14610713578063adafb3f61461072f5761023a565b806375796f76146105c3578063791a2519146105ec5780638542925a146106155780638da5cb5b146106405780639b6860c81461066b5761023a565b80633ccfd60b116101bc5780634f558e79116101805780634f558e79146105045780635f3e6b601461054157806360febc8c1461055857806361e0135614610581578063715018a6146105ac5761023a565b80633ccfd60b1461042f5780634415a0bf14610446578063447781b21461047157806346c11a1f1461049c5780634e1273f4146104c75761023a565b80631f7fdffa116102035780631f7fdffa1461035c5780632eb2c2d61461038557806332cb6b0c146103ae57806334bb95dc146103d95780633a6a51da146104045761023a565b8062fdd58e1461023f57806301ffc9a71461027c57806302fe5305146102b957806308107cf7146102e25780630e89341c1461031f575b600080fd5b34801561024b57600080fd5b5061026660048036038101906102619190613299565b61094d565b60405161027391906132e8565b60405180910390f35b34801561028857600080fd5b506102a3600480360381019061029e919061335b565b610a16565b6040516102b091906133a3565b60405180910390f35b3480156102c557600080fd5b506102e060048036038101906102db9190613504565b610af8565b005b3480156102ee57600080fd5b506103096004803603810190610304919061354d565b610b0c565b60405161031691906132e8565b60405180910390f35b34801561032b57600080fd5b506103466004803603810190610341919061357a565b610b24565b604051610353919061362f565b60405180910390f35b34801561036857600080fd5b50610383600480360381019061037e91906137ba565b610bb8565b005b34801561039157600080fd5b506103ac60048036038101906103a79190613875565b610c3d565b005b3480156103ba57600080fd5b506103c3610cde565b6040516103d091906132e8565b60405180910390f35b3480156103e557600080fd5b506103ee610ce4565b6040516103fb9190613960565b60405180910390f35b34801561041057600080fd5b50610419610ce9565b60405161042691906132e8565b60405180910390f35b34801561043b57600080fd5b50610444610cef565b005b34801561045257600080fd5b5061045b610d62565b60405161046891906132e8565b60405180910390f35b34801561047d57600080fd5b50610486610d68565b60405161049391906132e8565b60405180910390f35b3480156104a857600080fd5b506104b1610d6e565b6040516104be9190613960565b60405180910390f35b3480156104d357600080fd5b506104ee60048036038101906104e99190613a3e565b610d73565b6040516104fb9190613b74565b60405180910390f35b34801561051057600080fd5b5061052b6004803603810190610526919061357a565b610e8c565b60405161053891906133a3565b60405180910390f35b34801561054d57600080fd5b50610556610ea0565b005b34801561056457600080fd5b5061057f600480360381019061057a919061354d565b610ecb565b005b34801561058d57600080fd5b50610596610f75565b6040516105a391906132e8565b60405180910390f35b3480156105b857600080fd5b506105c1610f7b565b005b3480156105cf57600080fd5b506105ea60048036038101906105e59190613bd4565b610f8f565b005b3480156105f857600080fd5b50610613600480360381019061060e919061357a565b610fdb565b005b34801561062157600080fd5b5061062a610fed565b60405161063791906132e8565b60405180910390f35b34801561064c57600080fd5b50610655610ff3565b6040516106629190613c10565b60405180910390f35b34801561067757600080fd5b5061068061101d565b60405161068d91906132e8565b60405180910390f35b3480156106a257600080fd5b506106bd60048036038101906106b89190613c57565b611023565b005b3480156106cb57600080fd5b506106d4611039565b005b3480156106e257600080fd5b506106fd60048036038101906106f89190613c97565b611064565b60405161070a919061362f565b60405180910390f35b61072d60048036038101906107289190613299565b611256565b005b34801561073b57600080fd5b506107566004803603810190610751919061354d565b611497565b60405161076391906132e8565b60405180910390f35b34801561077857600080fd5b50610793600480360381019061078e919061357a565b6114af565b6040516107a091906132e8565b60405180910390f35b3480156107b557600080fd5b506107be6114cc565b6040516107cb91906132e8565b60405180910390f35b6107ee60048036038101906107e99190613d7b565b6114d2565b005b3480156107fc57600080fd5b5061081760048036038101906108129190613299565b611947565b604051610824919061362f565b60405180910390f35b34801561083957600080fd5b50610854600480360381019061084f919061357a565b611a9c565b005b34801561086257600080fd5b5061087d6004803603810190610878919061354d565b611aae565b60405161088a91906132e8565b60405180910390f35b34801561089f57600080fd5b506108ba60048036038101906108b59190613e15565b611ac6565b6040516108c791906133a3565b60405180910390f35b3480156108dc57600080fd5b506108e5611b5a565b6040516108f29190613960565b60405180910390f35b34801561090757600080fd5b50610922600480360381019061091d9190613e55565b611b5f565b005b34801561093057600080fd5b5061094b6004803603810190610946919061354d565b611c00565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156109be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109b590613f5e565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610ae157507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610af15750610af082611c84565b5b9050919050565b610b00611cee565b610b0981611d6c565b50565b600d6020528060005260406000206000915090505481565b606060028054610b3390613fad565b80601f0160208091040260200160405190810160405280929190818152602001828054610b5f90613fad565b8015610bac5780601f10610b8157610100808354040283529160200191610bac565b820191906000526020600020905b815481529060010190602001808311610b8f57829003601f168201915b50505050509050919050565b610bc0611cee565b60008060009050610bd386868686611d86565b600091505b8351821015610c1c57838281518110610bf457610bf3613fdf565b5b602002602001015181610c07919061403d565b90508180610c1490614093565b925050610bd8565b80600e6000828254610c2e919061403d565b92505081905550505050505050565b610c45611fb3565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610c8b5750610c8a85610c85611fb3565b611ac6565b5b610cca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc19061414e565b60405180910390fd5b610cd78585858585611fbb565b5050505050565b610f3081565b600181565b600a5481565b610cf7611cee565b601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610d5f573d6000803e3d6000fd5b50565b60065481565b60085481565b600a81565b60608151835114610db9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db0906141e0565b60405180910390fd5b6000835167ffffffffffffffff811115610dd657610dd56133d9565b5b604051908082528060200260200182016040528015610e045781602001602082028036833780820191505090505b50905060005b8451811015610e8157610e51858281518110610e2957610e28613fdf565b5b6020026020010151858381518110610e4457610e43613fdf565b5b602002602001015161094d565b828281518110610e6457610e63613fdf565b5b60200260200101818152505080610e7a90614093565b9050610e0a565b508091505092915050565b600080610e98836114af565b119050919050565b610ea8611cee565b63635f10006008819055506363630480600981905550636366f900600a81905550565b610ed3611cee565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634420e486826040518263ffffffff1660e01b8152600401610f2e9190613c10565b6020604051808303816000875af1158015610f4d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f719190614215565b5050565b600f5481565b610f83611cee565b610f8d60006122dd565b565b610f97611cee565b80601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610fe3611cee565b8060078190555050565b600e5481565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60075481565b61103561102e611fb3565b83836123a3565b5050565b611041611cee565b63635aff6060088190555063635aff6060098190555063635da260600a81905550565b6060610f3083600e54611077919061403d565b11156110ba576040518060400160405280601881526020017f4d617820746f6b656e20737570706c7920726561636865640000000000000000815250905061124f565b6008544210806110cb5750600a5442115b1561110d576040518060400160405280601681526020017f5072652073616c652077696e646f7720636c6f73656400000000000000000000815250905061124f565b600560ff1683600c60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461115d919061403d565b11156111a0576040518060400160405280601c81526020017f4d617820737570706c79206f662077616c6c6574207265616368656400000000815250905061124f565b8180156111fa5750600160ff1683600b60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546111f8919061403d565b115b1561123c576040518060400160405280601f81526020017f4d617820737570706c79206f662066726565206d696e74207265616368656400815250905061124f565b6040518060200160405280600081525090505b9392505050565b600954421015801561126a5750600a544211155b6112a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a09061428e565b60405180910390fd5b610f3081600e546112ba919061403d565b11156112fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f2906142fa565b60405180910390fd5b600a60ff1681600d60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461134b919061403d565b111561138c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138390614366565b60405180910390fd5b8060075461139a9190614386565b34146113db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d29061442c565b60405180910390fd5b60005b818110156114235760006113f184612510565b905061140f84826001604051806020016040528060008152506126d2565b50808061141b90614093565b9150506113de565b5080600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611473919061403d565b9250508190555080600e600082825461148c919061403d565b925050819055505050565b600b6020528060005260406000206000915090505481565b600060036000838152602001908152602001600020549050919050565b60095481565b8585856040516020016114e79392919061444c565b604051602081830303815290604052805190602001208383836000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663de12c640868686866040518563ffffffff1660e01b815260040161156394939291906144d0565b6020604051808303816000875af1158015611582573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115a69190614215565b9050806115e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115df9061455c565b60405180910390fd5b60085442101580156115fc5750600a544211155b61163b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611632906145c8565b60405180910390fd5b610f308a600e5461164c919061403d565b111561168d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611684906142fa565b60405180910390fd5b600560ff168a600c60008e73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546116dd919061403d565b111561171e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171590614366565b60405180910390fd5b8815806117795750600160ff168a600b60008e73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611776919061403d565b11155b6117b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117af90614634565b60405180910390fd5b8880156117c55750600034145b806117e65750881580156117e55750896006546117e29190614386565b34145b5b611825576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181c9061442c565b60405180910390fd5b60005b8a81101561186d57600061183b8d612510565b90506118598d826001604051806020016040528060008152506126d2565b50808061186590614093565b915050611828565b5088156118cb5789600b60008d73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546118c3919061403d565b925050819055505b89600c60008d73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461191a919061403d565b9250508190555089600e6000828254611933919061403d565b925050819055505050505050505050505050565b6060610f3082600e5461195a919061403d565b111561199d576040518060400160405280601881526020017f4d617820746f6b656e20737570706c79207265616368656400000000000000008152509050611a96565b6009544210806119ae5750600a5442115b156119f0576040518060400160405280601981526020017f5075626c69632073616c652077696e646f7720636c6f736564000000000000008152509050611a96565b600a60ff1682600d60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611a40919061403d565b1115611a83576040518060400160405280601c81526020017f4d617820737570706c79206f662077616c6c65742072656163686564000000008152509050611a96565b6040518060200160405280600081525090505b92915050565b611aa4611cee565b8060068190555050565b600c6020528060005260406000206000915090505481565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600581565b611b67611fb3565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480611bad5750611bac85611ba7611fb3565b611ac6565b5b611bec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611be39061414e565b60405180910390fd5b611bf98585858585612883565b5050505050565b611c08611cee565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611c78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6f906146c6565b60405180910390fd5b611c81816122dd565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b611cf6611fb3565b73ffffffffffffffffffffffffffffffffffffffff16611d14610ff3565b73ffffffffffffffffffffffffffffffffffffffff1614611d6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6190614732565b60405180910390fd5b565b8060029080519060200190611d8292919061314e565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611df6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ded906147c4565b60405180910390fd5b8151835114611e3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e3190614856565b60405180910390fd5b6000611e44611fb3565b9050611e5581600087878787612b1f565b60005b8451811015611f0e57838181518110611e7457611e73613fdf565b5b6020026020010151600080878481518110611e9257611e91613fdf565b5b6020026020010151815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ef4919061403d565b925050819055508080611f0690614093565b915050611e58565b508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611f86929190614876565b60405180910390a4611f9d81600087878787612cf1565b611fac81600087878787612cf9565b5050505050565b600033905090565b8151835114611fff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ff690614856565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561206f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120669061491f565b60405180910390fd5b6000612079611fb3565b9050612089818787878787612b1f565b60005b845181101561223a5760008582815181106120aa576120a9613fdf565b5b6020026020010151905060008583815181106120c9576120c8613fdf565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561216a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612161906149b1565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461221f919061403d565b925050819055505050508061223390614093565b905061208c565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516122b1929190614876565b60405180910390a46122c7818787878787612cf1565b6122d5818787878787612cf9565b505050505050565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612412576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161240990614a43565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161250391906133a3565b60405180910390a3505050565b6000600f600081548092919061252590614093565b9190505550600060c84284600f5460405160200161254593929190614acc565b6040516020818303038152906040528051906020012060001c6125689190614b38565b9050600081141561257d5760019150506126cd565b8060011115801561258f575060028111155b1561259e5760029150506126cd565b806003111580156125b0575060058111155b156125bf5760039150506126cd565b806006111580156125d15750600d8111155b156125e05760049150506126cd565b80600e111580156125f2575060178111155b156126015760059150506126cd565b80601811158015612613575060258111155b156126225760069150506126cd565b80602611158015612634575060338111155b156126435760079150506126cd565b80603411158015612655575060498111155b156126645760089150506126cd565b80604a111580156126765750605f8111155b156126855760099150506126cd565b80606011158015612697575060798111155b156126a657600a9150506126cd565b80607a111580156126b8575060998111155b156126c757600b9150506126cd565b600c9150505b919050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612742576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612739906147c4565b60405180910390fd5b600061274c611fb3565b9050600061275985612ed1565b9050600061276685612ed1565b905061277783600089858589612b1f565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127d6919061403d565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051612854929190614b69565b60405180910390a461286b83600089858589612cf1565b61287a83600089898989612f4b565b50505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156128f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128ea9061491f565b60405180910390fd5b60006128fd611fb3565b9050600061290a85612ed1565b9050600061291785612ed1565b9050612927838989858589612b1f565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050858110156129be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129b5906149b1565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612a73919061403d565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a604051612af0929190614b69565b60405180910390a4612b06848a8a86868a612cf1565b612b14848a8a8a8a8a612f4b565b505050505050505050565b612b2d868686868686613123565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415612bdf5760005b8351811015612bdd57828181518110612b8157612b80613fdf565b5b602002602001015160036000868481518110612ba057612b9f613fdf565b5b602002602001015181526020019081526020016000206000828254612bc5919061403d565b9250508190555080612bd690614093565b9050612b65565b505b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612ce95760005b8351811015612ce7576000848281518110612c3557612c34613fdf565b5b602002602001015190506000848381518110612c5457612c53613fdf565b5b6020026020010151905060006003600084815260200190815260200160002054905081811015612cb9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cb090614c04565b60405180910390fd5b818103600360008581526020019081526020016000208190555050505080612ce090614093565b9050612c17565b505b505050505050565b505050505050565b612d188473ffffffffffffffffffffffffffffffffffffffff1661312b565b15612ec9578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401612d5e959493929190614c68565b6020604051808303816000875af1925050508015612d9a57506040513d601f19601f82011682018060405250810190612d979190614ce5565b60015b612e4057612da6614d1f565b806308c379a01415612e035750612dbb614d41565b80612dc65750612e05565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dfa919061362f565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e3790614e49565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612ec7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ebe90614edb565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff811115612ef057612eef6133d9565b5b604051908082528060200260200182016040528015612f1e5781602001602082028036833780820191505090505b5090508281600081518110612f3657612f35613fdf565b5b60200260200101818152505080915050919050565b612f6a8473ffffffffffffffffffffffffffffffffffffffff1661312b565b1561311b578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401612fb0959493929190614efb565b6020604051808303816000875af1925050508015612fec57506040513d601f19601f82011682018060405250810190612fe99190614ce5565b60015b61309257612ff8614d1f565b806308c379a01415613055575061300d614d41565b806130185750613057565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161304c919061362f565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161308990614e49565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614613119576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161311090614edb565b60405180910390fd5b505b505050505050565b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b82805461315a90613fad565b90600052602060002090601f01602090048101928261317c57600085556131c3565b82601f1061319557805160ff19168380011785556131c3565b828001600101855582156131c3579182015b828111156131c25782518255916020019190600101906131a7565b5b5090506131d091906131d4565b5090565b5b808211156131ed5760008160009055506001016131d5565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061323082613205565b9050919050565b61324081613225565b811461324b57600080fd5b50565b60008135905061325d81613237565b92915050565b6000819050919050565b61327681613263565b811461328157600080fd5b50565b6000813590506132938161326d565b92915050565b600080604083850312156132b0576132af6131fb565b5b60006132be8582860161324e565b92505060206132cf85828601613284565b9150509250929050565b6132e281613263565b82525050565b60006020820190506132fd60008301846132d9565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61333881613303565b811461334357600080fd5b50565b6000813590506133558161332f565b92915050565b600060208284031215613371576133706131fb565b5b600061337f84828501613346565b91505092915050565b60008115159050919050565b61339d81613388565b82525050565b60006020820190506133b86000830184613394565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613411826133c8565b810181811067ffffffffffffffff821117156134305761342f6133d9565b5b80604052505050565b60006134436131f1565b905061344f8282613408565b919050565b600067ffffffffffffffff82111561346f5761346e6133d9565b5b613478826133c8565b9050602081019050919050565b82818337600083830152505050565b60006134a76134a284613454565b613439565b9050828152602081018484840111156134c3576134c26133c3565b5b6134ce848285613485565b509392505050565b600082601f8301126134eb576134ea6133be565b5b81356134fb848260208601613494565b91505092915050565b60006020828403121561351a576135196131fb565b5b600082013567ffffffffffffffff81111561353857613537613200565b5b613544848285016134d6565b91505092915050565b600060208284031215613563576135626131fb565b5b60006135718482850161324e565b91505092915050565b6000602082840312156135905761358f6131fb565b5b600061359e84828501613284565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156135e15780820151818401526020810190506135c6565b838111156135f0576000848401525b50505050565b6000613601826135a7565b61360b81856135b2565b935061361b8185602086016135c3565b613624816133c8565b840191505092915050565b6000602082019050818103600083015261364981846135f6565b905092915050565b600067ffffffffffffffff82111561366c5761366b6133d9565b5b602082029050602081019050919050565b600080fd5b600061369561369084613651565b613439565b905080838252602082019050602084028301858111156136b8576136b761367d565b5b835b818110156136e157806136cd8882613284565b8452602084019350506020810190506136ba565b5050509392505050565b600082601f830112613700576136ff6133be565b5b8135613710848260208601613682565b91505092915050565b600067ffffffffffffffff821115613734576137336133d9565b5b61373d826133c8565b9050602081019050919050565b600061375d61375884613719565b613439565b905082815260208101848484011115613779576137786133c3565b5b613784848285613485565b509392505050565b600082601f8301126137a1576137a06133be565b5b81356137b184826020860161374a565b91505092915050565b600080600080608085870312156137d4576137d36131fb565b5b60006137e28782880161324e565b945050602085013567ffffffffffffffff81111561380357613802613200565b5b61380f878288016136eb565b935050604085013567ffffffffffffffff8111156138305761382f613200565b5b61383c878288016136eb565b925050606085013567ffffffffffffffff81111561385d5761385c613200565b5b6138698782880161378c565b91505092959194509250565b600080600080600060a08688031215613891576138906131fb565b5b600061389f8882890161324e565b95505060206138b08882890161324e565b945050604086013567ffffffffffffffff8111156138d1576138d0613200565b5b6138dd888289016136eb565b935050606086013567ffffffffffffffff8111156138fe576138fd613200565b5b61390a888289016136eb565b925050608086013567ffffffffffffffff81111561392b5761392a613200565b5b6139378882890161378c565b9150509295509295909350565b600060ff82169050919050565b61395a81613944565b82525050565b60006020820190506139756000830184613951565b92915050565b600067ffffffffffffffff821115613996576139956133d9565b5b602082029050602081019050919050565b60006139ba6139b58461397b565b613439565b905080838252602082019050602084028301858111156139dd576139dc61367d565b5b835b81811015613a0657806139f2888261324e565b8452602084019350506020810190506139df565b5050509392505050565b600082601f830112613a2557613a246133be565b5b8135613a358482602086016139a7565b91505092915050565b60008060408385031215613a5557613a546131fb565b5b600083013567ffffffffffffffff811115613a7357613a72613200565b5b613a7f85828601613a10565b925050602083013567ffffffffffffffff811115613aa057613a9f613200565b5b613aac858286016136eb565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613aeb81613263565b82525050565b6000613afd8383613ae2565b60208301905092915050565b6000602082019050919050565b6000613b2182613ab6565b613b2b8185613ac1565b9350613b3683613ad2565b8060005b83811015613b67578151613b4e8882613af1565b9750613b5983613b09565b925050600181019050613b3a565b5085935050505092915050565b60006020820190508181036000830152613b8e8184613b16565b905092915050565b6000613ba182613205565b9050919050565b613bb181613b96565b8114613bbc57600080fd5b50565b600081359050613bce81613ba8565b92915050565b600060208284031215613bea57613be96131fb565b5b6000613bf884828501613bbf565b91505092915050565b613c0a81613225565b82525050565b6000602082019050613c256000830184613c01565b92915050565b613c3481613388565b8114613c3f57600080fd5b50565b600081359050613c5181613c2b565b92915050565b60008060408385031215613c6e57613c6d6131fb565b5b6000613c7c8582860161324e565b9250506020613c8d85828601613c42565b9150509250929050565b600080600060608486031215613cb057613caf6131fb565b5b6000613cbe8682870161324e565b9350506020613ccf86828701613284565b9250506040613ce086828701613c42565b9150509250925092565b6000819050919050565b613cfd81613cea565b8114613d0857600080fd5b50565b600081359050613d1a81613cf4565b92915050565b600080fd5b60008083601f840112613d3b57613d3a6133be565b5b8235905067ffffffffffffffff811115613d5857613d57613d20565b5b602083019150836001820283011115613d7457613d7361367d565b5b9250929050565b60008060008060008060a08789031215613d9857613d976131fb565b5b6000613da689828a0161324e565b9650506020613db789828a01613284565b9550506040613dc889828a01613c42565b9450506060613dd989828a01613d0b565b935050608087013567ffffffffffffffff811115613dfa57613df9613200565b5b613e0689828a01613d25565b92509250509295509295509295565b60008060408385031215613e2c57613e2b6131fb565b5b6000613e3a8582860161324e565b9250506020613e4b8582860161324e565b9150509250929050565b600080600080600060a08688031215613e7157613e706131fb565b5b6000613e7f8882890161324e565b9550506020613e908882890161324e565b9450506040613ea188828901613284565b9350506060613eb288828901613284565b925050608086013567ffffffffffffffff811115613ed357613ed2613200565b5b613edf8882890161378c565b9150509295509295909350565b7f455243313135353a2061646472657373207a65726f206973206e6f742061207660008201527f616c6964206f776e657200000000000000000000000000000000000000000000602082015250565b6000613f48602a836135b2565b9150613f5382613eec565b604082019050919050565b60006020820190508181036000830152613f7781613f3b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613fc557607f821691505b60208210811415613fd957613fd8613f7e565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061404882613263565b915061405383613263565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156140885761408761400e565b5b828201905092915050565b600061409e82613263565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156140d1576140d061400e565b5b600182019050919050565b7f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60008201527f6572206e6f7220617070726f7665640000000000000000000000000000000000602082015250565b6000614138602f836135b2565b9150614143826140dc565b604082019050919050565b600060208201905081810360008301526141678161412b565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b60006141ca6029836135b2565b91506141d58261416e565b604082019050919050565b600060208201905081810360008301526141f9816141bd565b9050919050565b60008151905061420f81613c2b565b92915050565b60006020828403121561422b5761422a6131fb565b5b600061423984828501614200565b91505092915050565b7f5075626c69632073616c652077696e646f7720636c6f73656400000000000000600082015250565b60006142786019836135b2565b915061428382614242565b602082019050919050565b600060208201905081810360008301526142a78161426b565b9050919050565b7f4d617820746f6b656e20737570706c7920726561636865640000000000000000600082015250565b60006142e46018836135b2565b91506142ef826142ae565b602082019050919050565b60006020820190508181036000830152614313816142d7565b9050919050565b7f4d617820737570706c79206f662077616c6c6574207265616368656400000000600082015250565b6000614350601c836135b2565b915061435b8261431a565b602082019050919050565b6000602082019050818103600083015261437f81614343565b9050919050565b600061439182613263565b915061439c83613263565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156143d5576143d461400e565b5b828202905092915050565b7f496e636f7272656374207061796d656e742076616c7565000000000000000000600082015250565b60006144166017836135b2565b9150614421826143e0565b602082019050919050565b6000602082019050818103600083015261444581614409565b9050919050565b60006060820190506144616000830186613c01565b61446e60208301856132d9565b61447b6040830184613394565b949350505050565b61448c81613cea565b82525050565b600082825260208201905092915050565b60006144af8385614492565b93506144bc838584613485565b6144c5836133c8565b840190509392505050565b60006060820190506144e56000830187614483565b6144f26020830186614483565b81810360408301526145058184866144a3565b905095945050505050565b7f4661696c656420746f20766572696679207369676e6174757265000000000000600082015250565b6000614546601a836135b2565b915061455182614510565b602082019050919050565b6000602082019050818103600083015261457581614539565b9050919050565b7f5072652073616c652077696e646f7720636c6f73656400000000000000000000600082015250565b60006145b26016836135b2565b91506145bd8261457c565b602082019050919050565b600060208201905081810360008301526145e1816145a5565b9050919050565b7f496e76616c696420616d6f756e74000000000000000000000000000000000000600082015250565b600061461e600e836135b2565b9150614629826145e8565b602082019050919050565b6000602082019050818103600083015261464d81614611565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006146b06026836135b2565b91506146bb82614654565b604082019050919050565b600060208201905081810360008301526146df816146a3565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061471c6020836135b2565b9150614727826146e6565b602082019050919050565b6000602082019050818103600083015261474b8161470f565b9050919050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006147ae6021836135b2565b91506147b982614752565b604082019050919050565b600060208201905081810360008301526147dd816147a1565b9050919050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b60006148406028836135b2565b915061484b826147e4565b604082019050919050565b6000602082019050818103600083015261486f81614833565b9050919050565b600060408201905081810360008301526148908185613b16565b905081810360208301526148a48184613b16565b90509392505050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006149096025836135b2565b9150614914826148ad565b604082019050919050565b60006020820190508181036000830152614938816148fc565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b600061499b602a836135b2565b91506149a68261493f565b604082019050919050565b600060208201905081810360008301526149ca8161498e565b9050919050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b6000614a2d6029836135b2565b9150614a38826149d1565b604082019050919050565b60006020820190508181036000830152614a5c81614a20565b9050919050565b6000819050919050565b614a7e614a7982613263565b614a63565b82525050565b60008160601b9050919050565b6000614a9c82614a84565b9050919050565b6000614aae82614a91565b9050919050565b614ac6614ac182613225565b614aa3565b82525050565b6000614ad88286614a6d565b602082019150614ae88285614ab5565b601482019150614af88284614a6d565b602082019150819050949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614b4382613263565b9150614b4e83613263565b925082614b5e57614b5d614b09565b5b828206905092915050565b6000604082019050614b7e60008301856132d9565b614b8b60208301846132d9565b9392505050565b7f455243313135353a206275726e20616d6f756e74206578636565647320746f7460008201527f616c537570706c79000000000000000000000000000000000000000000000000602082015250565b6000614bee6028836135b2565b9150614bf982614b92565b604082019050919050565b60006020820190508181036000830152614c1d81614be1565b9050919050565b600081519050919050565b6000614c3a82614c24565b614c448185614492565b9350614c548185602086016135c3565b614c5d816133c8565b840191505092915050565b600060a082019050614c7d6000830188613c01565b614c8a6020830187613c01565b8181036040830152614c9c8186613b16565b90508181036060830152614cb08185613b16565b90508181036080830152614cc48184614c2f565b90509695505050505050565b600081519050614cdf8161332f565b92915050565b600060208284031215614cfb57614cfa6131fb565b5b6000614d0984828501614cd0565b91505092915050565b60008160e01c9050919050565b600060033d1115614d3e5760046000803e614d3b600051614d12565b90505b90565b600060443d1015614d5157614dd4565b614d596131f1565b60043d036004823e80513d602482011167ffffffffffffffff82111715614d81575050614dd4565b808201805167ffffffffffffffff811115614d9f5750505050614dd4565b80602083010160043d038501811115614dbc575050505050614dd4565b614dcb82602001850186613408565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b6000614e336034836135b2565b9150614e3e82614dd7565b604082019050919050565b60006020820190508181036000830152614e6281614e26565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b6000614ec56028836135b2565b9150614ed082614e69565b604082019050919050565b60006020820190508181036000830152614ef481614eb8565b9050919050565b600060a082019050614f106000830188613c01565b614f1d6020830187613c01565b614f2a60408301866132d9565b614f3760608301856132d9565b8181036080830152614f498184614c2f565b9050969550505050505056fea264697066735822122029325878f330b74a091ec425dd155c3c870acb02628715daa8b4c785e53551c564736f6c634300080c0033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000678a3f64a1bf33ba0746ffd88ba749b40b565da500000000000000000000000000000000000000000000000000000000000000294369646572205820576f6e64657250616c73207c204469676974616c20436f6c6c65637469626c657300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009434944455250414c530000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003f697066733a2f2f516d63614574796d5244596f6a526b3571636a665451414d45366763796b5643764254524538425556637379694a2f7b69647d2e6a736f6e00
Deployed Bytecode
0x60806040526004361061023a5760003560e01c806375796f761161012e578063bd85b039116100ab578063e2ea3a571161006f578063e2ea3a5714610856578063e985e9c514610893578063edabdc68146108d0578063f242432a146108fb578063f2fde38b146109245761023a565b8063bd85b0391461076c578063c5806190146107a9578063cd15fe19146107d4578063d6999075146107f0578063d7a334151461082d5761023a565b8063a22cb465116100f2578063a22cb46514610696578063a5b4549e146106bf578063ac0dadfa146106d6578063ac5ae11b14610713578063adafb3f61461072f5761023a565b806375796f76146105c3578063791a2519146105ec5780638542925a146106155780638da5cb5b146106405780639b6860c81461066b5761023a565b80633ccfd60b116101bc5780634f558e79116101805780634f558e79146105045780635f3e6b601461054157806360febc8c1461055857806361e0135614610581578063715018a6146105ac5761023a565b80633ccfd60b1461042f5780634415a0bf14610446578063447781b21461047157806346c11a1f1461049c5780634e1273f4146104c75761023a565b80631f7fdffa116102035780631f7fdffa1461035c5780632eb2c2d61461038557806332cb6b0c146103ae57806334bb95dc146103d95780633a6a51da146104045761023a565b8062fdd58e1461023f57806301ffc9a71461027c57806302fe5305146102b957806308107cf7146102e25780630e89341c1461031f575b600080fd5b34801561024b57600080fd5b5061026660048036038101906102619190613299565b61094d565b60405161027391906132e8565b60405180910390f35b34801561028857600080fd5b506102a3600480360381019061029e919061335b565b610a16565b6040516102b091906133a3565b60405180910390f35b3480156102c557600080fd5b506102e060048036038101906102db9190613504565b610af8565b005b3480156102ee57600080fd5b506103096004803603810190610304919061354d565b610b0c565b60405161031691906132e8565b60405180910390f35b34801561032b57600080fd5b506103466004803603810190610341919061357a565b610b24565b604051610353919061362f565b60405180910390f35b34801561036857600080fd5b50610383600480360381019061037e91906137ba565b610bb8565b005b34801561039157600080fd5b506103ac60048036038101906103a79190613875565b610c3d565b005b3480156103ba57600080fd5b506103c3610cde565b6040516103d091906132e8565b60405180910390f35b3480156103e557600080fd5b506103ee610ce4565b6040516103fb9190613960565b60405180910390f35b34801561041057600080fd5b50610419610ce9565b60405161042691906132e8565b60405180910390f35b34801561043b57600080fd5b50610444610cef565b005b34801561045257600080fd5b5061045b610d62565b60405161046891906132e8565b60405180910390f35b34801561047d57600080fd5b50610486610d68565b60405161049391906132e8565b60405180910390f35b3480156104a857600080fd5b506104b1610d6e565b6040516104be9190613960565b60405180910390f35b3480156104d357600080fd5b506104ee60048036038101906104e99190613a3e565b610d73565b6040516104fb9190613b74565b60405180910390f35b34801561051057600080fd5b5061052b6004803603810190610526919061357a565b610e8c565b60405161053891906133a3565b60405180910390f35b34801561054d57600080fd5b50610556610ea0565b005b34801561056457600080fd5b5061057f600480360381019061057a919061354d565b610ecb565b005b34801561058d57600080fd5b50610596610f75565b6040516105a391906132e8565b60405180910390f35b3480156105b857600080fd5b506105c1610f7b565b005b3480156105cf57600080fd5b506105ea60048036038101906105e59190613bd4565b610f8f565b005b3480156105f857600080fd5b50610613600480360381019061060e919061357a565b610fdb565b005b34801561062157600080fd5b5061062a610fed565b60405161063791906132e8565b60405180910390f35b34801561064c57600080fd5b50610655610ff3565b6040516106629190613c10565b60405180910390f35b34801561067757600080fd5b5061068061101d565b60405161068d91906132e8565b60405180910390f35b3480156106a257600080fd5b506106bd60048036038101906106b89190613c57565b611023565b005b3480156106cb57600080fd5b506106d4611039565b005b3480156106e257600080fd5b506106fd60048036038101906106f89190613c97565b611064565b60405161070a919061362f565b60405180910390f35b61072d60048036038101906107289190613299565b611256565b005b34801561073b57600080fd5b506107566004803603810190610751919061354d565b611497565b60405161076391906132e8565b60405180910390f35b34801561077857600080fd5b50610793600480360381019061078e919061357a565b6114af565b6040516107a091906132e8565b60405180910390f35b3480156107b557600080fd5b506107be6114cc565b6040516107cb91906132e8565b60405180910390f35b6107ee60048036038101906107e99190613d7b565b6114d2565b005b3480156107fc57600080fd5b5061081760048036038101906108129190613299565b611947565b604051610824919061362f565b60405180910390f35b34801561083957600080fd5b50610854600480360381019061084f919061357a565b611a9c565b005b34801561086257600080fd5b5061087d6004803603810190610878919061354d565b611aae565b60405161088a91906132e8565b60405180910390f35b34801561089f57600080fd5b506108ba60048036038101906108b59190613e15565b611ac6565b6040516108c791906133a3565b60405180910390f35b3480156108dc57600080fd5b506108e5611b5a565b6040516108f29190613960565b60405180910390f35b34801561090757600080fd5b50610922600480360381019061091d9190613e55565b611b5f565b005b34801561093057600080fd5b5061094b6004803603810190610946919061354d565b611c00565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156109be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109b590613f5e565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610ae157507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610af15750610af082611c84565b5b9050919050565b610b00611cee565b610b0981611d6c565b50565b600d6020528060005260406000206000915090505481565b606060028054610b3390613fad565b80601f0160208091040260200160405190810160405280929190818152602001828054610b5f90613fad565b8015610bac5780601f10610b8157610100808354040283529160200191610bac565b820191906000526020600020905b815481529060010190602001808311610b8f57829003601f168201915b50505050509050919050565b610bc0611cee565b60008060009050610bd386868686611d86565b600091505b8351821015610c1c57838281518110610bf457610bf3613fdf565b5b602002602001015181610c07919061403d565b90508180610c1490614093565b925050610bd8565b80600e6000828254610c2e919061403d565b92505081905550505050505050565b610c45611fb3565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610c8b5750610c8a85610c85611fb3565b611ac6565b5b610cca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc19061414e565b60405180910390fd5b610cd78585858585611fbb565b5050505050565b610f3081565b600181565b600a5481565b610cf7611cee565b601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610d5f573d6000803e3d6000fd5b50565b60065481565b60085481565b600a81565b60608151835114610db9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db0906141e0565b60405180910390fd5b6000835167ffffffffffffffff811115610dd657610dd56133d9565b5b604051908082528060200260200182016040528015610e045781602001602082028036833780820191505090505b50905060005b8451811015610e8157610e51858281518110610e2957610e28613fdf565b5b6020026020010151858381518110610e4457610e43613fdf565b5b602002602001015161094d565b828281518110610e6457610e63613fdf565b5b60200260200101818152505080610e7a90614093565b9050610e0a565b508091505092915050565b600080610e98836114af565b119050919050565b610ea8611cee565b63635f10006008819055506363630480600981905550636366f900600a81905550565b610ed3611cee565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16634420e486826040518263ffffffff1660e01b8152600401610f2e9190613c10565b6020604051808303816000875af1158015610f4d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f719190614215565b5050565b600f5481565b610f83611cee565b610f8d60006122dd565b565b610f97611cee565b80601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610fe3611cee565b8060078190555050565b600e5481565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60075481565b61103561102e611fb3565b83836123a3565b5050565b611041611cee565b63635aff6060088190555063635aff6060098190555063635da260600a81905550565b6060610f3083600e54611077919061403d565b11156110ba576040518060400160405280601881526020017f4d617820746f6b656e20737570706c7920726561636865640000000000000000815250905061124f565b6008544210806110cb5750600a5442115b1561110d576040518060400160405280601681526020017f5072652073616c652077696e646f7720636c6f73656400000000000000000000815250905061124f565b600560ff1683600c60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461115d919061403d565b11156111a0576040518060400160405280601c81526020017f4d617820737570706c79206f662077616c6c6574207265616368656400000000815250905061124f565b8180156111fa5750600160ff1683600b60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546111f8919061403d565b115b1561123c576040518060400160405280601f81526020017f4d617820737570706c79206f662066726565206d696e74207265616368656400815250905061124f565b6040518060200160405280600081525090505b9392505050565b600954421015801561126a5750600a544211155b6112a9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a09061428e565b60405180910390fd5b610f3081600e546112ba919061403d565b11156112fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f2906142fa565b60405180910390fd5b600a60ff1681600d60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461134b919061403d565b111561138c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161138390614366565b60405180910390fd5b8060075461139a9190614386565b34146113db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d29061442c565b60405180910390fd5b60005b818110156114235760006113f184612510565b905061140f84826001604051806020016040528060008152506126d2565b50808061141b90614093565b9150506113de565b5080600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611473919061403d565b9250508190555080600e600082825461148c919061403d565b925050819055505050565b600b6020528060005260406000206000915090505481565b600060036000838152602001908152602001600020549050919050565b60095481565b8585856040516020016114e79392919061444c565b604051602081830303815290604052805190602001208383836000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663de12c640868686866040518563ffffffff1660e01b815260040161156394939291906144d0565b6020604051808303816000875af1158015611582573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115a69190614215565b9050806115e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115df9061455c565b60405180910390fd5b60085442101580156115fc5750600a544211155b61163b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611632906145c8565b60405180910390fd5b610f308a600e5461164c919061403d565b111561168d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611684906142fa565b60405180910390fd5b600560ff168a600c60008e73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546116dd919061403d565b111561171e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161171590614366565b60405180910390fd5b8815806117795750600160ff168a600b60008e73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611776919061403d565b11155b6117b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117af90614634565b60405180910390fd5b8880156117c55750600034145b806117e65750881580156117e55750896006546117e29190614386565b34145b5b611825576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181c9061442c565b60405180910390fd5b60005b8a81101561186d57600061183b8d612510565b90506118598d826001604051806020016040528060008152506126d2565b50808061186590614093565b915050611828565b5088156118cb5789600b60008d73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546118c3919061403d565b925050819055505b89600c60008d73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461191a919061403d565b9250508190555089600e6000828254611933919061403d565b925050819055505050505050505050505050565b6060610f3082600e5461195a919061403d565b111561199d576040518060400160405280601881526020017f4d617820746f6b656e20737570706c79207265616368656400000000000000008152509050611a96565b6009544210806119ae5750600a5442115b156119f0576040518060400160405280601981526020017f5075626c69632073616c652077696e646f7720636c6f736564000000000000008152509050611a96565b600a60ff1682600d60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611a40919061403d565b1115611a83576040518060400160405280601c81526020017f4d617820737570706c79206f662077616c6c65742072656163686564000000008152509050611a96565b6040518060200160405280600081525090505b92915050565b611aa4611cee565b8060068190555050565b600c6020528060005260406000206000915090505481565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600581565b611b67611fb3565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480611bad5750611bac85611ba7611fb3565b611ac6565b5b611bec576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611be39061414e565b60405180910390fd5b611bf98585858585612883565b5050505050565b611c08611cee565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611c78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c6f906146c6565b60405180910390fd5b611c81816122dd565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b611cf6611fb3565b73ffffffffffffffffffffffffffffffffffffffff16611d14610ff3565b73ffffffffffffffffffffffffffffffffffffffff1614611d6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6190614732565b60405180910390fd5b565b8060029080519060200190611d8292919061314e565b5050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611df6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ded906147c4565b60405180910390fd5b8151835114611e3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e3190614856565b60405180910390fd5b6000611e44611fb3565b9050611e5581600087878787612b1f565b60005b8451811015611f0e57838181518110611e7457611e73613fdf565b5b6020026020010151600080878481518110611e9257611e91613fdf565b5b6020026020010151815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611ef4919061403d565b925050819055508080611f0690614093565b915050611e58565b508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051611f86929190614876565b60405180910390a4611f9d81600087878787612cf1565b611fac81600087878787612cf9565b5050505050565b600033905090565b8151835114611fff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ff690614856565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561206f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120669061491f565b60405180910390fd5b6000612079611fb3565b9050612089818787878787612b1f565b60005b845181101561223a5760008582815181106120aa576120a9613fdf565b5b6020026020010151905060008583815181106120c9576120c8613fdf565b5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508181101561216a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612161906149b1565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461221f919061403d565b925050819055505050508061223390614093565b905061208c565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516122b1929190614876565b60405180910390a46122c7818787878787612cf1565b6122d5818787878787612cf9565b505050505050565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612412576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161240990614a43565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161250391906133a3565b60405180910390a3505050565b6000600f600081548092919061252590614093565b9190505550600060c84284600f5460405160200161254593929190614acc565b6040516020818303038152906040528051906020012060001c6125689190614b38565b9050600081141561257d5760019150506126cd565b8060011115801561258f575060028111155b1561259e5760029150506126cd565b806003111580156125b0575060058111155b156125bf5760039150506126cd565b806006111580156125d15750600d8111155b156125e05760049150506126cd565b80600e111580156125f2575060178111155b156126015760059150506126cd565b80601811158015612613575060258111155b156126225760069150506126cd565b80602611158015612634575060338111155b156126435760079150506126cd565b80603411158015612655575060498111155b156126645760089150506126cd565b80604a111580156126765750605f8111155b156126855760099150506126cd565b80606011158015612697575060798111155b156126a657600a9150506126cd565b80607a111580156126b8575060998111155b156126c757600b9150506126cd565b600c9150505b919050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612742576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612739906147c4565b60405180910390fd5b600061274c611fb3565b9050600061275985612ed1565b9050600061276685612ed1565b905061277783600089858589612b1f565b8460008088815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127d6919061403d565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628989604051612854929190614b69565b60405180910390a461286b83600089858589612cf1565b61287a83600089898989612f4b565b50505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156128f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128ea9061491f565b60405180910390fd5b60006128fd611fb3565b9050600061290a85612ed1565b9050600061291785612ed1565b9050612927838989858589612b1f565b600080600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050858110156129be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129b5906149b1565b60405180910390fd5b85810360008089815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508560008089815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612a73919061403d565b925050819055508773ffffffffffffffffffffffffffffffffffffffff168973ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628a8a604051612af0929190614b69565b60405180910390a4612b06848a8a86868a612cf1565b612b14848a8a8a8a8a612f4b565b505050505050505050565b612b2d868686868686613123565b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415612bdf5760005b8351811015612bdd57828181518110612b8157612b80613fdf565b5b602002602001015160036000868481518110612ba057612b9f613fdf565b5b602002602001015181526020019081526020016000206000828254612bc5919061403d565b9250508190555080612bd690614093565b9050612b65565b505b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612ce95760005b8351811015612ce7576000848281518110612c3557612c34613fdf565b5b602002602001015190506000848381518110612c5457612c53613fdf565b5b6020026020010151905060006003600084815260200190815260200160002054905081811015612cb9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cb090614c04565b60405180910390fd5b818103600360008581526020019081526020016000208190555050505080612ce090614093565b9050612c17565b505b505050505050565b505050505050565b612d188473ffffffffffffffffffffffffffffffffffffffff1661312b565b15612ec9578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401612d5e959493929190614c68565b6020604051808303816000875af1925050508015612d9a57506040513d601f19601f82011682018060405250810190612d979190614ce5565b60015b612e4057612da6614d1f565b806308c379a01415612e035750612dbb614d41565b80612dc65750612e05565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dfa919061362f565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e3790614e49565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612ec7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ebe90614edb565b60405180910390fd5b505b505050505050565b60606000600167ffffffffffffffff811115612ef057612eef6133d9565b5b604051908082528060200260200182016040528015612f1e5781602001602082028036833780820191505090505b5090508281600081518110612f3657612f35613fdf565b5b60200260200101818152505080915050919050565b612f6a8473ffffffffffffffffffffffffffffffffffffffff1661312b565b1561311b578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401612fb0959493929190614efb565b6020604051808303816000875af1925050508015612fec57506040513d601f19601f82011682018060405250810190612fe99190614ce5565b60015b61309257612ff8614d1f565b806308c379a01415613055575061300d614d41565b806130185750613057565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161304c919061362f565b60405180910390fd5b505b6040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161308990614e49565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614613119576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161311090614edb565b60405180910390fd5b505b505050505050565b505050505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b82805461315a90613fad565b90600052602060002090601f01602090048101928261317c57600085556131c3565b82601f1061319557805160ff19168380011785556131c3565b828001600101855582156131c3579182015b828111156131c25782518255916020019190600101906131a7565b5b5090506131d091906131d4565b5090565b5b808211156131ed5760008160009055506001016131d5565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061323082613205565b9050919050565b61324081613225565b811461324b57600080fd5b50565b60008135905061325d81613237565b92915050565b6000819050919050565b61327681613263565b811461328157600080fd5b50565b6000813590506132938161326d565b92915050565b600080604083850312156132b0576132af6131fb565b5b60006132be8582860161324e565b92505060206132cf85828601613284565b9150509250929050565b6132e281613263565b82525050565b60006020820190506132fd60008301846132d9565b92915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61333881613303565b811461334357600080fd5b50565b6000813590506133558161332f565b92915050565b600060208284031215613371576133706131fb565b5b600061337f84828501613346565b91505092915050565b60008115159050919050565b61339d81613388565b82525050565b60006020820190506133b86000830184613394565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613411826133c8565b810181811067ffffffffffffffff821117156134305761342f6133d9565b5b80604052505050565b60006134436131f1565b905061344f8282613408565b919050565b600067ffffffffffffffff82111561346f5761346e6133d9565b5b613478826133c8565b9050602081019050919050565b82818337600083830152505050565b60006134a76134a284613454565b613439565b9050828152602081018484840111156134c3576134c26133c3565b5b6134ce848285613485565b509392505050565b600082601f8301126134eb576134ea6133be565b5b81356134fb848260208601613494565b91505092915050565b60006020828403121561351a576135196131fb565b5b600082013567ffffffffffffffff81111561353857613537613200565b5b613544848285016134d6565b91505092915050565b600060208284031215613563576135626131fb565b5b60006135718482850161324e565b91505092915050565b6000602082840312156135905761358f6131fb565b5b600061359e84828501613284565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156135e15780820151818401526020810190506135c6565b838111156135f0576000848401525b50505050565b6000613601826135a7565b61360b81856135b2565b935061361b8185602086016135c3565b613624816133c8565b840191505092915050565b6000602082019050818103600083015261364981846135f6565b905092915050565b600067ffffffffffffffff82111561366c5761366b6133d9565b5b602082029050602081019050919050565b600080fd5b600061369561369084613651565b613439565b905080838252602082019050602084028301858111156136b8576136b761367d565b5b835b818110156136e157806136cd8882613284565b8452602084019350506020810190506136ba565b5050509392505050565b600082601f830112613700576136ff6133be565b5b8135613710848260208601613682565b91505092915050565b600067ffffffffffffffff821115613734576137336133d9565b5b61373d826133c8565b9050602081019050919050565b600061375d61375884613719565b613439565b905082815260208101848484011115613779576137786133c3565b5b613784848285613485565b509392505050565b600082601f8301126137a1576137a06133be565b5b81356137b184826020860161374a565b91505092915050565b600080600080608085870312156137d4576137d36131fb565b5b60006137e28782880161324e565b945050602085013567ffffffffffffffff81111561380357613802613200565b5b61380f878288016136eb565b935050604085013567ffffffffffffffff8111156138305761382f613200565b5b61383c878288016136eb565b925050606085013567ffffffffffffffff81111561385d5761385c613200565b5b6138698782880161378c565b91505092959194509250565b600080600080600060a08688031215613891576138906131fb565b5b600061389f8882890161324e565b95505060206138b08882890161324e565b945050604086013567ffffffffffffffff8111156138d1576138d0613200565b5b6138dd888289016136eb565b935050606086013567ffffffffffffffff8111156138fe576138fd613200565b5b61390a888289016136eb565b925050608086013567ffffffffffffffff81111561392b5761392a613200565b5b6139378882890161378c565b9150509295509295909350565b600060ff82169050919050565b61395a81613944565b82525050565b60006020820190506139756000830184613951565b92915050565b600067ffffffffffffffff821115613996576139956133d9565b5b602082029050602081019050919050565b60006139ba6139b58461397b565b613439565b905080838252602082019050602084028301858111156139dd576139dc61367d565b5b835b81811015613a0657806139f2888261324e565b8452602084019350506020810190506139df565b5050509392505050565b600082601f830112613a2557613a246133be565b5b8135613a358482602086016139a7565b91505092915050565b60008060408385031215613a5557613a546131fb565b5b600083013567ffffffffffffffff811115613a7357613a72613200565b5b613a7f85828601613a10565b925050602083013567ffffffffffffffff811115613aa057613a9f613200565b5b613aac858286016136eb565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613aeb81613263565b82525050565b6000613afd8383613ae2565b60208301905092915050565b6000602082019050919050565b6000613b2182613ab6565b613b2b8185613ac1565b9350613b3683613ad2565b8060005b83811015613b67578151613b4e8882613af1565b9750613b5983613b09565b925050600181019050613b3a565b5085935050505092915050565b60006020820190508181036000830152613b8e8184613b16565b905092915050565b6000613ba182613205565b9050919050565b613bb181613b96565b8114613bbc57600080fd5b50565b600081359050613bce81613ba8565b92915050565b600060208284031215613bea57613be96131fb565b5b6000613bf884828501613bbf565b91505092915050565b613c0a81613225565b82525050565b6000602082019050613c256000830184613c01565b92915050565b613c3481613388565b8114613c3f57600080fd5b50565b600081359050613c5181613c2b565b92915050565b60008060408385031215613c6e57613c6d6131fb565b5b6000613c7c8582860161324e565b9250506020613c8d85828601613c42565b9150509250929050565b600080600060608486031215613cb057613caf6131fb565b5b6000613cbe8682870161324e565b9350506020613ccf86828701613284565b9250506040613ce086828701613c42565b9150509250925092565b6000819050919050565b613cfd81613cea565b8114613d0857600080fd5b50565b600081359050613d1a81613cf4565b92915050565b600080fd5b60008083601f840112613d3b57613d3a6133be565b5b8235905067ffffffffffffffff811115613d5857613d57613d20565b5b602083019150836001820283011115613d7457613d7361367d565b5b9250929050565b60008060008060008060a08789031215613d9857613d976131fb565b5b6000613da689828a0161324e565b9650506020613db789828a01613284565b9550506040613dc889828a01613c42565b9450506060613dd989828a01613d0b565b935050608087013567ffffffffffffffff811115613dfa57613df9613200565b5b613e0689828a01613d25565b92509250509295509295509295565b60008060408385031215613e2c57613e2b6131fb565b5b6000613e3a8582860161324e565b9250506020613e4b8582860161324e565b9150509250929050565b600080600080600060a08688031215613e7157613e706131fb565b5b6000613e7f8882890161324e565b9550506020613e908882890161324e565b9450506040613ea188828901613284565b9350506060613eb288828901613284565b925050608086013567ffffffffffffffff811115613ed357613ed2613200565b5b613edf8882890161378c565b9150509295509295909350565b7f455243313135353a2061646472657373207a65726f206973206e6f742061207660008201527f616c6964206f776e657200000000000000000000000000000000000000000000602082015250565b6000613f48602a836135b2565b9150613f5382613eec565b604082019050919050565b60006020820190508181036000830152613f7781613f3b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613fc557607f821691505b60208210811415613fd957613fd8613f7e565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061404882613263565b915061405383613263565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156140885761408761400e565b5b828201905092915050565b600061409e82613263565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156140d1576140d061400e565b5b600182019050919050565b7f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60008201527f6572206e6f7220617070726f7665640000000000000000000000000000000000602082015250565b6000614138602f836135b2565b9150614143826140dc565b604082019050919050565b600060208201905081810360008301526141678161412b565b9050919050565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b60006141ca6029836135b2565b91506141d58261416e565b604082019050919050565b600060208201905081810360008301526141f9816141bd565b9050919050565b60008151905061420f81613c2b565b92915050565b60006020828403121561422b5761422a6131fb565b5b600061423984828501614200565b91505092915050565b7f5075626c69632073616c652077696e646f7720636c6f73656400000000000000600082015250565b60006142786019836135b2565b915061428382614242565b602082019050919050565b600060208201905081810360008301526142a78161426b565b9050919050565b7f4d617820746f6b656e20737570706c7920726561636865640000000000000000600082015250565b60006142e46018836135b2565b91506142ef826142ae565b602082019050919050565b60006020820190508181036000830152614313816142d7565b9050919050565b7f4d617820737570706c79206f662077616c6c6574207265616368656400000000600082015250565b6000614350601c836135b2565b915061435b8261431a565b602082019050919050565b6000602082019050818103600083015261437f81614343565b9050919050565b600061439182613263565b915061439c83613263565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156143d5576143d461400e565b5b828202905092915050565b7f496e636f7272656374207061796d656e742076616c7565000000000000000000600082015250565b60006144166017836135b2565b9150614421826143e0565b602082019050919050565b6000602082019050818103600083015261444581614409565b9050919050565b60006060820190506144616000830186613c01565b61446e60208301856132d9565b61447b6040830184613394565b949350505050565b61448c81613cea565b82525050565b600082825260208201905092915050565b60006144af8385614492565b93506144bc838584613485565b6144c5836133c8565b840190509392505050565b60006060820190506144e56000830187614483565b6144f26020830186614483565b81810360408301526145058184866144a3565b905095945050505050565b7f4661696c656420746f20766572696679207369676e6174757265000000000000600082015250565b6000614546601a836135b2565b915061455182614510565b602082019050919050565b6000602082019050818103600083015261457581614539565b9050919050565b7f5072652073616c652077696e646f7720636c6f73656400000000000000000000600082015250565b60006145b26016836135b2565b91506145bd8261457c565b602082019050919050565b600060208201905081810360008301526145e1816145a5565b9050919050565b7f496e76616c696420616d6f756e74000000000000000000000000000000000000600082015250565b600061461e600e836135b2565b9150614629826145e8565b602082019050919050565b6000602082019050818103600083015261464d81614611565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006146b06026836135b2565b91506146bb82614654565b604082019050919050565b600060208201905081810360008301526146df816146a3565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061471c6020836135b2565b9150614727826146e6565b602082019050919050565b6000602082019050818103600083015261474b8161470f565b9050919050565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006147ae6021836135b2565b91506147b982614752565b604082019050919050565b600060208201905081810360008301526147dd816147a1565b9050919050565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b60006148406028836135b2565b915061484b826147e4565b604082019050919050565b6000602082019050818103600083015261486f81614833565b9050919050565b600060408201905081810360008301526148908185613b16565b905081810360208301526148a48184613b16565b90509392505050565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b60006149096025836135b2565b9150614914826148ad565b604082019050919050565b60006020820190508181036000830152614938816148fc565b9050919050565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b600061499b602a836135b2565b91506149a68261493f565b604082019050919050565b600060208201905081810360008301526149ca8161498e565b9050919050565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b6000614a2d6029836135b2565b9150614a38826149d1565b604082019050919050565b60006020820190508181036000830152614a5c81614a20565b9050919050565b6000819050919050565b614a7e614a7982613263565b614a63565b82525050565b60008160601b9050919050565b6000614a9c82614a84565b9050919050565b6000614aae82614a91565b9050919050565b614ac6614ac182613225565b614aa3565b82525050565b6000614ad88286614a6d565b602082019150614ae88285614ab5565b601482019150614af88284614a6d565b602082019150819050949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614b4382613263565b9150614b4e83613263565b925082614b5e57614b5d614b09565b5b828206905092915050565b6000604082019050614b7e60008301856132d9565b614b8b60208301846132d9565b9392505050565b7f455243313135353a206275726e20616d6f756e74206578636565647320746f7460008201527f616c537570706c79000000000000000000000000000000000000000000000000602082015250565b6000614bee6028836135b2565b9150614bf982614b92565b604082019050919050565b60006020820190508181036000830152614c1d81614be1565b9050919050565b600081519050919050565b6000614c3a82614c24565b614c448185614492565b9350614c548185602086016135c3565b614c5d816133c8565b840191505092915050565b600060a082019050614c7d6000830188613c01565b614c8a6020830187613c01565b8181036040830152614c9c8186613b16565b90508181036060830152614cb08185613b16565b90508181036080830152614cc48184614c2f565b90509695505050505050565b600081519050614cdf8161332f565b92915050565b600060208284031215614cfb57614cfa6131fb565b5b6000614d0984828501614cd0565b91505092915050565b60008160e01c9050919050565b600060033d1115614d3e5760046000803e614d3b600051614d12565b90505b90565b600060443d1015614d5157614dd4565b614d596131f1565b60043d036004823e80513d602482011167ffffffffffffffff82111715614d81575050614dd4565b808201805167ffffffffffffffff811115614d9f5750505050614dd4565b80602083010160043d038501811115614dbc575050505050614dd4565b614dcb82602001850186613408565b82955050505050505b90565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b6000614e336034836135b2565b9150614e3e82614dd7565b604082019050919050565b60006020820190508181036000830152614e6281614e26565b9050919050565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b6000614ec56028836135b2565b9150614ed082614e69565b604082019050919050565b60006020820190508181036000830152614ef481614eb8565b9050919050565b600060a082019050614f106000830188613c01565b614f1d6020830187613c01565b614f2a60408301866132d9565b614f3760608301856132d9565b8181036080830152614f498184614c2f565b9050969550505050505056fea264697066735822122029325878f330b74a091ec425dd155c3c870acb02628715daa8b4c785e53551c564736f6c634300080c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000120000000000000000000000000678a3f64a1bf33ba0746ffd88ba749b40b565da500000000000000000000000000000000000000000000000000000000000000294369646572205820576f6e64657250616c73207c204469676974616c20436f6c6c65637469626c657300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009434944455250414c530000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003f697066733a2f2f516d63614574796d5244596f6a526b3571636a665451414d45366763796b5643764254524538425556637379694a2f7b69647d2e6a736f6e00
-----Decoded View---------------
Arg [0] : _name (string): Cider X WonderPals | Digital Collectibles
Arg [1] : _symbol (string): CIDERPALS
Arg [2] : initialBaseURI (string): ipfs://QmcaEtymRDYojRk5qcjfTQAME6gcykVCvBTRE8BUVcsyiJ/{id}.json
Arg [3] : _paperKeyManagerAddress (address): 0x678a3F64A1bF33Ba0746fFD88Ba749B40B565Da5
-----Encoded View---------------
12 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [3] : 000000000000000000000000678a3f64a1bf33ba0746ffd88ba749b40b565da5
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000029
Arg [5] : 4369646572205820576f6e64657250616c73207c204469676974616c20436f6c
Arg [6] : 6c65637469626c65730000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [8] : 434944455250414c530000000000000000000000000000000000000000000000
Arg [9] : 000000000000000000000000000000000000000000000000000000000000003f
Arg [10] : 697066733a2f2f516d63614574796d5244596f6a526b3571636a665451414d45
Arg [11] : 366763796b5643764254524538425556637379694a2f7b69647d2e6a736f6e00
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.