ERC-721
NFT
Overview
Max Total Supply
2,000 FOOD
Holders
1,014
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 FOODLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
FoodmaskuDelectables
Compiler Version
v0.8.9+commit.e5eed63a
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.9; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; interface IERC20 { function balanceOf(address account) external view returns (uint256); function transfer(address recipient, uint256 amount) external returns (bool); } /* __ ___ ___ __ ___ __ ___ __ | \ |__ | |__ / ` | /\ |__) | |__ /__` |__/ |___ |___ |___ \__, | /~~\ |__) |___ |___ .__/ __ ___ __ __ __ __ |__) \ / |__ / \ / \ | \ |\/| /\ /__` |__/ | | |__) | | \__/ \__/ |__/ | | /~~\ .__/ | \ \__/ Artists Antonius Oki Wiriadjaja, farah manley, and tonsoccr. foodmasku.com Development 0x420.io */ contract FoodmaskuDelectables is ERC721Enumerable, ReentrancyGuard, Ownable { using Strings for uint256; using ECDSA for bytes32; mapping(bytes => uint256) private usedTickets; string public baseTokenURI; uint256 public startPresaleDate = 1636489800; uint256 public startMintDate = 1636497000; uint256 public maxSupply = 2000; uint256 public mintPrice = 0.06 ether; uint256 public presaleMaxMint = 4; uint256 public maxPurchaseCount = 20; uint256 public totalMinted = 0; uint256 public season = 1; address private wonka; struct TokenBucket { uint256 min; uint256 max; string prefix; bool deleted; } TokenBucket[] public buckets; constructor ( string memory name, string memory symbol, string memory _baseTokenURI, uint256 _startPresaleDate, uint256 _startMintDate, address _wonka ) ERC721(name, symbol) { baseTokenURI = _baseTokenURI; startPresaleDate = _startPresaleDate; startMintDate = _startMintDate; wonka = _wonka; } function mint(uint256 numberOfTokens, bytes memory goldenTicket) public payable nonReentrant { if (startPresaleDate <= block.timestamp && startMintDate > block.timestamp) { require( numberOfTokens <= presaleMaxMint, "FMD: Minting Too Many Presale" ); validateTicket(goldenTicket); useTicket(goldenTicket); } else { require( startMintDate <= block.timestamp, "FMD: Sale Not Started" ); require( numberOfTokens <= maxPurchaseCount, "FMD: Minting Too Many" ); } require( totalMinted + numberOfTokens <= maxSupply, "FMD: Sold Out" ); require( msg.value >= numberOfTokens * mintPrice, "FMD: Insufficient Payment" ); for (uint256 i = 0; i < numberOfTokens; i++) { totalMinted = totalMinted + 1; _safeMint(msg.sender, totalMinted); } } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "FMD: 404"); string memory prefix = baseTokenURI; for (uint256 i = 0; i < buckets.length; i++) { if ( buckets[i].min <= tokenId && buckets[i].max >= tokenId && !buckets[i].deleted ) { prefix = buckets[i].prefix; break; } } return bytes(prefix).length > 0 ? string(abi.encodePacked(prefix, tokenId.toString())) : ""; } function updateSigner(address _wonka) external onlyOwner { wonka = _wonka; } function getHash() internal view returns (bytes32) { return keccak256(abi.encodePacked("FoodmaskuDelectables", msg.sender)); } function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { return hash.toEthSignedMessageHash().recover(signature); } function validateTicket(bytes memory goldenTicket) internal view { bytes32 hash = getHash(); address signer = recover(hash, goldenTicket); require(usedTickets[goldenTicket] < season, "FMD: Presale Used"); require(signer == wonka, "FMD: Presale Invalid"); } function useTicket(bytes memory goldenTicket) internal { usedTickets[goldenTicket] = season; } function newSeason( uint256 _season, uint256 _mintPrice, uint256 _maxSupply, uint256 _presaleMaxMint, uint256 _startPresaleDate, uint256 _startMintDate ) external onlyOwner { season = _season; mintPrice = _mintPrice; maxSupply = _maxSupply; presaleMaxMint = _presaleMaxMint; startPresaleDate = _startPresaleDate; startMintDate = _startMintDate; } function setSeason(uint256 _season) external onlyOwner { season = _season; } function setMintPrice(uint256 _mintPrice) external onlyOwner { mintPrice = _mintPrice; } function setMaxSupply(uint256 _maxSupply) external onlyOwner { maxSupply = _maxSupply; } function setPresaleMaxMint(uint256 _presaleMaxMint) external onlyOwner { presaleMaxMint = _presaleMaxMint; } function setStartPresaleDate(uint256 _startPresaleDate) external onlyOwner { startPresaleDate = _startPresaleDate; } function setStartMintDate(uint256 _startMintDate) external onlyOwner { startMintDate = _startMintDate; } function setBaseURI(string memory _baseTokenURI) external onlyOwner { baseTokenURI = _baseTokenURI; } function addBucket(uint256 min, uint256 max, string memory prefix) external onlyOwner { require(min < max, "FMD: Min must be less than Max"); for (uint256 i = 0; i < buckets.length; i++) { if (!buckets[i].deleted) { require(min > buckets[i].max, "FMD: Overlapping Bucket"); } } buckets.push(TokenBucket(min, max, prefix, false)); } function deleteBucket(uint256 index) external onlyOwner { buckets[index].deleted = true; } function withdraw(address payable to) external onlyOwner { to.transfer(address(this).balance); } function withdrawERC20(IERC20 token, address to) external onlyOwner { token.transfer(to, token.balanceOf(address(this))); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and make it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; 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() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(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"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } else if (error == RecoverError.InvalidSignatureV) { revert("ECDSA: invalid signature 'v' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { // Check the signature length // - case 65: r,s,v signature (standard) // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._ if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else if (signature.length == 64) { bytes32 r; bytes32 vs; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) vs := mload(add(signature, 0x40)) } return tryRecover(hash, r, vs); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s; uint8 v; assembly { s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) v := add(shr(255, vs), 27) } return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } if (v != 27 && v != 28) { return (address(0), RecoverError.InvalidSignatureV); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @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 * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT 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 pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT 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 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":"_baseTokenURI","type":"string"},{"internalType":"uint256","name":"_startPresaleDate","type":"uint256"},{"internalType":"uint256","name":"_startMintDate","type":"uint256"},{"internalType":"address","name":"_wonka","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"uint256","name":"min","type":"uint256"},{"internalType":"uint256","name":"max","type":"uint256"},{"internalType":"string","name":"prefix","type":"string"}],"name":"addBucket","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"buckets","outputs":[{"internalType":"uint256","name":"min","type":"uint256"},{"internalType":"uint256","name":"max","type":"uint256"},{"internalType":"string","name":"prefix","type":"string"},{"internalType":"bool","name":"deleted","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"deleteBucket","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPurchaseCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"},{"internalType":"bytes","name":"goldenTicket","type":"bytes"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_season","type":"uint256"},{"internalType":"uint256","name":"_mintPrice","type":"uint256"},{"internalType":"uint256","name":"_maxSupply","type":"uint256"},{"internalType":"uint256","name":"_presaleMaxMint","type":"uint256"},{"internalType":"uint256","name":"_startPresaleDate","type":"uint256"},{"internalType":"uint256","name":"_startMintDate","type":"uint256"}],"name":"newSeason","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleMaxMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"season","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseTokenURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintPrice","type":"uint256"}],"name":"setMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_presaleMaxMint","type":"uint256"}],"name":"setPresaleMaxMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_season","type":"uint256"}],"name":"setSeason","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_startMintDate","type":"uint256"}],"name":"setStartMintDate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_startPresaleDate","type":"uint256"}],"name":"setStartPresaleDate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startMintDate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startPresaleDate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_wonka","type":"address"}],"name":"updateSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"to","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"to","type":"address"}],"name":"withdrawERC20","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405263618ada48600e5563618af668600f556107d060105566d529ae9e86000060115560046012556014601355600060145560016015553480156200004657600080fd5b50604051620062293803806200622983398181016040528101906200006c9190620004f9565b85858160009080519060200190620000869291906200020c565b5080600190805190602001906200009f9291906200020c565b5050506001600a81905550620000ca620000be6200013e60201b60201c565b6200014660201b60201c565b83600d9080519060200190620000e29291906200020c565b5082600e8190555081600f8190555080601660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050505050505062000657565b600033905090565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200021a9062000621565b90600052602060002090601f0160209004810192826200023e57600085556200028a565b82601f106200025957805160ff19168380011785556200028a565b828001600101855582156200028a579182015b82811115620002895782518255916020019190600101906200026c565b5b5090506200029991906200029d565b5090565b5b80821115620002b85760008160009055506001016200029e565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200032582620002da565b810181811067ffffffffffffffff82111715620003475762000346620002eb565b5b80604052505050565b60006200035c620002bc565b90506200036a82826200031a565b919050565b600067ffffffffffffffff8211156200038d576200038c620002eb565b5b6200039882620002da565b9050602081019050919050565b60005b83811015620003c5578082015181840152602081019050620003a8565b83811115620003d5576000848401525b50505050565b6000620003f2620003ec846200036f565b62000350565b905082815260208101848484011115620004115762000410620002d5565b5b6200041e848285620003a5565b509392505050565b600082601f8301126200043e576200043d620002d0565b5b815162000450848260208601620003db565b91505092915050565b6000819050919050565b6200046e8162000459565b81146200047a57600080fd5b50565b6000815190506200048e8162000463565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620004c18262000494565b9050919050565b620004d381620004b4565b8114620004df57600080fd5b50565b600081519050620004f381620004c8565b92915050565b60008060008060008060c08789031215620005195762000518620002c6565b5b600087015167ffffffffffffffff8111156200053a5762000539620002cb565b5b6200054889828a0162000426565b965050602087015167ffffffffffffffff8111156200056c576200056b620002cb565b5b6200057a89828a0162000426565b955050604087015167ffffffffffffffff8111156200059e576200059d620002cb565b5b620005ac89828a0162000426565b9450506060620005bf89828a016200047d565b9350506080620005d289828a016200047d565b92505060a0620005e589828a01620004e2565b9150509295509295509295565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200063a57607f821691505b60208210811415620006515762000650620005f2565b5b50919050565b615bc280620006676000396000f3fe60806040526004361061025c5760003560e01c80638da5cb5b11610144578063c50b0fb0116100b6578063db7fd4081161007a578063db7fd408146108f7578063df4305d214610913578063e08a5f9e1461093c578063e985e9c514610967578063f2fde38b146109a4578063f4a0a528146109cd5761025c565b8063c50b0fb01461080e578063c87b56dd14610839578063d547cfb714610876578063d5abeb01146108a1578063da67e22a146108cc5761025c565b8063a22cb46511610108578063a22cb46514610716578063a2309ff81461073f578063a7ecd37e1461076a578063af88fac914610793578063b248e4c6146107bc578063b88d4fde146107e55761025c565b80638da5cb5b1461062c5780639456fbcc14610657578063946ef42a1461068057806395d89b41146106ab5780639b51fb0d146106d65761025c565b806342842e0e116101dd5780636352211e116101a15780636352211e1461051e5780636817c76c1461055b5780636d44aef5146105865780636f8b44b0146105af57806370a08231146105d8578063715018a6146106155761025c565b806342842e0e1461043d578063493143e4146104665780634f6ccce71461048f57806351cff8d9146104cc57806355f804b3146104f55761025c565b806318160ddd1161022457806318160ddd1461035857806318e26bb91461038357806323b872dd146103ac5780632f745c59146103d55780633cf924a0146104125761025c565b806301ffc9a71461026157806306fdde031461029e578063081812fc146102c9578063095ea7b3146103065780630c5e8ea71461032f575b600080fd5b34801561026d57600080fd5b5061028860048036038101906102839190613c1f565b6109f6565b6040516102959190613c67565b60405180910390f35b3480156102aa57600080fd5b506102b3610a70565b6040516102c09190613d1b565b60405180910390f35b3480156102d557600080fd5b506102f060048036038101906102eb9190613d73565b610b02565b6040516102fd9190613de1565b60405180910390f35b34801561031257600080fd5b5061032d60048036038101906103289190613e28565b610b87565b005b34801561033b57600080fd5b5061035660048036038101906103519190613f9d565b610c9f565b005b34801561036457600080fd5b5061036d610ec7565b60405161037a919061401b565b60405180910390f35b34801561038f57600080fd5b506103aa60048036038101906103a59190613d73565b610ed4565b005b3480156103b857600080fd5b506103d360048036038101906103ce9190614036565b610f91565b005b3480156103e157600080fd5b506103fc60048036038101906103f79190613e28565b610ff1565b604051610409919061401b565b60405180910390f35b34801561041e57600080fd5b50610427611096565b604051610434919061401b565b60405180910390f35b34801561044957600080fd5b50610464600480360381019061045f9190614036565b61109c565b005b34801561047257600080fd5b5061048d60048036038101906104889190613d73565b6110bc565b005b34801561049b57600080fd5b506104b660048036038101906104b19190613d73565b611142565b6040516104c3919061401b565b60405180910390f35b3480156104d857600080fd5b506104f360048036038101906104ee91906140c7565b6111b3565b005b34801561050157600080fd5b5061051c600480360381019061051791906140f4565b611279565b005b34801561052a57600080fd5b5061054560048036038101906105409190613d73565b61130f565b6040516105529190613de1565b60405180910390f35b34801561056757600080fd5b506105706113c1565b60405161057d919061401b565b60405180910390f35b34801561059257600080fd5b506105ad60048036038101906105a89190613d73565b6113c7565b005b3480156105bb57600080fd5b506105d660048036038101906105d19190613d73565b61144d565b005b3480156105e457600080fd5b506105ff60048036038101906105fa919061413d565b6114d3565b60405161060c919061401b565b60405180910390f35b34801561062157600080fd5b5061062a61158b565b005b34801561063857600080fd5b50610641611613565b60405161064e9190613de1565b60405180910390f35b34801561066357600080fd5b5061067e600480360381019061067991906141a8565b61163d565b005b34801561068c57600080fd5b506106956117d3565b6040516106a2919061401b565b60405180910390f35b3480156106b757600080fd5b506106c06117d9565b6040516106cd9190613d1b565b60405180910390f35b3480156106e257600080fd5b506106fd60048036038101906106f89190613d73565b61186b565b60405161070d94939291906141e8565b60405180910390f35b34801561072257600080fd5b5061073d60048036038101906107389190614260565b611940565b005b34801561074b57600080fd5b50610754611ac1565b604051610761919061401b565b60405180910390f35b34801561077657600080fd5b50610791600480360381019061078c919061413d565b611ac7565b005b34801561079f57600080fd5b506107ba60048036038101906107b59190613d73565b611b87565b005b3480156107c857600080fd5b506107e360048036038101906107de91906142a0565b611c0d565b005b3480156107f157600080fd5b5061080c600480360381019061080791906143ce565b611cbb565b005b34801561081a57600080fd5b50610823611d1d565b604051610830919061401b565b60405180910390f35b34801561084557600080fd5b50610860600480360381019061085b9190613d73565b611d23565b60405161086d9190613d1b565b60405180910390f35b34801561088257600080fd5b5061088b611fc1565b6040516108989190613d1b565b60405180910390f35b3480156108ad57600080fd5b506108b661204f565b6040516108c3919061401b565b60405180910390f35b3480156108d857600080fd5b506108e1612055565b6040516108ee919061401b565b60405180910390f35b610911600480360381019061090c9190614451565b61205b565b005b34801561091f57600080fd5b5061093a60048036038101906109359190613d73565b612296565b005b34801561094857600080fd5b5061095161231c565b60405161095e919061401b565b60405180910390f35b34801561097357600080fd5b5061098e600480360381019061098991906144ad565b612322565b60405161099b9190613c67565b60405180910390f35b3480156109b057600080fd5b506109cb60048036038101906109c6919061413d565b6123b6565b005b3480156109d957600080fd5b506109f460048036038101906109ef9190613d73565b6124ae565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a695750610a6882612534565b5b9050919050565b606060008054610a7f9061451c565b80601f0160208091040260200160405190810160405280929190818152602001828054610aab9061451c565b8015610af85780601f10610acd57610100808354040283529160200191610af8565b820191906000526020600020905b815481529060010190602001808311610adb57829003601f168201915b5050505050905090565b6000610b0d82612616565b610b4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b43906145c0565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b928261130f565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bfa90614652565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c22612682565b73ffffffffffffffffffffffffffffffffffffffff161480610c515750610c5081610c4b612682565b612322565b5b610c90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c87906146e4565b60405180910390fd5b610c9a838361268a565b505050565b610ca7612682565b73ffffffffffffffffffffffffffffffffffffffff16610cc5611613565b73ffffffffffffffffffffffffffffffffffffffff1614610d1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1290614750565b60405180910390fd5b818310610d5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d54906147bc565b60405180910390fd5b60005b601780549050811015610e1f5760178181548110610d8157610d806147dc565b5b906000526020600020906004020160030160009054906101000a900460ff16610e0c5760178181548110610db857610db76147dc565b5b9060005260206000209060040201600101548411610e0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0290614857565b60405180910390fd5b5b8080610e17906148a6565b915050610d60565b506017604051806080016040528085815260200184815260200183815260200160001515815250908060018154018082558091505060019003906000526020600020906004020160009091909190915060008201518160000155602082015181600101556040820151816002019080519060200190610e9f929190613b10565b5060608201518160030160006101000a81548160ff0219169083151502179055505050505050565b6000600880549050905090565b610edc612682565b73ffffffffffffffffffffffffffffffffffffffff16610efa611613565b73ffffffffffffffffffffffffffffffffffffffff1614610f50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4790614750565b60405180910390fd5b600160178281548110610f6657610f656147dc565b5b906000526020600020906004020160030160006101000a81548160ff02191690831515021790555050565b610fa2610f9c612682565b82612743565b610fe1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd890614961565b60405180910390fd5b610fec838383612821565b505050565b6000610ffc836114d3565b821061103d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611034906149f3565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b60135481565b6110b783838360405180602001604052806000815250611cbb565b505050565b6110c4612682565b73ffffffffffffffffffffffffffffffffffffffff166110e2611613565b73ffffffffffffffffffffffffffffffffffffffff1614611138576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112f90614750565b60405180910390fd5b80600f8190555050565b600061114c610ec7565b821061118d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118490614a85565b60405180910390fd5b600882815481106111a1576111a06147dc565b5b90600052602060002001549050919050565b6111bb612682565b73ffffffffffffffffffffffffffffffffffffffff166111d9611613565b73ffffffffffffffffffffffffffffffffffffffff161461122f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122690614750565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015611275573d6000803e3d6000fd5b5050565b611281612682565b73ffffffffffffffffffffffffffffffffffffffff1661129f611613565b73ffffffffffffffffffffffffffffffffffffffff16146112f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ec90614750565b60405180910390fd5b80600d908051906020019061130b929190613b10565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156113b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113af90614b17565b60405180910390fd5b80915050919050565b60115481565b6113cf612682565b73ffffffffffffffffffffffffffffffffffffffff166113ed611613565b73ffffffffffffffffffffffffffffffffffffffff1614611443576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143a90614750565b60405180910390fd5b80600e8190555050565b611455612682565b73ffffffffffffffffffffffffffffffffffffffff16611473611613565b73ffffffffffffffffffffffffffffffffffffffff16146114c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114c090614750565b60405180910390fd5b8060108190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611544576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153b90614ba9565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611593612682565b73ffffffffffffffffffffffffffffffffffffffff166115b1611613565b73ffffffffffffffffffffffffffffffffffffffff1614611607576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115fe90614750565b60405180910390fd5b6116116000612a7d565b565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611645612682565b73ffffffffffffffffffffffffffffffffffffffff16611663611613565b73ffffffffffffffffffffffffffffffffffffffff16146116b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b090614750565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb828473ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161170f9190613de1565b60206040518083038186803b15801561172757600080fd5b505afa15801561173b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061175f9190614bde565b6040518363ffffffff1660e01b815260040161177c929190614c0b565b602060405180830381600087803b15801561179657600080fd5b505af11580156117aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117ce9190614c49565b505050565b60125481565b6060600180546117e89061451c565b80601f01602080910402602001604051908101604052809291908181526020018280546118149061451c565b80156118615780601f1061183657610100808354040283529160200191611861565b820191906000526020600020905b81548152906001019060200180831161184457829003601f168201915b5050505050905090565b6017818154811061187b57600080fd5b90600052602060002090600402016000915090508060000154908060010154908060020180546118aa9061451c565b80601f01602080910402602001604051908101604052809291908181526020018280546118d69061451c565b80156119235780601f106118f857610100808354040283529160200191611923565b820191906000526020600020905b81548152906001019060200180831161190657829003601f168201915b5050505050908060030160009054906101000a900460ff16905084565b611948612682565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156119b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ad90614cc2565b60405180910390fd5b80600560006119c3612682565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611a70612682565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611ab59190613c67565b60405180910390a35050565b60145481565b611acf612682565b73ffffffffffffffffffffffffffffffffffffffff16611aed611613565b73ffffffffffffffffffffffffffffffffffffffff1614611b43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3a90614750565b60405180910390fd5b80601660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611b8f612682565b73ffffffffffffffffffffffffffffffffffffffff16611bad611613565b73ffffffffffffffffffffffffffffffffffffffff1614611c03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bfa90614750565b60405180910390fd5b8060158190555050565b611c15612682565b73ffffffffffffffffffffffffffffffffffffffff16611c33611613565b73ffffffffffffffffffffffffffffffffffffffff1614611c89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8090614750565b60405180910390fd5b8560158190555084601181905550836010819055508260128190555081600e8190555080600f81905550505050505050565b611ccc611cc6612682565b83612743565b611d0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0290614961565b60405180910390fd5b611d1784848484612b43565b50505050565b60155481565b6060611d2e82612616565b611d6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6490614d2e565b60405180910390fd5b6000600d8054611d7c9061451c565b80601f0160208091040260200160405190810160405280929190818152602001828054611da89061451c565b8015611df55780601f10611dca57610100808354040283529160200191611df5565b820191906000526020600020905b815481529060010190602001808311611dd857829003601f168201915b5050505050905060005b601780549050811015611f6f578360178281548110611e2157611e206147dc565b5b90600052602060002090600402016000015411158015611e6657508360178281548110611e5157611e506147dc565b5b90600052602060002090600402016001015410155b8015611ea2575060178181548110611e8157611e806147dc565b5b906000526020600020906004020160030160009054906101000a900460ff16155b15611f5c5760178181548110611ebb57611eba6147dc565b5b90600052602060002090600402016002018054611ed79061451c565b80601f0160208091040260200160405190810160405280929190818152602001828054611f039061451c565b8015611f505780601f10611f2557610100808354040283529160200191611f50565b820191906000526020600020905b815481529060010190602001808311611f3357829003601f168201915b50505050509150611f6f565b8080611f67906148a6565b915050611dff565b506000815111611f8e5760405180602001604052806000815250611fb9565b80611f9884612b9f565b604051602001611fa9929190614d8a565b6040516020818303038152906040525b915050919050565b600d8054611fce9061451c565b80601f0160208091040260200160405190810160405280929190818152602001828054611ffa9061451c565b80156120475780601f1061201c57610100808354040283529160200191612047565b820191906000526020600020905b81548152906001019060200180831161202a57829003601f168201915b505050505081565b60105481565b600f5481565b6002600a5414156120a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161209890614dfa565b60405180910390fd5b6002600a8190555042600e54111580156120bc575042600f54115b1561211d57601254821115612106576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120fd90614e66565b60405180910390fd5b61210f81612d00565b61211881612e11565b6121a8565b42600f541115612162576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215990614ed2565b60405180910390fd5b6013548211156121a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161219e90614f3e565b60405180910390fd5b5b601054826014546121b99190614f5e565b11156121fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121f190615000565b60405180910390fd5b601154826122089190615020565b34101561224a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612241906150c6565b60405180910390fd5b60005b828110156122895760016014546122649190614f5e565b60148190555061227633601454612e39565b8080612281906148a6565b91505061224d565b506001600a819055505050565b61229e612682565b73ffffffffffffffffffffffffffffffffffffffff166122bc611613565b73ffffffffffffffffffffffffffffffffffffffff1614612312576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161230990614750565b60405180910390fd5b8060128190555050565b600e5481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6123be612682565b73ffffffffffffffffffffffffffffffffffffffff166123dc611613565b73ffffffffffffffffffffffffffffffffffffffff1614612432576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161242990614750565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156124a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161249990615158565b60405180910390fd5b6124ab81612a7d565b50565b6124b6612682565b73ffffffffffffffffffffffffffffffffffffffff166124d4611613565b73ffffffffffffffffffffffffffffffffffffffff161461252a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161252190614750565b60405180910390fd5b8060118190555050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806125ff57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061260f575061260e82612e57565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166126fd8361130f565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061274e82612616565b61278d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612784906151ea565b60405180910390fd5b60006127988361130f565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061280757508373ffffffffffffffffffffffffffffffffffffffff166127ef84610b02565b73ffffffffffffffffffffffffffffffffffffffff16145b8061281857506128178185612322565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166128418261130f565b73ffffffffffffffffffffffffffffffffffffffff1614612897576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161288e9061527c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612907576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128fe9061530e565b60405180910390fd5b612912838383612ec1565b61291d60008261268a565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461296d919061532e565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129c49190614f5e565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612b4e848484612821565b612b5a84848484612fd5565b612b99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b90906153d4565b60405180910390fd5b50505050565b60606000821415612be7576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612cfb565b600082905060005b60008214612c19578080612c02906148a6565b915050600a82612c129190615423565b9150612bef565b60008167ffffffffffffffff811115612c3557612c34613e72565b5b6040519080825280601f01601f191660200182016040528015612c675781602001600182028036833780820191505090505b5090505b60008514612cf457600182612c80919061532e565b9150600a85612c8f9190615454565b6030612c9b9190614f5e565b60f81b818381518110612cb157612cb06147dc565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612ced9190615423565b9450612c6b565b8093505050505b919050565b6000612d0a61316c565b90506000612d18828461319a565b9050601554600c84604051612d2d91906154cc565b90815260200160405180910390205410612d7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d739061552f565b60405180910390fd5b601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614612e0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e039061559b565b60405180910390fd5b505050565b601554600c82604051612e2491906154cc565b90815260200160405180910390208190555050565b612e538282604051806020016040528060008152506131bf565b5050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612ecc83838361321a565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612f0f57612f0a8161321f565b612f4e565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612f4d57612f4c8382613268565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612f9157612f8c816133d5565b612fd0565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612fcf57612fce82826134a6565b5b5b505050565b6000612ff68473ffffffffffffffffffffffffffffffffffffffff16613525565b1561315f578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261301f612682565b8786866040518563ffffffff1660e01b81526004016130419493929190615605565b602060405180830381600087803b15801561305b57600080fd5b505af192505050801561308c57506040513d601f19601f820116820180604052508101906130899190615666565b60015b61310f573d80600081146130bc576040519150601f19603f3d011682016040523d82523d6000602084013e6130c1565b606091505b50600081511415613107576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130fe906153d4565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613164565b600190505b949350505050565b60003360405160200161317f9190615727565b60405160208183030381529060405280519060200120905090565b60006131b7826131a985613538565b61356890919063ffffffff16565b905092915050565b6131c9838361358f565b6131d66000848484612fd5565b613215576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161320c906153d4565b60405180910390fd5b505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613275846114d3565b61327f919061532e565b9050600060076000848152602001908152602001600020549050818114613364576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506133e9919061532e565b9050600060096000848152602001908152602001600020549050600060088381548110613419576134186147dc565b5b90600052602060002001549050806008838154811061343b5761343a6147dc565b5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061348a5761348961574d565b5b6001900381819060005260206000200160009055905550505050565b60006134b1836114d3565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b60008160405160200161354b91906157f3565b604051602081830303815290604052805190602001209050919050565b6000806000613577858561375d565b91509150613584816137e0565b819250505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156135ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135f690615865565b60405180910390fd5b61360881612616565b15613648576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161363f906158d1565b60405180910390fd5b61365460008383612ec1565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546136a49190614f5e565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60008060418351141561379f5760008060006020860151925060408601519150606086015160001a9050613793878285856139b5565b945094505050506137d9565b6040835114156137d05760008060208501519150604085015190506137c5868383613ac2565b9350935050506137d9565b60006002915091505b9250929050565b600060048111156137f4576137f36158f1565b5b816004811115613807576138066158f1565b5b1415613812576139b2565b60016004811115613826576138256158f1565b5b816004811115613839576138386158f1565b5b141561387a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138719061596c565b60405180910390fd5b6002600481111561388e5761388d6158f1565b5b8160048111156138a1576138a06158f1565b5b14156138e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138d9906159d8565b60405180910390fd5b600360048111156138f6576138f56158f1565b5b816004811115613909576139086158f1565b5b141561394a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161394190615a6a565b60405180910390fd5b60048081111561395d5761395c6158f1565b5b8160048111156139705761396f6158f1565b5b14156139b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139a890615afc565b60405180910390fd5b5b50565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c11156139f0576000600391509150613ab9565b601b8560ff1614158015613a085750601c8560ff1614155b15613a1a576000600491509150613ab9565b600060018787878760405160008152602001604052604051613a3f9493929190615b47565b6020604051602081039080840390855afa158015613a61573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415613ab057600060019250925050613ab9565b80600092509250505b94509492505050565b6000806000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85169150601b8560ff1c019050613b02878288856139b5565b935093505050935093915050565b828054613b1c9061451c565b90600052602060002090601f016020900481019282613b3e5760008555613b85565b82601f10613b5757805160ff1916838001178555613b85565b82800160010185558215613b85579182015b82811115613b84578251825591602001919060010190613b69565b5b509050613b929190613b96565b5090565b5b80821115613baf576000816000905550600101613b97565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613bfc81613bc7565b8114613c0757600080fd5b50565b600081359050613c1981613bf3565b92915050565b600060208284031215613c3557613c34613bbd565b5b6000613c4384828501613c0a565b91505092915050565b60008115159050919050565b613c6181613c4c565b82525050565b6000602082019050613c7c6000830184613c58565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613cbc578082015181840152602081019050613ca1565b83811115613ccb576000848401525b50505050565b6000601f19601f8301169050919050565b6000613ced82613c82565b613cf78185613c8d565b9350613d07818560208601613c9e565b613d1081613cd1565b840191505092915050565b60006020820190508181036000830152613d358184613ce2565b905092915050565b6000819050919050565b613d5081613d3d565b8114613d5b57600080fd5b50565b600081359050613d6d81613d47565b92915050565b600060208284031215613d8957613d88613bbd565b5b6000613d9784828501613d5e565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613dcb82613da0565b9050919050565b613ddb81613dc0565b82525050565b6000602082019050613df66000830184613dd2565b92915050565b613e0581613dc0565b8114613e1057600080fd5b50565b600081359050613e2281613dfc565b92915050565b60008060408385031215613e3f57613e3e613bbd565b5b6000613e4d85828601613e13565b9250506020613e5e85828601613d5e565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613eaa82613cd1565b810181811067ffffffffffffffff82111715613ec957613ec8613e72565b5b80604052505050565b6000613edc613bb3565b9050613ee88282613ea1565b919050565b600067ffffffffffffffff821115613f0857613f07613e72565b5b613f1182613cd1565b9050602081019050919050565b82818337600083830152505050565b6000613f40613f3b84613eed565b613ed2565b905082815260208101848484011115613f5c57613f5b613e6d565b5b613f67848285613f1e565b509392505050565b600082601f830112613f8457613f83613e68565b5b8135613f94848260208601613f2d565b91505092915050565b600080600060608486031215613fb657613fb5613bbd565b5b6000613fc486828701613d5e565b9350506020613fd586828701613d5e565b925050604084013567ffffffffffffffff811115613ff657613ff5613bc2565b5b61400286828701613f6f565b9150509250925092565b61401581613d3d565b82525050565b6000602082019050614030600083018461400c565b92915050565b60008060006060848603121561404f5761404e613bbd565b5b600061405d86828701613e13565b935050602061406e86828701613e13565b925050604061407f86828701613d5e565b9150509250925092565b600061409482613da0565b9050919050565b6140a481614089565b81146140af57600080fd5b50565b6000813590506140c18161409b565b92915050565b6000602082840312156140dd576140dc613bbd565b5b60006140eb848285016140b2565b91505092915050565b60006020828403121561410a57614109613bbd565b5b600082013567ffffffffffffffff81111561412857614127613bc2565b5b61413484828501613f6f565b91505092915050565b60006020828403121561415357614152613bbd565b5b600061416184828501613e13565b91505092915050565b600061417582613dc0565b9050919050565b6141858161416a565b811461419057600080fd5b50565b6000813590506141a28161417c565b92915050565b600080604083850312156141bf576141be613bbd565b5b60006141cd85828601614193565b92505060206141de85828601613e13565b9150509250929050565b60006080820190506141fd600083018761400c565b61420a602083018661400c565b818103604083015261421c8185613ce2565b905061422b6060830184613c58565b95945050505050565b61423d81613c4c565b811461424857600080fd5b50565b60008135905061425a81614234565b92915050565b6000806040838503121561427757614276613bbd565b5b600061428585828601613e13565b92505060206142968582860161424b565b9150509250929050565b60008060008060008060c087890312156142bd576142bc613bbd565b5b60006142cb89828a01613d5e565b96505060206142dc89828a01613d5e565b95505060406142ed89828a01613d5e565b94505060606142fe89828a01613d5e565b935050608061430f89828a01613d5e565b92505060a061432089828a01613d5e565b9150509295509295509295565b600067ffffffffffffffff82111561434857614347613e72565b5b61435182613cd1565b9050602081019050919050565b600061437161436c8461432d565b613ed2565b90508281526020810184848401111561438d5761438c613e6d565b5b614398848285613f1e565b509392505050565b600082601f8301126143b5576143b4613e68565b5b81356143c584826020860161435e565b91505092915050565b600080600080608085870312156143e8576143e7613bbd565b5b60006143f687828801613e13565b945050602061440787828801613e13565b935050604061441887828801613d5e565b925050606085013567ffffffffffffffff81111561443957614438613bc2565b5b614445878288016143a0565b91505092959194509250565b6000806040838503121561446857614467613bbd565b5b600061447685828601613d5e565b925050602083013567ffffffffffffffff81111561449757614496613bc2565b5b6144a3858286016143a0565b9150509250929050565b600080604083850312156144c4576144c3613bbd565b5b60006144d285828601613e13565b92505060206144e385828601613e13565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061453457607f821691505b60208210811415614548576145476144ed565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006145aa602c83613c8d565b91506145b58261454e565b604082019050919050565b600060208201905081810360008301526145d98161459d565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b600061463c602183613c8d565b9150614647826145e0565b604082019050919050565b6000602082019050818103600083015261466b8161462f565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b60006146ce603883613c8d565b91506146d982614672565b604082019050919050565b600060208201905081810360008301526146fd816146c1565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061473a602083613c8d565b915061474582614704565b602082019050919050565b600060208201905081810360008301526147698161472d565b9050919050565b7f464d443a204d696e206d757374206265206c657373207468616e204d61780000600082015250565b60006147a6601e83613c8d565b91506147b182614770565b602082019050919050565b600060208201905081810360008301526147d581614799565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f464d443a204f7665726c617070696e67204275636b6574000000000000000000600082015250565b6000614841601783613c8d565b915061484c8261480b565b602082019050919050565b6000602082019050818103600083015261487081614834565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006148b182613d3d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156148e4576148e3614877565b5b600182019050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b600061494b603183613c8d565b9150614956826148ef565b604082019050919050565b6000602082019050818103600083015261497a8161493e565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b60006149dd602b83613c8d565b91506149e882614981565b604082019050919050565b60006020820190508181036000830152614a0c816149d0565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000614a6f602c83613c8d565b9150614a7a82614a13565b604082019050919050565b60006020820190508181036000830152614a9e81614a62565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000614b01602983613c8d565b9150614b0c82614aa5565b604082019050919050565b60006020820190508181036000830152614b3081614af4565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000614b93602a83613c8d565b9150614b9e82614b37565b604082019050919050565b60006020820190508181036000830152614bc281614b86565b9050919050565b600081519050614bd881613d47565b92915050565b600060208284031215614bf457614bf3613bbd565b5b6000614c0284828501614bc9565b91505092915050565b6000604082019050614c206000830185613dd2565b614c2d602083018461400c565b9392505050565b600081519050614c4381614234565b92915050565b600060208284031215614c5f57614c5e613bbd565b5b6000614c6d84828501614c34565b91505092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614cac601983613c8d565b9150614cb782614c76565b602082019050919050565b60006020820190508181036000830152614cdb81614c9f565b9050919050565b7f464d443a20343034000000000000000000000000000000000000000000000000600082015250565b6000614d18600883613c8d565b9150614d2382614ce2565b602082019050919050565b60006020820190508181036000830152614d4781614d0b565b9050919050565b600081905092915050565b6000614d6482613c82565b614d6e8185614d4e565b9350614d7e818560208601613c9e565b80840191505092915050565b6000614d968285614d59565b9150614da28284614d59565b91508190509392505050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000614de4601f83613c8d565b9150614def82614dae565b602082019050919050565b60006020820190508181036000830152614e1381614dd7565b9050919050565b7f464d443a204d696e74696e6720546f6f204d616e792050726573616c65000000600082015250565b6000614e50601d83613c8d565b9150614e5b82614e1a565b602082019050919050565b60006020820190508181036000830152614e7f81614e43565b9050919050565b7f464d443a2053616c65204e6f7420537461727465640000000000000000000000600082015250565b6000614ebc601583613c8d565b9150614ec782614e86565b602082019050919050565b60006020820190508181036000830152614eeb81614eaf565b9050919050565b7f464d443a204d696e74696e6720546f6f204d616e790000000000000000000000600082015250565b6000614f28601583613c8d565b9150614f3382614ef2565b602082019050919050565b60006020820190508181036000830152614f5781614f1b565b9050919050565b6000614f6982613d3d565b9150614f7483613d3d565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614fa957614fa8614877565b5b828201905092915050565b7f464d443a20536f6c64204f757400000000000000000000000000000000000000600082015250565b6000614fea600d83613c8d565b9150614ff582614fb4565b602082019050919050565b6000602082019050818103600083015261501981614fdd565b9050919050565b600061502b82613d3d565b915061503683613d3d565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561506f5761506e614877565b5b828202905092915050565b7f464d443a20496e73756666696369656e74205061796d656e7400000000000000600082015250565b60006150b0601983613c8d565b91506150bb8261507a565b602082019050919050565b600060208201905081810360008301526150df816150a3565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000615142602683613c8d565b915061514d826150e6565b604082019050919050565b6000602082019050818103600083015261517181615135565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006151d4602c83613c8d565b91506151df82615178565b604082019050919050565b60006020820190508181036000830152615203816151c7565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b6000615266602983613c8d565b91506152718261520a565b604082019050919050565b6000602082019050818103600083015261529581615259565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006152f8602483613c8d565b91506153038261529c565b604082019050919050565b60006020820190508181036000830152615327816152eb565b9050919050565b600061533982613d3d565b915061534483613d3d565b92508282101561535757615356614877565b5b828203905092915050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006153be603283613c8d565b91506153c982615362565b604082019050919050565b600060208201905081810360008301526153ed816153b1565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061542e82613d3d565b915061543983613d3d565b925082615449576154486153f4565b5b828204905092915050565b600061545f82613d3d565b915061546a83613d3d565b92508261547a576154796153f4565b5b828206905092915050565b600081519050919050565b600081905092915050565b60006154a682615485565b6154b08185615490565b93506154c0818560208601613c9e565b80840191505092915050565b60006154d8828461549b565b915081905092915050565b7f464d443a2050726573616c652055736564000000000000000000000000000000600082015250565b6000615519601183613c8d565b9150615524826154e3565b602082019050919050565b600060208201905081810360008301526155488161550c565b9050919050565b7f464d443a2050726573616c6520496e76616c6964000000000000000000000000600082015250565b6000615585601483613c8d565b91506155908261554f565b602082019050919050565b600060208201905081810360008301526155b481615578565b9050919050565b600082825260208201905092915050565b60006155d782615485565b6155e181856155bb565b93506155f1818560208601613c9e565b6155fa81613cd1565b840191505092915050565b600060808201905061561a6000830187613dd2565b6156276020830186613dd2565b615634604083018561400c565b818103606083015261564681846155cc565b905095945050505050565b60008151905061566081613bf3565b92915050565b60006020828403121561567c5761567b613bbd565b5b600061568a84828501615651565b91505092915050565b7f466f6f646d61736b7544656c65637461626c6573000000000000000000000000600082015250565b60006156c9601483614d4e565b91506156d482615693565b601482019050919050565b60008160601b9050919050565b60006156f7826156df565b9050919050565b6000615709826156ec565b9050919050565b61572161571c82613dc0565b6156fe565b82525050565b6000615732826156bc565b915061573e8284615710565b60148201915081905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b60006157b2601c83614d4e565b91506157bd8261577c565b601c82019050919050565b6000819050919050565b6000819050919050565b6157ed6157e8826157c8565b6157d2565b82525050565b60006157fe826157a5565b915061580a82846157dc565b60208201915081905092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b600061584f602083613c8d565b915061585a82615819565b602082019050919050565b6000602082019050818103600083015261587e81615842565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006158bb601c83613c8d565b91506158c682615885565b602082019050919050565b600060208201905081810360008301526158ea816158ae565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b6000615956601883613c8d565b915061596182615920565b602082019050919050565b6000602082019050818103600083015261598581615949565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b60006159c2601f83613c8d565b91506159cd8261598c565b602082019050919050565b600060208201905081810360008301526159f1816159b5565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000615a54602283613c8d565b9150615a5f826159f8565b604082019050919050565b60006020820190508181036000830152615a8381615a47565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000615ae6602283613c8d565b9150615af182615a8a565b604082019050919050565b60006020820190508181036000830152615b1581615ad9565b9050919050565b615b25816157c8565b82525050565b600060ff82169050919050565b615b4181615b2b565b82525050565b6000608082019050615b5c6000830187615b1c565b615b696020830186615b38565b615b766040830185615b1c565b615b836060830184615b1c565b9594505050505056fea264697066735822122028021d54771b1504495b275ad95ed06418ba08496a226255c38b16a1e24d4fe264736f6c6343000809003300000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000618ada4800000000000000000000000000000000000000000000000000000000618af66800000000000000000000000044a778a0adabf8d6da9740a9bf99aafd603525580000000000000000000000000000000000000000000000000000000000000014466f6f646d61736b7544656c65637461626c65730000000000000000000000000000000000000000000000000000000000000000000000000000000000000004464f4f4400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002568747470733a2f2f666f6f646d61736b752e636f6d2f6170692f64656c65637461626c652f000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x60806040526004361061025c5760003560e01c80638da5cb5b11610144578063c50b0fb0116100b6578063db7fd4081161007a578063db7fd408146108f7578063df4305d214610913578063e08a5f9e1461093c578063e985e9c514610967578063f2fde38b146109a4578063f4a0a528146109cd5761025c565b8063c50b0fb01461080e578063c87b56dd14610839578063d547cfb714610876578063d5abeb01146108a1578063da67e22a146108cc5761025c565b8063a22cb46511610108578063a22cb46514610716578063a2309ff81461073f578063a7ecd37e1461076a578063af88fac914610793578063b248e4c6146107bc578063b88d4fde146107e55761025c565b80638da5cb5b1461062c5780639456fbcc14610657578063946ef42a1461068057806395d89b41146106ab5780639b51fb0d146106d65761025c565b806342842e0e116101dd5780636352211e116101a15780636352211e1461051e5780636817c76c1461055b5780636d44aef5146105865780636f8b44b0146105af57806370a08231146105d8578063715018a6146106155761025c565b806342842e0e1461043d578063493143e4146104665780634f6ccce71461048f57806351cff8d9146104cc57806355f804b3146104f55761025c565b806318160ddd1161022457806318160ddd1461035857806318e26bb91461038357806323b872dd146103ac5780632f745c59146103d55780633cf924a0146104125761025c565b806301ffc9a71461026157806306fdde031461029e578063081812fc146102c9578063095ea7b3146103065780630c5e8ea71461032f575b600080fd5b34801561026d57600080fd5b5061028860048036038101906102839190613c1f565b6109f6565b6040516102959190613c67565b60405180910390f35b3480156102aa57600080fd5b506102b3610a70565b6040516102c09190613d1b565b60405180910390f35b3480156102d557600080fd5b506102f060048036038101906102eb9190613d73565b610b02565b6040516102fd9190613de1565b60405180910390f35b34801561031257600080fd5b5061032d60048036038101906103289190613e28565b610b87565b005b34801561033b57600080fd5b5061035660048036038101906103519190613f9d565b610c9f565b005b34801561036457600080fd5b5061036d610ec7565b60405161037a919061401b565b60405180910390f35b34801561038f57600080fd5b506103aa60048036038101906103a59190613d73565b610ed4565b005b3480156103b857600080fd5b506103d360048036038101906103ce9190614036565b610f91565b005b3480156103e157600080fd5b506103fc60048036038101906103f79190613e28565b610ff1565b604051610409919061401b565b60405180910390f35b34801561041e57600080fd5b50610427611096565b604051610434919061401b565b60405180910390f35b34801561044957600080fd5b50610464600480360381019061045f9190614036565b61109c565b005b34801561047257600080fd5b5061048d60048036038101906104889190613d73565b6110bc565b005b34801561049b57600080fd5b506104b660048036038101906104b19190613d73565b611142565b6040516104c3919061401b565b60405180910390f35b3480156104d857600080fd5b506104f360048036038101906104ee91906140c7565b6111b3565b005b34801561050157600080fd5b5061051c600480360381019061051791906140f4565b611279565b005b34801561052a57600080fd5b5061054560048036038101906105409190613d73565b61130f565b6040516105529190613de1565b60405180910390f35b34801561056757600080fd5b506105706113c1565b60405161057d919061401b565b60405180910390f35b34801561059257600080fd5b506105ad60048036038101906105a89190613d73565b6113c7565b005b3480156105bb57600080fd5b506105d660048036038101906105d19190613d73565b61144d565b005b3480156105e457600080fd5b506105ff60048036038101906105fa919061413d565b6114d3565b60405161060c919061401b565b60405180910390f35b34801561062157600080fd5b5061062a61158b565b005b34801561063857600080fd5b50610641611613565b60405161064e9190613de1565b60405180910390f35b34801561066357600080fd5b5061067e600480360381019061067991906141a8565b61163d565b005b34801561068c57600080fd5b506106956117d3565b6040516106a2919061401b565b60405180910390f35b3480156106b757600080fd5b506106c06117d9565b6040516106cd9190613d1b565b60405180910390f35b3480156106e257600080fd5b506106fd60048036038101906106f89190613d73565b61186b565b60405161070d94939291906141e8565b60405180910390f35b34801561072257600080fd5b5061073d60048036038101906107389190614260565b611940565b005b34801561074b57600080fd5b50610754611ac1565b604051610761919061401b565b60405180910390f35b34801561077657600080fd5b50610791600480360381019061078c919061413d565b611ac7565b005b34801561079f57600080fd5b506107ba60048036038101906107b59190613d73565b611b87565b005b3480156107c857600080fd5b506107e360048036038101906107de91906142a0565b611c0d565b005b3480156107f157600080fd5b5061080c600480360381019061080791906143ce565b611cbb565b005b34801561081a57600080fd5b50610823611d1d565b604051610830919061401b565b60405180910390f35b34801561084557600080fd5b50610860600480360381019061085b9190613d73565b611d23565b60405161086d9190613d1b565b60405180910390f35b34801561088257600080fd5b5061088b611fc1565b6040516108989190613d1b565b60405180910390f35b3480156108ad57600080fd5b506108b661204f565b6040516108c3919061401b565b60405180910390f35b3480156108d857600080fd5b506108e1612055565b6040516108ee919061401b565b60405180910390f35b610911600480360381019061090c9190614451565b61205b565b005b34801561091f57600080fd5b5061093a60048036038101906109359190613d73565b612296565b005b34801561094857600080fd5b5061095161231c565b60405161095e919061401b565b60405180910390f35b34801561097357600080fd5b5061098e600480360381019061098991906144ad565b612322565b60405161099b9190613c67565b60405180910390f35b3480156109b057600080fd5b506109cb60048036038101906109c6919061413d565b6123b6565b005b3480156109d957600080fd5b506109f460048036038101906109ef9190613d73565b6124ae565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a695750610a6882612534565b5b9050919050565b606060008054610a7f9061451c565b80601f0160208091040260200160405190810160405280929190818152602001828054610aab9061451c565b8015610af85780601f10610acd57610100808354040283529160200191610af8565b820191906000526020600020905b815481529060010190602001808311610adb57829003601f168201915b5050505050905090565b6000610b0d82612616565b610b4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b43906145c0565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b928261130f565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bfa90614652565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c22612682565b73ffffffffffffffffffffffffffffffffffffffff161480610c515750610c5081610c4b612682565b612322565b5b610c90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c87906146e4565b60405180910390fd5b610c9a838361268a565b505050565b610ca7612682565b73ffffffffffffffffffffffffffffffffffffffff16610cc5611613565b73ffffffffffffffffffffffffffffffffffffffff1614610d1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1290614750565b60405180910390fd5b818310610d5d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d54906147bc565b60405180910390fd5b60005b601780549050811015610e1f5760178181548110610d8157610d806147dc565b5b906000526020600020906004020160030160009054906101000a900460ff16610e0c5760178181548110610db857610db76147dc565b5b9060005260206000209060040201600101548411610e0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0290614857565b60405180910390fd5b5b8080610e17906148a6565b915050610d60565b506017604051806080016040528085815260200184815260200183815260200160001515815250908060018154018082558091505060019003906000526020600020906004020160009091909190915060008201518160000155602082015181600101556040820151816002019080519060200190610e9f929190613b10565b5060608201518160030160006101000a81548160ff0219169083151502179055505050505050565b6000600880549050905090565b610edc612682565b73ffffffffffffffffffffffffffffffffffffffff16610efa611613565b73ffffffffffffffffffffffffffffffffffffffff1614610f50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f4790614750565b60405180910390fd5b600160178281548110610f6657610f656147dc565b5b906000526020600020906004020160030160006101000a81548160ff02191690831515021790555050565b610fa2610f9c612682565b82612743565b610fe1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd890614961565b60405180910390fd5b610fec838383612821565b505050565b6000610ffc836114d3565b821061103d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611034906149f3565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b60135481565b6110b783838360405180602001604052806000815250611cbb565b505050565b6110c4612682565b73ffffffffffffffffffffffffffffffffffffffff166110e2611613565b73ffffffffffffffffffffffffffffffffffffffff1614611138576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112f90614750565b60405180910390fd5b80600f8190555050565b600061114c610ec7565b821061118d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161118490614a85565b60405180910390fd5b600882815481106111a1576111a06147dc565b5b90600052602060002001549050919050565b6111bb612682565b73ffffffffffffffffffffffffffffffffffffffff166111d9611613565b73ffffffffffffffffffffffffffffffffffffffff161461122f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161122690614750565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015611275573d6000803e3d6000fd5b5050565b611281612682565b73ffffffffffffffffffffffffffffffffffffffff1661129f611613565b73ffffffffffffffffffffffffffffffffffffffff16146112f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ec90614750565b60405180910390fd5b80600d908051906020019061130b929190613b10565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156113b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113af90614b17565b60405180910390fd5b80915050919050565b60115481565b6113cf612682565b73ffffffffffffffffffffffffffffffffffffffff166113ed611613565b73ffffffffffffffffffffffffffffffffffffffff1614611443576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143a90614750565b60405180910390fd5b80600e8190555050565b611455612682565b73ffffffffffffffffffffffffffffffffffffffff16611473611613565b73ffffffffffffffffffffffffffffffffffffffff16146114c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114c090614750565b60405180910390fd5b8060108190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611544576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153b90614ba9565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611593612682565b73ffffffffffffffffffffffffffffffffffffffff166115b1611613565b73ffffffffffffffffffffffffffffffffffffffff1614611607576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115fe90614750565b60405180910390fd5b6116116000612a7d565b565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611645612682565b73ffffffffffffffffffffffffffffffffffffffff16611663611613565b73ffffffffffffffffffffffffffffffffffffffff16146116b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b090614750565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb828473ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b815260040161170f9190613de1565b60206040518083038186803b15801561172757600080fd5b505afa15801561173b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061175f9190614bde565b6040518363ffffffff1660e01b815260040161177c929190614c0b565b602060405180830381600087803b15801561179657600080fd5b505af11580156117aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117ce9190614c49565b505050565b60125481565b6060600180546117e89061451c565b80601f01602080910402602001604051908101604052809291908181526020018280546118149061451c565b80156118615780601f1061183657610100808354040283529160200191611861565b820191906000526020600020905b81548152906001019060200180831161184457829003601f168201915b5050505050905090565b6017818154811061187b57600080fd5b90600052602060002090600402016000915090508060000154908060010154908060020180546118aa9061451c565b80601f01602080910402602001604051908101604052809291908181526020018280546118d69061451c565b80156119235780601f106118f857610100808354040283529160200191611923565b820191906000526020600020905b81548152906001019060200180831161190657829003601f168201915b5050505050908060030160009054906101000a900460ff16905084565b611948612682565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156119b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ad90614cc2565b60405180910390fd5b80600560006119c3612682565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611a70612682565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611ab59190613c67565b60405180910390a35050565b60145481565b611acf612682565b73ffffffffffffffffffffffffffffffffffffffff16611aed611613565b73ffffffffffffffffffffffffffffffffffffffff1614611b43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3a90614750565b60405180910390fd5b80601660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b611b8f612682565b73ffffffffffffffffffffffffffffffffffffffff16611bad611613565b73ffffffffffffffffffffffffffffffffffffffff1614611c03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bfa90614750565b60405180910390fd5b8060158190555050565b611c15612682565b73ffffffffffffffffffffffffffffffffffffffff16611c33611613565b73ffffffffffffffffffffffffffffffffffffffff1614611c89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8090614750565b60405180910390fd5b8560158190555084601181905550836010819055508260128190555081600e8190555080600f81905550505050505050565b611ccc611cc6612682565b83612743565b611d0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d0290614961565b60405180910390fd5b611d1784848484612b43565b50505050565b60155481565b6060611d2e82612616565b611d6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d6490614d2e565b60405180910390fd5b6000600d8054611d7c9061451c565b80601f0160208091040260200160405190810160405280929190818152602001828054611da89061451c565b8015611df55780601f10611dca57610100808354040283529160200191611df5565b820191906000526020600020905b815481529060010190602001808311611dd857829003601f168201915b5050505050905060005b601780549050811015611f6f578360178281548110611e2157611e206147dc565b5b90600052602060002090600402016000015411158015611e6657508360178281548110611e5157611e506147dc565b5b90600052602060002090600402016001015410155b8015611ea2575060178181548110611e8157611e806147dc565b5b906000526020600020906004020160030160009054906101000a900460ff16155b15611f5c5760178181548110611ebb57611eba6147dc565b5b90600052602060002090600402016002018054611ed79061451c565b80601f0160208091040260200160405190810160405280929190818152602001828054611f039061451c565b8015611f505780601f10611f2557610100808354040283529160200191611f50565b820191906000526020600020905b815481529060010190602001808311611f3357829003601f168201915b50505050509150611f6f565b8080611f67906148a6565b915050611dff565b506000815111611f8e5760405180602001604052806000815250611fb9565b80611f9884612b9f565b604051602001611fa9929190614d8a565b6040516020818303038152906040525b915050919050565b600d8054611fce9061451c565b80601f0160208091040260200160405190810160405280929190818152602001828054611ffa9061451c565b80156120475780601f1061201c57610100808354040283529160200191612047565b820191906000526020600020905b81548152906001019060200180831161202a57829003601f168201915b505050505081565b60105481565b600f5481565b6002600a5414156120a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161209890614dfa565b60405180910390fd5b6002600a8190555042600e54111580156120bc575042600f54115b1561211d57601254821115612106576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120fd90614e66565b60405180910390fd5b61210f81612d00565b61211881612e11565b6121a8565b42600f541115612162576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215990614ed2565b60405180910390fd5b6013548211156121a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161219e90614f3e565b60405180910390fd5b5b601054826014546121b99190614f5e565b11156121fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121f190615000565b60405180910390fd5b601154826122089190615020565b34101561224a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612241906150c6565b60405180910390fd5b60005b828110156122895760016014546122649190614f5e565b60148190555061227633601454612e39565b8080612281906148a6565b91505061224d565b506001600a819055505050565b61229e612682565b73ffffffffffffffffffffffffffffffffffffffff166122bc611613565b73ffffffffffffffffffffffffffffffffffffffff1614612312576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161230990614750565b60405180910390fd5b8060128190555050565b600e5481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6123be612682565b73ffffffffffffffffffffffffffffffffffffffff166123dc611613565b73ffffffffffffffffffffffffffffffffffffffff1614612432576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161242990614750565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156124a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161249990615158565b60405180910390fd5b6124ab81612a7d565b50565b6124b6612682565b73ffffffffffffffffffffffffffffffffffffffff166124d4611613565b73ffffffffffffffffffffffffffffffffffffffff161461252a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161252190614750565b60405180910390fd5b8060118190555050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806125ff57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061260f575061260e82612e57565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166126fd8361130f565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061274e82612616565b61278d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612784906151ea565b60405180910390fd5b60006127988361130f565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061280757508373ffffffffffffffffffffffffffffffffffffffff166127ef84610b02565b73ffffffffffffffffffffffffffffffffffffffff16145b8061281857506128178185612322565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166128418261130f565b73ffffffffffffffffffffffffffffffffffffffff1614612897576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161288e9061527c565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612907576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128fe9061530e565b60405180910390fd5b612912838383612ec1565b61291d60008261268a565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461296d919061532e565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129c49190614f5e565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612b4e848484612821565b612b5a84848484612fd5565b612b99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b90906153d4565b60405180910390fd5b50505050565b60606000821415612be7576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612cfb565b600082905060005b60008214612c19578080612c02906148a6565b915050600a82612c129190615423565b9150612bef565b60008167ffffffffffffffff811115612c3557612c34613e72565b5b6040519080825280601f01601f191660200182016040528015612c675781602001600182028036833780820191505090505b5090505b60008514612cf457600182612c80919061532e565b9150600a85612c8f9190615454565b6030612c9b9190614f5e565b60f81b818381518110612cb157612cb06147dc565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612ced9190615423565b9450612c6b565b8093505050505b919050565b6000612d0a61316c565b90506000612d18828461319a565b9050601554600c84604051612d2d91906154cc565b90815260200160405180910390205410612d7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d739061552f565b60405180910390fd5b601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614612e0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e039061559b565b60405180910390fd5b505050565b601554600c82604051612e2491906154cc565b90815260200160405180910390208190555050565b612e538282604051806020016040528060008152506131bf565b5050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612ecc83838361321a565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612f0f57612f0a8161321f565b612f4e565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612f4d57612f4c8382613268565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612f9157612f8c816133d5565b612fd0565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612fcf57612fce82826134a6565b5b5b505050565b6000612ff68473ffffffffffffffffffffffffffffffffffffffff16613525565b1561315f578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261301f612682565b8786866040518563ffffffff1660e01b81526004016130419493929190615605565b602060405180830381600087803b15801561305b57600080fd5b505af192505050801561308c57506040513d601f19601f820116820180604052508101906130899190615666565b60015b61310f573d80600081146130bc576040519150601f19603f3d011682016040523d82523d6000602084013e6130c1565b606091505b50600081511415613107576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130fe906153d4565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613164565b600190505b949350505050565b60003360405160200161317f9190615727565b60405160208183030381529060405280519060200120905090565b60006131b7826131a985613538565b61356890919063ffffffff16565b905092915050565b6131c9838361358f565b6131d66000848484612fd5565b613215576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161320c906153d4565b60405180910390fd5b505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613275846114d3565b61327f919061532e565b9050600060076000848152602001908152602001600020549050818114613364576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506133e9919061532e565b9050600060096000848152602001908152602001600020549050600060088381548110613419576134186147dc565b5b90600052602060002001549050806008838154811061343b5761343a6147dc565b5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061348a5761348961574d565b5b6001900381819060005260206000200160009055905550505050565b60006134b1836114d3565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b60008160405160200161354b91906157f3565b604051602081830303815290604052805190602001209050919050565b6000806000613577858561375d565b91509150613584816137e0565b819250505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156135ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135f690615865565b60405180910390fd5b61360881612616565b15613648576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161363f906158d1565b60405180910390fd5b61365460008383612ec1565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546136a49190614f5e565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60008060418351141561379f5760008060006020860151925060408601519150606086015160001a9050613793878285856139b5565b945094505050506137d9565b6040835114156137d05760008060208501519150604085015190506137c5868383613ac2565b9350935050506137d9565b60006002915091505b9250929050565b600060048111156137f4576137f36158f1565b5b816004811115613807576138066158f1565b5b1415613812576139b2565b60016004811115613826576138256158f1565b5b816004811115613839576138386158f1565b5b141561387a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138719061596c565b60405180910390fd5b6002600481111561388e5761388d6158f1565b5b8160048111156138a1576138a06158f1565b5b14156138e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138d9906159d8565b60405180910390fd5b600360048111156138f6576138f56158f1565b5b816004811115613909576139086158f1565b5b141561394a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161394190615a6a565b60405180910390fd5b60048081111561395d5761395c6158f1565b5b8160048111156139705761396f6158f1565b5b14156139b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139a890615afc565b60405180910390fd5b5b50565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c11156139f0576000600391509150613ab9565b601b8560ff1614158015613a085750601c8560ff1614155b15613a1a576000600491509150613ab9565b600060018787878760405160008152602001604052604051613a3f9493929190615b47565b6020604051602081039080840390855afa158015613a61573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415613ab057600060019250925050613ab9565b80600092509250505b94509492505050565b6000806000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85169150601b8560ff1c019050613b02878288856139b5565b935093505050935093915050565b828054613b1c9061451c565b90600052602060002090601f016020900481019282613b3e5760008555613b85565b82601f10613b5757805160ff1916838001178555613b85565b82800160010185558215613b85579182015b82811115613b84578251825591602001919060010190613b69565b5b509050613b929190613b96565b5090565b5b80821115613baf576000816000905550600101613b97565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613bfc81613bc7565b8114613c0757600080fd5b50565b600081359050613c1981613bf3565b92915050565b600060208284031215613c3557613c34613bbd565b5b6000613c4384828501613c0a565b91505092915050565b60008115159050919050565b613c6181613c4c565b82525050565b6000602082019050613c7c6000830184613c58565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613cbc578082015181840152602081019050613ca1565b83811115613ccb576000848401525b50505050565b6000601f19601f8301169050919050565b6000613ced82613c82565b613cf78185613c8d565b9350613d07818560208601613c9e565b613d1081613cd1565b840191505092915050565b60006020820190508181036000830152613d358184613ce2565b905092915050565b6000819050919050565b613d5081613d3d565b8114613d5b57600080fd5b50565b600081359050613d6d81613d47565b92915050565b600060208284031215613d8957613d88613bbd565b5b6000613d9784828501613d5e565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613dcb82613da0565b9050919050565b613ddb81613dc0565b82525050565b6000602082019050613df66000830184613dd2565b92915050565b613e0581613dc0565b8114613e1057600080fd5b50565b600081359050613e2281613dfc565b92915050565b60008060408385031215613e3f57613e3e613bbd565b5b6000613e4d85828601613e13565b9250506020613e5e85828601613d5e565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613eaa82613cd1565b810181811067ffffffffffffffff82111715613ec957613ec8613e72565b5b80604052505050565b6000613edc613bb3565b9050613ee88282613ea1565b919050565b600067ffffffffffffffff821115613f0857613f07613e72565b5b613f1182613cd1565b9050602081019050919050565b82818337600083830152505050565b6000613f40613f3b84613eed565b613ed2565b905082815260208101848484011115613f5c57613f5b613e6d565b5b613f67848285613f1e565b509392505050565b600082601f830112613f8457613f83613e68565b5b8135613f94848260208601613f2d565b91505092915050565b600080600060608486031215613fb657613fb5613bbd565b5b6000613fc486828701613d5e565b9350506020613fd586828701613d5e565b925050604084013567ffffffffffffffff811115613ff657613ff5613bc2565b5b61400286828701613f6f565b9150509250925092565b61401581613d3d565b82525050565b6000602082019050614030600083018461400c565b92915050565b60008060006060848603121561404f5761404e613bbd565b5b600061405d86828701613e13565b935050602061406e86828701613e13565b925050604061407f86828701613d5e565b9150509250925092565b600061409482613da0565b9050919050565b6140a481614089565b81146140af57600080fd5b50565b6000813590506140c18161409b565b92915050565b6000602082840312156140dd576140dc613bbd565b5b60006140eb848285016140b2565b91505092915050565b60006020828403121561410a57614109613bbd565b5b600082013567ffffffffffffffff81111561412857614127613bc2565b5b61413484828501613f6f565b91505092915050565b60006020828403121561415357614152613bbd565b5b600061416184828501613e13565b91505092915050565b600061417582613dc0565b9050919050565b6141858161416a565b811461419057600080fd5b50565b6000813590506141a28161417c565b92915050565b600080604083850312156141bf576141be613bbd565b5b60006141cd85828601614193565b92505060206141de85828601613e13565b9150509250929050565b60006080820190506141fd600083018761400c565b61420a602083018661400c565b818103604083015261421c8185613ce2565b905061422b6060830184613c58565b95945050505050565b61423d81613c4c565b811461424857600080fd5b50565b60008135905061425a81614234565b92915050565b6000806040838503121561427757614276613bbd565b5b600061428585828601613e13565b92505060206142968582860161424b565b9150509250929050565b60008060008060008060c087890312156142bd576142bc613bbd565b5b60006142cb89828a01613d5e565b96505060206142dc89828a01613d5e565b95505060406142ed89828a01613d5e565b94505060606142fe89828a01613d5e565b935050608061430f89828a01613d5e565b92505060a061432089828a01613d5e565b9150509295509295509295565b600067ffffffffffffffff82111561434857614347613e72565b5b61435182613cd1565b9050602081019050919050565b600061437161436c8461432d565b613ed2565b90508281526020810184848401111561438d5761438c613e6d565b5b614398848285613f1e565b509392505050565b600082601f8301126143b5576143b4613e68565b5b81356143c584826020860161435e565b91505092915050565b600080600080608085870312156143e8576143e7613bbd565b5b60006143f687828801613e13565b945050602061440787828801613e13565b935050604061441887828801613d5e565b925050606085013567ffffffffffffffff81111561443957614438613bc2565b5b614445878288016143a0565b91505092959194509250565b6000806040838503121561446857614467613bbd565b5b600061447685828601613d5e565b925050602083013567ffffffffffffffff81111561449757614496613bc2565b5b6144a3858286016143a0565b9150509250929050565b600080604083850312156144c4576144c3613bbd565b5b60006144d285828601613e13565b92505060206144e385828601613e13565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061453457607f821691505b60208210811415614548576145476144ed565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006145aa602c83613c8d565b91506145b58261454e565b604082019050919050565b600060208201905081810360008301526145d98161459d565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b600061463c602183613c8d565b9150614647826145e0565b604082019050919050565b6000602082019050818103600083015261466b8161462f565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b60006146ce603883613c8d565b91506146d982614672565b604082019050919050565b600060208201905081810360008301526146fd816146c1565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061473a602083613c8d565b915061474582614704565b602082019050919050565b600060208201905081810360008301526147698161472d565b9050919050565b7f464d443a204d696e206d757374206265206c657373207468616e204d61780000600082015250565b60006147a6601e83613c8d565b91506147b182614770565b602082019050919050565b600060208201905081810360008301526147d581614799565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f464d443a204f7665726c617070696e67204275636b6574000000000000000000600082015250565b6000614841601783613c8d565b915061484c8261480b565b602082019050919050565b6000602082019050818103600083015261487081614834565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006148b182613d3d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156148e4576148e3614877565b5b600182019050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b600061494b603183613c8d565b9150614956826148ef565b604082019050919050565b6000602082019050818103600083015261497a8161493e565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b60006149dd602b83613c8d565b91506149e882614981565b604082019050919050565b60006020820190508181036000830152614a0c816149d0565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000614a6f602c83613c8d565b9150614a7a82614a13565b604082019050919050565b60006020820190508181036000830152614a9e81614a62565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000614b01602983613c8d565b9150614b0c82614aa5565b604082019050919050565b60006020820190508181036000830152614b3081614af4565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000614b93602a83613c8d565b9150614b9e82614b37565b604082019050919050565b60006020820190508181036000830152614bc281614b86565b9050919050565b600081519050614bd881613d47565b92915050565b600060208284031215614bf457614bf3613bbd565b5b6000614c0284828501614bc9565b91505092915050565b6000604082019050614c206000830185613dd2565b614c2d602083018461400c565b9392505050565b600081519050614c4381614234565b92915050565b600060208284031215614c5f57614c5e613bbd565b5b6000614c6d84828501614c34565b91505092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614cac601983613c8d565b9150614cb782614c76565b602082019050919050565b60006020820190508181036000830152614cdb81614c9f565b9050919050565b7f464d443a20343034000000000000000000000000000000000000000000000000600082015250565b6000614d18600883613c8d565b9150614d2382614ce2565b602082019050919050565b60006020820190508181036000830152614d4781614d0b565b9050919050565b600081905092915050565b6000614d6482613c82565b614d6e8185614d4e565b9350614d7e818560208601613c9e565b80840191505092915050565b6000614d968285614d59565b9150614da28284614d59565b91508190509392505050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000614de4601f83613c8d565b9150614def82614dae565b602082019050919050565b60006020820190508181036000830152614e1381614dd7565b9050919050565b7f464d443a204d696e74696e6720546f6f204d616e792050726573616c65000000600082015250565b6000614e50601d83613c8d565b9150614e5b82614e1a565b602082019050919050565b60006020820190508181036000830152614e7f81614e43565b9050919050565b7f464d443a2053616c65204e6f7420537461727465640000000000000000000000600082015250565b6000614ebc601583613c8d565b9150614ec782614e86565b602082019050919050565b60006020820190508181036000830152614eeb81614eaf565b9050919050565b7f464d443a204d696e74696e6720546f6f204d616e790000000000000000000000600082015250565b6000614f28601583613c8d565b9150614f3382614ef2565b602082019050919050565b60006020820190508181036000830152614f5781614f1b565b9050919050565b6000614f6982613d3d565b9150614f7483613d3d565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614fa957614fa8614877565b5b828201905092915050565b7f464d443a20536f6c64204f757400000000000000000000000000000000000000600082015250565b6000614fea600d83613c8d565b9150614ff582614fb4565b602082019050919050565b6000602082019050818103600083015261501981614fdd565b9050919050565b600061502b82613d3d565b915061503683613d3d565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561506f5761506e614877565b5b828202905092915050565b7f464d443a20496e73756666696369656e74205061796d656e7400000000000000600082015250565b60006150b0601983613c8d565b91506150bb8261507a565b602082019050919050565b600060208201905081810360008301526150df816150a3565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000615142602683613c8d565b915061514d826150e6565b604082019050919050565b6000602082019050818103600083015261517181615135565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006151d4602c83613c8d565b91506151df82615178565b604082019050919050565b60006020820190508181036000830152615203816151c7565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b6000615266602983613c8d565b91506152718261520a565b604082019050919050565b6000602082019050818103600083015261529581615259565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006152f8602483613c8d565b91506153038261529c565b604082019050919050565b60006020820190508181036000830152615327816152eb565b9050919050565b600061533982613d3d565b915061534483613d3d565b92508282101561535757615356614877565b5b828203905092915050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006153be603283613c8d565b91506153c982615362565b604082019050919050565b600060208201905081810360008301526153ed816153b1565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061542e82613d3d565b915061543983613d3d565b925082615449576154486153f4565b5b828204905092915050565b600061545f82613d3d565b915061546a83613d3d565b92508261547a576154796153f4565b5b828206905092915050565b600081519050919050565b600081905092915050565b60006154a682615485565b6154b08185615490565b93506154c0818560208601613c9e565b80840191505092915050565b60006154d8828461549b565b915081905092915050565b7f464d443a2050726573616c652055736564000000000000000000000000000000600082015250565b6000615519601183613c8d565b9150615524826154e3565b602082019050919050565b600060208201905081810360008301526155488161550c565b9050919050565b7f464d443a2050726573616c6520496e76616c6964000000000000000000000000600082015250565b6000615585601483613c8d565b91506155908261554f565b602082019050919050565b600060208201905081810360008301526155b481615578565b9050919050565b600082825260208201905092915050565b60006155d782615485565b6155e181856155bb565b93506155f1818560208601613c9e565b6155fa81613cd1565b840191505092915050565b600060808201905061561a6000830187613dd2565b6156276020830186613dd2565b615634604083018561400c565b818103606083015261564681846155cc565b905095945050505050565b60008151905061566081613bf3565b92915050565b60006020828403121561567c5761567b613bbd565b5b600061568a84828501615651565b91505092915050565b7f466f6f646d61736b7544656c65637461626c6573000000000000000000000000600082015250565b60006156c9601483614d4e565b91506156d482615693565b601482019050919050565b60008160601b9050919050565b60006156f7826156df565b9050919050565b6000615709826156ec565b9050919050565b61572161571c82613dc0565b6156fe565b82525050565b6000615732826156bc565b915061573e8284615710565b60148201915081905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b60006157b2601c83614d4e565b91506157bd8261577c565b601c82019050919050565b6000819050919050565b6000819050919050565b6157ed6157e8826157c8565b6157d2565b82525050565b60006157fe826157a5565b915061580a82846157dc565b60208201915081905092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b600061584f602083613c8d565b915061585a82615819565b602082019050919050565b6000602082019050818103600083015261587e81615842565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006158bb601c83613c8d565b91506158c682615885565b602082019050919050565b600060208201905081810360008301526158ea816158ae565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b6000615956601883613c8d565b915061596182615920565b602082019050919050565b6000602082019050818103600083015261598581615949565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b60006159c2601f83613c8d565b91506159cd8261598c565b602082019050919050565b600060208201905081810360008301526159f1816159b5565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000615a54602283613c8d565b9150615a5f826159f8565b604082019050919050565b60006020820190508181036000830152615a8381615a47565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000615ae6602283613c8d565b9150615af182615a8a565b604082019050919050565b60006020820190508181036000830152615b1581615ad9565b9050919050565b615b25816157c8565b82525050565b600060ff82169050919050565b615b4181615b2b565b82525050565b6000608082019050615b5c6000830187615b1c565b615b696020830186615b38565b615b766040830185615b1c565b615b836060830184615b1c565b9594505050505056fea264697066735822122028021d54771b1504495b275ad95ed06418ba08496a226255c38b16a1e24d4fe264736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000618ada4800000000000000000000000000000000000000000000000000000000618af66800000000000000000000000044a778a0adabf8d6da9740a9bf99aafd603525580000000000000000000000000000000000000000000000000000000000000014466f6f646d61736b7544656c65637461626c65730000000000000000000000000000000000000000000000000000000000000000000000000000000000000004464f4f4400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002568747470733a2f2f666f6f646d61736b752e636f6d2f6170692f64656c65637461626c652f000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name (string): FoodmaskuDelectables
Arg [1] : symbol (string): FOOD
Arg [2] : _baseTokenURI (string): https://foodmasku.com/api/delectable/
Arg [3] : _startPresaleDate (uint256): 1636489800
Arg [4] : _startMintDate (uint256): 1636497000
Arg [5] : _wonka (address): 0x44A778A0Adabf8D6Da9740a9Bf99aAFd60352558
-----Encoded View---------------
13 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [3] : 00000000000000000000000000000000000000000000000000000000618ada48
Arg [4] : 00000000000000000000000000000000000000000000000000000000618af668
Arg [5] : 00000000000000000000000044a778a0adabf8d6da9740a9bf99aafd60352558
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000014
Arg [7] : 466f6f646d61736b7544656c65637461626c6573000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [9] : 464f4f4400000000000000000000000000000000000000000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000025
Arg [11] : 68747470733a2f2f666f6f646d61736b752e636f6d2f6170692f64656c656374
Arg [12] : 61626c652f000000000000000000000000000000000000000000000000000000
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.