Overview
TokenID
686
Total Transfers
-
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Unikong
Compiler Version
v0.8.11+commit.d7f03943
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.11; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "./ERC721A.sol"; contract Unikong is ERC721A, Ownable, Pausable { using Address for address; using Strings for uint256; using MerkleProof for bytes32[]; address proxyRegistryAddress; //the merkle root bytes32 public ogRoot = 0x0000000000000000000000000000000000000000000000000000000000000000; bytes32 public wlRoot = 0x0000000000000000000000000000000000000000000000000000000000000000; string public _contractBaseURI = "https://gateway.pinata.cloud/ipfs/QmRujq9iTHGjqxKTjGfoaavBUsjRDfdaV2iw9yfWXg3m1f"; string public _contractURI = "https://unikong.io/"; uint256 public ogTokenPrice = 0.05 ether; //price per og token uint256 public wlTokenPrice = 0.06 ether; //price per wl token uint256 public publicTokenPrice = 0.07 ether; //price per public token uint256 public ogSaleStartTime = 1647194400; uint256 public ogSaleEndTime = 1647205199; uint256 public whitelistSaleStartTime = 1647205200; uint256 public whitelistSaleEndTime = 1647266400; uint256 public publicSaleStartTime = 1647270000; uint256 public ogMaxMintAllowed = 2; uint256 public wlMaxMintAllowed = 1; mapping(address => uint256) public ogUsedAddresses; //used addresses for whitelist mapping(address => uint256) public wlUsedAddresses; //used addresses for whitelist bool public locked; //baseURI & contractURI lock uint256 public maxSupply = 5554; //tokenIDs start from 0 constructor() ERC721A("Unikong", "UNIKONG", 5) { _safeMint(msg.sender, 1); //mints 1 nft to the owner for configuring opensea } /** * @dev whitelist buy */ function whitelistBuy( uint256 qty, uint256 tokenId, bytes32[] calldata proof ) external payable whenNotPaused { require(totalSupply() + qty <= maxSupply, "WhitelistBuy:: Out of stock"); require(qty <= wlMaxMintAllowed, "WhitelistBuy:: Max limit reached"); require(wlTokenPrice * qty == msg.value, "WhitelistBuy:: Invalid Amount"); require( wlUsedAddresses[msg.sender] + qty <= wlMaxMintAllowed, "WhitelistBuy:: Max per wallet reached" ); require( block.timestamp > whitelistSaleStartTime && block.timestamp < whitelistSaleEndTime, "WhitelistBuy:: Too early or too late" ); require( isTokenWLValid(msg.sender, tokenId, proof), "WhitelistBuy:: Invalid merkle proof" ); wlUsedAddresses[msg.sender] += qty; _safeMint(msg.sender, qty); } function ogBuy( uint256 qty, uint256 tokenId, bytes32[] calldata proof ) external payable whenNotPaused { require(totalSupply() + qty <= maxSupply, "OgBuy:: Out of stock"); require(qty <= ogMaxMintAllowed, "OgBuy:: Max limit reached"); require(ogTokenPrice * qty == msg.value, "OgBuy:: Invalid Amount"); require( ogUsedAddresses[msg.sender] + qty <= ogMaxMintAllowed, "OgBuy:: Max limit reached" ); require( block.timestamp > ogSaleStartTime && block.timestamp < ogSaleEndTime, "OgBuy:: Too early or too late" ); require( isTokenOGValid(msg.sender, tokenId, proof), "OgBuy:: Invalid merkle proof" ); ogUsedAddresses[msg.sender] += qty; _safeMint(msg.sender, qty); } /** * @dev everyone can mint freely */ function buy(uint256 qty) external payable whenNotPaused { require(publicTokenPrice * qty == msg.value, "Buy:: Invalid amount"); require(qty <= 5, "Buy:: Max limit is 5"); require(totalSupply() + qty <= maxSupply, "Buy:: Out of stock"); require(block.timestamp > publicSaleStartTime, "Buy:: Too early"); _safeMint(msg.sender, qty); } /** * @dev can airdrop tokens */ function adminMint(address to, uint256 qty) external onlyOwner { require(totalSupply() + qty <= maxSupply, "AdminMint:: Out of stock"); _safeMint(to, qty); } /** * @dev verification function for merkle root */ function isTokenOGValid( address _to, uint256 _tokenId, bytes32[] memory _proof ) public view returns (bool) { // construct Merkle tree leaf from the inputs supplied bytes32 leaf = keccak256(abi.encodePacked(_to, _tokenId)); // verify the proof supplied, and return the verification result return _proof.verify(ogRoot, leaf); } function isTokenWLValid( address _to, uint256 _tokenId, bytes32[] memory _proof ) public view returns (bool) { // construct Merkle tree leaf from the inputs supplied bytes32 leaf = keccak256(abi.encodePacked(_to, _tokenId)); // verify the proof supplied, and return the verification result return _proof.verify(wlRoot, leaf); } function setOGMerkleRoot(bytes32 _ogRoot) external onlyOwner { ogRoot = _ogRoot; } function setWLMerkleRoot(bytes32 _wlRoot) external onlyOwner { wlRoot = _wlRoot; } //---------------------------------- //----------- other code ----------- //---------------------------------- function tokensOfOwner(address _owner) external view returns (uint256[] memory) { uint256 tokenCount = balanceOf(_owner); if (tokenCount == 0) { return new uint256[](0); } else { uint256[] memory result = new uint256[](tokenCount); uint256 index; for (index = 0; index < tokenCount; index++) { result[index] = tokenOfOwnerByIndex(_owner, index); } return result; } } function tokenURI(uint256 _tokenId) public view override returns (string memory) { require( _exists(_tokenId), "ERC721Metadata: URI query for nonexistent token" ); return string( abi.encodePacked(_contractBaseURI, _tokenId.toString(), ".json") ); } function setBaseURI(string memory newBaseURI) external onlyOwner { require(!locked, "SetBaseURI:: Unlock before set"); _contractBaseURI = newBaseURI; } function setContractURI(string memory newuri) external onlyOwner { require(!locked, "SetContractURI:: Unlock before set"); _contractURI = newuri; } function contractURI() public view returns (string memory) { return _contractURI; } function reclaimERC20(IERC20 erc20Token) external onlyOwner { erc20Token.transfer(msg.sender, erc20Token.balanceOf(address(this))); } function reclaimERC721(IERC721 erc721Token, uint256 id) external onlyOwner { erc721Token.safeTransferFrom(address(this), msg.sender, id); } function setOGSaleStartTime(uint256 newStartTime, uint256 newEndTime) external onlyOwner { ogSaleStartTime = newStartTime; ogSaleEndTime = newEndTime; } function setWhitelistSaleStartTime(uint256 newStartTime, uint256 newEndTime) external onlyOwner { whitelistSaleStartTime = newStartTime; whitelistSaleEndTime = newEndTime; } function setPublicSaleStartTime(uint256 newStartTime) external onlyOwner { publicSaleStartTime = newStartTime; } //change the price per token function setOGCost(uint256 newPrice) external onlyOwner { ogTokenPrice = newPrice; } //change the price per token function setWLCost(uint256 newPrice) external onlyOwner { wlTokenPrice = newPrice; } //change the price per token function setPublicCost(uint256 newPrice) external onlyOwner { publicTokenPrice = newPrice; } //change the max supply function setmaxMintAmount(uint256 newMaxSupply) public onlyOwner { maxSupply = newMaxSupply; } //blocks staking but doesn't block unstaking / claiming function setPaused(bool _setPaused) public onlyOwner { return (_setPaused) ? _pause() : _unpause(); } //sets the opensea proxy function setProxyRegistry(address _newRegistry) external onlyOwner { proxyRegistryAddress = _newRegistry; } // and for the eternity! function lockBaseURIandContractURI() external onlyOwner { locked = true; } // earnings withdrawal function withdraw() public payable onlyOwner { uint256 _total_owner = address(this).balance; (bool all1, ) = payable(0x0E664f613f062d52e3FC9aE65270584ad660B2CB) .call{value: (_total_owner * 1) / 3}(""); //l require(all1); (bool all2, ) = payable(0x0E664f613f062d52e3FC9aE65270584ad660B2CB) .call{value: (_total_owner * 1) / 3}(""); //sc require(all2); (bool all3, ) = payable(0x0E664f613f062d52e3FC9aE65270584ad660B2CB) .call{value: (_total_owner * 1) / 3}(""); //sp require(all3); } /** * Override isApprovedForAll to whitelist user's OpenSea proxy accounts to enable gas-less listings. */ function isApprovedForAll(address owner, address operator) public view override returns (bool) { // Whitelist OpenSea proxy contract for easy trading. ProxyRegistry proxyRegistry = ProxyRegistry(proxyRegistryAddress); if (address(proxyRegistry.proxies(owner)) == operator) { return true; } return super.isApprovedForAll(owner, operator); } } //opensea removal of approvals contract OwnableDelegateProxy { } contract ProxyRegistry { mapping(address => OwnableDelegateProxy) public proxies; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = _efficientHash(computedHash, proofElement); } else { // Hash(current element of the proof + current computed hash) computedHash = _efficientHash(proofElement, computedHash); } } return computedHash; } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) 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); /** * @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 // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, 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 // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/Pausable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.11; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; contract ERC721A is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable { using Address for address; using Strings for uint256; struct TokenOwnership { address addr; uint64 startTimestamp; } struct AddressData { uint128 balance; uint128 numberMinted; } uint256 private currentIndex = 0; address private burned = address(1); uint256 internal immutable maxBatchSize; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. See ownershipOf implementation for details. mapping(uint256 => TokenOwnership) private _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev * `maxBatchSize` refers to how much a minter can mint at a time. */ constructor( string memory name_, string memory symbol_, uint256 maxBatchSize_ ) { require(maxBatchSize_ > 0, "ERC721A: max batch size must be nonzero"); _name = name_; _symbol = symbol_; maxBatchSize = maxBatchSize_; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view override returns (uint256) { return currentIndex; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view override returns (uint256) { require(index < totalSupply(), "ERC721A: global index out of bounds"); return index; } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first. * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) { require(index < balanceOf(owner), "ERC721A: owner index out of bounds"); uint256 numMintedSoFar = totalSupply(); uint256 tokenIdsIdx = 0; address currOwnershipAddr = address(0); for (uint256 i = 0; i < numMintedSoFar; i++) { TokenOwnership memory ownership = _ownerships[i]; if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { if (tokenIdsIdx == index) { return i; } tokenIdsIdx++; } } revert("ERC721A: unable to get token of owner by index"); } /** * @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 || interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { require( owner != address(0), "ERC721A: balance query for the zero address" ); return uint256(_addressData[owner].balance); } function _numberMinted(address owner) internal view returns (uint256) { require( owner != address(0), "ERC721A: number minted query for the zero address" ); return uint256(_addressData[owner].numberMinted); } function ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { require(_exists(tokenId), "ERC721A: owner query for nonexistent token"); uint256 lowestTokenToCheck; if (tokenId >= maxBatchSize) { lowestTokenToCheck = tokenId - maxBatchSize + 1; } for (uint256 curr = tokenId; curr >= lowestTokenToCheck; curr--) { TokenOwnership memory ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } revert("ERC721A: unable to determine the owner of token"); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return ownershipOf(tokenId).addr; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require( _exists(tokenId), "ERC721Metadata: URI query for nonexistent token" ); 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 override { address owner = ERC721A.ownerOf(tokenId); require(to != owner, "ERC721A: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721A: approve caller is not owner nor approved for all" ); _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { require( _exists(tokenId), "ERC721A: approved query for nonexistent token" ); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public override { require(operator != _msgSender(), "ERC721A: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public override { _transfer(from, to, tokenId); require( _checkOnERC721Received(from, to, tokenId, _data), "ERC721A: transfer to non ERC721Receiver implementer" ); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return tokenId < currentIndex; } function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ""); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` cannot be larger than the max batch size. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { uint256 startTokenId = currentIndex; require(to != address(0), "ERC721A: mint to the zero address"); // We know if the first token in the batch doesn't exist, the other ones don't as well, because of serial ordering. require(!_exists(startTokenId), "ERC721A: token already minted"); require(quantity <= maxBatchSize, "ERC721A: quantity to mint too high"); _beforeTokenTransfers(address(0), to, startTokenId, quantity); AddressData memory addressData = _addressData[to]; _addressData[to] = AddressData( addressData.balance + uint128(quantity), addressData.numberMinted + uint128(quantity) ); _ownerships[startTokenId] = TokenOwnership(to, uint64(block.timestamp)); uint256 updatedIndex = startTokenId; for (uint256 i = 0; i < quantity; i++) { emit Transfer(address(0), to, updatedIndex); require( _checkOnERC721Received(address(0), to, updatedIndex, _data), "ERC721A: transfer to non ERC721Receiver implementer" ); updatedIndex++; } currentIndex = updatedIndex; _afterTokenTransfers(address(0), to, startTokenId, quantity); } //change the ownership of a token. limited to the quantities put in require! // function _changeOwnership(uint256 tokenId, address to) internal { // TokenOwnership memory prevOwnership = ownershipOf(tokenId); // _addressData[prevOwnership.addr].balance -= 1; // _ownerships[tokenId] = TokenOwnership(burned, uint64(block.timestamp)); // _beforeTokenTransfers(address(0), to, tokenId, 1); // AddressData memory addressData = _addressData[to]; // _addressData[to] = AddressData(addressData.balance + 1, addressData.numberMinted + 1); // _ownerships[tokenId] = TokenOwnership(to, uint64(block.timestamp)); // emit Transfer(address(0), to, tokenId); // _afterTokenTransfers(address(0), to, tokenId, 1); // } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) private { TokenOwnership memory prevOwnership = ownershipOf(tokenId); bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr || getApproved(tokenId) == _msgSender() || isApprovedForAll(prevOwnership.addr, _msgSender())); require( isApprovedOrOwner, "ERC721A: transfer caller is not owner nor approved" ); require( prevOwnership.addr == from, "ERC721A: transfer from incorrect owner" ); require(to != address(0), "ERC721A: transfer to the zero address"); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, prevOwnership.addr); _addressData[from].balance -= 1; _addressData[to].balance += 1; _ownerships[tokenId] = TokenOwnership(to, uint64(block.timestamp)); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; if (_ownerships[nextTokenId].addr == address(0)) { if (_exists(nextTokenId)) { _ownerships[nextTokenId] = TokenOwnership( prevOwnership.addr, prevOwnership.startTimestamp ); } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } uint256 public nextOwnerToExplicitlySet = 0; /** * @dev Explicitly set `owners` to eliminate loops in future calls of ownerOf(). */ function _setOwnersExplicit(uint256 quantity) internal { uint256 oldNextOwnerToSet = nextOwnerToExplicitlySet; require(quantity > 0, "quantity must be nonzero"); uint256 endIndex = oldNextOwnerToSet + quantity - 1; if (endIndex > currentIndex - 1) { endIndex = currentIndex - 1; } // We know if the last one in the group exists, all in the group exist, due to serial ordering. require(_exists(endIndex), "not enough minted yet for this cleanup"); for (uint256 i = oldNextOwnerToSet; i <= endIndex; i++) { if (_ownerships[i].addr == address(0)) { TokenOwnership memory ownership = ownershipOf(i); _ownerships[i] = TokenOwnership( ownership.addr, ownership.startTimestamp ); } } nextOwnerToExplicitlySet = endIndex + 1; } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received( _msgSender(), from, tokenId, _data ) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert( "ERC721A: transfer to non ERC721Receiver implementer" ); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} }
{ "remappings": [], "optimizer": { "enabled": true, "runs": 200 }, "evmVersion": "london", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"_contractBaseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"qty","type":"uint256"}],"name":"adminMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"qty","type":"uint256"}],"name":"buy","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"}],"name":"isTokenOGValid","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"}],"name":"isTokenWLValid","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockBaseURIandContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"locked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextOwnerToExplicitlySet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"qty","type":"uint256"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"ogBuy","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"ogMaxMintAllowed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ogRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ogSaleEndTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ogSaleStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ogTokenPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"ogUsedAddresses","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicTokenPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"erc20Token","type":"address"}],"name":"reclaimERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC721","name":"erc721Token","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"reclaimERC721","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newuri","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setOGCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_ogRoot","type":"bytes32"}],"name":"setOGMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newStartTime","type":"uint256"},{"internalType":"uint256","name":"newEndTime","type":"uint256"}],"name":"setOGSaleStartTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_setPaused","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newRegistry","type":"address"}],"name":"setProxyRegistry","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPublicCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newStartTime","type":"uint256"}],"name":"setPublicSaleStartTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setWLCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_wlRoot","type":"bytes32"}],"name":"setWLMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newStartTime","type":"uint256"},{"internalType":"uint256","name":"newEndTime","type":"uint256"}],"name":"setWhitelistSaleStartTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxSupply","type":"uint256"}],"name":"setmaxMintAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"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":[{"internalType":"address","name":"_owner","type":"address"}],"name":"tokensOfOwner","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":"uint256","name":"qty","type":"uint256"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"whitelistBuy","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"whitelistSaleEndTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistSaleStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"wlMaxMintAllowed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wlRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wlTokenPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"wlUsedAddresses","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
6000808055600180546001600160a01b031916811790556008819055600b819055600c55610120604052605060a081815290620042e360c03980516200004e91600d91602090910190620006ef565b506040805180820190915260138082527f68747470733a2f2f756e696b6f6e672e696f2f0000000000000000000000000060209092019182526200009591600e91620006ef565b5066b1a2bc2ec50000600f5566d529ae9e86000060105566f8b0a10e47000060115563622e312060125563622e5b4f60135563622e5b5060145563622f4a6060155563622f5870601655600260175560016018556115b2601c55348015620000fc57600080fd5b5060405180604001604052806007815260200166556e696b6f6e6760c81b81525060405180604001604052806007815260200166554e494b4f4e4760c81b815250600560008111620001a55760405162461bcd60e51b815260206004820152602760248201527f455243373231413a206d61782062617463682073697a65206d757374206265206044820152666e6f6e7a65726f60c81b60648201526084015b60405180910390fd5b8251620001ba906002906020860190620006ef565b508151620001d0906003906020850190620006ef565b5060805250620001e290503362000202565b6009805460ff60a01b19169055620001fc33600162000254565b620008e2565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620002768282604051806020016040528060008152506200027a60201b60201c565b5050565b6000546001600160a01b038416620002df5760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b60648201526084016200019c565b620002eb816000541190565b156200033a5760405162461bcd60e51b815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e74656400000060448201526064016200019c565b608051831115620003995760405162461bcd60e51b815260206004820152602260248201527f455243373231413a207175616e7469747920746f206d696e7420746f6f2068696044820152610ced60f31b60648201526084016200019c565b6001600160a01b0384166000908152600560209081526040918290208251808401845290546001600160801b038082168352600160801b9091041691810191909152815180830190925280519091908190620003f7908790620007ab565b6001600160801b03168152602001858360200151620004179190620007ab565b6001600160801b039081169091526001600160a01b0380881660008181526005602090815260408083208751978301518716600160801b029790961696909617909455845180860186529182526001600160401b034281168386019081528883526004909552948120915182549451909516600160a01b026001600160e01b031990941694909216939093179190911790915582905b858110156200057b5760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4620004fd600088848862000586565b620005565760405162461bcd60e51b815260206004820152603360248201526000805160206200433383398151915260448201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b60648201526084016200019c565b816200056281620007d9565b92505080806200057290620007d9565b915050620004ad565b506000555050505050565b6000620005a7846001600160a01b0316620006e060201b620024191760201c565b15620006d457604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290620005e1903390899088908890600401620007f7565b6020604051808303816000875af19250505080156200061f575060408051601f3d908101601f191682019092526200061c9181019062000872565b60015b620006b9573d80801562000650576040519150601f19603f3d011682016040523d82523d6000602084013e62000655565b606091505b508051620006b15760405162461bcd60e51b815260206004820152603360248201526000805160206200433383398151915260448201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b60648201526084016200019c565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050620006d8565b5060015b949350505050565b6001600160a01b03163b151590565b828054620006fd90620008a5565b90600052602060002090601f0160209004810192826200072157600085556200076c565b82601f106200073c57805160ff19168380011785556200076c565b828001600101855582156200076c579182015b828111156200076c5782518255916020019190600101906200074f565b506200077a9291506200077e565b5090565b5b808211156200077a57600081556001016200077f565b634e487b7160e01b600052601160045260246000fd5b60006001600160801b03828116848216808303821115620007d057620007d062000795565b01949350505050565b6000600019821415620007f057620007f062000795565b5060010190565b600060018060a01b038087168352602081871681850152856040850152608060608501528451915081608085015260005b82811015620008465785810182015185820160a00152810162000828565b828111156200085957600060a084870101525b5050601f01601f19169190910160a00195945050505050565b6000602082840312156200088557600080fd5b81516001600160e01b0319811681146200089e57600080fd5b9392505050565b600181811c90821680620008ba57607f821691505b60208210811415620008dc57634e487b7160e01b600052602260045260246000fd5b50919050565b6080516139d76200090c600039600081816129a4015281816129ce0152612deb01526139d76000f3fe6080604052600436106103c35760003560e01c80637f00c7a6116101f2578063b88d4fde1161010d578063d7224ba0116100a0578063e8a3d4851161006f578063e8a3d48514610a9e578063e985e9c514610ab3578063f2fde38b14610ad3578063ff5c728914610af357600080fd5b8063d7224ba014610a3f578063d96a094a14610a55578063e1e4194414610a68578063e58306f914610a7e57600080fd5b8063cf309012116100dc578063cf309012146109cf578063d10801fe146109e9578063d1d1921314610a09578063d5abeb0114610a2957600080fd5b8063b88d4fde1461095a578063c0e727401461097a578063c87b56dd1461098f578063ced97656146109af57600080fd5b80638da5cb5b1161018557806395d89b411161015457806395d89b41146108e557806397549a46146108fa578063a22cb4651461091a578063adfdeef91461093a57600080fd5b80638da5cb5b1461087b578063903afdc014610899578063938e3d7b146108af578063943d481c146108cf57600080fd5b80638462151c116101c15780638462151c14610805578063866e0124146108325780638905fd4f14610848578063898aa67f1461086857600080fd5b80637f00c7a61461078f578063811d2437146107af57806382c30987146107cf57806383805fcc146107e557600080fd5b80634db6f635116102e25780636bb7b1d911610275578063715018a611610244578063715018a614610724578063729b637e1461073957806373de04cb1461074f5780637d44fd111461076f57600080fd5b80636bb7b1d9146106b95780636d5d40c6146106cf57806370a08231146106ef5780637101ebca1461070f57600080fd5b806355f804b3116102b157806355f804b31461063a5780635c975abb1461065a5780636352211e146106795780636b7d24701461069957600080fd5b80634db6f635146105c25780634ebd4ac7146105d75780634f6ccce7146105ed57806352e6be6c1461060d57600080fd5b806325c2c0201161035a57806338a5478e1161032957806338a5478e1461056e5780633ccfd60b1461058457806342842e0e1461058c5780634c10337c146105ac57600080fd5b806325c2c020146104ee5780632f745c591461050e5780633257bdc91461052e57806332986ef41461055b57600080fd5b806316c38b3c1161039657806316c38b3c1461047957806318160ddd14610499578063230b43f4146104b857806323b872dd146104ce57600080fd5b806301ffc9a7146103c857806306fdde03146103fd578063081812fc1461041f578063095ea7b314610457575b600080fd5b3480156103d457600080fd5b506103e86103e336600461311a565b610b09565b60405190151581526020015b60405180910390f35b34801561040957600080fd5b50610412610b76565b6040516103f49190613196565b34801561042b57600080fd5b5061043f61043a3660046131a9565b610c08565b6040516001600160a01b0390911681526020016103f4565b34801561046357600080fd5b506104776104723660046131d7565b610c98565b005b34801561048557600080fd5b50610477610494366004613211565b610db0565b3480156104a557600080fd5b506000545b6040519081526020016103f4565b3480156104c457600080fd5b506104aa60145481565b3480156104da57600080fd5b506104776104e936600461322e565b610df2565b3480156104fa57600080fd5b506104776105093660046131a9565b610dfd565b34801561051a57600080fd5b506104aa6105293660046131d7565b610e2c565b34801561053a57600080fd5b506104aa61054936600461326f565b60196020526000908152604090205481565b61047761056936600461328c565b610f99565b34801561057a57600080fd5b506104aa60125481565b610477611247565b34801561059857600080fd5b506104776105a736600461322e565b6113e9565b3480156105b857600080fd5b506104aa60115481565b3480156105ce57600080fd5b50610477611404565b3480156105e357600080fd5b506104aa600f5481565b3480156105f957600080fd5b506104aa6106083660046131a9565b61143d565b34801561061957600080fd5b506104aa61062836600461326f565b601a6020526000908152604090205481565b34801561064657600080fd5b506104776106553660046133ab565b61149f565b34801561066657600080fd5b50600954600160a01b900460ff166103e8565b34801561068557600080fd5b5061043f6106943660046131a9565b611533565b3480156106a557600080fd5b506104776106b43660046131d7565b611545565b3480156106c557600080fd5b506104aa60165481565b3480156106db57600080fd5b506104776106ea3660046131a9565b6115d9565b3480156106fb57600080fd5b506104aa61070a36600461326f565b611608565b34801561071b57600080fd5b50610412611699565b34801561073057600080fd5b50610477611727565b34801561074557600080fd5b506104aa60135481565b34801561075b57600080fd5b5061047761076a3660046133f3565b61175d565b34801561077b57600080fd5b5061047761078a3660046131a9565b611792565b34801561079b57600080fd5b506104776107aa3660046131a9565b6117c1565b3480156107bb57600080fd5b506104776107ca3660046131a9565b6117f0565b3480156107db57600080fd5b506104aa600c5481565b3480156107f157600080fd5b506104776108003660046133f3565b61181f565b34801561081157600080fd5b5061082561082036600461326f565b611854565b6040516103f49190613415565b34801561083e57600080fd5b506104aa60155481565b34801561085457600080fd5b5061047761086336600461326f565b611912565b61047761087636600461328c565b611a1d565b34801561088757600080fd5b506009546001600160a01b031661043f565b3480156108a557600080fd5b506104aa600b5481565b3480156108bb57600080fd5b506104776108ca3660046133ab565b611cf3565b3480156108db57600080fd5b506104aa60105481565b3480156108f157600080fd5b50610412611d8e565b34801561090657600080fd5b506104776109153660046131a9565b611d9d565b34801561092657600080fd5b50610477610935366004613459565b611dcc565b34801561094657600080fd5b5061047761095536600461326f565b611e91565b34801561096657600080fd5b50610477610975366004613492565b611edd565b34801561098657600080fd5b50610412611f10565b34801561099b57600080fd5b506104126109aa3660046131a9565b611f1d565b3480156109bb57600080fd5b506103e86109ca366004613511565b611fc0565b3480156109db57600080fd5b50601b546103e89060ff1681565b3480156109f557600080fd5b506103e8610a04366004613511565b612023565b348015610a1557600080fd5b50610477610a243660046131a9565b61207d565b348015610a3557600080fd5b506104aa601c5481565b348015610a4b57600080fd5b506104aa60085481565b610477610a633660046131a9565b6120ac565b348015610a7457600080fd5b506104aa60175481565b348015610a8a57600080fd5b50610477610a993660046131d7565b612218565b348015610aaa57600080fd5b506104126122b1565b348015610abf57600080fd5b506103e8610ace3660046135d4565b6122c0565b348015610adf57600080fd5b50610477610aee36600461326f565b612381565b348015610aff57600080fd5b506104aa60185481565b60006001600160e01b031982166380ac58cd60e01b1480610b3a57506001600160e01b03198216635b5e139f60e01b145b80610b5557506001600160e01b0319821663780e9d6360e01b145b80610b7057506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060028054610b8590613602565b80601f0160208091040260200160405190810160405280929190818152602001828054610bb190613602565b8015610bfe5780601f10610bd357610100808354040283529160200191610bfe565b820191906000526020600020905b815481529060010190602001808311610be157829003601f168201915b5050505050905090565b6000610c15826000541190565b610c7c5760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201526c3c34b9ba32b73a103a37b5b2b760991b60648201526084015b60405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610ca382611533565b9050806001600160a01b0316836001600160a01b03161415610d125760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b6064820152608401610c73565b336001600160a01b0382161480610d2e5750610d2e81336122c0565b610da05760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c000000000000006064820152608401610c73565b610dab838383612428565b505050565b6009546001600160a01b03163314610dda5760405162461bcd60e51b8152600401610c7390613637565b80610dea57610de7612484565b50565b610de7612521565b610dab838383612586565b6009546001600160a01b03163314610e275760405162461bcd60e51b8152600401610c7390613637565b600b55565b6000610e3783611608565b8210610e905760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b6064820152608401610c73565b600080549080805b83811015610f39576000818152600460209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b03169183019190915215610eea57805192505b876001600160a01b0316836001600160a01b03161415610f265786841415610f1857509350610b7092505050565b83610f2281613682565b9450505b5080610f3181613682565b915050610e98565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201526d0deeedccae440c4f240d2dcc8caf60931b6064820152608401610c73565b600954600160a01b900460ff1615610fc35760405162461bcd60e51b8152600401610c739061369d565b601c5484610fd060005490565b610fda91906136c7565b111561101f5760405162461bcd60e51b81526020600482015260146024820152734f674275793a3a204f7574206f662073746f636b60601b6044820152606401610c73565b60175484111561106d5760405162461bcd60e51b815260206004820152601960248201527813d9d09d5e4e8e8813585e081b1a5b5a5d081c995858da1959603a1b6044820152606401610c73565b3484600f5461107c91906136df565b146110c25760405162461bcd60e51b815260206004820152601660248201527513d9d09d5e4e8e88125b9d985b1a5908105b5bdd5b9d60521b6044820152606401610c73565b601754336000908152601960205260409020546110e09086906136c7565b111561112a5760405162461bcd60e51b815260206004820152601960248201527813d9d09d5e4e8e8813585e081b1a5b5a5d081c995858da1959603a1b6044820152606401610c73565b6012544211801561113c575060135442105b6111885760405162461bcd60e51b815260206004820152601d60248201527f4f674275793a3a20546f6f206561726c79206f7220746f6f206c6174650000006044820152606401610c73565b6111c6338484848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525061202392505050565b6112125760405162461bcd60e51b815260206004820152601c60248201527f4f674275793a3a20496e76616c6964206d65726b6c652070726f6f66000000006044820152606401610c73565b33600090815260196020526040812080548692906112319084906136c7565b9091555061124190503385612908565b50505050565b6009546001600160a01b031633146112715760405162461bcd60e51b8152600401610c7390613637565b476000730e664f613f062d52e3fc9ae65270584ad660b2cb60036112968460016136df565b6112a09190613714565b604051600081818185875af1925050503d80600081146112dc576040519150601f19603f3d011682016040523d82523d6000602084013e6112e1565b606091505b50509050806112ef57600080fd5b6000730e664f613f062d52e3fc9ae65270584ad660b2cb60036113138560016136df565b61131d9190613714565b604051600081818185875af1925050503d8060008114611359576040519150601f19603f3d011682016040523d82523d6000602084013e61135e565b606091505b505090508061136c57600080fd5b6000730e664f613f062d52e3fc9ae65270584ad660b2cb60036113908660016136df565b61139a9190613714565b604051600081818185875af1925050503d80600081146113d6576040519150601f19603f3d011682016040523d82523d6000602084013e6113db565b606091505b505090508061124157600080fd5b610dab83838360405180602001604052806000815250611edd565b6009546001600160a01b0316331461142e5760405162461bcd60e51b8152600401610c7390613637565b601b805460ff19166001179055565b60008054821061149b5760405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b6064820152608401610c73565b5090565b6009546001600160a01b031633146114c95760405162461bcd60e51b8152600401610c7390613637565b601b5460ff161561151c5760405162461bcd60e51b815260206004820152601e60248201527f536574426173655552493a3a20556e6c6f636b206265666f72652073657400006044820152606401610c73565b805161152f90600d906020840190613074565b5050565b600061153e82612922565b5192915050565b6009546001600160a01b0316331461156f5760405162461bcd60e51b8152600401610c7390613637565b604051632142170760e11b8152306004820152336024820152604481018290526001600160a01b038316906342842e0e90606401600060405180830381600087803b1580156115bd57600080fd5b505af11580156115d1573d6000803e3d6000fd5b505050505050565b6009546001600160a01b031633146116035760405162461bcd60e51b8152600401610c7390613637565b601655565b60006001600160a01b0382166116745760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b6064820152608401610c73565b506001600160a01b03166000908152600560205260409020546001600160801b031690565b600d80546116a690613602565b80601f01602080910402602001604051908101604052809291908181526020018280546116d290613602565b801561171f5780601f106116f45761010080835404028352916020019161171f565b820191906000526020600020905b81548152906001019060200180831161170257829003601f168201915b505050505081565b6009546001600160a01b031633146117515760405162461bcd60e51b8152600401610c7390613637565b61175b6000612acb565b565b6009546001600160a01b031633146117875760405162461bcd60e51b8152600401610c7390613637565b601491909155601555565b6009546001600160a01b031633146117bc5760405162461bcd60e51b8152600401610c7390613637565b600c55565b6009546001600160a01b031633146117eb5760405162461bcd60e51b8152600401610c7390613637565b601c55565b6009546001600160a01b0316331461181a5760405162461bcd60e51b8152600401610c7390613637565b601155565b6009546001600160a01b031633146118495760405162461bcd60e51b8152600401610c7390613637565b601291909155601355565b6060600061186183611608565b9050806118825760408051600080825260208201909252905b509392505050565b6000816001600160401b0381111561189c5761189c61330e565b6040519080825280602002602001820160405280156118c5578160200160208202803683370190505b50905060005b8281101561187a576118dd8582610e2c565b8282815181106118ef576118ef613728565b60209081029190910101528061190481613682565b9150506118cb565b50919050565b6009546001600160a01b0316331461193c5760405162461bcd60e51b8152600401610c7390613637565b6040516370a0823160e01b81523060048201526001600160a01b0382169063a9059cbb90339083906370a0823190602401602060405180830381865afa15801561198a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119ae919061373e565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af11580156119f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061152f9190613757565b600954600160a01b900460ff1615611a475760405162461bcd60e51b8152600401610c739061369d565b601c5484611a5460005490565b611a5e91906136c7565b1115611aac5760405162461bcd60e51b815260206004820152601b60248201527f57686974656c6973744275793a3a204f7574206f662073746f636b00000000006044820152606401610c73565b601854841115611afe5760405162461bcd60e51b815260206004820181905260248201527f57686974656c6973744275793a3a204d6178206c696d697420726561636865646044820152606401610c73565b3484601054611b0d91906136df565b14611b5a5760405162461bcd60e51b815260206004820152601d60248201527f57686974656c6973744275793a3a20496e76616c696420416d6f756e740000006044820152606401610c73565b601854336000908152601a6020526040902054611b789086906136c7565b1115611bd45760405162461bcd60e51b815260206004820152602560248201527f57686974656c6973744275793a3a204d6178207065722077616c6c65742072656044820152641858da195960da1b6064820152608401610c73565b60145442118015611be6575060155442105b611c3e5760405162461bcd60e51b8152602060048201526024808201527f57686974656c6973744275793a3a20546f6f206561726c79206f7220746f6f206044820152636c61746560e01b6064820152608401610c73565b611c7c3384848480806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250611fc092505050565b611cd45760405162461bcd60e51b815260206004820152602360248201527f57686974656c6973744275793a3a20496e76616c6964206d65726b6c6520707260448201526237b7b360e91b6064820152608401610c73565b336000908152601a6020526040812080548692906112319084906136c7565b6009546001600160a01b03163314611d1d5760405162461bcd60e51b8152600401610c7390613637565b601b5460ff1615611d7b5760405162461bcd60e51b815260206004820152602260248201527f536574436f6e74726163745552493a3a20556e6c6f636b206265666f72652073604482015261195d60f21b6064820152608401610c73565b805161152f90600e906020840190613074565b606060038054610b8590613602565b6009546001600160a01b03163314611dc75760405162461bcd60e51b8152600401610c7390613637565b600f55565b6001600160a01b038216331415611e255760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c65720000000000006044820152606401610c73565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6009546001600160a01b03163314611ebb5760405162461bcd60e51b8152600401610c7390613637565b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b611ee8848484612586565b611ef484848484612b1d565b6112415760405162461bcd60e51b8152600401610c7390613774565b600e80546116a690613602565b6060611f2a826000541190565b611f8e5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610c73565b600d611f9983612c1b565b604051602001611faa9291906137e3565b6040516020818303038152906040529050919050565b6040516bffffffffffffffffffffffff19606085901b16602082015260348101839052600090819060540160405160208183030381529060405280519060200120905061201a600c548285612d189092919063ffffffff16565b95945050505050565b6040516bffffffffffffffffffffffff19606085901b16602082015260348101839052600090819060540160405160208183030381529060405280519060200120905061201a600b548285612d189092919063ffffffff16565b6009546001600160a01b031633146120a75760405162461bcd60e51b8152600401610c7390613637565b601055565b600954600160a01b900460ff16156120d65760405162461bcd60e51b8152600401610c739061369d565b34816011546120e591906136df565b146121295760405162461bcd60e51b8152602060048201526014602482015273109d5e4e8e88125b9d985b1a5908185b5bdd5b9d60621b6044820152606401610c73565b60058111156121715760405162461bcd60e51b81526020600482015260146024820152734275793a3a204d6178206c696d6974206973203560601b6044820152606401610c73565b601c548161217e60005490565b61218891906136c7565b11156121cb5760405162461bcd60e51b81526020600482015260126024820152714275793a3a204f7574206f662073746f636b60701b6044820152606401610c73565b601654421161220e5760405162461bcd60e51b815260206004820152600f60248201526e4275793a3a20546f6f206561726c7960881b6044820152606401610c73565b610de73382612908565b6009546001600160a01b031633146122425760405162461bcd60e51b8152600401610c7390613637565b601c548161224f60005490565b61225991906136c7565b11156122a75760405162461bcd60e51b815260206004820152601860248201527f41646d696e4d696e743a3a204f7574206f662073746f636b00000000000000006044820152606401610c73565b61152f8282612908565b6060600e8054610b8590613602565b600a5460405163c455279160e01b81526001600160a01b03848116600483015260009281169190841690829063c455279190602401602060405180830381865afa158015612312573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123369190613895565b6001600160a01b0316141561234f576001915050610b70565b6001600160a01b0380851660009081526007602090815260408083209387168352929052205460ff165b949350505050565b6009546001600160a01b031633146123ab5760405162461bcd60e51b8152600401610c7390613637565b6001600160a01b0381166124105760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c73565b610de781612acb565b6001600160a01b03163b151590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600954600160a01b900460ff166124d45760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610c73565b6009805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600954600160a01b900460ff161561254b5760405162461bcd60e51b8152600401610c739061369d565b6009805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586125043390565b600061259182612922565b80519091506000906001600160a01b0316336001600160a01b031614806125c85750336125bd84610c08565b6001600160a01b0316145b806125da575081516125da90336122c0565b9050806126445760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b6064820152608401610c73565b846001600160a01b031682600001516001600160a01b0316146126b85760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746044820152651037bbb732b960d11b6064820152608401610c73565b6001600160a01b03841661271c5760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b6064820152608401610c73565b61272c6000848460000151612428565b6001600160a01b038516600090815260056020526040812080546001929061275e9084906001600160801b03166138b2565b82546101009290920a6001600160801b038181021990931691831602179091556001600160a01b038616600090815260056020526040812080546001945090926127aa918591166138da565b82546001600160801b039182166101009390930a9283029190920219909116179055506040805180820182526001600160a01b0380871682526001600160401b03428116602080850191825260008981526004909152948520935184549151909216600160a01b026001600160e01b031990911691909216171790556128318460016136c7565b6000818152600460205260409020549091506001600160a01b03166128c25761285b816000541190565b156128c25760408051808201825284516001600160a01b0390811682526020808701516001600160401b039081168285019081526000878152600490935294909120925183549451909116600160a01b026001600160e01b03199094169116179190911790555b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46115d1565b61152f828260405180602001604052806000815250612d2e565b6040805180820190915260008082526020820152612941826000541190565b6129a05760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736044820152693a32b73a103a37b5b2b760b11b6064820152608401610c73565b60007f00000000000000000000000000000000000000000000000000000000000000008310612a01576129f37f000000000000000000000000000000000000000000000000000000000000000084613905565b6129fe9060016136c7565b90505b825b818110612a6a576000818152600460209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b03169183019190915215612a5757949350505050565b5080612a628161391c565b915050612a03565b5060405162461bcd60e51b815260206004820152602f60248201527f455243373231413a20756e61626c6520746f2064657465726d696e652074686560448201526e1037bbb732b91037b3103a37b5b2b760891b6064820152608401610c73565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006001600160a01b0384163b15612c1057604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612b61903390899088908890600401613933565b6020604051808303816000875af1925050508015612b9c575060408051601f3d908101601f19168201909252612b9991810190613970565b60015b612bf6573d808015612bca576040519150601f19603f3d011682016040523d82523d6000602084013e612bcf565b606091505b508051612bee5760405162461bcd60e51b8152600401610c7390613774565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612379565b506001949350505050565b606081612c3f5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612c695780612c5381613682565b9150612c629050600a83613714565b9150612c43565b6000816001600160401b03811115612c8357612c8361330e565b6040519080825280601f01601f191660200182016040528015612cad576020820181803683370190505b5090505b841561237957612cc2600183613905565b9150612ccf600a8661398d565b612cda9060306136c7565b60f81b818381518110612cef57612cef613728565b60200101906001600160f81b031916908160001a905350612d11600a86613714565b9450612cb1565b600082612d258584613008565b14949350505050565b6000546001600160a01b038416612d915760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610c73565b612d9c816000541190565b15612de95760405162461bcd60e51b815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e7465640000006044820152606401610c73565b7f0000000000000000000000000000000000000000000000000000000000000000831115612e645760405162461bcd60e51b815260206004820152602260248201527f455243373231413a207175616e7469747920746f206d696e7420746f6f2068696044820152610ced60f31b6064820152608401610c73565b6001600160a01b0384166000908152600560209081526040918290208251808401845290546001600160801b038082168352600160801b9091041691810191909152815180830190925280519091908190612ec09087906138da565b6001600160801b03168152602001858360200151612ede91906138da565b6001600160801b039081169091526001600160a01b0380881660008181526005602090815260408083208751978301518716600160801b029790961696909617909455845180860186529182526001600160401b034281168386019081528883526004909552948120915182549451909516600160a01b026001600160e01b031990941694909216939093179190911790915582905b85811015612ffd5760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4612fc16000888488612b1d565b612fdd5760405162461bcd60e51b8152600401610c7390613774565b81612fe781613682565b9250508080612ff590613682565b915050612f74565b5060008190556115d1565b600081815b845181101561187a57600085828151811061302a5761302a613728565b602002602001015190508083116130505760008381526020829052604090209250613061565b600081815260208490526040902092505b508061306c81613682565b91505061300d565b82805461308090613602565b90600052602060002090601f0160209004810192826130a257600085556130e8565b82601f106130bb57805160ff19168380011785556130e8565b828001600101855582156130e8579182015b828111156130e85782518255916020019190600101906130cd565b5061149b9291505b8082111561149b57600081556001016130f0565b6001600160e01b031981168114610de757600080fd5b60006020828403121561312c57600080fd5b813561313781613104565b9392505050565b60005b83811015613159578181015183820152602001613141565b838111156112415750506000910152565b6000815180845261318281602086016020860161313e565b601f01601f19169290920160200192915050565b602081526000613137602083018461316a565b6000602082840312156131bb57600080fd5b5035919050565b6001600160a01b0381168114610de757600080fd5b600080604083850312156131ea57600080fd5b82356131f5816131c2565b946020939093013593505050565b8015158114610de757600080fd5b60006020828403121561322357600080fd5b813561313781613203565b60008060006060848603121561324357600080fd5b833561324e816131c2565b9250602084013561325e816131c2565b929592945050506040919091013590565b60006020828403121561328157600080fd5b8135613137816131c2565b600080600080606085870312156132a257600080fd5b843593506020850135925060408501356001600160401b03808211156132c757600080fd5b818701915087601f8301126132db57600080fd5b8135818111156132ea57600080fd5b8860208260051b85010111156132ff57600080fd5b95989497505060200194505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171561334c5761334c61330e565b604052919050565b60006001600160401b0383111561336d5761336d61330e565b613380601f8401601f1916602001613324565b905082815283838301111561339457600080fd5b828260208301376000602084830101529392505050565b6000602082840312156133bd57600080fd5b81356001600160401b038111156133d357600080fd5b8201601f810184136133e457600080fd5b61237984823560208401613354565b6000806040838503121561340657600080fd5b50508035926020909101359150565b6020808252825182820181905260009190848201906040850190845b8181101561344d57835183529284019291840191600101613431565b50909695505050505050565b6000806040838503121561346c57600080fd5b8235613477816131c2565b9150602083013561348781613203565b809150509250929050565b600080600080608085870312156134a857600080fd5b84356134b3816131c2565b935060208501356134c3816131c2565b92506040850135915060608501356001600160401b038111156134e557600080fd5b8501601f810187136134f657600080fd5b61350587823560208401613354565b91505092959194509250565b60008060006060848603121561352657600080fd5b8335613531816131c2565b9250602084810135925060408501356001600160401b038082111561355557600080fd5b818701915087601f83011261356957600080fd5b81358181111561357b5761357b61330e565b8060051b915061358c848301613324565b818152918301840191848101908a8411156135a657600080fd5b938501935b838510156135c4578435825293850193908501906135ab565b8096505050505050509250925092565b600080604083850312156135e757600080fd5b82356135f2816131c2565b91506020830135613487816131c2565b600181811c9082168061361657607f821691505b6020821081141561190c57634e487b7160e01b600052602260045260246000fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b60006000198214156136965761369661366c565b5060010190565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b600082198211156136da576136da61366c565b500190565b60008160001904831182151516156136f9576136f961366c565b500290565b634e487b7160e01b600052601260045260246000fd5b600082613723576137236136fe565b500490565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561375057600080fd5b5051919050565b60006020828403121561376957600080fd5b815161313781613203565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b600081516137d981856020860161313e565b9290920192915050565b600080845481600182811c9150808316806137ff57607f831692505b602080841082141561381f57634e487b7160e01b86526022600452602486fd5b818015613833576001811461384457613871565b60ff19861689528489019650613871565b60008b81526020902060005b868110156138695781548b820152908501908301613850565b505084890196505b50505050505061201a61388482866137c7565b64173539b7b760d91b815260050190565b6000602082840312156138a757600080fd5b8151613137816131c2565b60006001600160801b03838116908316818110156138d2576138d261366c565b039392505050565b60006001600160801b038083168185168083038211156138fc576138fc61366c565b01949350505050565b6000828210156139175761391761366c565b500390565b60008161392b5761392b61366c565b506000190190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906139669083018461316a565b9695505050505050565b60006020828403121561398257600080fd5b815161313781613104565b60008261399c5761399c6136fe565b50069056fea26469706673582212206f05b82847b4395e31a755eb7821270de4b49568407e8f8efafc62c102b72de164736f6c634300080b003368747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d52756a7139695448476a71784b546a47666f6161764255736a524466646156326977397966575867336d3166455243373231413a207472616e7366657220746f206e6f6e2045524337323152
Deployed Bytecode
0x6080604052600436106103c35760003560e01c80637f00c7a6116101f2578063b88d4fde1161010d578063d7224ba0116100a0578063e8a3d4851161006f578063e8a3d48514610a9e578063e985e9c514610ab3578063f2fde38b14610ad3578063ff5c728914610af357600080fd5b8063d7224ba014610a3f578063d96a094a14610a55578063e1e4194414610a68578063e58306f914610a7e57600080fd5b8063cf309012116100dc578063cf309012146109cf578063d10801fe146109e9578063d1d1921314610a09578063d5abeb0114610a2957600080fd5b8063b88d4fde1461095a578063c0e727401461097a578063c87b56dd1461098f578063ced97656146109af57600080fd5b80638da5cb5b1161018557806395d89b411161015457806395d89b41146108e557806397549a46146108fa578063a22cb4651461091a578063adfdeef91461093a57600080fd5b80638da5cb5b1461087b578063903afdc014610899578063938e3d7b146108af578063943d481c146108cf57600080fd5b80638462151c116101c15780638462151c14610805578063866e0124146108325780638905fd4f14610848578063898aa67f1461086857600080fd5b80637f00c7a61461078f578063811d2437146107af57806382c30987146107cf57806383805fcc146107e557600080fd5b80634db6f635116102e25780636bb7b1d911610275578063715018a611610244578063715018a614610724578063729b637e1461073957806373de04cb1461074f5780637d44fd111461076f57600080fd5b80636bb7b1d9146106b95780636d5d40c6146106cf57806370a08231146106ef5780637101ebca1461070f57600080fd5b806355f804b3116102b157806355f804b31461063a5780635c975abb1461065a5780636352211e146106795780636b7d24701461069957600080fd5b80634db6f635146105c25780634ebd4ac7146105d75780634f6ccce7146105ed57806352e6be6c1461060d57600080fd5b806325c2c0201161035a57806338a5478e1161032957806338a5478e1461056e5780633ccfd60b1461058457806342842e0e1461058c5780634c10337c146105ac57600080fd5b806325c2c020146104ee5780632f745c591461050e5780633257bdc91461052e57806332986ef41461055b57600080fd5b806316c38b3c1161039657806316c38b3c1461047957806318160ddd14610499578063230b43f4146104b857806323b872dd146104ce57600080fd5b806301ffc9a7146103c857806306fdde03146103fd578063081812fc1461041f578063095ea7b314610457575b600080fd5b3480156103d457600080fd5b506103e86103e336600461311a565b610b09565b60405190151581526020015b60405180910390f35b34801561040957600080fd5b50610412610b76565b6040516103f49190613196565b34801561042b57600080fd5b5061043f61043a3660046131a9565b610c08565b6040516001600160a01b0390911681526020016103f4565b34801561046357600080fd5b506104776104723660046131d7565b610c98565b005b34801561048557600080fd5b50610477610494366004613211565b610db0565b3480156104a557600080fd5b506000545b6040519081526020016103f4565b3480156104c457600080fd5b506104aa60145481565b3480156104da57600080fd5b506104776104e936600461322e565b610df2565b3480156104fa57600080fd5b506104776105093660046131a9565b610dfd565b34801561051a57600080fd5b506104aa6105293660046131d7565b610e2c565b34801561053a57600080fd5b506104aa61054936600461326f565b60196020526000908152604090205481565b61047761056936600461328c565b610f99565b34801561057a57600080fd5b506104aa60125481565b610477611247565b34801561059857600080fd5b506104776105a736600461322e565b6113e9565b3480156105b857600080fd5b506104aa60115481565b3480156105ce57600080fd5b50610477611404565b3480156105e357600080fd5b506104aa600f5481565b3480156105f957600080fd5b506104aa6106083660046131a9565b61143d565b34801561061957600080fd5b506104aa61062836600461326f565b601a6020526000908152604090205481565b34801561064657600080fd5b506104776106553660046133ab565b61149f565b34801561066657600080fd5b50600954600160a01b900460ff166103e8565b34801561068557600080fd5b5061043f6106943660046131a9565b611533565b3480156106a557600080fd5b506104776106b43660046131d7565b611545565b3480156106c557600080fd5b506104aa60165481565b3480156106db57600080fd5b506104776106ea3660046131a9565b6115d9565b3480156106fb57600080fd5b506104aa61070a36600461326f565b611608565b34801561071b57600080fd5b50610412611699565b34801561073057600080fd5b50610477611727565b34801561074557600080fd5b506104aa60135481565b34801561075b57600080fd5b5061047761076a3660046133f3565b61175d565b34801561077b57600080fd5b5061047761078a3660046131a9565b611792565b34801561079b57600080fd5b506104776107aa3660046131a9565b6117c1565b3480156107bb57600080fd5b506104776107ca3660046131a9565b6117f0565b3480156107db57600080fd5b506104aa600c5481565b3480156107f157600080fd5b506104776108003660046133f3565b61181f565b34801561081157600080fd5b5061082561082036600461326f565b611854565b6040516103f49190613415565b34801561083e57600080fd5b506104aa60155481565b34801561085457600080fd5b5061047761086336600461326f565b611912565b61047761087636600461328c565b611a1d565b34801561088757600080fd5b506009546001600160a01b031661043f565b3480156108a557600080fd5b506104aa600b5481565b3480156108bb57600080fd5b506104776108ca3660046133ab565b611cf3565b3480156108db57600080fd5b506104aa60105481565b3480156108f157600080fd5b50610412611d8e565b34801561090657600080fd5b506104776109153660046131a9565b611d9d565b34801561092657600080fd5b50610477610935366004613459565b611dcc565b34801561094657600080fd5b5061047761095536600461326f565b611e91565b34801561096657600080fd5b50610477610975366004613492565b611edd565b34801561098657600080fd5b50610412611f10565b34801561099b57600080fd5b506104126109aa3660046131a9565b611f1d565b3480156109bb57600080fd5b506103e86109ca366004613511565b611fc0565b3480156109db57600080fd5b50601b546103e89060ff1681565b3480156109f557600080fd5b506103e8610a04366004613511565b612023565b348015610a1557600080fd5b50610477610a243660046131a9565b61207d565b348015610a3557600080fd5b506104aa601c5481565b348015610a4b57600080fd5b506104aa60085481565b610477610a633660046131a9565b6120ac565b348015610a7457600080fd5b506104aa60175481565b348015610a8a57600080fd5b50610477610a993660046131d7565b612218565b348015610aaa57600080fd5b506104126122b1565b348015610abf57600080fd5b506103e8610ace3660046135d4565b6122c0565b348015610adf57600080fd5b50610477610aee36600461326f565b612381565b348015610aff57600080fd5b506104aa60185481565b60006001600160e01b031982166380ac58cd60e01b1480610b3a57506001600160e01b03198216635b5e139f60e01b145b80610b5557506001600160e01b0319821663780e9d6360e01b145b80610b7057506301ffc9a760e01b6001600160e01b03198316145b92915050565b606060028054610b8590613602565b80601f0160208091040260200160405190810160405280929190818152602001828054610bb190613602565b8015610bfe5780601f10610bd357610100808354040283529160200191610bfe565b820191906000526020600020905b815481529060010190602001808311610be157829003601f168201915b5050505050905090565b6000610c15826000541190565b610c7c5760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201526c3c34b9ba32b73a103a37b5b2b760991b60648201526084015b60405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610ca382611533565b9050806001600160a01b0316836001600160a01b03161415610d125760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b6064820152608401610c73565b336001600160a01b0382161480610d2e5750610d2e81336122c0565b610da05760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c000000000000006064820152608401610c73565b610dab838383612428565b505050565b6009546001600160a01b03163314610dda5760405162461bcd60e51b8152600401610c7390613637565b80610dea57610de7612484565b50565b610de7612521565b610dab838383612586565b6009546001600160a01b03163314610e275760405162461bcd60e51b8152600401610c7390613637565b600b55565b6000610e3783611608565b8210610e905760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b6064820152608401610c73565b600080549080805b83811015610f39576000818152600460209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b03169183019190915215610eea57805192505b876001600160a01b0316836001600160a01b03161415610f265786841415610f1857509350610b7092505050565b83610f2281613682565b9450505b5080610f3181613682565b915050610e98565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201526d0deeedccae440c4f240d2dcc8caf60931b6064820152608401610c73565b600954600160a01b900460ff1615610fc35760405162461bcd60e51b8152600401610c739061369d565b601c5484610fd060005490565b610fda91906136c7565b111561101f5760405162461bcd60e51b81526020600482015260146024820152734f674275793a3a204f7574206f662073746f636b60601b6044820152606401610c73565b60175484111561106d5760405162461bcd60e51b815260206004820152601960248201527813d9d09d5e4e8e8813585e081b1a5b5a5d081c995858da1959603a1b6044820152606401610c73565b3484600f5461107c91906136df565b146110c25760405162461bcd60e51b815260206004820152601660248201527513d9d09d5e4e8e88125b9d985b1a5908105b5bdd5b9d60521b6044820152606401610c73565b601754336000908152601960205260409020546110e09086906136c7565b111561112a5760405162461bcd60e51b815260206004820152601960248201527813d9d09d5e4e8e8813585e081b1a5b5a5d081c995858da1959603a1b6044820152606401610c73565b6012544211801561113c575060135442105b6111885760405162461bcd60e51b815260206004820152601d60248201527f4f674275793a3a20546f6f206561726c79206f7220746f6f206c6174650000006044820152606401610c73565b6111c6338484848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525061202392505050565b6112125760405162461bcd60e51b815260206004820152601c60248201527f4f674275793a3a20496e76616c6964206d65726b6c652070726f6f66000000006044820152606401610c73565b33600090815260196020526040812080548692906112319084906136c7565b9091555061124190503385612908565b50505050565b6009546001600160a01b031633146112715760405162461bcd60e51b8152600401610c7390613637565b476000730e664f613f062d52e3fc9ae65270584ad660b2cb60036112968460016136df565b6112a09190613714565b604051600081818185875af1925050503d80600081146112dc576040519150601f19603f3d011682016040523d82523d6000602084013e6112e1565b606091505b50509050806112ef57600080fd5b6000730e664f613f062d52e3fc9ae65270584ad660b2cb60036113138560016136df565b61131d9190613714565b604051600081818185875af1925050503d8060008114611359576040519150601f19603f3d011682016040523d82523d6000602084013e61135e565b606091505b505090508061136c57600080fd5b6000730e664f613f062d52e3fc9ae65270584ad660b2cb60036113908660016136df565b61139a9190613714565b604051600081818185875af1925050503d80600081146113d6576040519150601f19603f3d011682016040523d82523d6000602084013e6113db565b606091505b505090508061124157600080fd5b610dab83838360405180602001604052806000815250611edd565b6009546001600160a01b0316331461142e5760405162461bcd60e51b8152600401610c7390613637565b601b805460ff19166001179055565b60008054821061149b5760405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b6064820152608401610c73565b5090565b6009546001600160a01b031633146114c95760405162461bcd60e51b8152600401610c7390613637565b601b5460ff161561151c5760405162461bcd60e51b815260206004820152601e60248201527f536574426173655552493a3a20556e6c6f636b206265666f72652073657400006044820152606401610c73565b805161152f90600d906020840190613074565b5050565b600061153e82612922565b5192915050565b6009546001600160a01b0316331461156f5760405162461bcd60e51b8152600401610c7390613637565b604051632142170760e11b8152306004820152336024820152604481018290526001600160a01b038316906342842e0e90606401600060405180830381600087803b1580156115bd57600080fd5b505af11580156115d1573d6000803e3d6000fd5b505050505050565b6009546001600160a01b031633146116035760405162461bcd60e51b8152600401610c7390613637565b601655565b60006001600160a01b0382166116745760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b6064820152608401610c73565b506001600160a01b03166000908152600560205260409020546001600160801b031690565b600d80546116a690613602565b80601f01602080910402602001604051908101604052809291908181526020018280546116d290613602565b801561171f5780601f106116f45761010080835404028352916020019161171f565b820191906000526020600020905b81548152906001019060200180831161170257829003601f168201915b505050505081565b6009546001600160a01b031633146117515760405162461bcd60e51b8152600401610c7390613637565b61175b6000612acb565b565b6009546001600160a01b031633146117875760405162461bcd60e51b8152600401610c7390613637565b601491909155601555565b6009546001600160a01b031633146117bc5760405162461bcd60e51b8152600401610c7390613637565b600c55565b6009546001600160a01b031633146117eb5760405162461bcd60e51b8152600401610c7390613637565b601c55565b6009546001600160a01b0316331461181a5760405162461bcd60e51b8152600401610c7390613637565b601155565b6009546001600160a01b031633146118495760405162461bcd60e51b8152600401610c7390613637565b601291909155601355565b6060600061186183611608565b9050806118825760408051600080825260208201909252905b509392505050565b6000816001600160401b0381111561189c5761189c61330e565b6040519080825280602002602001820160405280156118c5578160200160208202803683370190505b50905060005b8281101561187a576118dd8582610e2c565b8282815181106118ef576118ef613728565b60209081029190910101528061190481613682565b9150506118cb565b50919050565b6009546001600160a01b0316331461193c5760405162461bcd60e51b8152600401610c7390613637565b6040516370a0823160e01b81523060048201526001600160a01b0382169063a9059cbb90339083906370a0823190602401602060405180830381865afa15801561198a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119ae919061373e565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af11580156119f9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061152f9190613757565b600954600160a01b900460ff1615611a475760405162461bcd60e51b8152600401610c739061369d565b601c5484611a5460005490565b611a5e91906136c7565b1115611aac5760405162461bcd60e51b815260206004820152601b60248201527f57686974656c6973744275793a3a204f7574206f662073746f636b00000000006044820152606401610c73565b601854841115611afe5760405162461bcd60e51b815260206004820181905260248201527f57686974656c6973744275793a3a204d6178206c696d697420726561636865646044820152606401610c73565b3484601054611b0d91906136df565b14611b5a5760405162461bcd60e51b815260206004820152601d60248201527f57686974656c6973744275793a3a20496e76616c696420416d6f756e740000006044820152606401610c73565b601854336000908152601a6020526040902054611b789086906136c7565b1115611bd45760405162461bcd60e51b815260206004820152602560248201527f57686974656c6973744275793a3a204d6178207065722077616c6c65742072656044820152641858da195960da1b6064820152608401610c73565b60145442118015611be6575060155442105b611c3e5760405162461bcd60e51b8152602060048201526024808201527f57686974656c6973744275793a3a20546f6f206561726c79206f7220746f6f206044820152636c61746560e01b6064820152608401610c73565b611c7c3384848480806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250611fc092505050565b611cd45760405162461bcd60e51b815260206004820152602360248201527f57686974656c6973744275793a3a20496e76616c6964206d65726b6c6520707260448201526237b7b360e91b6064820152608401610c73565b336000908152601a6020526040812080548692906112319084906136c7565b6009546001600160a01b03163314611d1d5760405162461bcd60e51b8152600401610c7390613637565b601b5460ff1615611d7b5760405162461bcd60e51b815260206004820152602260248201527f536574436f6e74726163745552493a3a20556e6c6f636b206265666f72652073604482015261195d60f21b6064820152608401610c73565b805161152f90600e906020840190613074565b606060038054610b8590613602565b6009546001600160a01b03163314611dc75760405162461bcd60e51b8152600401610c7390613637565b600f55565b6001600160a01b038216331415611e255760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c65720000000000006044820152606401610c73565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6009546001600160a01b03163314611ebb5760405162461bcd60e51b8152600401610c7390613637565b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b611ee8848484612586565b611ef484848484612b1d565b6112415760405162461bcd60e51b8152600401610c7390613774565b600e80546116a690613602565b6060611f2a826000541190565b611f8e5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610c73565b600d611f9983612c1b565b604051602001611faa9291906137e3565b6040516020818303038152906040529050919050565b6040516bffffffffffffffffffffffff19606085901b16602082015260348101839052600090819060540160405160208183030381529060405280519060200120905061201a600c548285612d189092919063ffffffff16565b95945050505050565b6040516bffffffffffffffffffffffff19606085901b16602082015260348101839052600090819060540160405160208183030381529060405280519060200120905061201a600b548285612d189092919063ffffffff16565b6009546001600160a01b031633146120a75760405162461bcd60e51b8152600401610c7390613637565b601055565b600954600160a01b900460ff16156120d65760405162461bcd60e51b8152600401610c739061369d565b34816011546120e591906136df565b146121295760405162461bcd60e51b8152602060048201526014602482015273109d5e4e8e88125b9d985b1a5908185b5bdd5b9d60621b6044820152606401610c73565b60058111156121715760405162461bcd60e51b81526020600482015260146024820152734275793a3a204d6178206c696d6974206973203560601b6044820152606401610c73565b601c548161217e60005490565b61218891906136c7565b11156121cb5760405162461bcd60e51b81526020600482015260126024820152714275793a3a204f7574206f662073746f636b60701b6044820152606401610c73565b601654421161220e5760405162461bcd60e51b815260206004820152600f60248201526e4275793a3a20546f6f206561726c7960881b6044820152606401610c73565b610de73382612908565b6009546001600160a01b031633146122425760405162461bcd60e51b8152600401610c7390613637565b601c548161224f60005490565b61225991906136c7565b11156122a75760405162461bcd60e51b815260206004820152601860248201527f41646d696e4d696e743a3a204f7574206f662073746f636b00000000000000006044820152606401610c73565b61152f8282612908565b6060600e8054610b8590613602565b600a5460405163c455279160e01b81526001600160a01b03848116600483015260009281169190841690829063c455279190602401602060405180830381865afa158015612312573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123369190613895565b6001600160a01b0316141561234f576001915050610b70565b6001600160a01b0380851660009081526007602090815260408083209387168352929052205460ff165b949350505050565b6009546001600160a01b031633146123ab5760405162461bcd60e51b8152600401610c7390613637565b6001600160a01b0381166124105760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c73565b610de781612acb565b6001600160a01b03163b151590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600954600160a01b900460ff166124d45760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610c73565b6009805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600954600160a01b900460ff161561254b5760405162461bcd60e51b8152600401610c739061369d565b6009805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586125043390565b600061259182612922565b80519091506000906001600160a01b0316336001600160a01b031614806125c85750336125bd84610c08565b6001600160a01b0316145b806125da575081516125da90336122c0565b9050806126445760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b6064820152608401610c73565b846001600160a01b031682600001516001600160a01b0316146126b85760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746044820152651037bbb732b960d11b6064820152608401610c73565b6001600160a01b03841661271c5760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b6064820152608401610c73565b61272c6000848460000151612428565b6001600160a01b038516600090815260056020526040812080546001929061275e9084906001600160801b03166138b2565b82546101009290920a6001600160801b038181021990931691831602179091556001600160a01b038616600090815260056020526040812080546001945090926127aa918591166138da565b82546001600160801b039182166101009390930a9283029190920219909116179055506040805180820182526001600160a01b0380871682526001600160401b03428116602080850191825260008981526004909152948520935184549151909216600160a01b026001600160e01b031990911691909216171790556128318460016136c7565b6000818152600460205260409020549091506001600160a01b03166128c25761285b816000541190565b156128c25760408051808201825284516001600160a01b0390811682526020808701516001600160401b039081168285019081526000878152600490935294909120925183549451909116600160a01b026001600160e01b03199094169116179190911790555b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46115d1565b61152f828260405180602001604052806000815250612d2e565b6040805180820190915260008082526020820152612941826000541190565b6129a05760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736044820152693a32b73a103a37b5b2b760b11b6064820152608401610c73565b60007f00000000000000000000000000000000000000000000000000000000000000058310612a01576129f37f000000000000000000000000000000000000000000000000000000000000000584613905565b6129fe9060016136c7565b90505b825b818110612a6a576000818152600460209081526040918290208251808401909352546001600160a01b038116808452600160a01b9091046001600160401b03169183019190915215612a5757949350505050565b5080612a628161391c565b915050612a03565b5060405162461bcd60e51b815260206004820152602f60248201527f455243373231413a20756e61626c6520746f2064657465726d696e652074686560448201526e1037bbb732b91037b3103a37b5b2b760891b6064820152608401610c73565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006001600160a01b0384163b15612c1057604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612b61903390899088908890600401613933565b6020604051808303816000875af1925050508015612b9c575060408051601f3d908101601f19168201909252612b9991810190613970565b60015b612bf6573d808015612bca576040519150601f19603f3d011682016040523d82523d6000602084013e612bcf565b606091505b508051612bee5760405162461bcd60e51b8152600401610c7390613774565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612379565b506001949350505050565b606081612c3f5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612c695780612c5381613682565b9150612c629050600a83613714565b9150612c43565b6000816001600160401b03811115612c8357612c8361330e565b6040519080825280601f01601f191660200182016040528015612cad576020820181803683370190505b5090505b841561237957612cc2600183613905565b9150612ccf600a8661398d565b612cda9060306136c7565b60f81b818381518110612cef57612cef613728565b60200101906001600160f81b031916908160001a905350612d11600a86613714565b9450612cb1565b600082612d258584613008565b14949350505050565b6000546001600160a01b038416612d915760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610c73565b612d9c816000541190565b15612de95760405162461bcd60e51b815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e7465640000006044820152606401610c73565b7f0000000000000000000000000000000000000000000000000000000000000005831115612e645760405162461bcd60e51b815260206004820152602260248201527f455243373231413a207175616e7469747920746f206d696e7420746f6f2068696044820152610ced60f31b6064820152608401610c73565b6001600160a01b0384166000908152600560209081526040918290208251808401845290546001600160801b038082168352600160801b9091041691810191909152815180830190925280519091908190612ec09087906138da565b6001600160801b03168152602001858360200151612ede91906138da565b6001600160801b039081169091526001600160a01b0380881660008181526005602090815260408083208751978301518716600160801b029790961696909617909455845180860186529182526001600160401b034281168386019081528883526004909552948120915182549451909516600160a01b026001600160e01b031990941694909216939093179190911790915582905b85811015612ffd5760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4612fc16000888488612b1d565b612fdd5760405162461bcd60e51b8152600401610c7390613774565b81612fe781613682565b9250508080612ff590613682565b915050612f74565b5060008190556115d1565b600081815b845181101561187a57600085828151811061302a5761302a613728565b602002602001015190508083116130505760008381526020829052604090209250613061565b600081815260208490526040902092505b508061306c81613682565b91505061300d565b82805461308090613602565b90600052602060002090601f0160209004810192826130a257600085556130e8565b82601f106130bb57805160ff19168380011785556130e8565b828001600101855582156130e8579182015b828111156130e85782518255916020019190600101906130cd565b5061149b9291505b8082111561149b57600081556001016130f0565b6001600160e01b031981168114610de757600080fd5b60006020828403121561312c57600080fd5b813561313781613104565b9392505050565b60005b83811015613159578181015183820152602001613141565b838111156112415750506000910152565b6000815180845261318281602086016020860161313e565b601f01601f19169290920160200192915050565b602081526000613137602083018461316a565b6000602082840312156131bb57600080fd5b5035919050565b6001600160a01b0381168114610de757600080fd5b600080604083850312156131ea57600080fd5b82356131f5816131c2565b946020939093013593505050565b8015158114610de757600080fd5b60006020828403121561322357600080fd5b813561313781613203565b60008060006060848603121561324357600080fd5b833561324e816131c2565b9250602084013561325e816131c2565b929592945050506040919091013590565b60006020828403121561328157600080fd5b8135613137816131c2565b600080600080606085870312156132a257600080fd5b843593506020850135925060408501356001600160401b03808211156132c757600080fd5b818701915087601f8301126132db57600080fd5b8135818111156132ea57600080fd5b8860208260051b85010111156132ff57600080fd5b95989497505060200194505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171561334c5761334c61330e565b604052919050565b60006001600160401b0383111561336d5761336d61330e565b613380601f8401601f1916602001613324565b905082815283838301111561339457600080fd5b828260208301376000602084830101529392505050565b6000602082840312156133bd57600080fd5b81356001600160401b038111156133d357600080fd5b8201601f810184136133e457600080fd5b61237984823560208401613354565b6000806040838503121561340657600080fd5b50508035926020909101359150565b6020808252825182820181905260009190848201906040850190845b8181101561344d57835183529284019291840191600101613431565b50909695505050505050565b6000806040838503121561346c57600080fd5b8235613477816131c2565b9150602083013561348781613203565b809150509250929050565b600080600080608085870312156134a857600080fd5b84356134b3816131c2565b935060208501356134c3816131c2565b92506040850135915060608501356001600160401b038111156134e557600080fd5b8501601f810187136134f657600080fd5b61350587823560208401613354565b91505092959194509250565b60008060006060848603121561352657600080fd5b8335613531816131c2565b9250602084810135925060408501356001600160401b038082111561355557600080fd5b818701915087601f83011261356957600080fd5b81358181111561357b5761357b61330e565b8060051b915061358c848301613324565b818152918301840191848101908a8411156135a657600080fd5b938501935b838510156135c4578435825293850193908501906135ab565b8096505050505050509250925092565b600080604083850312156135e757600080fd5b82356135f2816131c2565b91506020830135613487816131c2565b600181811c9082168061361657607f821691505b6020821081141561190c57634e487b7160e01b600052602260045260246000fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b60006000198214156136965761369661366c565b5060010190565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b600082198211156136da576136da61366c565b500190565b60008160001904831182151516156136f9576136f961366c565b500290565b634e487b7160e01b600052601260045260246000fd5b600082613723576137236136fe565b500490565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561375057600080fd5b5051919050565b60006020828403121561376957600080fd5b815161313781613203565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b600081516137d981856020860161313e565b9290920192915050565b600080845481600182811c9150808316806137ff57607f831692505b602080841082141561381f57634e487b7160e01b86526022600452602486fd5b818015613833576001811461384457613871565b60ff19861689528489019650613871565b60008b81526020902060005b868110156138695781548b820152908501908301613850565b505084890196505b50505050505061201a61388482866137c7565b64173539b7b760d91b815260050190565b6000602082840312156138a757600080fd5b8151613137816131c2565b60006001600160801b03838116908316818110156138d2576138d261366c565b039392505050565b60006001600160801b038083168185168083038211156138fc576138fc61366c565b01949350505050565b6000828210156139175761391761366c565b500390565b60008161392b5761392b61366c565b506000190190565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906139669083018461316a565b9695505050505050565b60006020828403121561398257600080fd5b815161313781613104565b60008261399c5761399c6136fe565b50069056fea26469706673582212206f05b82847b4395e31a755eb7821270de4b49568407e8f8efafc62c102b72de164736f6c634300080b0033
Loading...
Loading
Loading...
Loading
[ 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.