Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
1,000 R0N1
Holders
312
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 R0N1Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
R0N1World
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
Yes with 200 runs
Other Settings:
petersburg EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
/************** R0N1 WORLD /**************/ // @lisac && @chrishol // SPDX-License-Identifier: MIT pragma solidity ^0.8.9; import "./tokens/ERC721Enumerable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; contract R0N1World is ERC721Enumerable, Ownable, Pausable, ReentrancyGuard { /**************************************************** USAGES /****************************************************/ using Strings for uint256; /**************************************************** IMMUTABLE VARIABLES /****************************************************/ address payable public immutable PAYABLE_ADDRESS_1; // WITHDRAW BALANCE TO address payable public immutable PAYABLE_ADDRESS_2; // WITHDRAW BALANCE TO /**************************************************** MUTABLE VARIABLES /****************************************************/ string public baseURI; uint256 public price = 0.035 ether; bytes32 public merkleRoot; uint256 public allowlistSaleStartTimestamp; // 1644192000; uint256 public publicSaleStartTimestamp; // 1644235200; /**************************************************** CONSTANTS /****************************************************/ uint256 public constant MAX_SUPPLY = 3500; uint256 public constant MAX_PER_MINT = 20; uint256 public constant MAX_OWNER_SUPPLY = 50; /**************************************************** STORAGE /****************************************************/ mapping(address => uint256) public allowListTokensMintedByAddress; /**************************************************** CONSTRUCTOR /****************************************************/ constructor( string memory _baseURI, uint256 _allowlistSaleStartTimestamp, uint256 _publicSaleStartTimestamp, address payable _payableAddress1, address payable _payableAddress2 ) ERC721( "R0N1 World", "R0N1" ) { setBaseURI(_baseURI); allowlistSaleStartTimestamp = _allowlistSaleStartTimestamp; publicSaleStartTimestamp = _publicSaleStartTimestamp; PAYABLE_ADDRESS_1 = payable(_payableAddress1); PAYABLE_ADDRESS_2 = payable(_payableAddress2); _pause(); } /**************************************************** PRE-MINTING /****************************************************/ function preMintR0N1(address _to, uint256 _qty) public onlyOwner { uint256 currentSupply = totalSupply(); require(currentSupply + _qty <= MAX_OWNER_SUPPLY, "Not enough left"); for(uint i = 1; i <= _qty; i++) { _mint(_to, currentSupply + i); } } /**************************************************** MINTING /****************************************************/ function mintR0N1(uint256 _qty) public payable whenNotPaused nonReentrant { require(block.timestamp >= publicSaleStartTimestamp, "Sale has not started yet"); uint256 currentSupply = totalSupply(); require(price * _qty <= msg.value, "Not enough ether"); require(_qty <= MAX_PER_MINT, "This number of NFTs cannot be minted"); require(currentSupply + _qty <= MAX_SUPPLY, "Not enough left"); for(uint i = 1; i <= _qty; i++) { _mint(msg.sender, currentSupply + i); } } function allowListMintR0N1(uint256 _qty, uint _freeMint, bytes32[] calldata _proof) public payable whenNotPaused nonReentrant { require(block.timestamp >= allowlistSaleStartTimestamp, "Sale has not started yet"); uint256 currentSupply = totalSupply(); uint256 mintedSoFar = allowListTokensMintedByAddress[msg.sender]; uint256 numFreeMints = 0; if (_freeMint > mintedSoFar) { numFreeMints = _freeMint - mintedSoFar; } if (numFreeMints > _qty) { numFreeMints = _qty; } require(price * (_qty - numFreeMints) <= msg.value, "Not enough ether"); require(_qty <= MAX_PER_MINT, "This number of NFTs cannot be minted"); require(currentSupply + _qty <= MAX_SUPPLY, "Not enough left"); require(verifyMerkle(merkleLeaf(msg.sender, _freeMint), _proof), "Invalid Merkle Tree proof supplied"); require(mintedSoFar + _qty <= MAX_SUPPLY, "Reached wallet cap"); allowListTokensMintedByAddress[msg.sender] += _qty; for(uint i = 1; i <= _qty; i++) { _mint(msg.sender, currentSupply + i); } } /**************************************************** FINANCE /****************************************************/ function withdraw() public onlyOwner { PAYABLE_ADDRESS_1.call { value: (address(this).balance * 50) / 100 }(""); PAYABLE_ADDRESS_2.call { value: address(this).balance }(""); } /**************************************************** HELPER FUNCTIONS /****************************************************/ /************************************** BASEURI /**************************************/ function tokenURI(uint256 _tokenId) public view override returns (string memory) { require(_tokenId > 0 && _tokenId <= MAX_SUPPLY, "URI requested for invalid token"); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, _tokenId.toString())) : baseURI; } function setBaseURI(string memory _baseURI) public onlyOwner { baseURI = _baseURI; } /************************************** SET MUTABLE VARS /**************************************/ function setPrice(uint256 _newPrice) public onlyOwner { price = _newPrice; } function setMerkleRoot(bytes32 _newMerkleRoot) public onlyOwner { merkleRoot = _newMerkleRoot; } function setAllowlistSaleStartTimestamp(uint256 _allowlistSaleStartTimestamp) public onlyOwner { allowlistSaleStartTimestamp = _allowlistSaleStartTimestamp; } function setPublicSaleStartTimestamp(uint256 _publicSaleStartTimestamp) public onlyOwner { publicSaleStartTimestamp = _publicSaleStartTimestamp; } /************************************** PLAY AND PAUSE /**************************************/ function pause() public onlyOwner { _pause(); } function unpause() public onlyOwner { _unpause(); } /************************************** MERKLE HELPERS /**************************************/ function merkleLeaf(address _address, uint _freeMint) internal pure returns (bytes32) { return keccak256(abi.encodePacked(_address, _freeMint)); } function verifyMerkle(bytes32 _leaf, bytes32[] calldata _proof) internal view returns (bool) { return MerkleProof.verify(_proof, merkleRoot, _leaf); } receive() external payable {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.7; import "./ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account but rips out the core of the gas-wasting processing that comes from OpenZeppelin. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { uint256 numBurned = 0; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _owners.length - numBurned; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < totalSupply(), "ERC721Enumerable: global index out of bounds"); uint256 count; // When a token is burned, the index of all tokens above that index // should be shifted by 1 to the left. Since we do not pop entries of _owners, we need // to add back the missing shift. for(uint i = 0; i < _owners.length; i++ ){ if(_owners[i] == address(0)) count += 1; if(int(i) - int(count) == int(index)) return uint256(i) + 1; } revert("ERC721Enumerable: index not found"); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256 tokenId) { require(index < balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); uint count; for(uint i; i < _owners.length; i++){ if(owner == _owners[i]){ if(count == index) return i + 1; else count++; } } revert("ERC721Enumerable: owner index out of bounds"); } function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual override { if( to == address(0) ){ numBurned++; } super._beforeTokenTransfer(from, to, amount); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.7; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; import "./Address.sol"; abstract contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; string private _name; string private _symbol; // Mapping from token ID to owner address address[] internal _owners; mapping(uint256 => address) private _tokenApprovals; 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 (uint) { require(owner != address(0), "ERC721: balance query for the zero address"); uint count; for( uint i; i < _owners.length; ++i ){ if( owner == _owners[i] ) ++count; } return count; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId - 1]; 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 {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require( _exists(tokenId), "ERC721: approved query for nonexistent token" ); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require( _isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved" ); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require( _isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved" ); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require( _checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return (tokenId - 1) < _owners.length && _owners[tokenId - 1] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require( _exists(tokenId), "ERC721: operator query for nonexistent token" ); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _owners.push(to); emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _owners[tokenId - 1] = address(0); emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require( ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own" ); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _owners[tokenId - 1] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received( _msgSender(), from, tokenId, _data ) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert( "ERC721: transfer to non ERC721Receiver implementer" ); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.6; library Address { function isContract(address account) internal view returns (bool) { uint size; assembly { size := extcodesize(account) } return size > 0; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { 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 = keccak256(abi.encodePacked(computedHash, proofElement)); } else { // Hash(current element of the proof + current computed hash) computedHash = keccak256(abi.encodePacked(proofElement, computedHash)); } } // Check if the computed hash (root) is equal to the provided root return computedHash == root; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and make it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which 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 pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
{ "remappings": [], "optimizer": { "enabled": true, "runs": 200 }, "evmVersion": "petersburg", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"},{"internalType":"uint256","name":"_allowlistSaleStartTimestamp","type":"uint256"},{"internalType":"uint256","name":"_publicSaleStartTimestamp","type":"uint256"},{"internalType":"address payable","name":"_payableAddress1","type":"address"},{"internalType":"address payable","name":"_payableAddress2","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":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_OWNER_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PER_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PAYABLE_ADDRESS_1","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PAYABLE_ADDRESS_2","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_qty","type":"uint256"},{"internalType":"uint256","name":"_freeMint","type":"uint256"},{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"}],"name":"allowListMintR0N1","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"allowListTokensMintedByAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"allowlistSaleStartTimestamp","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":[],"name":"baseURI","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":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_qty","type":"uint256"}],"name":"mintR0N1","outputs":[],"stateMutability":"payable","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":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_qty","type":"uint256"}],"name":"preMintR0N1","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleStartTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_allowlistSaleStartTimestamp","type":"uint256"}],"name":"setAllowlistSaleStartTimestamp","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":"_baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_newMerkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_publicSaleStartTimestamp","type":"uint256"}],"name":"setPublicSaleStartTimestamp","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60c06040526000600555667c5850872380006009553480156200002157600080fd5b506040516200309d3803806200309d833981016040819052620000449162000413565b604080518082018252600a81527f52304e3120576f726c640000000000000000000000000000000000000000000060208083019182528351808501909452600484527f52304e3100000000000000000000000000000000000000000000000000000000908401528151919291620000be9160009162000321565b508051620000d490600190602084019062000321565b505050620000f1620000eb6200014060201b60201c565b62000144565b6006805460ff60a01b1916905560016007556200010e8562000196565b600b849055600c8390556001600160a01b03808316608052811660a0526200013562000229565b505050505062000581565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6006546001600160a01b0316331462000210576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b80516200022590600890602084019062000321565b5050565b6200024e60065474010000000000000000000000000000000000000000900460ff1690565b15620002b7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015260640162000207565b6006805460ff60a01b1916740100000000000000000000000000000000000000001790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258620003043390565b6040516001600160a01b03909116815260200160405180910390a1565b8280546200032f906200052b565b90600052602060002090601f0160209004810192826200035357600085556200039e565b82601f106200036e57805160ff19168380011785556200039e565b828001600101855582156200039e579182015b828111156200039e57825182559160200191906001019062000381565b50620003ac929150620003b0565b5090565b5b80821115620003ac5760008155600101620003b1565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b80516001600160a01b03811681146200040e57600080fd5b919050565b600080600080600060a086880312156200042c57600080fd5b85516001600160401b03808211156200044457600080fd5b818801915088601f8301126200045957600080fd5b8151818111156200046e576200046e620003c7565b604051601f8201601f19908116603f01168101908382118183101715620004995762000499620003c7565b81604052828152602093508b84848701011115620004b657600080fd5b600091505b82821015620004da5784820184015181830185015290830190620004bb565b82821115620004ec5760008484830101525b8099505050508088015195505050604086015192506200050f60608701620003f6565b91506200051f60808701620003f6565b90509295509295909350565b600181811c908216806200054057607f821691505b602082108114156200057b577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b60805160a051612ae8620005b56000396000818161064b0152610c430152600081816105f70152610bbb0152612ae86000f3fe6080604052600436106102555760003560e01c8063715018a611610139578063b5f26dcf116100b6578063c87b56dd1161007a578063c87b56dd146106a0578063d42c1a0b146106c0578063d7822c99146106ed578063e8fee10514610703578063e985e9c514610723578063f2fde38b1461076c57600080fd5b8063b5f26dcf146105e5578063b88d4fde14610619578063bf9aa9d014610639578063c0278d711461066d578063c31728e01461068d57600080fd5b80638da5cb5b116100fd5780638da5cb5b1461055c57806391b7f5ed1461057a57806395d89b411461059a578063a035b1fe146105af578063a22cb465146105c557600080fd5b8063715018a6146104ea5780637cb64759146104ff57806380c0fc841461051f5780638456cb5914610534578063854e5a5c1461054957600080fd5b806332cb6b0c116101d257806355f804b31161019657806355f804b3146104405780635c975abb146104605780636352211e1461047f57806363b7c7e31461049f5780636c0360eb146104b557806370a08231146104ca57600080fd5b806332cb6b0c146103c05780633ccfd60b146103d65780633f4ba83a146103eb57806342842e0e146104005780634f6ccce71461042057600080fd5b806318160ddd1161021957806318160ddd1461033557806323b872dd1461034a5780632b7306291461036a5780632eb4a7ab1461038a5780632f745c59146103a057600080fd5b806301ffc9a71461026157806306fdde0314610296578063081812fc146102b8578063095ea7b3146102f057806309d42b301461031257600080fd5b3661025c57005b600080fd5b34801561026d57600080fd5b5061028161027c366004612306565b61078c565b60405190151581526020015b60405180910390f35b3480156102a257600080fd5b506102ab6107b7565b60405161028d9190612382565b3480156102c457600080fd5b506102d86102d3366004612395565b610849565b6040516001600160a01b03909116815260200161028d565b3480156102fc57600080fd5b5061031061030b3660046123ca565b6108d6565b005b34801561031e57600080fd5b50610327601481565b60405190815260200161028d565b34801561034157600080fd5b506103276109ec565b34801561035657600080fd5b506103106103653660046123f4565b610a03565b34801561037657600080fd5b506103106103853660046123ca565b610a34565b34801561039657600080fd5b50610327600a5481565b3480156103ac57600080fd5b506103276103bb3660046123ca565b610ac9565b3480156103cc57600080fd5b50610327610dac81565b3480156103e257600080fd5b50610310610b87565b3480156103f757600080fd5b50610310610ca1565b34801561040c57600080fd5b5061031061041b3660046123f4565b610cd5565b34801561042c57600080fd5b5061032761043b366004612395565b610cf0565b34801561044c57600080fd5b5061031061045b3660046124bc565b610e3b565b34801561046c57600080fd5b50600654600160a01b900460ff16610281565b34801561048b57600080fd5b506102d861049a366004612395565b610e7c565b3480156104ab57600080fd5b50610327600b5481565b3480156104c157600080fd5b506102ab610f12565b3480156104d657600080fd5b506103276104e5366004612505565b610fa0565b3480156104f657600080fd5b5061031061106e565b34801561050b57600080fd5b5061031061051a366004612395565b6110a2565b34801561052b57600080fd5b50610327603281565b34801561054057600080fd5b506103106110d1565b610310610557366004612395565b611103565b34801561056857600080fd5b506006546001600160a01b03166102d8565b34801561058657600080fd5b50610310610595366004612395565b6112ae565b3480156105a657600080fd5b506102ab6112dd565b3480156105bb57600080fd5b5061032760095481565b3480156105d157600080fd5b506103106105e0366004612520565b6112ec565b3480156105f157600080fd5b506102d87f000000000000000000000000000000000000000000000000000000000000000081565b34801561062557600080fd5b5061031061063436600461255c565b6113b1565b34801561064557600080fd5b506102d87f000000000000000000000000000000000000000000000000000000000000000081565b34801561067957600080fd5b50610310610688366004612395565b6113e3565b61031061069b3660046125d8565b611412565b3480156106ac57600080fd5b506102ab6106bb366004612395565b611712565b3480156106cc57600080fd5b506103276106db366004612505565b600d6020526000908152604090205481565b3480156106f957600080fd5b50610327600c5481565b34801561070f57600080fd5b5061031061071e366004612395565b611849565b34801561072f57600080fd5b5061028161073e36600461265b565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205460ff1690565b34801561077857600080fd5b50610310610787366004612505565b611878565b60006001600160e01b0319821663780e9d6360e01b14806107b157506107b182611913565b92915050565b6060600080546107c69061268e565b80601f01602080910402602001604051908101604052809291908181526020018280546107f29061268e565b801561083f5780601f106108145761010080835404028352916020019161083f565b820191906000526020600020905b81548152906001019060200180831161082257829003601f168201915b5050505050905090565b600061085482611963565b6108ba5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600360205260409020546001600160a01b031690565b60006108e182610e7c565b9050806001600160a01b0316836001600160a01b0316141561094f5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016108b1565b336001600160a01b038216148061096b575061096b813361073e565b6109dd5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016108b1565b6109e783836119b8565b505050565b6005546002546000916109fe916126df565b905090565b610a0d3382611a26565b610a295760405162461bcd60e51b81526004016108b1906126f6565b6109e7838383611b0c565b6006546001600160a01b03163314610a5e5760405162461bcd60e51b81526004016108b190612747565b6000610a686109ec565b90506032610a76838361277c565b1115610a945760405162461bcd60e51b81526004016108b190612794565b60015b828111610ac357610ab184610aac838561277c565b611c77565b80610abb816127bd565b915050610a97565b50505050565b6000610ad483610fa0565b8210610af25760405162461bcd60e51b81526004016108b1906127d8565b6000805b600254811015610b6e5760028181548110610b1357610b13612823565b6000918252602090912001546001600160a01b0386811691161415610b5c5783821415610b4e57610b4581600161277c565b925050506107b1565b81610b58816127bd565b9250505b80610b66816127bd565b915050610af6565b5060405162461bcd60e51b81526004016108b1906127d8565b6006546001600160a01b03163314610bb15760405162461bcd60e51b81526004016108b190612747565b6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000166064610be930316032612839565b610bf3919061286e565b604051600081818185875af1925050503d8060008114610c2f576040519150601f19603f3d011682016040523d82523d6000602084013e610c34565b606091505b50506040516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169150303190600081818185875af1925050503d80600081146109e7576040519150601f19603f3d011682016040523d82523d6000602084013e505050565b6006546001600160a01b03163314610ccb5760405162461bcd60e51b81526004016108b190612747565b610cd3611dab565b565b6109e7838383604051806020016040528060008152506113b1565b6000610cfa6109ec565b8210610d5d5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016108b1565b6000805b600254811015610de85760006001600160a01b031660028281548110610d8957610d89612823565b6000918252602090912001546001600160a01b03161415610db257610daf60018361277c565b91505b83610dbd8383612882565b1415610dd657610dce81600161277c565b949350505050565b80610de0816127bd565b915050610d61565b5060405162461bcd60e51b815260206004820152602160248201527f455243373231456e756d657261626c653a20696e646578206e6f7420666f756e6044820152601960fa1b60648201526084016108b1565b6006546001600160a01b03163314610e655760405162461bcd60e51b81526004016108b190612747565b8051610e78906008906020840190612257565b5050565b6000806002610e8c6001856126df565b81548110610e9c57610e9c612823565b6000918252602090912001546001600160a01b03169050806107b15760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016108b1565b60088054610f1f9061268e565b80601f0160208091040260200160405190810160405280929190818152602001828054610f4b9061268e565b8015610f985780601f10610f6d57610100808354040283529160200191610f98565b820191906000526020600020905b815481529060010190602001808311610f7b57829003601f168201915b505050505081565b60006001600160a01b03821661100b5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016108b1565b6000805b600254811015611067576002818154811061102c5761102c612823565b6000918252602090912001546001600160a01b038581169116141561105757611054826127bd565b91505b611060816127bd565b905061100f565b5092915050565b6006546001600160a01b031633146110985760405162461bcd60e51b81526004016108b190612747565b610cd36000611e48565b6006546001600160a01b031633146110cc5760405162461bcd60e51b81526004016108b190612747565b600a55565b6006546001600160a01b031633146110fb5760405162461bcd60e51b81526004016108b190612747565b610cd3611e9a565b600654600160a01b900460ff161561112d5760405162461bcd60e51b81526004016108b1906128c1565b600260075414156111805760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016108b1565b6002600755600c544210156111d25760405162461bcd60e51b815260206004820152601860248201527714d85b19481a185cc81b9bdd081cdd185c9d1959081e595d60421b60448201526064016108b1565b60006111dc6109ec565b905034826009546111ed9190612839565b111561122e5760405162461bcd60e51b815260206004820152601060248201526f2737ba1032b737bab3b41032ba3432b960811b60448201526064016108b1565b601482111561124f5760405162461bcd60e51b81526004016108b1906128eb565b610dac61125c838361277c565b111561127a5760405162461bcd60e51b81526004016108b190612794565b60015b8281116112a45761129233610aac838561277c565b8061129c816127bd565b91505061127d565b5050600160075550565b6006546001600160a01b031633146112d85760405162461bcd60e51b81526004016108b190612747565b600955565b6060600180546107c69061268e565b6001600160a01b0382163314156113455760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016108b1565b3360008181526004602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6113bb3383611a26565b6113d75760405162461bcd60e51b81526004016108b1906126f6565b610ac384848484611eff565b6006546001600160a01b0316331461140d5760405162461bcd60e51b81526004016108b190612747565b600b55565b600654600160a01b900460ff161561143c5760405162461bcd60e51b81526004016108b1906128c1565b6002600754141561148f5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016108b1565b6002600755600b544210156114e15760405162461bcd60e51b815260206004820152601860248201527714d85b19481a185cc81b9bdd081cdd185c9d1959081e595d60421b60448201526064016108b1565b60006114eb6109ec565b336000908152600d6020526040812054919250818611156115135761151082876126df565b90505b8681111561151e5750855b3461152982896126df565b6009546115369190612839565b11156115775760405162461bcd60e51b815260206004820152601060248201526f2737ba1032b737bab3b41032ba3432b960811b60448201526064016108b1565b60148711156115985760405162461bcd60e51b81526004016108b1906128eb565b610dac6115a5888561277c565b11156115c35760405162461bcd60e51b81526004016108b190612794565b604080513360601b6bffffffffffffffffffffffff191660208083019190915260348083018a9052835180840390910181526054909201909252805191012061160d908686611f32565b6116645760405162461bcd60e51b815260206004820152602260248201527f496e76616c6964204d65726b6c6520547265652070726f6f6620737570706c69604482015261195960f21b60648201526084016108b1565b610dac611671888461277c565b11156116b45760405162461bcd60e51b81526020600482015260126024820152710526561636865642077616c6c6574206361760741b60448201526064016108b1565b336000908152600d6020526040812080548992906116d390849061277c565b90915550600190505b878111611703576116f133610aac838761277c565b806116fb816127bd565b9150506116dc565b50506001600755505050505050565b60606000821180156117265750610dac8211155b6117725760405162461bcd60e51b815260206004820152601f60248201527f5552492072657175657374656420666f7220696e76616c696420746f6b656e0060448201526064016108b1565b6000600880546117819061268e565b90501161181857600880546117959061268e565b80601f01602080910402602001604051908101604052809291908181526020018280546117c19061268e565b801561180e5780601f106117e35761010080835404028352916020019161180e565b820191906000526020600020905b8154815290600101906020018083116117f157829003601f168201915b50505050506107b1565b600861182383611f75565b60405160200161183492919061294b565b60405160208183030381529060405292915050565b6006546001600160a01b031633146118735760405162461bcd60e51b81526004016108b190612747565b600c55565b6006546001600160a01b031633146118a25760405162461bcd60e51b81526004016108b190612747565b6001600160a01b0381166119075760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108b1565b61191081611e48565b50565b60006001600160e01b031982166380ac58cd60e01b148061194457506001600160e01b03198216635b5e139f60e01b145b806107b157506301ffc9a760e01b6001600160e01b03198316146107b1565b6002546000906119746001846126df565b1080156107b157506000600261198b6001856126df565b8154811061199b5761199b612823565b6000918252602090912001546001600160a01b0316141592915050565b600081815260036020526040902080546001600160a01b0319166001600160a01b03841690811790915581906119ed82610e7c565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611a3182611963565b611a925760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016108b1565b6000611a9d83610e7c565b9050806001600160a01b0316846001600160a01b03161480611ad85750836001600160a01b0316611acd84610849565b6001600160a01b0316145b80610dce57506001600160a01b0380821660009081526004602090815260408083209388168352929052205460ff16610dce565b826001600160a01b0316611b1f82610e7c565b6001600160a01b031614611b875760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016108b1565b6001600160a01b038216611be95760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016108b1565b611bf4838383612073565b611bff6000826119b8565b816002611c0d6001846126df565b81548110611c1d57611c1d612823565b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b6001600160a01b038216611ccd5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016108b1565b611cd681611963565b15611d235760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016108b1565b611d2f60008383612073565b6002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180546001600160a01b0319166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600654600160a01b900460ff16611dfb5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016108b1565b6006805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600654600160a01b900460ff1615611ec45760405162461bcd60e51b81526004016108b1906128c1565b6006805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611e2b3390565b611f0a848484611b0c565b611f168484848461209b565b610ac35760405162461bcd60e51b81526004016108b1906129f2565b6000610dce83838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600a5491508790506121a8565b606081611f995750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611fc35780611fad816127bd565b9150611fbc9050600a8361286e565b9150611f9d565b60008167ffffffffffffffff811115611fde57611fde612430565b6040519080825280601f01601f191660200182016040528015612008576020820181803683370190505b5090505b8415610dce5761201d6001836126df565b915061202a600a86612a44565b61203590603061277c565b60f81b81838151811061204a5761204a612823565b60200101906001600160f81b031916908160001a90535061206c600a8661286e565b945061200c565b6001600160a01b0382166109e75760058054906000612091836127bd565b9190505550505050565b60006001600160a01b0384163b1561219d57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906120df903390899088908890600401612a58565b602060405180830381600087803b1580156120f957600080fd5b505af1925050508015612129575060408051601f3d908101601f1916820190925261212691810190612a95565b60015b612183573d808015612157576040519150601f19603f3d011682016040523d82523d6000602084013e61215c565b606091505b50805161217b5760405162461bcd60e51b81526004016108b1906129f2565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610dce565b506001949350505050565b600081815b855181101561224c5760008682815181106121ca576121ca612823565b6020026020010151905080831161220c576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250612239565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b5080612244816127bd565b9150506121ad565b509092149392505050565b8280546122639061268e565b90600052602060002090601f01602090048101928261228557600085556122cb565b82601f1061229e57805160ff19168380011785556122cb565b828001600101855582156122cb579182015b828111156122cb5782518255916020019190600101906122b0565b506122d79291506122db565b5090565b5b808211156122d757600081556001016122dc565b6001600160e01b03198116811461191057600080fd5b60006020828403121561231857600080fd5b8135612323816122f0565b9392505050565b60005b8381101561234557818101518382015260200161232d565b83811115610ac35750506000910152565b6000815180845261236e81602086016020860161232a565b601f01601f19169290920160200192915050565b6020815260006123236020830184612356565b6000602082840312156123a757600080fd5b5035919050565b80356001600160a01b03811681146123c557600080fd5b919050565b600080604083850312156123dd57600080fd5b6123e6836123ae565b946020939093013593505050565b60008060006060848603121561240957600080fd5b612412846123ae565b9250612420602085016123ae565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561246157612461612430565b604051601f8501601f19908116603f0116810190828211818310171561248957612489612430565b816040528093508581528686860111156124a257600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156124ce57600080fd5b813567ffffffffffffffff8111156124e557600080fd5b8201601f810184136124f657600080fd5b610dce84823560208401612446565b60006020828403121561251757600080fd5b612323826123ae565b6000806040838503121561253357600080fd5b61253c836123ae565b91506020830135801515811461255157600080fd5b809150509250929050565b6000806000806080858703121561257257600080fd5b61257b856123ae565b9350612589602086016123ae565b925060408501359150606085013567ffffffffffffffff8111156125ac57600080fd5b8501601f810187136125bd57600080fd5b6125cc87823560208401612446565b91505092959194509250565b600080600080606085870312156125ee57600080fd5b8435935060208501359250604085013567ffffffffffffffff8082111561261457600080fd5b818701915087601f83011261262857600080fd5b81358181111561263757600080fd5b8860208260051b850101111561264c57600080fd5b95989497505060200194505050565b6000806040838503121561266e57600080fd5b612677836123ae565b9150612685602084016123ae565b90509250929050565b600181811c908216806126a257607f821691505b602082108114156126c357634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000828210156126f1576126f16126c9565b500390565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000821982111561278f5761278f6126c9565b500190565b6020808252600f908201526e139bdd08195b9bdd59da081b19599d608a1b604082015260600190565b60006000198214156127d1576127d16126c9565b5060010190565b6020808252602b908201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560408201526a74206f6620626f756e647360a81b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b6000816000190483118215151615612853576128536126c9565b500290565b634e487b7160e01b600052601260045260246000fd5b60008261287d5761287d612858565b500490565b60008083128015600160ff1b8501841216156128a0576128a06126c9565b6001600160ff1b03840183138116156128bb576128bb6126c9565b50500390565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b60208082526024908201527f54686973206e756d626572206f66204e4654732063616e6e6f74206265206d696040820152631b9d195960e21b606082015260800190565b6000815161294181856020860161232a565b9290920192915050565b600080845481600182811c91508083168061296757607f831692505b602080841082141561298757634e487b7160e01b86526022600452602486fd5b81801561299b57600181146129ac576129d9565b60ff198616895284890196506129d9565b60008b81526020902060005b868110156129d15781548b8201529085019083016129b8565b505084890196505b5050505050506129e9818561292f565b95945050505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b600082612a5357612a53612858565b500690565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612a8b90830184612356565b9695505050505050565b600060208284031215612aa757600080fd5b8151612323816122f056fea2646970667358221220723dedf07c8ae3e8a77ea3582c3663d013ae4b5ec5dfac48fb869e8f22825ea064736f6c6343000809003300000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000006200610000000000000000000000000000000000000000000000000000000000620109c0000000000000000000000000cdda793a1bb4e8b9ff27023c527e28a2a113681c0000000000000000000000008dc6c6732e25c2d6d12b5dab20093c07ba299006000000000000000000000000000000000000000000000000000000000000005368747470733a2f2f73746f726167656170692e666c65656b2e636f2f34333564363633322d393937622d343939662d613766332d3430643939616631653137332d6275636b65742f72306e312d776f726c642f00000000000000000000000000
Deployed Bytecode
0x6080604052600436106102555760003560e01c8063715018a611610139578063b5f26dcf116100b6578063c87b56dd1161007a578063c87b56dd146106a0578063d42c1a0b146106c0578063d7822c99146106ed578063e8fee10514610703578063e985e9c514610723578063f2fde38b1461076c57600080fd5b8063b5f26dcf146105e5578063b88d4fde14610619578063bf9aa9d014610639578063c0278d711461066d578063c31728e01461068d57600080fd5b80638da5cb5b116100fd5780638da5cb5b1461055c57806391b7f5ed1461057a57806395d89b411461059a578063a035b1fe146105af578063a22cb465146105c557600080fd5b8063715018a6146104ea5780637cb64759146104ff57806380c0fc841461051f5780638456cb5914610534578063854e5a5c1461054957600080fd5b806332cb6b0c116101d257806355f804b31161019657806355f804b3146104405780635c975abb146104605780636352211e1461047f57806363b7c7e31461049f5780636c0360eb146104b557806370a08231146104ca57600080fd5b806332cb6b0c146103c05780633ccfd60b146103d65780633f4ba83a146103eb57806342842e0e146104005780634f6ccce71461042057600080fd5b806318160ddd1161021957806318160ddd1461033557806323b872dd1461034a5780632b7306291461036a5780632eb4a7ab1461038a5780632f745c59146103a057600080fd5b806301ffc9a71461026157806306fdde0314610296578063081812fc146102b8578063095ea7b3146102f057806309d42b301461031257600080fd5b3661025c57005b600080fd5b34801561026d57600080fd5b5061028161027c366004612306565b61078c565b60405190151581526020015b60405180910390f35b3480156102a257600080fd5b506102ab6107b7565b60405161028d9190612382565b3480156102c457600080fd5b506102d86102d3366004612395565b610849565b6040516001600160a01b03909116815260200161028d565b3480156102fc57600080fd5b5061031061030b3660046123ca565b6108d6565b005b34801561031e57600080fd5b50610327601481565b60405190815260200161028d565b34801561034157600080fd5b506103276109ec565b34801561035657600080fd5b506103106103653660046123f4565b610a03565b34801561037657600080fd5b506103106103853660046123ca565b610a34565b34801561039657600080fd5b50610327600a5481565b3480156103ac57600080fd5b506103276103bb3660046123ca565b610ac9565b3480156103cc57600080fd5b50610327610dac81565b3480156103e257600080fd5b50610310610b87565b3480156103f757600080fd5b50610310610ca1565b34801561040c57600080fd5b5061031061041b3660046123f4565b610cd5565b34801561042c57600080fd5b5061032761043b366004612395565b610cf0565b34801561044c57600080fd5b5061031061045b3660046124bc565b610e3b565b34801561046c57600080fd5b50600654600160a01b900460ff16610281565b34801561048b57600080fd5b506102d861049a366004612395565b610e7c565b3480156104ab57600080fd5b50610327600b5481565b3480156104c157600080fd5b506102ab610f12565b3480156104d657600080fd5b506103276104e5366004612505565b610fa0565b3480156104f657600080fd5b5061031061106e565b34801561050b57600080fd5b5061031061051a366004612395565b6110a2565b34801561052b57600080fd5b50610327603281565b34801561054057600080fd5b506103106110d1565b610310610557366004612395565b611103565b34801561056857600080fd5b506006546001600160a01b03166102d8565b34801561058657600080fd5b50610310610595366004612395565b6112ae565b3480156105a657600080fd5b506102ab6112dd565b3480156105bb57600080fd5b5061032760095481565b3480156105d157600080fd5b506103106105e0366004612520565b6112ec565b3480156105f157600080fd5b506102d87f000000000000000000000000cdda793a1bb4e8b9ff27023c527e28a2a113681c81565b34801561062557600080fd5b5061031061063436600461255c565b6113b1565b34801561064557600080fd5b506102d87f0000000000000000000000008dc6c6732e25c2d6d12b5dab20093c07ba29900681565b34801561067957600080fd5b50610310610688366004612395565b6113e3565b61031061069b3660046125d8565b611412565b3480156106ac57600080fd5b506102ab6106bb366004612395565b611712565b3480156106cc57600080fd5b506103276106db366004612505565b600d6020526000908152604090205481565b3480156106f957600080fd5b50610327600c5481565b34801561070f57600080fd5b5061031061071e366004612395565b611849565b34801561072f57600080fd5b5061028161073e36600461265b565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205460ff1690565b34801561077857600080fd5b50610310610787366004612505565b611878565b60006001600160e01b0319821663780e9d6360e01b14806107b157506107b182611913565b92915050565b6060600080546107c69061268e565b80601f01602080910402602001604051908101604052809291908181526020018280546107f29061268e565b801561083f5780601f106108145761010080835404028352916020019161083f565b820191906000526020600020905b81548152906001019060200180831161082257829003601f168201915b5050505050905090565b600061085482611963565b6108ba5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600360205260409020546001600160a01b031690565b60006108e182610e7c565b9050806001600160a01b0316836001600160a01b0316141561094f5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016108b1565b336001600160a01b038216148061096b575061096b813361073e565b6109dd5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016108b1565b6109e783836119b8565b505050565b6005546002546000916109fe916126df565b905090565b610a0d3382611a26565b610a295760405162461bcd60e51b81526004016108b1906126f6565b6109e7838383611b0c565b6006546001600160a01b03163314610a5e5760405162461bcd60e51b81526004016108b190612747565b6000610a686109ec565b90506032610a76838361277c565b1115610a945760405162461bcd60e51b81526004016108b190612794565b60015b828111610ac357610ab184610aac838561277c565b611c77565b80610abb816127bd565b915050610a97565b50505050565b6000610ad483610fa0565b8210610af25760405162461bcd60e51b81526004016108b1906127d8565b6000805b600254811015610b6e5760028181548110610b1357610b13612823565b6000918252602090912001546001600160a01b0386811691161415610b5c5783821415610b4e57610b4581600161277c565b925050506107b1565b81610b58816127bd565b9250505b80610b66816127bd565b915050610af6565b5060405162461bcd60e51b81526004016108b1906127d8565b6006546001600160a01b03163314610bb15760405162461bcd60e51b81526004016108b190612747565b6001600160a01b037f000000000000000000000000cdda793a1bb4e8b9ff27023c527e28a2a113681c166064610be930316032612839565b610bf3919061286e565b604051600081818185875af1925050503d8060008114610c2f576040519150601f19603f3d011682016040523d82523d6000602084013e610c34565b606091505b50506040516001600160a01b037f0000000000000000000000008dc6c6732e25c2d6d12b5dab20093c07ba299006169150303190600081818185875af1925050503d80600081146109e7576040519150601f19603f3d011682016040523d82523d6000602084013e505050565b6006546001600160a01b03163314610ccb5760405162461bcd60e51b81526004016108b190612747565b610cd3611dab565b565b6109e7838383604051806020016040528060008152506113b1565b6000610cfa6109ec565b8210610d5d5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016108b1565b6000805b600254811015610de85760006001600160a01b031660028281548110610d8957610d89612823565b6000918252602090912001546001600160a01b03161415610db257610daf60018361277c565b91505b83610dbd8383612882565b1415610dd657610dce81600161277c565b949350505050565b80610de0816127bd565b915050610d61565b5060405162461bcd60e51b815260206004820152602160248201527f455243373231456e756d657261626c653a20696e646578206e6f7420666f756e6044820152601960fa1b60648201526084016108b1565b6006546001600160a01b03163314610e655760405162461bcd60e51b81526004016108b190612747565b8051610e78906008906020840190612257565b5050565b6000806002610e8c6001856126df565b81548110610e9c57610e9c612823565b6000918252602090912001546001600160a01b03169050806107b15760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016108b1565b60088054610f1f9061268e565b80601f0160208091040260200160405190810160405280929190818152602001828054610f4b9061268e565b8015610f985780601f10610f6d57610100808354040283529160200191610f98565b820191906000526020600020905b815481529060010190602001808311610f7b57829003601f168201915b505050505081565b60006001600160a01b03821661100b5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016108b1565b6000805b600254811015611067576002818154811061102c5761102c612823565b6000918252602090912001546001600160a01b038581169116141561105757611054826127bd565b91505b611060816127bd565b905061100f565b5092915050565b6006546001600160a01b031633146110985760405162461bcd60e51b81526004016108b190612747565b610cd36000611e48565b6006546001600160a01b031633146110cc5760405162461bcd60e51b81526004016108b190612747565b600a55565b6006546001600160a01b031633146110fb5760405162461bcd60e51b81526004016108b190612747565b610cd3611e9a565b600654600160a01b900460ff161561112d5760405162461bcd60e51b81526004016108b1906128c1565b600260075414156111805760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016108b1565b6002600755600c544210156111d25760405162461bcd60e51b815260206004820152601860248201527714d85b19481a185cc81b9bdd081cdd185c9d1959081e595d60421b60448201526064016108b1565b60006111dc6109ec565b905034826009546111ed9190612839565b111561122e5760405162461bcd60e51b815260206004820152601060248201526f2737ba1032b737bab3b41032ba3432b960811b60448201526064016108b1565b601482111561124f5760405162461bcd60e51b81526004016108b1906128eb565b610dac61125c838361277c565b111561127a5760405162461bcd60e51b81526004016108b190612794565b60015b8281116112a45761129233610aac838561277c565b8061129c816127bd565b91505061127d565b5050600160075550565b6006546001600160a01b031633146112d85760405162461bcd60e51b81526004016108b190612747565b600955565b6060600180546107c69061268e565b6001600160a01b0382163314156113455760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016108b1565b3360008181526004602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6113bb3383611a26565b6113d75760405162461bcd60e51b81526004016108b1906126f6565b610ac384848484611eff565b6006546001600160a01b0316331461140d5760405162461bcd60e51b81526004016108b190612747565b600b55565b600654600160a01b900460ff161561143c5760405162461bcd60e51b81526004016108b1906128c1565b6002600754141561148f5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016108b1565b6002600755600b544210156114e15760405162461bcd60e51b815260206004820152601860248201527714d85b19481a185cc81b9bdd081cdd185c9d1959081e595d60421b60448201526064016108b1565b60006114eb6109ec565b336000908152600d6020526040812054919250818611156115135761151082876126df565b90505b8681111561151e5750855b3461152982896126df565b6009546115369190612839565b11156115775760405162461bcd60e51b815260206004820152601060248201526f2737ba1032b737bab3b41032ba3432b960811b60448201526064016108b1565b60148711156115985760405162461bcd60e51b81526004016108b1906128eb565b610dac6115a5888561277c565b11156115c35760405162461bcd60e51b81526004016108b190612794565b604080513360601b6bffffffffffffffffffffffff191660208083019190915260348083018a9052835180840390910181526054909201909252805191012061160d908686611f32565b6116645760405162461bcd60e51b815260206004820152602260248201527f496e76616c6964204d65726b6c6520547265652070726f6f6620737570706c69604482015261195960f21b60648201526084016108b1565b610dac611671888461277c565b11156116b45760405162461bcd60e51b81526020600482015260126024820152710526561636865642077616c6c6574206361760741b60448201526064016108b1565b336000908152600d6020526040812080548992906116d390849061277c565b90915550600190505b878111611703576116f133610aac838761277c565b806116fb816127bd565b9150506116dc565b50506001600755505050505050565b60606000821180156117265750610dac8211155b6117725760405162461bcd60e51b815260206004820152601f60248201527f5552492072657175657374656420666f7220696e76616c696420746f6b656e0060448201526064016108b1565b6000600880546117819061268e565b90501161181857600880546117959061268e565b80601f01602080910402602001604051908101604052809291908181526020018280546117c19061268e565b801561180e5780601f106117e35761010080835404028352916020019161180e565b820191906000526020600020905b8154815290600101906020018083116117f157829003601f168201915b50505050506107b1565b600861182383611f75565b60405160200161183492919061294b565b60405160208183030381529060405292915050565b6006546001600160a01b031633146118735760405162461bcd60e51b81526004016108b190612747565b600c55565b6006546001600160a01b031633146118a25760405162461bcd60e51b81526004016108b190612747565b6001600160a01b0381166119075760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108b1565b61191081611e48565b50565b60006001600160e01b031982166380ac58cd60e01b148061194457506001600160e01b03198216635b5e139f60e01b145b806107b157506301ffc9a760e01b6001600160e01b03198316146107b1565b6002546000906119746001846126df565b1080156107b157506000600261198b6001856126df565b8154811061199b5761199b612823565b6000918252602090912001546001600160a01b0316141592915050565b600081815260036020526040902080546001600160a01b0319166001600160a01b03841690811790915581906119ed82610e7c565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611a3182611963565b611a925760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016108b1565b6000611a9d83610e7c565b9050806001600160a01b0316846001600160a01b03161480611ad85750836001600160a01b0316611acd84610849565b6001600160a01b0316145b80610dce57506001600160a01b0380821660009081526004602090815260408083209388168352929052205460ff16610dce565b826001600160a01b0316611b1f82610e7c565b6001600160a01b031614611b875760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016108b1565b6001600160a01b038216611be95760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016108b1565b611bf4838383612073565b611bff6000826119b8565b816002611c0d6001846126df565b81548110611c1d57611c1d612823565b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b6001600160a01b038216611ccd5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016108b1565b611cd681611963565b15611d235760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016108b1565b611d2f60008383612073565b6002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180546001600160a01b0319166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600654600160a01b900460ff16611dfb5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016108b1565b6006805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600654600160a01b900460ff1615611ec45760405162461bcd60e51b81526004016108b1906128c1565b6006805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611e2b3390565b611f0a848484611b0c565b611f168484848461209b565b610ac35760405162461bcd60e51b81526004016108b1906129f2565b6000610dce83838080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600a5491508790506121a8565b606081611f995750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611fc35780611fad816127bd565b9150611fbc9050600a8361286e565b9150611f9d565b60008167ffffffffffffffff811115611fde57611fde612430565b6040519080825280601f01601f191660200182016040528015612008576020820181803683370190505b5090505b8415610dce5761201d6001836126df565b915061202a600a86612a44565b61203590603061277c565b60f81b81838151811061204a5761204a612823565b60200101906001600160f81b031916908160001a90535061206c600a8661286e565b945061200c565b6001600160a01b0382166109e75760058054906000612091836127bd565b9190505550505050565b60006001600160a01b0384163b1561219d57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906120df903390899088908890600401612a58565b602060405180830381600087803b1580156120f957600080fd5b505af1925050508015612129575060408051601f3d908101601f1916820190925261212691810190612a95565b60015b612183573d808015612157576040519150601f19603f3d011682016040523d82523d6000602084013e61215c565b606091505b50805161217b5760405162461bcd60e51b81526004016108b1906129f2565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610dce565b506001949350505050565b600081815b855181101561224c5760008682815181106121ca576121ca612823565b6020026020010151905080831161220c576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250612239565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b5080612244816127bd565b9150506121ad565b509092149392505050565b8280546122639061268e565b90600052602060002090601f01602090048101928261228557600085556122cb565b82601f1061229e57805160ff19168380011785556122cb565b828001600101855582156122cb579182015b828111156122cb5782518255916020019190600101906122b0565b506122d79291506122db565b5090565b5b808211156122d757600081556001016122dc565b6001600160e01b03198116811461191057600080fd5b60006020828403121561231857600080fd5b8135612323816122f0565b9392505050565b60005b8381101561234557818101518382015260200161232d565b83811115610ac35750506000910152565b6000815180845261236e81602086016020860161232a565b601f01601f19169290920160200192915050565b6020815260006123236020830184612356565b6000602082840312156123a757600080fd5b5035919050565b80356001600160a01b03811681146123c557600080fd5b919050565b600080604083850312156123dd57600080fd5b6123e6836123ae565b946020939093013593505050565b60008060006060848603121561240957600080fd5b612412846123ae565b9250612420602085016123ae565b9150604084013590509250925092565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561246157612461612430565b604051601f8501601f19908116603f0116810190828211818310171561248957612489612430565b816040528093508581528686860111156124a257600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156124ce57600080fd5b813567ffffffffffffffff8111156124e557600080fd5b8201601f810184136124f657600080fd5b610dce84823560208401612446565b60006020828403121561251757600080fd5b612323826123ae565b6000806040838503121561253357600080fd5b61253c836123ae565b91506020830135801515811461255157600080fd5b809150509250929050565b6000806000806080858703121561257257600080fd5b61257b856123ae565b9350612589602086016123ae565b925060408501359150606085013567ffffffffffffffff8111156125ac57600080fd5b8501601f810187136125bd57600080fd5b6125cc87823560208401612446565b91505092959194509250565b600080600080606085870312156125ee57600080fd5b8435935060208501359250604085013567ffffffffffffffff8082111561261457600080fd5b818701915087601f83011261262857600080fd5b81358181111561263757600080fd5b8860208260051b850101111561264c57600080fd5b95989497505060200194505050565b6000806040838503121561266e57600080fd5b612677836123ae565b9150612685602084016123ae565b90509250929050565b600181811c908216806126a257607f821691505b602082108114156126c357634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000828210156126f1576126f16126c9565b500390565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000821982111561278f5761278f6126c9565b500190565b6020808252600f908201526e139bdd08195b9bdd59da081b19599d608a1b604082015260600190565b60006000198214156127d1576127d16126c9565b5060010190565b6020808252602b908201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560408201526a74206f6620626f756e647360a81b606082015260800190565b634e487b7160e01b600052603260045260246000fd5b6000816000190483118215151615612853576128536126c9565b500290565b634e487b7160e01b600052601260045260246000fd5b60008261287d5761287d612858565b500490565b60008083128015600160ff1b8501841216156128a0576128a06126c9565b6001600160ff1b03840183138116156128bb576128bb6126c9565b50500390565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b60208082526024908201527f54686973206e756d626572206f66204e4654732063616e6e6f74206265206d696040820152631b9d195960e21b606082015260800190565b6000815161294181856020860161232a565b9290920192915050565b600080845481600182811c91508083168061296757607f831692505b602080841082141561298757634e487b7160e01b86526022600452602486fd5b81801561299b57600181146129ac576129d9565b60ff198616895284890196506129d9565b60008b81526020902060005b868110156129d15781548b8201529085019083016129b8565b505084890196505b5050505050506129e9818561292f565b95945050505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b600082612a5357612a53612858565b500690565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612a8b90830184612356565b9695505050505050565b600060208284031215612aa757600080fd5b8151612323816122f056fea2646970667358221220723dedf07c8ae3e8a77ea3582c3663d013ae4b5ec5dfac48fb869e8f22825ea064736f6c63430008090033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000006200610000000000000000000000000000000000000000000000000000000000620109c0000000000000000000000000cdda793a1bb4e8b9ff27023c527e28a2a113681c0000000000000000000000008dc6c6732e25c2d6d12b5dab20093c07ba299006000000000000000000000000000000000000000000000000000000000000005368747470733a2f2f73746f726167656170692e666c65656b2e636f2f34333564363633322d393937622d343939662d613766332d3430643939616631653137332d6275636b65742f72306e312d776f726c642f00000000000000000000000000
-----Decoded View---------------
Arg [0] : _baseURI (string): https://storageapi.fleek.co/435d6632-997b-499f-a7f3-40d99af1e173-bucket/r0n1-world/
Arg [1] : _allowlistSaleStartTimestamp (uint256): 1644192000
Arg [2] : _publicSaleStartTimestamp (uint256): 1644235200
Arg [3] : _payableAddress1 (address): 0xcdDA793a1BB4E8b9fF27023c527e28A2a113681C
Arg [4] : _payableAddress2 (address): 0x8Dc6c6732E25C2D6d12B5dAb20093c07ba299006
-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 0000000000000000000000000000000000000000000000000000000062006100
Arg [2] : 00000000000000000000000000000000000000000000000000000000620109c0
Arg [3] : 000000000000000000000000cdda793a1bb4e8b9ff27023c527e28a2a113681c
Arg [4] : 0000000000000000000000008dc6c6732e25c2d6d12b5dab20093c07ba299006
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000053
Arg [6] : 68747470733a2f2f73746f726167656170692e666c65656b2e636f2f34333564
Arg [7] : 363633322d393937622d343939662d613766332d343064393961663165313733
Arg [8] : 2d6275636b65742f72306e312d776f726c642f00000000000000000000000000
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.