ERC-721
Overview
Max Total Supply
231 SKULLS
Holders
81
Total Transfers
-
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
SKULLS
Compiler Version
v0.8.10+commit.fc410830
Optimization Enabled:
Yes with 1000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.10; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Royalty.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/utils/Address.sol"; contract SKULLS is ERC721, ERC721Royalty, ERC721Burnable, Pausable, Ownable { uint256 public constant MAX_TOKENS = 500; uint256 public unitPrice = 60000000000000000; //0.06 ether string public defaultBaseURI; bytes32 private presaleRoot; uint256 public maxPreMint = 4; using Counters for Counters.Counter; Counters.Counter private tokenIdCounter; // Switches bool private publicSaleActive; bool private preSaleActive; bool private whiteListOn; mapping (address => uint) public accountToMintedTokens; constructor() ERC721("Marcus Jahmal - Skulls", "SKULLS") { tokenIdCounter.increment(); } function _baseURI() internal view override returns (string memory) { return defaultBaseURI; } function setBaseURI(string memory _newBaseURI) public onlyOwner { defaultBaseURI = _newBaseURI; } function setPresaleMintHash(bytes32 _root) external onlyOwner { presaleRoot = _root; } function startPreSale(uint256 _unitPrice, bool _whitelistOn, uint256 _maxPreMint) external onlyOwner { require(!preSaleActive, "Private Sale Started already"); unitPrice = _unitPrice; whiteListOn = _whitelistOn; preSaleActive = true; maxPreMint = _maxPreMint; } function pausePreSale() external onlyOwner { require(preSaleActive, "Private Sale not active"); preSaleActive = false; } function startSale(uint256 _unitPrice) external onlyOwner { require(!publicSaleActive, "Started already"); unitPrice = _unitPrice; publicSaleActive = true; } function pauseSale() external onlyOwner { require(publicSaleActive, "Sale not active"); publicSaleActive = false; } function safeMint(address to) private { _safeMint(to, tokenIdCounter.current()); tokenIdCounter.increment(); } function _leaf(address account) internal pure returns (bytes32) { return keccak256(abi.encodePacked(account)); } function _verify( bytes32 leaf, bytes32 root, bytes32[] memory proof ) internal pure returns (bool) { return MerkleProof.verify(proof, root, leaf); } function presaleMint(uint256 numTokens, bytes32[] calldata proof) external payable { require(preSaleActive, "Presale not active"); require(unitPrice * numTokens <= msg.value, "Not Enough Ether"); require((totalSupply() + numTokens) <= MAX_TOKENS, "Exceed Max Supply"); require(!whiteListOn || _verify(_leaf(msg.sender), presaleRoot, proof), "Invalid address for presale mint"); require(numTokens + accountToMintedTokens[msg.sender] <= maxPreMint, "numTokens exceeds maxPreMint allowance"); for (uint256 i = 0; i < numTokens; i++) { safeMint(msg.sender); } accountToMintedTokens[msg.sender] += numTokens; } function mintInternal(address[] memory to, uint256[] memory numTokens) external onlyOwner { for (uint256 i = 0; i < to.length; i++) { require((totalSupply() + numTokens[i]) <= MAX_TOKENS, "Exceed Max Supply"); for (uint256 j = 0; j < numTokens[i]; j++) { safeMint(to[i]); } } } function mint(uint256 numTokens) external payable { require(publicSaleActive, "Sale not active"); require(unitPrice * numTokens <= msg.value, "Not Enough Ether"); require((totalSupply() + numTokens) <= MAX_TOKENS, "Exceed Max Supply"); for (uint256 i = 0; i < numTokens; i++) { safeMint(msg.sender); } } function setRoyalties(address recipient, uint96 fraction) external onlyOwner { _setDefaultRoyalty(recipient, fraction); } function totalSupply() public view returns (uint256) { return tokenIdCounter.current() - 1; } function withdraw() external onlyOwner { uint256 balance = address(this).balance; Address.sendValue(payable(owner()), balance); } function pause() public onlyOwner { _pause(); } function unpause() public onlyOwner { _unpause(); } function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal override(ERC721) whenNotPaused { super._beforeTokenTransfer(from, to, tokenId); } // The following functions are overrides required by Solidity. function supportsInterface(bytes4 interfaceId) public view override(ERC721, ERC721Royalty) returns (bool) { return super.supportsInterface(interfaceId); } function _burn(uint256 tokenId) internal override(ERC721, ERC721Royalty) { super._burn(tokenId); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Burnable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "../../../utils/Context.sol"; /** * @title ERC721 Burnable Token * @dev ERC721 Token that can be irreversibly burned (destroyed). */ abstract contract ERC721Burnable is Context, ERC721 { /** * @dev Burns `tokenId`. See {ERC721-_burn}. * * Requirements: * * - The caller must own `tokenId` or be an approved operator. */ function burn(uint256 tokenId) public virtual { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved"); _burn(tokenId); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/ERC721Royalty.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "../../common/ERC2981.sol"; import "../../../utils/introspection/ERC165.sol"; /** * @dev Extension of ERC721 with the ERC2981 NFT Royalty Standard, a standardized way to retrieve royalty payment * information. * * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first. * * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported. * * _Available since v4.5._ */ abstract contract ERC721Royalty is ERC2981, ERC721 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721, ERC2981) returns (bool) { return super.supportsInterface(interfaceId); } /** * @dev See {ERC721-_burn}. This override additionally clears the royalty information for the token. */ function _burn(uint256 tokenId) internal virtual override { super._burn(tokenId); _resetTokenRoyalty(tokenId); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/Pausable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// 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 (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 (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 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (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/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 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 (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/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/common/ERC2981.sol) pragma solidity ^0.8.0; import "../../interfaces/IERC2981.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information. * * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first. * * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the * fee is specified in basis points by default. * * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported. * * _Available since v4.5._ */ abstract contract ERC2981 is IERC2981, ERC165 { struct RoyaltyInfo { address receiver; uint96 royaltyFraction; } RoyaltyInfo private _defaultRoyaltyInfo; mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) { return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId); } /** * @inheritdoc IERC2981 */ function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) { RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId]; if (royalty.receiver == address(0)) { royalty = _defaultRoyaltyInfo; } uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator(); return (royalty.receiver, royaltyAmount); } /** * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an * override. */ function _feeDenominator() internal pure virtual returns (uint96) { return 10000; } /** * @dev Sets the royalty information that all ids in this contract will default to. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: invalid receiver"); _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Removes default royalty information. */ function _deleteDefaultRoyalty() internal virtual { delete _defaultRoyaltyInfo; } /** * @dev Sets the royalty information for a specific token id, overriding the global default. * * Requirements: * * - `tokenId` must be already minted. * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setTokenRoyalty( uint256 tokenId, address receiver, uint96 feeNumerator ) internal virtual { require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice"); require(receiver != address(0), "ERC2981: Invalid parameters"); _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Resets royalty information for the token id back to the global default. */ function _resetTokenRoyalty(uint256 tokenId) internal virtual { delete _tokenRoyaltyInfo[tokenId]; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; import "../utils/introspection/IERC165.sol"; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be paid in that same unit of exchange. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); }
{ "optimizer": { "enabled": true, "runs": 1000 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"MAX_TOKENS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"accountToMintedTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"defaultBaseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPreMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numTokens","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address[]","name":"to","type":"address[]"},{"internalType":"uint256[]","name":"numTokens","type":"uint256[]"}],"name":"mintInternal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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":"pausePreSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"pauseSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numTokens","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"presaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"setPresaleMintHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint96","name":"fraction","type":"uint96"}],"name":"setRoyalties","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_unitPrice","type":"uint256"},{"internalType":"bool","name":"_whitelistOn","type":"bool"},{"internalType":"uint256","name":"_maxPreMint","type":"uint256"}],"name":"startPreSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_unitPrice","type":"uint256"}],"name":"startSale","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":"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":"unitPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405266d529ae9e8600006009556004600c553480156200002157600080fd5b50604080518082018252601681527f4d6172637573204a61686d616c202d20536b756c6c7300000000000000000000602080830191825283518085019094526006845265534b554c4c5360d01b908401528151919291620000859160029162000133565b5080516200009b90600390602084019062000133565b50506008805460ff1916905550620000b333620000d0565b620000ca600d6200012a60201b62001a591760201c565b62000216565b600880546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b80546001019055565b8280546200014190620001d9565b90600052602060002090601f016020900481019282620001655760008555620001b0565b82601f106200018057805160ff1916838001178555620001b0565b82800160010185558215620001b0579182015b82811115620001b057825182559160200191906001019062000193565b50620001be929150620001c2565b5090565b5b80821115620001be5760008155600101620001c3565b600181811c90821680620001ee57607f821691505b602082108114156200021057634e487b7160e01b600052602260045260246000fd5b50919050565b61321780620002266000396000f3fe6080604052600436106102855760003560e01c8063715018a611610153578063abcbb7b4116100cb578063e73faa2d1161007f578063f2fde38b11610064578063f2fde38b146106e8578063f47c84c514610708578063f6409d471461071e57600080fd5b8063e73faa2d14610689578063e985e9c51461069f57600080fd5b8063c21b471b116100b0578063c21b471b14610636578063c87b56dd14610656578063e3e1e8ef1461067657600080fd5b8063abcbb7b414610601578063b88d4fde1461061657600080fd5b806395d89b4111610122578063a22cb46511610107578063a22cb4651461059e578063a43279e6146105be578063a7ee066d146105eb57600080fd5b806395d89b4114610576578063a0712d681461058b57600080fd5b8063715018a6146105095780637f16d6d31461051e5780638456cb591461053e5780638da5cb5b1461055357600080fd5b80633f4ba83a1161020157806355367ba9116101b55780635c975abb1161019a5780635c975abb146104b15780636352211e146104c957806370a08231146104e957600080fd5b806355367ba91461047c57806355f804b31461049157600080fd5b806342966c68116101e657806342966c68146104275780634357da58146104475780634b0650501461045c57600080fd5b80633f4ba83a146103f257806342842e0e1461040757600080fd5b80630e3ab61d1161025857806323b872dd1161023d57806323b872dd1461037e5780632a55205a1461039e5780633ccfd60b146103dd57600080fd5b80630e3ab61d1461033b57806318160ddd1461035b57600080fd5b806301ffc9a71461028a57806306fdde03146102bf578063081812fc146102e1578063095ea7b314610319575b600080fd5b34801561029657600080fd5b506102aa6102a5366004612abf565b61073e565b60405190151581526020015b60405180910390f35b3480156102cb57600080fd5b506102d461074f565b6040516102b69190612b34565b3480156102ed57600080fd5b506103016102fc366004612b47565b6107e1565b6040516001600160a01b0390911681526020016102b6565b34801561032557600080fd5b50610339610334366004612b7c565b61087b565b005b34801561034757600080fd5b50610339610356366004612b47565b6109ad565b34801561036757600080fd5b50610370610a60565b6040519081526020016102b6565b34801561038a57600080fd5b50610339610399366004612ba6565b610a7c565b3480156103aa57600080fd5b506103be6103b9366004612be2565b610b04565b604080516001600160a01b0390931683526020830191909152016102b6565b3480156103e957600080fd5b50610339610bbf565b3480156103fe57600080fd5b50610339610c32565b34801561041357600080fd5b50610339610422366004612ba6565b610c8a565b34801561043357600080fd5b50610339610442366004612b47565b610ca5565b34801561045357600080fd5b50610339610d29565b34801561046857600080fd5b50610339610477366004612c14565b610ddb565b34801561048857600080fd5b50610339610eb2565b34801561049d57600080fd5b506103396104ac366004612cd8565b610f5e565b3480156104bd57600080fd5b5060085460ff166102aa565b3480156104d557600080fd5b506103016104e4366004612b47565b610fc3565b3480156104f557600080fd5b50610370610504366004612d21565b61104e565b34801561051557600080fd5b506103396110e8565b34801561052a57600080fd5b50610339610539366004612b47565b611140565b34801561054a57600080fd5b50610339611193565b34801561055f57600080fd5b5060085461010090046001600160a01b0316610301565b34801561058257600080fd5b506102d46111e9565b610339610599366004612b47565b6111f8565b3480156105aa57600080fd5b506103396105b9366004612d3c565b611325565b3480156105ca57600080fd5b506103706105d9366004612d21565b600f6020526000908152604090205481565b3480156105f757600080fd5b50610370600c5481565b34801561060d57600080fd5b506102d4611330565b34801561062257600080fd5b50610339610631366004612d6f565b6113be565b34801561064257600080fd5b50610339610651366004612deb565b61144c565b34801561066257600080fd5b506102d4610671366004612b47565b6114a4565b610339610684366004612e33565b61158d565b34801561069557600080fd5b5061037060095481565b3480156106ab57600080fd5b506102aa6106ba366004612eb2565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156106f457600080fd5b50610339610703366004612d21565b611850565b34801561071457600080fd5b506103706101f481565b34801561072a57600080fd5b50610339610739366004612f6b565b611923565b600061074982611a62565b92915050565b60606002805461075e9061302b565b80601f016020809104026020016040519081016040528092919081815260200182805461078a9061302b565b80156107d75780601f106107ac576101008083540402835291602001916107d7565b820191906000526020600020905b8154815290600101906020018083116107ba57829003601f168201915b5050505050905090565b6000818152600460205260408120546001600160a01b031661085f5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061088682610fc3565b9050806001600160a01b0316836001600160a01b031614156109105760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610856565b336001600160a01b038216148061092c575061092c81336106ba565b61099e5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610856565b6109a88383611a6d565b505050565b6008546001600160a01b036101009091041633146109fb5760405162461bcd60e51b815260206004820181905260248201526000805160206131c28339815191526044820152606401610856565b600e5460ff1615610a4e5760405162461bcd60e51b815260206004820152600f60248201527f5374617274656420616c726561647900000000000000000000000000000000006044820152606401610856565b600955600e805460ff19166001179055565b60006001610a6d600d5490565b610a77919061307c565b905090565b610a87335b82611ae8565b610af95760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610856565b6109a8838383611bdf565b60008281526001602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046bffffffffffffffffffffffff16928201929092528291610b835750604080518082019091526000546001600160a01b0381168252600160a01b90046bffffffffffffffffffffffff1660208201525b602081015160009061271090610ba7906bffffffffffffffffffffffff1687613093565b610bb191906130c8565b915196919550909350505050565b6008546001600160a01b03610100909104163314610c0d5760405162461bcd60e51b815260206004820181905260248201526000805160206131c28339815191526044820152606401610856565b47610c2f610c296008546001600160a01b036101009091041690565b82611dc4565b50565b6008546001600160a01b03610100909104163314610c805760405162461bcd60e51b815260206004820181905260248201526000805160206131c28339815191526044820152606401610856565b610c88611edd565b565b6109a8838383604051806020016040528060008152506113be565b610cae33610a81565b610d205760405162461bcd60e51b815260206004820152603060248201527f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f766564000000000000000000000000000000006064820152608401610856565b610c2f81611f79565b6008546001600160a01b03610100909104163314610d775760405162461bcd60e51b815260206004820181905260248201526000805160206131c28339815191526044820152606401610856565b600e54610100900460ff16610dce5760405162461bcd60e51b815260206004820152601760248201527f507269766174652053616c65206e6f74206163746976650000000000000000006044820152606401610856565b600e805461ff0019169055565b6008546001600160a01b03610100909104163314610e295760405162461bcd60e51b815260206004820181905260248201526000805160206131c28339815191526044820152606401610856565b600e54610100900460ff1615610e815760405162461bcd60e51b815260206004820152601c60248201527f507269766174652053616c65205374617274656420616c7265616479000000006044820152606401610856565b600992909255600e805461ff001992151562010000029290921662ffff001990921691909117610100179055600c55565b6008546001600160a01b03610100909104163314610f005760405162461bcd60e51b815260206004820181905260248201526000805160206131c28339815191526044820152606401610856565b600e5460ff16610f525760405162461bcd60e51b815260206004820152600f60248201527f53616c65206e6f742061637469766500000000000000000000000000000000006044820152606401610856565b600e805460ff19169055565b6008546001600160a01b03610100909104163314610fac5760405162461bcd60e51b815260206004820181905260248201526000805160206131c28339815191526044820152606401610856565b8051610fbf90600a906020840190612a10565b5050565b6000818152600460205260408120546001600160a01b0316806107495760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610856565b60006001600160a01b0382166110cc5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610856565b506001600160a01b031660009081526005602052604090205490565b6008546001600160a01b036101009091041633146111365760405162461bcd60e51b815260206004820181905260248201526000805160206131c28339815191526044820152606401610856565b610c886000611f82565b6008546001600160a01b0361010090910416331461118e5760405162461bcd60e51b815260206004820181905260248201526000805160206131c28339815191526044820152606401610856565b600b55565b6008546001600160a01b036101009091041633146111e15760405162461bcd60e51b815260206004820181905260248201526000805160206131c28339815191526044820152606401610856565b610c88611ff3565b60606003805461075e9061302b565b600e5460ff1661124a5760405162461bcd60e51b815260206004820152600f60248201527f53616c65206e6f742061637469766500000000000000000000000000000000006044820152606401610856565b34816009546112599190613093565b11156112a75760405162461bcd60e51b815260206004820152601060248201527f4e6f7420456e6f756768204574686572000000000000000000000000000000006044820152606401610856565b6101f4816112b3610a60565b6112bd91906130dc565b11156112ff5760405162461bcd60e51b8152602060048201526011602482015270457863656564204d617820537570706c7960781b6044820152606401610856565b60005b81811015610fbf576113133361207b565b8061131d816130f4565b915050611302565b610fbf33838361209b565b600a805461133d9061302b565b80601f01602080910402602001604051908101604052809291908181526020018280546113699061302b565b80156113b65780601f1061138b576101008083540402835291602001916113b6565b820191906000526020600020905b81548152906001019060200180831161139957829003601f168201915b505050505081565b6113c83383611ae8565b61143a5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610856565b6114468484848461216a565b50505050565b6008546001600160a01b0361010090910416331461149a5760405162461bcd60e51b815260206004820181905260248201526000805160206131c28339815191526044820152606401610856565b610fbf82826121e8565b6000818152600460205260409020546060906001600160a01b03166115315760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610856565b600061153b612302565b9050600081511161155b5760405180602001604052806000815250611586565b8061156584612311565b60405160200161157692919061310f565b6040516020818303038152906040525b9392505050565b600e54610100900460ff166115e45760405162461bcd60e51b815260206004820152601260248201527f50726573616c65206e6f742061637469766500000000000000000000000000006044820152606401610856565b34836009546115f39190613093565b11156116415760405162461bcd60e51b815260206004820152601060248201527f4e6f7420456e6f756768204574686572000000000000000000000000000000006044820152606401610856565b6101f48361164d610a60565b61165791906130dc565b11156116995760405162461bcd60e51b8152602060048201526011602482015270457863656564204d617820537570706c7960781b6044820152606401610856565b600e5462010000900460ff1615806117235750604080513360601b6bffffffffffffffffffffffff1916602080830191909152825160148184030181526034909201909252805191012061172390600b5484848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525061244392505050565b61176f5760405162461bcd60e51b815260206004820181905260248201527f496e76616c6964206164647265737320666f722070726573616c65206d696e746044820152606401610856565b600c54336000908152600f602052604090205461178c90856130dc565b11156118005760405162461bcd60e51b815260206004820152602660248201527f6e756d546f6b656e732065786365656473206d61785072654d696e7420616c6c60448201527f6f77616e636500000000000000000000000000000000000000000000000000006064820152608401610856565b60005b83811015611826576118143361207b565b8061181e816130f4565b915050611803565b50336000908152600f6020526040812080548592906118469084906130dc565b9091555050505050565b6008546001600160a01b0361010090910416331461189e5760405162461bcd60e51b815260206004820181905260248201526000805160206131c28339815191526044820152606401610856565b6001600160a01b03811661191a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610856565b610c2f81611f82565b6008546001600160a01b036101009091041633146119715760405162461bcd60e51b815260206004820181905260248201526000805160206131c28339815191526044820152606401610856565b60005b82518110156109a8576101f48282815181106119925761199261313e565b60200260200101516119a2610a60565b6119ac91906130dc565b11156119ee5760405162461bcd60e51b8152602060048201526011602482015270457863656564204d617820537570706c7960781b6044820152606401610856565b60005b828281518110611a0357611a0361313e565b6020026020010151811015611a4657611a34848381518110611a2757611a2761313e565b602002602001015161207b565b80611a3e816130f4565b9150506119f1565b5080611a51816130f4565b915050611974565b80546001019055565b600061074982612450565b6000818152600660205260409020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0384169081179091558190611aaf82610fc3565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600460205260408120546001600160a01b0316611b615760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610856565b6000611b6c83610fc3565b9050806001600160a01b0316846001600160a01b03161480611bb357506001600160a01b0380821660009081526007602090815260408083209388168352929052205460ff165b80611bd75750836001600160a01b0316611bcc846107e1565b6001600160a01b0316145b949350505050565b826001600160a01b0316611bf282610fc3565b6001600160a01b031614611c6e5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201527f6f776e65720000000000000000000000000000000000000000000000000000006064820152608401610856565b6001600160a01b038216611ce95760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610856565b611cf48383836124c2565b611cff600082611a6d565b6001600160a01b0383166000908152600560205260408120805460019290611d2890849061307c565b90915550506001600160a01b0382166000908152600560205260408120805460019290611d569084906130dc565b9091555050600081815260046020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b80471015611e145760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610856565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611e61576040519150601f19603f3d011682016040523d82523d6000602084013e611e66565b606091505b50509050806109a85760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610856565b60085460ff16611f2f5760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610856565b6008805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b610c2f81612515565b600880546001600160a01b038381166101008181027fffffffffffffffffffffff0000000000000000000000000000000000000000ff85161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60085460ff16156120465760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610856565b6008805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611f5c3390565b61208d81612088600d5490565b61252f565b610c2f600d80546001019055565b816001600160a01b0316836001600160a01b031614156120fd5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610856565b6001600160a01b03838116600081815260076020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b612175848484611bdf565b61218184848484612549565b6114465760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610856565b6127106bffffffffffffffffffffffff8216111561226e5760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c2065786365656460448201527f2073616c655072696365000000000000000000000000000000000000000000006064820152608401610856565b6001600160a01b0382166122c45760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610856565b604080518082019091526001600160a01b039092168083526bffffffffffffffffffffffff9091166020909201829052600160a01b90910217600055565b6060600a805461075e9061302b565b60608161235157505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b811561237b5780612365816130f4565b91506123749050600a836130c8565b9150612355565b60008167ffffffffffffffff81111561239657612396612c39565b6040519080825280601f01601f1916602001820160405280156123c0576020820181803683370190505b5090505b8415611bd7576123d560018361307c565b91506123e2600a86613154565b6123ed9060306130dc565b60f81b8183815181106124025761240261313e565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535061243c600a866130c8565b94506123c4565b6000611bd7828486612692565b60006001600160e01b031982167f80ac58cd0000000000000000000000000000000000000000000000000000000014806124b357506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806107495750610749826126a8565b60085460ff16156109a85760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610856565b61251e8161270f565b600090815260016020526040812055565b610fbf8282604051806020016040528060008152506127c3565b60006001600160a01b0384163b1561268757604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061258d903390899088908890600401613168565b6020604051808303816000875af19250505080156125c8575060408051601f3d908101601f191682019092526125c5918101906131a4565b60015b61266d573d8080156125f6576040519150601f19603f3d011682016040523d82523d6000602084013e6125fb565b606091505b5080516126655760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610856565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611bd7565b506001949350505050565b60008261269f8584612841565b14949350505050565b60006001600160e01b031982167f2a55205a00000000000000000000000000000000000000000000000000000000148061074957507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b0319831614610749565b600061271a82610fc3565b9050612728816000846124c2565b612733600083611a6d565b6001600160a01b038116600090815260056020526040812080546001929061275c90849061307c565b9091555050600082815260046020526040808220805473ffffffffffffffffffffffffffffffffffffffff19169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6127cd83836128b5565b6127da6000848484612549565b6109a85760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610856565b600081815b84518110156128ad5760008582815181106128635761286361313e565b60200260200101519050808311612889576000838152602082905260409020925061289a565b600081815260208490526040902092505b50806128a5816130f4565b915050612846565b509392505050565b6001600160a01b03821661290b5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610856565b6000818152600460205260409020546001600160a01b0316156129705760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610856565b61297c600083836124c2565b6001600160a01b03821660009081526005602052604081208054600192906129a59084906130dc565b9091555050600081815260046020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054612a1c9061302b565b90600052602060002090601f016020900481019282612a3e5760008555612a84565b82601f10612a5757805160ff1916838001178555612a84565b82800160010185558215612a84579182015b82811115612a84578251825591602001919060010190612a69565b50612a90929150612a94565b5090565b5b80821115612a905760008155600101612a95565b6001600160e01b031981168114610c2f57600080fd5b600060208284031215612ad157600080fd5b813561158681612aa9565b60005b83811015612af7578181015183820152602001612adf565b838111156114465750506000910152565b60008151808452612b20816020860160208601612adc565b601f01601f19169290920160200192915050565b6020815260006115866020830184612b08565b600060208284031215612b5957600080fd5b5035919050565b80356001600160a01b0381168114612b7757600080fd5b919050565b60008060408385031215612b8f57600080fd5b612b9883612b60565b946020939093013593505050565b600080600060608486031215612bbb57600080fd5b612bc484612b60565b9250612bd260208501612b60565b9150604084013590509250925092565b60008060408385031215612bf557600080fd5b50508035926020909101359150565b80358015158114612b7757600080fd5b600080600060608486031215612c2957600080fd5b83359250612bd260208501612c04565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715612c7857612c78612c39565b604052919050565b600067ffffffffffffffff831115612c9a57612c9a612c39565b612cad601f8401601f1916602001612c4f565b9050828152838383011115612cc157600080fd5b828260208301376000602084830101529392505050565b600060208284031215612cea57600080fd5b813567ffffffffffffffff811115612d0157600080fd5b8201601f81018413612d1257600080fd5b611bd784823560208401612c80565b600060208284031215612d3357600080fd5b61158682612b60565b60008060408385031215612d4f57600080fd5b612d5883612b60565b9150612d6660208401612c04565b90509250929050565b60008060008060808587031215612d8557600080fd5b612d8e85612b60565b9350612d9c60208601612b60565b925060408501359150606085013567ffffffffffffffff811115612dbf57600080fd5b8501601f81018713612dd057600080fd5b612ddf87823560208401612c80565b91505092959194509250565b60008060408385031215612dfe57600080fd5b612e0783612b60565b915060208301356bffffffffffffffffffffffff81168114612e2857600080fd5b809150509250929050565b600080600060408486031215612e4857600080fd5b83359250602084013567ffffffffffffffff80821115612e6757600080fd5b818601915086601f830112612e7b57600080fd5b813581811115612e8a57600080fd5b8760208260051b8501011115612e9f57600080fd5b6020830194508093505050509250925092565b60008060408385031215612ec557600080fd5b612ece83612b60565b9150612d6660208401612b60565b600067ffffffffffffffff821115612ef657612ef6612c39565b5060051b60200190565b600082601f830112612f1157600080fd5b81356020612f26612f2183612edc565b612c4f565b82815260059290921b84018101918181019086841115612f4557600080fd5b8286015b84811015612f605780358352918301918301612f49565b509695505050505050565b60008060408385031215612f7e57600080fd5b823567ffffffffffffffff80821115612f9657600080fd5b818501915085601f830112612faa57600080fd5b81356020612fba612f2183612edc565b82815260059290921b84018101918181019089841115612fd957600080fd5b948201945b83861015612ffe57612fef86612b60565b82529482019490820190612fde565b9650508601359250508082111561301457600080fd5b5061302185828601612f00565b9150509250929050565b600181811c9082168061303f57607f821691505b6020821081141561306057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008282101561308e5761308e613066565b500390565b60008160001904831182151516156130ad576130ad613066565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826130d7576130d76130b2565b500490565b600082198211156130ef576130ef613066565b500190565b600060001982141561310857613108613066565b5060010190565b60008351613121818460208801612adc565b835190830190613135818360208801612adc565b01949350505050565b634e487b7160e01b600052603260045260246000fd5b600082613163576131636130b2565b500690565b60006001600160a01b0380871683528086166020840152508360408301526080606083015261319a6080830184612b08565b9695505050505050565b6000602082840312156131b657600080fd5b815161158681612aa956fe4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a264697066735822122010d14cdc9774919929b6e03401c0f5f20d19ab8ffd126b834438d9e19168576664736f6c634300080a0033
Deployed Bytecode
0x6080604052600436106102855760003560e01c8063715018a611610153578063abcbb7b4116100cb578063e73faa2d1161007f578063f2fde38b11610064578063f2fde38b146106e8578063f47c84c514610708578063f6409d471461071e57600080fd5b8063e73faa2d14610689578063e985e9c51461069f57600080fd5b8063c21b471b116100b0578063c21b471b14610636578063c87b56dd14610656578063e3e1e8ef1461067657600080fd5b8063abcbb7b414610601578063b88d4fde1461061657600080fd5b806395d89b4111610122578063a22cb46511610107578063a22cb4651461059e578063a43279e6146105be578063a7ee066d146105eb57600080fd5b806395d89b4114610576578063a0712d681461058b57600080fd5b8063715018a6146105095780637f16d6d31461051e5780638456cb591461053e5780638da5cb5b1461055357600080fd5b80633f4ba83a1161020157806355367ba9116101b55780635c975abb1161019a5780635c975abb146104b15780636352211e146104c957806370a08231146104e957600080fd5b806355367ba91461047c57806355f804b31461049157600080fd5b806342966c68116101e657806342966c68146104275780634357da58146104475780634b0650501461045c57600080fd5b80633f4ba83a146103f257806342842e0e1461040757600080fd5b80630e3ab61d1161025857806323b872dd1161023d57806323b872dd1461037e5780632a55205a1461039e5780633ccfd60b146103dd57600080fd5b80630e3ab61d1461033b57806318160ddd1461035b57600080fd5b806301ffc9a71461028a57806306fdde03146102bf578063081812fc146102e1578063095ea7b314610319575b600080fd5b34801561029657600080fd5b506102aa6102a5366004612abf565b61073e565b60405190151581526020015b60405180910390f35b3480156102cb57600080fd5b506102d461074f565b6040516102b69190612b34565b3480156102ed57600080fd5b506103016102fc366004612b47565b6107e1565b6040516001600160a01b0390911681526020016102b6565b34801561032557600080fd5b50610339610334366004612b7c565b61087b565b005b34801561034757600080fd5b50610339610356366004612b47565b6109ad565b34801561036757600080fd5b50610370610a60565b6040519081526020016102b6565b34801561038a57600080fd5b50610339610399366004612ba6565b610a7c565b3480156103aa57600080fd5b506103be6103b9366004612be2565b610b04565b604080516001600160a01b0390931683526020830191909152016102b6565b3480156103e957600080fd5b50610339610bbf565b3480156103fe57600080fd5b50610339610c32565b34801561041357600080fd5b50610339610422366004612ba6565b610c8a565b34801561043357600080fd5b50610339610442366004612b47565b610ca5565b34801561045357600080fd5b50610339610d29565b34801561046857600080fd5b50610339610477366004612c14565b610ddb565b34801561048857600080fd5b50610339610eb2565b34801561049d57600080fd5b506103396104ac366004612cd8565b610f5e565b3480156104bd57600080fd5b5060085460ff166102aa565b3480156104d557600080fd5b506103016104e4366004612b47565b610fc3565b3480156104f557600080fd5b50610370610504366004612d21565b61104e565b34801561051557600080fd5b506103396110e8565b34801561052a57600080fd5b50610339610539366004612b47565b611140565b34801561054a57600080fd5b50610339611193565b34801561055f57600080fd5b5060085461010090046001600160a01b0316610301565b34801561058257600080fd5b506102d46111e9565b610339610599366004612b47565b6111f8565b3480156105aa57600080fd5b506103396105b9366004612d3c565b611325565b3480156105ca57600080fd5b506103706105d9366004612d21565b600f6020526000908152604090205481565b3480156105f757600080fd5b50610370600c5481565b34801561060d57600080fd5b506102d4611330565b34801561062257600080fd5b50610339610631366004612d6f565b6113be565b34801561064257600080fd5b50610339610651366004612deb565b61144c565b34801561066257600080fd5b506102d4610671366004612b47565b6114a4565b610339610684366004612e33565b61158d565b34801561069557600080fd5b5061037060095481565b3480156106ab57600080fd5b506102aa6106ba366004612eb2565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b3480156106f457600080fd5b50610339610703366004612d21565b611850565b34801561071457600080fd5b506103706101f481565b34801561072a57600080fd5b50610339610739366004612f6b565b611923565b600061074982611a62565b92915050565b60606002805461075e9061302b565b80601f016020809104026020016040519081016040528092919081815260200182805461078a9061302b565b80156107d75780601f106107ac576101008083540402835291602001916107d7565b820191906000526020600020905b8154815290600101906020018083116107ba57829003601f168201915b5050505050905090565b6000818152600460205260408120546001600160a01b031661085f5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061088682610fc3565b9050806001600160a01b0316836001600160a01b031614156109105760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610856565b336001600160a01b038216148061092c575061092c81336106ba565b61099e5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610856565b6109a88383611a6d565b505050565b6008546001600160a01b036101009091041633146109fb5760405162461bcd60e51b815260206004820181905260248201526000805160206131c28339815191526044820152606401610856565b600e5460ff1615610a4e5760405162461bcd60e51b815260206004820152600f60248201527f5374617274656420616c726561647900000000000000000000000000000000006044820152606401610856565b600955600e805460ff19166001179055565b60006001610a6d600d5490565b610a77919061307c565b905090565b610a87335b82611ae8565b610af95760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610856565b6109a8838383611bdf565b60008281526001602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046bffffffffffffffffffffffff16928201929092528291610b835750604080518082019091526000546001600160a01b0381168252600160a01b90046bffffffffffffffffffffffff1660208201525b602081015160009061271090610ba7906bffffffffffffffffffffffff1687613093565b610bb191906130c8565b915196919550909350505050565b6008546001600160a01b03610100909104163314610c0d5760405162461bcd60e51b815260206004820181905260248201526000805160206131c28339815191526044820152606401610856565b47610c2f610c296008546001600160a01b036101009091041690565b82611dc4565b50565b6008546001600160a01b03610100909104163314610c805760405162461bcd60e51b815260206004820181905260248201526000805160206131c28339815191526044820152606401610856565b610c88611edd565b565b6109a8838383604051806020016040528060008152506113be565b610cae33610a81565b610d205760405162461bcd60e51b815260206004820152603060248201527f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f766564000000000000000000000000000000006064820152608401610856565b610c2f81611f79565b6008546001600160a01b03610100909104163314610d775760405162461bcd60e51b815260206004820181905260248201526000805160206131c28339815191526044820152606401610856565b600e54610100900460ff16610dce5760405162461bcd60e51b815260206004820152601760248201527f507269766174652053616c65206e6f74206163746976650000000000000000006044820152606401610856565b600e805461ff0019169055565b6008546001600160a01b03610100909104163314610e295760405162461bcd60e51b815260206004820181905260248201526000805160206131c28339815191526044820152606401610856565b600e54610100900460ff1615610e815760405162461bcd60e51b815260206004820152601c60248201527f507269766174652053616c65205374617274656420616c7265616479000000006044820152606401610856565b600992909255600e805461ff001992151562010000029290921662ffff001990921691909117610100179055600c55565b6008546001600160a01b03610100909104163314610f005760405162461bcd60e51b815260206004820181905260248201526000805160206131c28339815191526044820152606401610856565b600e5460ff16610f525760405162461bcd60e51b815260206004820152600f60248201527f53616c65206e6f742061637469766500000000000000000000000000000000006044820152606401610856565b600e805460ff19169055565b6008546001600160a01b03610100909104163314610fac5760405162461bcd60e51b815260206004820181905260248201526000805160206131c28339815191526044820152606401610856565b8051610fbf90600a906020840190612a10565b5050565b6000818152600460205260408120546001600160a01b0316806107495760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610856565b60006001600160a01b0382166110cc5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610856565b506001600160a01b031660009081526005602052604090205490565b6008546001600160a01b036101009091041633146111365760405162461bcd60e51b815260206004820181905260248201526000805160206131c28339815191526044820152606401610856565b610c886000611f82565b6008546001600160a01b0361010090910416331461118e5760405162461bcd60e51b815260206004820181905260248201526000805160206131c28339815191526044820152606401610856565b600b55565b6008546001600160a01b036101009091041633146111e15760405162461bcd60e51b815260206004820181905260248201526000805160206131c28339815191526044820152606401610856565b610c88611ff3565b60606003805461075e9061302b565b600e5460ff1661124a5760405162461bcd60e51b815260206004820152600f60248201527f53616c65206e6f742061637469766500000000000000000000000000000000006044820152606401610856565b34816009546112599190613093565b11156112a75760405162461bcd60e51b815260206004820152601060248201527f4e6f7420456e6f756768204574686572000000000000000000000000000000006044820152606401610856565b6101f4816112b3610a60565b6112bd91906130dc565b11156112ff5760405162461bcd60e51b8152602060048201526011602482015270457863656564204d617820537570706c7960781b6044820152606401610856565b60005b81811015610fbf576113133361207b565b8061131d816130f4565b915050611302565b610fbf33838361209b565b600a805461133d9061302b565b80601f01602080910402602001604051908101604052809291908181526020018280546113699061302b565b80156113b65780601f1061138b576101008083540402835291602001916113b6565b820191906000526020600020905b81548152906001019060200180831161139957829003601f168201915b505050505081565b6113c83383611ae8565b61143a5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610856565b6114468484848461216a565b50505050565b6008546001600160a01b0361010090910416331461149a5760405162461bcd60e51b815260206004820181905260248201526000805160206131c28339815191526044820152606401610856565b610fbf82826121e8565b6000818152600460205260409020546060906001600160a01b03166115315760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610856565b600061153b612302565b9050600081511161155b5760405180602001604052806000815250611586565b8061156584612311565b60405160200161157692919061310f565b6040516020818303038152906040525b9392505050565b600e54610100900460ff166115e45760405162461bcd60e51b815260206004820152601260248201527f50726573616c65206e6f742061637469766500000000000000000000000000006044820152606401610856565b34836009546115f39190613093565b11156116415760405162461bcd60e51b815260206004820152601060248201527f4e6f7420456e6f756768204574686572000000000000000000000000000000006044820152606401610856565b6101f48361164d610a60565b61165791906130dc565b11156116995760405162461bcd60e51b8152602060048201526011602482015270457863656564204d617820537570706c7960781b6044820152606401610856565b600e5462010000900460ff1615806117235750604080513360601b6bffffffffffffffffffffffff1916602080830191909152825160148184030181526034909201909252805191012061172390600b5484848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525061244392505050565b61176f5760405162461bcd60e51b815260206004820181905260248201527f496e76616c6964206164647265737320666f722070726573616c65206d696e746044820152606401610856565b600c54336000908152600f602052604090205461178c90856130dc565b11156118005760405162461bcd60e51b815260206004820152602660248201527f6e756d546f6b656e732065786365656473206d61785072654d696e7420616c6c60448201527f6f77616e636500000000000000000000000000000000000000000000000000006064820152608401610856565b60005b83811015611826576118143361207b565b8061181e816130f4565b915050611803565b50336000908152600f6020526040812080548592906118469084906130dc565b9091555050505050565b6008546001600160a01b0361010090910416331461189e5760405162461bcd60e51b815260206004820181905260248201526000805160206131c28339815191526044820152606401610856565b6001600160a01b03811661191a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610856565b610c2f81611f82565b6008546001600160a01b036101009091041633146119715760405162461bcd60e51b815260206004820181905260248201526000805160206131c28339815191526044820152606401610856565b60005b82518110156109a8576101f48282815181106119925761199261313e565b60200260200101516119a2610a60565b6119ac91906130dc565b11156119ee5760405162461bcd60e51b8152602060048201526011602482015270457863656564204d617820537570706c7960781b6044820152606401610856565b60005b828281518110611a0357611a0361313e565b6020026020010151811015611a4657611a34848381518110611a2757611a2761313e565b602002602001015161207b565b80611a3e816130f4565b9150506119f1565b5080611a51816130f4565b915050611974565b80546001019055565b600061074982612450565b6000818152600660205260409020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0384169081179091558190611aaf82610fc3565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600460205260408120546001600160a01b0316611b615760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610856565b6000611b6c83610fc3565b9050806001600160a01b0316846001600160a01b03161480611bb357506001600160a01b0380821660009081526007602090815260408083209388168352929052205460ff165b80611bd75750836001600160a01b0316611bcc846107e1565b6001600160a01b0316145b949350505050565b826001600160a01b0316611bf282610fc3565b6001600160a01b031614611c6e5760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201527f6f776e65720000000000000000000000000000000000000000000000000000006064820152608401610856565b6001600160a01b038216611ce95760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610856565b611cf48383836124c2565b611cff600082611a6d565b6001600160a01b0383166000908152600560205260408120805460019290611d2890849061307c565b90915550506001600160a01b0382166000908152600560205260408120805460019290611d569084906130dc565b9091555050600081815260046020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b80471015611e145760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610856565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611e61576040519150601f19603f3d011682016040523d82523d6000602084013e611e66565b606091505b50509050806109a85760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610856565b60085460ff16611f2f5760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610856565b6008805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b610c2f81612515565b600880546001600160a01b038381166101008181027fffffffffffffffffffffff0000000000000000000000000000000000000000ff85161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60085460ff16156120465760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610856565b6008805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611f5c3390565b61208d81612088600d5490565b61252f565b610c2f600d80546001019055565b816001600160a01b0316836001600160a01b031614156120fd5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610856565b6001600160a01b03838116600081815260076020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b612175848484611bdf565b61218184848484612549565b6114465760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610856565b6127106bffffffffffffffffffffffff8216111561226e5760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c2065786365656460448201527f2073616c655072696365000000000000000000000000000000000000000000006064820152608401610856565b6001600160a01b0382166122c45760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606401610856565b604080518082019091526001600160a01b039092168083526bffffffffffffffffffffffff9091166020909201829052600160a01b90910217600055565b6060600a805461075e9061302b565b60608161235157505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b811561237b5780612365816130f4565b91506123749050600a836130c8565b9150612355565b60008167ffffffffffffffff81111561239657612396612c39565b6040519080825280601f01601f1916602001820160405280156123c0576020820181803683370190505b5090505b8415611bd7576123d560018361307c565b91506123e2600a86613154565b6123ed9060306130dc565b60f81b8183815181106124025761240261313e565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535061243c600a866130c8565b94506123c4565b6000611bd7828486612692565b60006001600160e01b031982167f80ac58cd0000000000000000000000000000000000000000000000000000000014806124b357506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806107495750610749826126a8565b60085460ff16156109a85760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610856565b61251e8161270f565b600090815260016020526040812055565b610fbf8282604051806020016040528060008152506127c3565b60006001600160a01b0384163b1561268757604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061258d903390899088908890600401613168565b6020604051808303816000875af19250505080156125c8575060408051601f3d908101601f191682019092526125c5918101906131a4565b60015b61266d573d8080156125f6576040519150601f19603f3d011682016040523d82523d6000602084013e6125fb565b606091505b5080516126655760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610856565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611bd7565b506001949350505050565b60008261269f8584612841565b14949350505050565b60006001600160e01b031982167f2a55205a00000000000000000000000000000000000000000000000000000000148061074957507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b0319831614610749565b600061271a82610fc3565b9050612728816000846124c2565b612733600083611a6d565b6001600160a01b038116600090815260056020526040812080546001929061275c90849061307c565b9091555050600082815260046020526040808220805473ffffffffffffffffffffffffffffffffffffffff19169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6127cd83836128b5565b6127da6000848484612549565b6109a85760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610856565b600081815b84518110156128ad5760008582815181106128635761286361313e565b60200260200101519050808311612889576000838152602082905260409020925061289a565b600081815260208490526040902092505b50806128a5816130f4565b915050612846565b509392505050565b6001600160a01b03821661290b5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610856565b6000818152600460205260409020546001600160a01b0316156129705760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610856565b61297c600083836124c2565b6001600160a01b03821660009081526005602052604081208054600192906129a59084906130dc565b9091555050600081815260046020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054612a1c9061302b565b90600052602060002090601f016020900481019282612a3e5760008555612a84565b82601f10612a5757805160ff1916838001178555612a84565b82800160010185558215612a84579182015b82811115612a84578251825591602001919060010190612a69565b50612a90929150612a94565b5090565b5b80821115612a905760008155600101612a95565b6001600160e01b031981168114610c2f57600080fd5b600060208284031215612ad157600080fd5b813561158681612aa9565b60005b83811015612af7578181015183820152602001612adf565b838111156114465750506000910152565b60008151808452612b20816020860160208601612adc565b601f01601f19169290920160200192915050565b6020815260006115866020830184612b08565b600060208284031215612b5957600080fd5b5035919050565b80356001600160a01b0381168114612b7757600080fd5b919050565b60008060408385031215612b8f57600080fd5b612b9883612b60565b946020939093013593505050565b600080600060608486031215612bbb57600080fd5b612bc484612b60565b9250612bd260208501612b60565b9150604084013590509250925092565b60008060408385031215612bf557600080fd5b50508035926020909101359150565b80358015158114612b7757600080fd5b600080600060608486031215612c2957600080fd5b83359250612bd260208501612c04565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715612c7857612c78612c39565b604052919050565b600067ffffffffffffffff831115612c9a57612c9a612c39565b612cad601f8401601f1916602001612c4f565b9050828152838383011115612cc157600080fd5b828260208301376000602084830101529392505050565b600060208284031215612cea57600080fd5b813567ffffffffffffffff811115612d0157600080fd5b8201601f81018413612d1257600080fd5b611bd784823560208401612c80565b600060208284031215612d3357600080fd5b61158682612b60565b60008060408385031215612d4f57600080fd5b612d5883612b60565b9150612d6660208401612c04565b90509250929050565b60008060008060808587031215612d8557600080fd5b612d8e85612b60565b9350612d9c60208601612b60565b925060408501359150606085013567ffffffffffffffff811115612dbf57600080fd5b8501601f81018713612dd057600080fd5b612ddf87823560208401612c80565b91505092959194509250565b60008060408385031215612dfe57600080fd5b612e0783612b60565b915060208301356bffffffffffffffffffffffff81168114612e2857600080fd5b809150509250929050565b600080600060408486031215612e4857600080fd5b83359250602084013567ffffffffffffffff80821115612e6757600080fd5b818601915086601f830112612e7b57600080fd5b813581811115612e8a57600080fd5b8760208260051b8501011115612e9f57600080fd5b6020830194508093505050509250925092565b60008060408385031215612ec557600080fd5b612ece83612b60565b9150612d6660208401612b60565b600067ffffffffffffffff821115612ef657612ef6612c39565b5060051b60200190565b600082601f830112612f1157600080fd5b81356020612f26612f2183612edc565b612c4f565b82815260059290921b84018101918181019086841115612f4557600080fd5b8286015b84811015612f605780358352918301918301612f49565b509695505050505050565b60008060408385031215612f7e57600080fd5b823567ffffffffffffffff80821115612f9657600080fd5b818501915085601f830112612faa57600080fd5b81356020612fba612f2183612edc565b82815260059290921b84018101918181019089841115612fd957600080fd5b948201945b83861015612ffe57612fef86612b60565b82529482019490820190612fde565b9650508601359250508082111561301457600080fd5b5061302185828601612f00565b9150509250929050565b600181811c9082168061303f57607f821691505b6020821081141561306057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008282101561308e5761308e613066565b500390565b60008160001904831182151516156130ad576130ad613066565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826130d7576130d76130b2565b500490565b600082198211156130ef576130ef613066565b500190565b600060001982141561310857613108613066565b5060010190565b60008351613121818460208801612adc565b835190830190613135818360208801612adc565b01949350505050565b634e487b7160e01b600052603260045260246000fd5b600082613163576131636130b2565b500690565b60006001600160a01b0380871683528086166020840152508360408301526080606083015261319a6080830184612b08565b9695505050505050565b6000602082840312156131b657600080fd5b815161158681612aa956fe4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a264697066735822122010d14cdc9774919929b6e03401c0f5f20d19ab8ffd126b834438d9e19168576664736f6c634300080a0033
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.