ERC-721
NFT
Overview
Max Total Supply
10,000 CryptoSimeji
Holders
3,008
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 CryptoSimejiLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
SimejiNFT
Compiler Version
v0.8.10+commit.fc410830
Optimization Enabled:
Yes with 1 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENCED pragma solidity 0.8.10; import "./ERC721Common.sol"; import "./SimejiSeller.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; contract SimejiNFT is ERC721Common, SimejiSeller { using Strings for uint256; struct OperateConfig { uint256 whiteListSaleBegin; uint256 whiteListSaleEnd; bytes32 merkleRoot; uint256 publicSaleBegin; } OperateConfig public operateConfig; constructor(string memory name, string memory symbol) ERC721Common(name, symbol) SimejiSeller( SimejiSeller.SellerConfig({ totalInventory: 10000, airdropQuota: 300, reserveQuota: 0, lockTotalInventory: true, lockFreeQuota: true, reserveFreeQuota: true, maxPerAddress: 1, maxPerTx: 1 }) ) { operateConfig = OperateConfig({ whiteListSaleBegin: 1661738400, whiteListSaleEnd: 1661997599, merkleRoot: '', publicSaleBegin: 1661997600 }); } function airdrop(address to, uint256 requested) external onlyOwner { SimejiSeller._airdrop(to, requested); } function publicBuy(uint256 requested) external { require(block.timestamp >= operateConfig.publicSaleBegin, "SimejiNFT: Public sale not start!"); SimejiSeller._purchase(msg.sender, requested); } function whitelistBuy(uint256 requested, bytes32[] calldata signature) external { require(block.timestamp >= operateConfig.whiteListSaleBegin && block.timestamp <= operateConfig.whiteListSaleEnd, "SimejiNFT: White list sale not start!"); require(verify(_msgSender(), signature), "caller is not in whitelist"); SimejiSeller._purchase(msg.sender, requested); } function _handlePurchase( address to, uint256 num ) internal override { for (uint256 i = 0; i < num; i++) { _safeMint(to, totalSold() + i); } } string public baseTokenURI; function setBaseTokenURI(string memory baseTokenURI_) external onlyOwner { baseTokenURI = baseTokenURI_; } function tokenURI(uint256 tokenId) public view override tokenExists(tokenId) returns (string memory) { return string(abi.encodePacked(baseTokenURI, tokenId.toString())); } function totalSupply() external view returns (uint256) { return totalSold(); } function setOperateConfig(OperateConfig memory config) external onlyOwner { operateConfig = config; } function verify(address to, bytes32[] calldata merkleProof) public view returns(bool) { if (operateConfig.merkleRoot == "") { return false; } bytes32 leaf = keccak256(abi.encodePacked(to)); return MerkleProof.verify(merkleProof, operateConfig.merkleRoot, leaf); } function hadBought(address addr) external view returns(bool) { return SimejiSeller._hadBought(addr); } }
// SPDX-License-Identifier: MIT pragma solidity >=0.8.0 <0.9.0; import "./Monotonic.sol"; import "./OwnerPausable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/utils/math/Math.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; abstract contract SimejiSeller is OwnerPausable, ReentrancyGuard { using Address for address payable; using Monotonic for Monotonic.Increaser; using Strings for uint256; mapping(address => uint256) private _bought; struct SellerConfig { uint256 totalInventory; uint248 airdropQuota; uint248 reserveQuota; bool reserveFreeQuota; bool lockFreeQuota; bool lockTotalInventory; uint256 maxPerAddress; uint256 maxPerTx; } SellerConfig public sellerConfig; constructor(SellerConfig memory config) { sellerConfig = config; } function _handlePurchase( address to, uint256 n ) internal virtual; Monotonic.Increaser private _totalSold; function totalSold() public view returns (uint256) { return _totalSold.current(); } event Refund(address indexed buyer, uint256 amount); event Revenue( address indexed beneficiary, uint256 numPurchased, uint256 amount ); Monotonic.Increaser private airdrop; Monotonic.Increaser private reserve; function _airdrop(address to, uint256 n) internal onlyOwner whenNotPaused { SellerConfig storage config = sellerConfig; require(sellerConfig.reserveFreeQuota, "SimejiSeller: reserveFreeQuota is false."); uint256 remain = config.airdropQuota - airdrop.current(); n = Math.min(n, remain); require(n > 0, "SimejiSeller: airdrop quota exceeded"); n = Math.min(n, config.totalInventory - _totalSold.current()); require(n > 0, "SimejiSeller: Sold out"); _handlePurchase(to, n); _totalSold.add(n); airdrop.add(n); } function _reserve(uint256 requested) internal onlyOwner whenNotPaused { SellerConfig storage config = sellerConfig; require(sellerConfig.reserveFreeQuota, "SimejiSeller: reserveFreeQuota is false."); uint256 remain = config.reserveQuota - reserve.current(); require(remain > 0, "SimejiSeller: reserver quota exceeded"); uint256 n = Math.min(requested, remain); require(n > 0, "SimejiSeller: Sold out"); _handlePurchase(_msgSender(), n); _totalSold.add(n); reserve.add(n); } function _purchase(address to, uint256 requested) internal nonReentrant whenNotPaused { SellerConfig storage config = sellerConfig; uint256 n = config.maxPerTx == 0 ? requested : Math.min(requested, config.maxPerTx); uint256 maxAvailable = config.reserveFreeQuota ? config.totalInventory - (config.airdropQuota + config.reserveQuota) : config.totalInventory; n = Math.min(n, maxAvailable - (_totalSold.current() - airdrop.current() - reserve.current())); require(n > 0, "SimejiSeller: Sold out"); if (config.maxPerAddress > 0) { n = howManyCanBuy(n, to, "Buyer limit"); _bought[to] += n; } _handlePurchase(to, n); _totalSold.add(n); assert(_totalSold.current() <= config.totalInventory); } function howManyCanBuy(uint256 requested, address addr, string memory info) internal view returns(uint256) { uint256 left = sellerConfig.maxPerAddress - _bought[addr]; if (left == 0) { revert(string(abi.encodePacked("Seller: ", info))); } return Math.min(requested, left); } function _hadBought(address addr) internal view returns(bool) { return _bought[addr] > 0 ? true : false; } }
// SPDX-License-Identifier: MIT pragma solidity >=0.8.0 <0.9.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; contract OwnerPausable is Ownable, Pausable { function pause() public onlyOwner { Pausable._pause(); } function unpause() public onlyOwner { Pausable._unpause(); } }
// SPDX-License-Identifier: MIT // Copyright (c) 2021 the ethier authors (github.com/divergencetech/ethier) pragma solidity >=0.8.0 <0.9.0; // Inspired by BaseOpenSea by Simon Fremaux (@dievardump) but without the need // to pass specific addresses depending on deployment network. // https://gist.github.com/dievardump/483eb43bc6ed30b14f01e01842e3339b/ /// @notice Library to achieve gas-free listings on OpenSea. library OpenSeaGasFreeListing { /** @notice Returns whether the operator is an OpenSea proxy for the owner, thus allowing it to list without the token owner paying gas. @dev ERC{721,1155}.isApprovedForAll should be overriden to also check if this function returns true. */ function isApprovedForAll(address owner, address operator) internal view returns (bool) { ProxyRegistry registry; assembly { switch chainid() case 1 { // mainnet registry := 0xa5409ec958c83c3f309868babaca7c86dcb077c1 } case 4 { // rinkeby registry := 0xf57b2c51ded3a29e6891aba85459d600256cf317 } } return address(registry) != address(0) && address(registry.proxies(owner)) == operator; } } contract OwnableDelegateProxy {} contract ProxyRegistry { mapping(address => OwnableDelegateProxy) public proxies; }
// SPDX-License-Identifier: MIT // Copyright (c) 2021 the ethier authors (github.com/divergencetech/ethier) pragma solidity >=0.8.0 <0.9.0; /** @notice Provides monotonic increasing and decreasing values, similar to OpenZeppelin's Counter but (a) limited in direction, and (b) allowing for steps > 1. */ library Monotonic { /** @notice Holds a value that can only increase. @dev The internal value MUST NOT be accessed directly. Instead use current() and add(). */ struct Increaser { uint256 value; } /// @notice Returns the current value of the Increaser. function current(Increaser storage incr) internal view returns (uint256) { return incr.value; } /// @notice Adds x to the Increaser's value. function add(Increaser storage incr, uint256 x) internal { incr.value += x; } /** @notice Holds a value that can only decrease. @dev The internal value MUST NOT be accessed directly. Instead use current() and subtract(). */ struct Decreaser { uint256 value; } /// @notice Returns the current value of the Decreaser. function current(Decreaser storage decr) internal view returns (uint256) { return decr.value; } /// @notice Subtracts x from the Decreaser's value. function subtract(Decreaser storage decr, uint256 x) internal { decr.value -= x; } }
// SPDX-License-Identifier: MIT pragma solidity >=0.8.0 <0.9.0; import "./OpenSeaGasFreeListing.sol"; import "./OwnerPausable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Pausable.sol"; import "@openzeppelin/contracts/utils/Context.sol"; contract ERC721Common is Context, ERC721Pausable, OwnerPausable { constructor(string memory name, string memory symbol) ERC721(name, symbol) {} modifier tokenExists(uint256 tokenId) { require(ERC721._exists(tokenId), "ERC721Common: Token doesn't exist"); _; } modifier onlyApprovedOrOwner(uint256 tokenId) { require( _isApprovedOrOwner(_msgSender(), tokenId), "ERC721Common: Not approved nor owner" ); _; } function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override(ERC721Pausable) { super._beforeTokenTransfer(from, to, tokenId); } function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721) returns (bool) { return super.supportsInterface(interfaceId); } function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return super.isApprovedForAll(owner, operator) || OpenSeaGasFreeListing.isApprovedForAll(owner, operator); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a >= b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a / b + (a % b == 0 ? 0 : 1); } }
// 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.6.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. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the merkle tree could be reinterpreted as a leaf value. */ 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 Merkle 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 v4.4.1 (token/ERC721/extensions/ERC721Pausable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "../../../security/Pausable.sol"; /** * @dev ERC721 token with pausable token transfers, minting and burning. * * Useful for scenarios such as preventing trades until the end of an evaluation * period, or having an emergency switch for freezing all token transfers in the * event of a large bug. */ abstract contract ERC721Pausable is ERC721, Pausable { /** * @dev See {ERC721-_beforeTokenTransfer}. * * Requirements: * * - the contract must not be paused. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); require(!paused(), "ERC721Pausable: token transfer while paused"); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must 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 Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits a {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT // 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); } }
{ "remappings": [], "optimizer": { "enabled": true, "runs": 1 }, "evmVersion": "london", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":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":"buyer","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Refund","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"beneficiary","type":"address"},{"indexed":false,"internalType":"uint256","name":"numPurchased","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Revenue","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":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"requested","type":"uint256"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"hadBought","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"operateConfig","outputs":[{"internalType":"uint256","name":"whiteListSaleBegin","type":"uint256"},{"internalType":"uint256","name":"whiteListSaleEnd","type":"uint256"},{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"},{"internalType":"uint256","name":"publicSaleBegin","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"requested","type":"uint256"}],"name":"publicBuy","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":[],"name":"sellerConfig","outputs":[{"internalType":"uint256","name":"totalInventory","type":"uint256"},{"internalType":"uint248","name":"airdropQuota","type":"uint248"},{"internalType":"uint248","name":"reserveQuota","type":"uint248"},{"internalType":"bool","name":"reserveFreeQuota","type":"bool"},{"internalType":"bool","name":"lockFreeQuota","type":"bool"},{"internalType":"bool","name":"lockTotalInventory","type":"bool"},{"internalType":"uint256","name":"maxPerAddress","type":"uint256"},{"internalType":"uint256","name":"maxPerTx","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseTokenURI_","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"whiteListSaleBegin","type":"uint256"},{"internalType":"uint256","name":"whiteListSaleEnd","type":"uint256"},{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"},{"internalType":"uint256","name":"publicSaleBegin","type":"uint256"}],"internalType":"struct SimejiNFT.OperateConfig","name":"config","type":"tuple"}],"name":"setOperateConfig","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":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSold","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":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"verify","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"requested","type":"uint256"},{"internalType":"bytes32[]","name":"signature","type":"bytes32[]"}],"name":"whitelistBuy","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060405162002a3d38038062002a3d83398101604081905262000034916200038a565b6040805161010081018252612710815261012c60208083019190915260009282018390526001606083018190526080830181905260a0830181905260c0830181905260e0830152845191928592859284928492620000959285019062000217565b508051620000ab90600190602084019062000217565b505050620000c8620000c2620001c160201b60201c565b620001c5565b50506006805460ff60a01b1916905560016007558051600955602080820151600a80546001600160f81b039283167fff000000000000000000000000000000000000000000000000000000000000009091161790556040808401516060808601511515600160f81b029190931617600b55608080850151600c805460a088015115156101000261ff00199315159390931661ffff199091161791909117905560c0850151600d5560e090940151600e558051938401815263630c1da0808552636310121f938501849052600091850182905263631012209490920184905260129190915560139190915560145560155550620004319050565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200022590620003f4565b90600052602060002090601f01602090048101928262000249576000855562000294565b82601f106200026457805160ff191683800117855562000294565b8280016001018555821562000294579182015b828111156200029457825182559160200191906001019062000277565b50620002a2929150620002a6565b5090565b5b80821115620002a25760008155600101620002a7565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620002e557600080fd5b81516001600160401b0380821115620003025762000302620002bd565b604051601f8301601f19908116603f011681019082821181831017156200032d576200032d620002bd565b816040528381526020925086838588010111156200034a57600080fd5b600091505b838210156200036e57858201830151818301840152908201906200034f565b83821115620003805760008385830101525b9695505050505050565b600080604083850312156200039e57600080fd5b82516001600160401b0380821115620003b657600080fd5b620003c486838701620002d3565b93506020850151915080821115620003db57600080fd5b50620003ea85828601620002d3565b9150509250929050565b600181811c908216806200040957607f821691505b602082108114156200042b57634e487b7160e01b600052602260045260246000fd5b50919050565b6125fc80620004416000396000f3fe608060405234801561001057600080fd5b50600436106101755760003560e01c806301ffc9a71461017a57806306fdde03146101a2578063081812fc146101b7578063095ea7b3146101d757806318160ddd146101ec5780631a3936311461020257806323b872dd1461023857806330176e131461024b5780633f4ba83a1461025e57806342842e0e146102665780635c975abb146102795780636352211e1461028157806368124a6a146102945780636e978ea7146102a757806370a08231146102ba578063715018a6146102cd5780638456cb59146102d55780638ba4cc3c146102dd5780638da5cb5b146102f05780639106d7ba146102f857806395d89b41146103005780639939c90a14610308578063a22cb4651461031b578063b76a0df41461032e578063b88d4fde14610341578063bb69b7ef14610354578063c0188b6b146103e5578063c87b56dd146103f8578063d547cfb71461040b578063e985e9c514610413578063f2fde38b14610426575b600080fd5b61018d610188366004611da1565b610439565b60405190151581526020015b60405180910390f35b6101aa61044a565b6040516101999190611e16565b6101ca6101c5366004611e29565b6104dc565b6040516101999190611e42565b6101ea6101e5366004611e6b565b610569565b005b6101f461067a565b604051908152602001610199565b6012546013546014546015546102189392919084565b604080519485526020850193909352918301526060820152608001610199565b6101ea610246366004611e97565b610689565b6101ea610259366004611f63565b6106ba565b6101ea610700565b6101ea610274366004611e97565b610739565b61018d610754565b6101ca61028f366004611e29565b610764565b6101ea6102a2366004611ff6565b6107db565b61018d6102b5366004612041565b6108a7565b6101f46102c8366004612041565b6108b2565b6101ea610939565b6101ea610972565b6101ea6102eb366004611e6b565b6109a9565b6101ca6109e2565b6101f46109f1565b6101aa6109fc565b6101ea61031636600461205e565b610a0b565b6101ea6103293660046120c3565b610a58565b61018d61033c366004612101565b610a63565b6101ea61034f36600461213c565b610af6565b600954600a54600b54600c54600d54600e5461039a95946001600160f81b03908116949081169360ff600160f81b90920482169381831693610100909204909216919088565b604080519889526001600160f81b0397881660208a01529590961694870194909452911515606086015215156080850152151560a084015260c083015260e082015261010001610199565b6101ea6103f3366004611e29565b610b2e565b6101aa610406366004611e29565b610b97565b6101aa610c2d565b61018d6104213660046121bb565b610cbb565b6101ea610434366004612041565b610cf6565b600061044482610d93565b92915050565b606060008054610459906121e9565b80601f0160208091040260200160405190810160405280929190818152602001828054610485906121e9565b80156104d25780601f106104a7576101008083540402835291602001916104d2565b820191906000526020600020905b8154815290600101906020018083116104b557829003601f168201915b5050505050905090565b60006104e782610de3565b61054d5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061057482610764565b9050806001600160a01b0316836001600160a01b031614156105e25760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610544565b336001600160a01b03821614806105fe57506105fe8133610cbb565b61066b5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776044820152771b995c881b9bdc88185c1c1c9bdd995908199bdc88185b1b60421b6064820152608401610544565b6106758383610e00565b505050565b60006106846109f1565b905090565b6106933382610e6e565b6106af5760405162461bcd60e51b81526004016105449061221e565b610675838383610f38565b336106c36109e2565b6001600160a01b0316146106e95760405162461bcd60e51b81526004016105449061226f565b80516106fc906016906020840190611cf2565b5050565b336107096109e2565b6001600160a01b03161461072f5760405162461bcd60e51b81526004016105449061226f565b6107376110cd565b565b61067583838360405180602001604052806000815250610af6565b600654600160a01b900460ff1690565b6000818152600260205260408120546001600160a01b0316806104445760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610544565b60125442108015906107ef57506013544211155b6108495760405162461bcd60e51b815260206004820152602560248201527f53696d656a694e46543a205768697465206c6973742073616c65206e6f742073604482015264746172742160d81b6064820152608401610544565b610854338383610a63565b61089d5760405162461bcd60e51b815260206004820152601a60248201527918d85b1b195c881a5cc81b9bdd081a5b881dda1a5d195b1a5cdd60321b6044820152606401610544565b610675338461115f565b60006104448261134d565b60006001600160a01b03821661091d5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610544565b506001600160a01b031660009081526003602052604090205490565b336109426109e2565b6001600160a01b0316146109685760405162461bcd60e51b81526004016105449061226f565b6107376000611379565b3361097b6109e2565b6001600160a01b0316146109a15760405162461bcd60e51b81526004016105449061226f565b6107376113cb565b336109b26109e2565b6001600160a01b0316146109d85760405162461bcd60e51b81526004016105449061226f565b6106fc828261142b565b6006546001600160a01b031690565b6000610684600f5490565b606060018054610459906121e9565b33610a146109e2565b6001600160a01b031614610a3a5760405162461bcd60e51b81526004016105449061226f565b80516012556020810151601355604081015160145560600151601555565b6106fc3383836115d4565b601454600090610a7557506000610aef565b6040516001600160601b0319606086901b166020820152600090603401604051602081830303815290604052805190602001209050610aeb84848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050601454915084905061169f565b9150505b9392505050565b610b003383610e6e565b610b1c5760405162461bcd60e51b81526004016105449061221e565b610b28848484846116b5565b50505050565b601554421015610b8a5760405162461bcd60e51b815260206004820152602160248201527f53696d656a694e46543a205075626c69632073616c65206e6f742073746172746044820152602160f81b6064820152608401610544565b610b94338261115f565b50565b606081610ba381610de3565b610bf95760405162461bcd60e51b815260206004820152602160248201527f455243373231436f6d6d6f6e3a20546f6b656e20646f65736e277420657869736044820152601d60fa1b6064820152608401610544565b6016610c04846116e8565b604051602001610c159291906122c0565b60405160208183030381529060405291505b50919050565b60168054610c3a906121e9565b80601f0160208091040260200160405190810160405280929190818152602001828054610c66906121e9565b8015610cb35780601f10610c8857610100808354040283529160200191610cb3565b820191906000526020600020905b815481529060010190602001808311610c9657829003601f168201915b505050505081565b6001600160a01b03808316600090815260056020908152604080832093851683529290529081205460ff1680610aef5750610aef83836117e5565b33610cff6109e2565b6001600160a01b031614610d255760405162461bcd60e51b81526004016105449061226f565b6001600160a01b038116610d8a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610544565b610b9481611379565b60006001600160e01b031982166380ac58cd60e01b1480610dc457506001600160e01b03198216635b5e139f60e01b145b8061044457506301ffc9a760e01b6001600160e01b0319831614610444565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610e3582610764565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000610e7982610de3565b610eda5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610544565b6000610ee583610764565b9050806001600160a01b0316846001600160a01b03161480610f0c5750610f0c8185610cbb565b80610f305750836001600160a01b0316610f25846104dc565b6001600160a01b0316145b949350505050565b826001600160a01b0316610f4b82610764565b6001600160a01b031614610faf5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610544565b6001600160a01b0382166110115760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610544565b61101c8383836118bd565b611027600082610e00565b6001600160a01b0383166000908152600360205260408120805460019290611050908490612374565b90915550506001600160a01b038216600090815260036020526040812080546001929061107e90849061238b565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716916000805160206125a783398151915291a4505050565b6110d5610754565b6111185760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610544565b6006805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516111559190611e42565b60405180910390a1565b600260075414156111b25760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610544565b60026007556111bf610754565b156111dc5760405162461bcd60e51b8152600401610544906123a3565b600e54600990600090156111fd576111f88383600501546118c8565b6111ff565b825b6002830154909150600090600160f81b900460ff1661121f578254611254565b6002830154600184015461123f916001600160f81b0390811691166123cd565b8354611254916001600160f81b031690612374565b905061128c8261126360115490565b601054600f546112739190612374565b61127d9190612374565b6112879084612374565b6118c8565b9150600082116112ae5760405162461bcd60e51b8152600401610544906123f8565b600483015415611319576112e682866040518060400160405280600b81526020016a109d5e595c881b1a5b5a5d60aa1b8152506118de565b6001600160a01b03861660009081526008602052604081208054929450849290919061131390849061238b565b90915550505b611323858361194d565b61132e600f83611986565b8254600f54111561134157611341612428565b50506001600755505050565b6001600160a01b038116600090815260086020526040812054611371576000610444565b600192915050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6113d3610754565b156113f05760405162461bcd60e51b8152600401610544906123a3565b6006805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586111483390565b336114346109e2565b6001600160a01b03161461145a5760405162461bcd60e51b81526004016105449061226f565b611462610754565b1561147f5760405162461bcd60e51b8152600401610544906123a3565b600b54600990600160f81b900460ff166114ec5760405162461bcd60e51b815260206004820152602860248201527f53696d656a6953656c6c65723a20726573657276654672656551756f7461206960448201526739903330b639b29760c11b6064820152608401610544565b60006114f760105490565b600183015461150f91906001600160f81b0316612374565b905061151b83826118c8565b9250600083116115795760405162461bcd60e51b8152602060048201526024808201527f53696d656a6953656c6c65723a2061697264726f702071756f746120657863656044820152631959195960e21b6064820152608401610544565b61159283611586600f5490565b84546112879190612374565b9250600083116115b45760405162461bcd60e51b8152600401610544906123f8565b6115be848461194d565b6115c9600f84611986565b610b28601084611986565b816001600160a01b0316836001600160a01b031614156116325760405162461bcd60e51b815260206004820152601960248201527822a9219b99189d1030b8383937bb32903a379031b0b63632b960391b6044820152606401610544565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6000826116ac85846119a3565b14949350505050565b6116c0848484610f38565b6116cc84848484611a17565b610b285760405162461bcd60e51b81526004016105449061243e565b60608161170c5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611736578061172081612490565b915061172f9050600a836124c1565b9150611710565b6000816001600160401b0381111561175057611750611ed8565b6040519080825280601f01601f19166020018201604052801561177a576020820181803683370190505b5090505b8415610f305761178f600183612374565b915061179c600a866124d5565b6117a790603061238b565b60f81b8183815181106117bc576117bc6124e9565b60200101906001600160f81b031916908160001a9053506117de600a866124c1565b945061177e565b60008046600181146117fe576004811461181a57611832565b73a5409ec958c83c3f309868babaca7c86dcb077c19150611832565b73f57b2c51ded3a29e6891aba85459d600256cf31791505b506001600160a01b03811615801590610f305750826001600160a01b0316816001600160a01b031663c4552791866040518263ffffffff1660e01b815260040161187c9190611e42565b602060405180830381865afa158015611899573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f2591906124ff565b610675838383611b15565b60008183106118d75781610aef565b5090919050565b6001600160a01b038216600090815260086020526040812054600d54829161190591612374565b905080611943578260405160200161191d919061251c565b60408051601f198184030181529082905262461bcd60e51b825261054491600401611e16565b610aeb85826118c8565b60005b818110156106755761197483826119656109f1565b61196f919061238b565b611b7e565b8061197e81612490565b915050611950565b8082600001600082825461199a919061238b565b90915550505050565b600081815b8451811015611a0f5760008582815181106119c5576119c56124e9565b602002602001015190508083116119eb57600083815260208290526040902092506119fc565b600081815260208490526040902092505b5080611a0781612490565b9150506119a8565b509392505050565b60006001600160a01b0384163b15611b0a57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611a5b90339089908890889060040161254c565b6020604051808303816000875af1925050508015611a96575060408051601f3d908101601f19168201909252611a9391810190612589565b60015b611af0573d808015611ac4576040519150601f19603f3d011682016040523d82523d6000602084013e611ac9565b606091505b508051611ae85760405162461bcd60e51b81526004016105449061243e565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610f30565b506001949350505050565b611b1d610754565b156106755760405162461bcd60e51b815260206004820152602b60248201527f4552433732315061757361626c653a20746f6b656e207472616e73666572207760448201526a1a1a5b19481c185d5cd95960aa1b6064820152608401610544565b6106fc828260405180602001604052806000815250611b9d8383611bc6565b611baa6000848484611a17565b6106755760405162461bcd60e51b81526004016105449061243e565b6001600160a01b038216611c1c5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610544565b611c2581610de3565b15611c715760405162461bcd60e51b815260206004820152601c60248201527b115490cdcc8c4e881d1bdad95b88185b1c9958591e481b5a5b9d195960221b6044820152606401610544565b611c7d600083836118bd565b6001600160a01b0382166000908152600360205260408120805460019290611ca690849061238b565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392906000805160206125a7833981519152908290a45050565b828054611cfe906121e9565b90600052602060002090601f016020900481019282611d205760008555611d66565b82601f10611d3957805160ff1916838001178555611d66565b82800160010185558215611d66579182015b82811115611d66578251825591602001919060010190611d4b565b50611d72929150611d76565b5090565b5b80821115611d725760008155600101611d77565b6001600160e01b031981168114610b9457600080fd5b600060208284031215611db357600080fd5b8135610aef81611d8b565b60005b83811015611dd9578181015183820152602001611dc1565b83811115610b285750506000910152565b60008151808452611e02816020860160208601611dbe565b601f01601f19169290920160200192915050565b602081526000610aef6020830184611dea565b600060208284031215611e3b57600080fd5b5035919050565b6001600160a01b0391909116815260200190565b6001600160a01b0381168114610b9457600080fd5b60008060408385031215611e7e57600080fd5b8235611e8981611e56565b946020939093013593505050565b600080600060608486031215611eac57600080fd5b8335611eb781611e56565b92506020840135611ec781611e56565b929592945050506040919091013590565b634e487b7160e01b600052604160045260246000fd5b60006001600160401b0380841115611f0857611f08611ed8565b604051601f8501601f19908116603f01168101908282118183101715611f3057611f30611ed8565b81604052809350858152868686011115611f4957600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611f7557600080fd5b81356001600160401b03811115611f8b57600080fd5b8201601f81018413611f9c57600080fd5b610f3084823560208401611eee565b60008083601f840112611fbd57600080fd5b5081356001600160401b03811115611fd457600080fd5b6020830191508360208260051b8501011115611fef57600080fd5b9250929050565b60008060006040848603121561200b57600080fd5b8335925060208401356001600160401b0381111561202857600080fd5b61203486828701611fab565b9497909650939450505050565b60006020828403121561205357600080fd5b8135610aef81611e56565b60006080828403121561207057600080fd5b604051608081016001600160401b038111828210171561209257612092611ed8565b8060405250823581526020830135602082015260408301356040820152606083013560608201528091505092915050565b600080604083850312156120d657600080fd5b82356120e181611e56565b9150602083013580151581146120f657600080fd5b809150509250929050565b60008060006040848603121561211657600080fd5b833561212181611e56565b925060208401356001600160401b0381111561202857600080fd5b6000806000806080858703121561215257600080fd5b843561215d81611e56565b9350602085013561216d81611e56565b92506040850135915060608501356001600160401b0381111561218f57600080fd5b8501601f810187136121a057600080fd5b6121af87823560208401611eee565b91505092959194509250565b600080604083850312156121ce57600080fd5b82356121d981611e56565b915060208301356120f681611e56565b600181811c908216806121fd57607f821691505b60208210811415610c2757634e487b7160e01b600052602260045260246000fd5b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600081516122b6818560208601611dbe565b9290920192915050565b600080845481600182811c9150808316806122dc57607f831692505b60208084108214156122fc57634e487b7160e01b86526022600452602486fd5b81801561231057600181146123215761234e565b60ff1986168952848901965061234e565b60008b81526020902060005b868110156123465781548b82015290850190830161232d565b505084890196505b505050505050610aeb81856122a4565b634e487b7160e01b600052601160045260246000fd5b6000828210156123865761238661235e565b500390565b6000821982111561239e5761239e61235e565b500190565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b60006001600160f81b038281168482168083038211156123ef576123ef61235e565b01949350505050565b60208082526016908201527514da5b595a9a54d95b1b195c8e8814dbdb19081bdd5d60521b604082015260600190565b634e487b7160e01b600052600160045260246000fd5b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60006000198214156124a4576124a461235e565b5060010190565b634e487b7160e01b600052601260045260246000fd5b6000826124d0576124d06124ab565b500490565b6000826124e4576124e46124ab565b500690565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561251157600080fd5b8151610aef81611e56565b67029b2b63632b91d160c51b81526000825161253f816008850160208701611dbe565b9190910160080192915050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061257f90830184611dea565b9695505050505050565b60006020828403121561259b57600080fd5b8151610aef81611d8b56feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212200d5e248235631e1f6bce94c565e85ae805cbc84af568fa7bedb712a86d9f616964736f6c634300080a003300000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000c43727970746f53696d656a690000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c43727970746f53696d656a690000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101755760003560e01c806301ffc9a71461017a57806306fdde03146101a2578063081812fc146101b7578063095ea7b3146101d757806318160ddd146101ec5780631a3936311461020257806323b872dd1461023857806330176e131461024b5780633f4ba83a1461025e57806342842e0e146102665780635c975abb146102795780636352211e1461028157806368124a6a146102945780636e978ea7146102a757806370a08231146102ba578063715018a6146102cd5780638456cb59146102d55780638ba4cc3c146102dd5780638da5cb5b146102f05780639106d7ba146102f857806395d89b41146103005780639939c90a14610308578063a22cb4651461031b578063b76a0df41461032e578063b88d4fde14610341578063bb69b7ef14610354578063c0188b6b146103e5578063c87b56dd146103f8578063d547cfb71461040b578063e985e9c514610413578063f2fde38b14610426575b600080fd5b61018d610188366004611da1565b610439565b60405190151581526020015b60405180910390f35b6101aa61044a565b6040516101999190611e16565b6101ca6101c5366004611e29565b6104dc565b6040516101999190611e42565b6101ea6101e5366004611e6b565b610569565b005b6101f461067a565b604051908152602001610199565b6012546013546014546015546102189392919084565b604080519485526020850193909352918301526060820152608001610199565b6101ea610246366004611e97565b610689565b6101ea610259366004611f63565b6106ba565b6101ea610700565b6101ea610274366004611e97565b610739565b61018d610754565b6101ca61028f366004611e29565b610764565b6101ea6102a2366004611ff6565b6107db565b61018d6102b5366004612041565b6108a7565b6101f46102c8366004612041565b6108b2565b6101ea610939565b6101ea610972565b6101ea6102eb366004611e6b565b6109a9565b6101ca6109e2565b6101f46109f1565b6101aa6109fc565b6101ea61031636600461205e565b610a0b565b6101ea6103293660046120c3565b610a58565b61018d61033c366004612101565b610a63565b6101ea61034f36600461213c565b610af6565b600954600a54600b54600c54600d54600e5461039a95946001600160f81b03908116949081169360ff600160f81b90920482169381831693610100909204909216919088565b604080519889526001600160f81b0397881660208a01529590961694870194909452911515606086015215156080850152151560a084015260c083015260e082015261010001610199565b6101ea6103f3366004611e29565b610b2e565b6101aa610406366004611e29565b610b97565b6101aa610c2d565b61018d6104213660046121bb565b610cbb565b6101ea610434366004612041565b610cf6565b600061044482610d93565b92915050565b606060008054610459906121e9565b80601f0160208091040260200160405190810160405280929190818152602001828054610485906121e9565b80156104d25780601f106104a7576101008083540402835291602001916104d2565b820191906000526020600020905b8154815290600101906020018083116104b557829003601f168201915b5050505050905090565b60006104e782610de3565b61054d5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061057482610764565b9050806001600160a01b0316836001600160a01b031614156105e25760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610544565b336001600160a01b03821614806105fe57506105fe8133610cbb565b61066b5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776044820152771b995c881b9bdc88185c1c1c9bdd995908199bdc88185b1b60421b6064820152608401610544565b6106758383610e00565b505050565b60006106846109f1565b905090565b6106933382610e6e565b6106af5760405162461bcd60e51b81526004016105449061221e565b610675838383610f38565b336106c36109e2565b6001600160a01b0316146106e95760405162461bcd60e51b81526004016105449061226f565b80516106fc906016906020840190611cf2565b5050565b336107096109e2565b6001600160a01b03161461072f5760405162461bcd60e51b81526004016105449061226f565b6107376110cd565b565b61067583838360405180602001604052806000815250610af6565b600654600160a01b900460ff1690565b6000818152600260205260408120546001600160a01b0316806104445760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610544565b60125442108015906107ef57506013544211155b6108495760405162461bcd60e51b815260206004820152602560248201527f53696d656a694e46543a205768697465206c6973742073616c65206e6f742073604482015264746172742160d81b6064820152608401610544565b610854338383610a63565b61089d5760405162461bcd60e51b815260206004820152601a60248201527918d85b1b195c881a5cc81b9bdd081a5b881dda1a5d195b1a5cdd60321b6044820152606401610544565b610675338461115f565b60006104448261134d565b60006001600160a01b03821661091d5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610544565b506001600160a01b031660009081526003602052604090205490565b336109426109e2565b6001600160a01b0316146109685760405162461bcd60e51b81526004016105449061226f565b6107376000611379565b3361097b6109e2565b6001600160a01b0316146109a15760405162461bcd60e51b81526004016105449061226f565b6107376113cb565b336109b26109e2565b6001600160a01b0316146109d85760405162461bcd60e51b81526004016105449061226f565b6106fc828261142b565b6006546001600160a01b031690565b6000610684600f5490565b606060018054610459906121e9565b33610a146109e2565b6001600160a01b031614610a3a5760405162461bcd60e51b81526004016105449061226f565b80516012556020810151601355604081015160145560600151601555565b6106fc3383836115d4565b601454600090610a7557506000610aef565b6040516001600160601b0319606086901b166020820152600090603401604051602081830303815290604052805190602001209050610aeb84848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050601454915084905061169f565b9150505b9392505050565b610b003383610e6e565b610b1c5760405162461bcd60e51b81526004016105449061221e565b610b28848484846116b5565b50505050565b601554421015610b8a5760405162461bcd60e51b815260206004820152602160248201527f53696d656a694e46543a205075626c69632073616c65206e6f742073746172746044820152602160f81b6064820152608401610544565b610b94338261115f565b50565b606081610ba381610de3565b610bf95760405162461bcd60e51b815260206004820152602160248201527f455243373231436f6d6d6f6e3a20546f6b656e20646f65736e277420657869736044820152601d60fa1b6064820152608401610544565b6016610c04846116e8565b604051602001610c159291906122c0565b60405160208183030381529060405291505b50919050565b60168054610c3a906121e9565b80601f0160208091040260200160405190810160405280929190818152602001828054610c66906121e9565b8015610cb35780601f10610c8857610100808354040283529160200191610cb3565b820191906000526020600020905b815481529060010190602001808311610c9657829003601f168201915b505050505081565b6001600160a01b03808316600090815260056020908152604080832093851683529290529081205460ff1680610aef5750610aef83836117e5565b33610cff6109e2565b6001600160a01b031614610d255760405162461bcd60e51b81526004016105449061226f565b6001600160a01b038116610d8a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610544565b610b9481611379565b60006001600160e01b031982166380ac58cd60e01b1480610dc457506001600160e01b03198216635b5e139f60e01b145b8061044457506301ffc9a760e01b6001600160e01b0319831614610444565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610e3582610764565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000610e7982610de3565b610eda5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610544565b6000610ee583610764565b9050806001600160a01b0316846001600160a01b03161480610f0c5750610f0c8185610cbb565b80610f305750836001600160a01b0316610f25846104dc565b6001600160a01b0316145b949350505050565b826001600160a01b0316610f4b82610764565b6001600160a01b031614610faf5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610544565b6001600160a01b0382166110115760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610544565b61101c8383836118bd565b611027600082610e00565b6001600160a01b0383166000908152600360205260408120805460019290611050908490612374565b90915550506001600160a01b038216600090815260036020526040812080546001929061107e90849061238b565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716916000805160206125a783398151915291a4505050565b6110d5610754565b6111185760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610544565b6006805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516111559190611e42565b60405180910390a1565b600260075414156111b25760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610544565b60026007556111bf610754565b156111dc5760405162461bcd60e51b8152600401610544906123a3565b600e54600990600090156111fd576111f88383600501546118c8565b6111ff565b825b6002830154909150600090600160f81b900460ff1661121f578254611254565b6002830154600184015461123f916001600160f81b0390811691166123cd565b8354611254916001600160f81b031690612374565b905061128c8261126360115490565b601054600f546112739190612374565b61127d9190612374565b6112879084612374565b6118c8565b9150600082116112ae5760405162461bcd60e51b8152600401610544906123f8565b600483015415611319576112e682866040518060400160405280600b81526020016a109d5e595c881b1a5b5a5d60aa1b8152506118de565b6001600160a01b03861660009081526008602052604081208054929450849290919061131390849061238b565b90915550505b611323858361194d565b61132e600f83611986565b8254600f54111561134157611341612428565b50506001600755505050565b6001600160a01b038116600090815260086020526040812054611371576000610444565b600192915050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6113d3610754565b156113f05760405162461bcd60e51b8152600401610544906123a3565b6006805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586111483390565b336114346109e2565b6001600160a01b03161461145a5760405162461bcd60e51b81526004016105449061226f565b611462610754565b1561147f5760405162461bcd60e51b8152600401610544906123a3565b600b54600990600160f81b900460ff166114ec5760405162461bcd60e51b815260206004820152602860248201527f53696d656a6953656c6c65723a20726573657276654672656551756f7461206960448201526739903330b639b29760c11b6064820152608401610544565b60006114f760105490565b600183015461150f91906001600160f81b0316612374565b905061151b83826118c8565b9250600083116115795760405162461bcd60e51b8152602060048201526024808201527f53696d656a6953656c6c65723a2061697264726f702071756f746120657863656044820152631959195960e21b6064820152608401610544565b61159283611586600f5490565b84546112879190612374565b9250600083116115b45760405162461bcd60e51b8152600401610544906123f8565b6115be848461194d565b6115c9600f84611986565b610b28601084611986565b816001600160a01b0316836001600160a01b031614156116325760405162461bcd60e51b815260206004820152601960248201527822a9219b99189d1030b8383937bb32903a379031b0b63632b960391b6044820152606401610544565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6000826116ac85846119a3565b14949350505050565b6116c0848484610f38565b6116cc84848484611a17565b610b285760405162461bcd60e51b81526004016105449061243e565b60608161170c5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611736578061172081612490565b915061172f9050600a836124c1565b9150611710565b6000816001600160401b0381111561175057611750611ed8565b6040519080825280601f01601f19166020018201604052801561177a576020820181803683370190505b5090505b8415610f305761178f600183612374565b915061179c600a866124d5565b6117a790603061238b565b60f81b8183815181106117bc576117bc6124e9565b60200101906001600160f81b031916908160001a9053506117de600a866124c1565b945061177e565b60008046600181146117fe576004811461181a57611832565b73a5409ec958c83c3f309868babaca7c86dcb077c19150611832565b73f57b2c51ded3a29e6891aba85459d600256cf31791505b506001600160a01b03811615801590610f305750826001600160a01b0316816001600160a01b031663c4552791866040518263ffffffff1660e01b815260040161187c9190611e42565b602060405180830381865afa158015611899573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f2591906124ff565b610675838383611b15565b60008183106118d75781610aef565b5090919050565b6001600160a01b038216600090815260086020526040812054600d54829161190591612374565b905080611943578260405160200161191d919061251c565b60408051601f198184030181529082905262461bcd60e51b825261054491600401611e16565b610aeb85826118c8565b60005b818110156106755761197483826119656109f1565b61196f919061238b565b611b7e565b8061197e81612490565b915050611950565b8082600001600082825461199a919061238b565b90915550505050565b600081815b8451811015611a0f5760008582815181106119c5576119c56124e9565b602002602001015190508083116119eb57600083815260208290526040902092506119fc565b600081815260208490526040902092505b5080611a0781612490565b9150506119a8565b509392505050565b60006001600160a01b0384163b15611b0a57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611a5b90339089908890889060040161254c565b6020604051808303816000875af1925050508015611a96575060408051601f3d908101601f19168201909252611a9391810190612589565b60015b611af0573d808015611ac4576040519150601f19603f3d011682016040523d82523d6000602084013e611ac9565b606091505b508051611ae85760405162461bcd60e51b81526004016105449061243e565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610f30565b506001949350505050565b611b1d610754565b156106755760405162461bcd60e51b815260206004820152602b60248201527f4552433732315061757361626c653a20746f6b656e207472616e73666572207760448201526a1a1a5b19481c185d5cd95960aa1b6064820152608401610544565b6106fc828260405180602001604052806000815250611b9d8383611bc6565b611baa6000848484611a17565b6106755760405162461bcd60e51b81526004016105449061243e565b6001600160a01b038216611c1c5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610544565b611c2581610de3565b15611c715760405162461bcd60e51b815260206004820152601c60248201527b115490cdcc8c4e881d1bdad95b88185b1c9958591e481b5a5b9d195960221b6044820152606401610544565b611c7d600083836118bd565b6001600160a01b0382166000908152600360205260408120805460019290611ca690849061238b565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392906000805160206125a7833981519152908290a45050565b828054611cfe906121e9565b90600052602060002090601f016020900481019282611d205760008555611d66565b82601f10611d3957805160ff1916838001178555611d66565b82800160010185558215611d66579182015b82811115611d66578251825591602001919060010190611d4b565b50611d72929150611d76565b5090565b5b80821115611d725760008155600101611d77565b6001600160e01b031981168114610b9457600080fd5b600060208284031215611db357600080fd5b8135610aef81611d8b565b60005b83811015611dd9578181015183820152602001611dc1565b83811115610b285750506000910152565b60008151808452611e02816020860160208601611dbe565b601f01601f19169290920160200192915050565b602081526000610aef6020830184611dea565b600060208284031215611e3b57600080fd5b5035919050565b6001600160a01b0391909116815260200190565b6001600160a01b0381168114610b9457600080fd5b60008060408385031215611e7e57600080fd5b8235611e8981611e56565b946020939093013593505050565b600080600060608486031215611eac57600080fd5b8335611eb781611e56565b92506020840135611ec781611e56565b929592945050506040919091013590565b634e487b7160e01b600052604160045260246000fd5b60006001600160401b0380841115611f0857611f08611ed8565b604051601f8501601f19908116603f01168101908282118183101715611f3057611f30611ed8565b81604052809350858152868686011115611f4957600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215611f7557600080fd5b81356001600160401b03811115611f8b57600080fd5b8201601f81018413611f9c57600080fd5b610f3084823560208401611eee565b60008083601f840112611fbd57600080fd5b5081356001600160401b03811115611fd457600080fd5b6020830191508360208260051b8501011115611fef57600080fd5b9250929050565b60008060006040848603121561200b57600080fd5b8335925060208401356001600160401b0381111561202857600080fd5b61203486828701611fab565b9497909650939450505050565b60006020828403121561205357600080fd5b8135610aef81611e56565b60006080828403121561207057600080fd5b604051608081016001600160401b038111828210171561209257612092611ed8565b8060405250823581526020830135602082015260408301356040820152606083013560608201528091505092915050565b600080604083850312156120d657600080fd5b82356120e181611e56565b9150602083013580151581146120f657600080fd5b809150509250929050565b60008060006040848603121561211657600080fd5b833561212181611e56565b925060208401356001600160401b0381111561202857600080fd5b6000806000806080858703121561215257600080fd5b843561215d81611e56565b9350602085013561216d81611e56565b92506040850135915060608501356001600160401b0381111561218f57600080fd5b8501601f810187136121a057600080fd5b6121af87823560208401611eee565b91505092959194509250565b600080604083850312156121ce57600080fd5b82356121d981611e56565b915060208301356120f681611e56565b600181811c908216806121fd57607f821691505b60208210811415610c2757634e487b7160e01b600052602260045260246000fd5b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600081516122b6818560208601611dbe565b9290920192915050565b600080845481600182811c9150808316806122dc57607f831692505b60208084108214156122fc57634e487b7160e01b86526022600452602486fd5b81801561231057600181146123215761234e565b60ff1986168952848901965061234e565b60008b81526020902060005b868110156123465781548b82015290850190830161232d565b505084890196505b505050505050610aeb81856122a4565b634e487b7160e01b600052601160045260246000fd5b6000828210156123865761238661235e565b500390565b6000821982111561239e5761239e61235e565b500190565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b60006001600160f81b038281168482168083038211156123ef576123ef61235e565b01949350505050565b60208082526016908201527514da5b595a9a54d95b1b195c8e8814dbdb19081bdd5d60521b604082015260600190565b634e487b7160e01b600052600160045260246000fd5b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60006000198214156124a4576124a461235e565b5060010190565b634e487b7160e01b600052601260045260246000fd5b6000826124d0576124d06124ab565b500490565b6000826124e4576124e46124ab565b500690565b634e487b7160e01b600052603260045260246000fd5b60006020828403121561251157600080fd5b8151610aef81611e56565b67029b2b63632b91d160c51b81526000825161253f816008850160208701611dbe565b9190910160080192915050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061257f90830184611dea565b9695505050505050565b60006020828403121561259b57600080fd5b8151610aef81611d8b56feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212200d5e248235631e1f6bce94c565e85ae805cbc84af568fa7bedb712a86d9f616964736f6c634300080a0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000c43727970746f53696d656a690000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c43727970746f53696d656a690000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name (string): CryptoSimeji
Arg [1] : symbol (string): CryptoSimeji
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 000000000000000000000000000000000000000000000000000000000000000c
Arg [3] : 43727970746f53696d656a690000000000000000000000000000000000000000
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000c
Arg [5] : 43727970746f53696d656a690000000000000000000000000000000000000000
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.