Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
2,339 KANDJI
Holders
572
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
3 KANDJILoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Irukandji
Compiler Version
v0.8.13+commit.abaa5c0e
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
/* ▐ ██ ████ ▄██████Ç ,▄▄▄███████████████▄ ,▄▄███████████████████████████▄L ▄▄████████████████████████████████▀▀⌠' ▄████████████▀▀▀▀▀▀▀▀▀███████████▀⌠ ▄███████▀▀⌠ ,▄▄███▄ ▀██████▀ ▄█████▀⌠ ▄███████ ╙████ .████▀ █████████ "██ ▄██▀ ████ ▀██▄▄╓▄▄█W █w ╔██ ███ ████████ J █▀ ¬███ ██,,███▄ ▐█ ███▄▄▄ ▐████▀ █ ╚█▄▄╓▄▀ ▐███▄ ▄ █ ╙███ █████ ▀▄ ▀███▄▄▄██████▀ ▀█▄▄L ▄█████████▀ ▀▀████████████████▀▀⌠ '⌠⌠' ___ ________ ___ ___ ___ __ ________ ________ ________ ___ ___ |\ \|\ __ \|\ \|\ \|\ \|\ \ |\ __ \|\ ___ \|\ ___ \ |\ \|\ \ \ \ \ \ \|\ \ \ \\\ \ \ \/ /|\ \ \|\ \ \ \\ \ \ \ \_|\ \ \ \ \ \ \ \ \ \ \ _ _\ \ \\\ \ \ ___ \ \ __ \ \ \\ \ \ \ \ \\ \ __ \ \ \ \ \ \ \ \ \ \\ \\ \ \\\ \ \ \\ \ \ \ \ \ \ \ \\ \ \ \ \_\\ \|\ \\_\ \ \ \ \ \__\ \__\\ _\\ \_______\ \__\\ \__\ \__\ \__\ \__\\ \__\ \_______\ \________\ \__\ \|__|\|__|\|__|\|_______|\|__| \|__|\|__|\|__|\|__| \|__|\|_______|\|________|\|__| */ // SPDX-License-Identifier: GPL-3.0-or-later pragma solidity 0.8.13; import { ERC721 } from "openzeppelin/token/ERC721/ERC721.sol"; import { ERC721Pausable } from "openzeppelin/token/ERC721/extensions/ERC721Pausable.sol"; import { Ownable } from "openzeppelin/access/Ownable.sol"; import { MerkleProof } from "openzeppelin/utils/cryptography/MerkleProof.sol"; import { Strings } from "openzeppelin/utils/Strings.sol"; /// @title The World of Irukandji /// @author bayu (github.com/pyk) /// @notice A face, a brand, and a lifestyle by @yourbae contract Irukandji is ERC721, ERC721Pausable, Ownable { /// ███ Storages █████████████████████████████████████████████████████████ /// @notice Supply distribution uint256 public maxSupply = 8888; uint256 public maxMint = 2; uint256 public teamReserve = 160; /// @notice Minting price uint256 public presalePrice = 0.088 ether; uint256 public publicPrice = 0.130 ether; /// @notice Sale timestamp uint256 public presaleTimestamp; uint256 public publicTimestamp; /// @notice Whitelist claimed storage mapping(address => bool) internal claimed; mapping(address => uint256) internal mintAmountData; /// @notice Merkle root bytes32 public root; /// @notice Total supply tracker uint256 public totalSupply = 0; uint256 public totalReserved = 0; /// @notice Base URI and Contract URI string public baseURI; string public contractURI; /// @notice Custom token URI mapping(uint256 => string) internal customURI; /// @notice Team wallet address address public teamWallet; /// ███ Events ███████████████████████████████████████████████████████████ event PriceUpdated(uint256 pre, uint256 pub); event MaxMintUpdated(uint256 newAmount); event SaleTimestampUpdated(uint256 pre, uint256 pub); event TeamReserveUpdated(uint256 newAmount); event CustomURIConfigured(uint256 tokenID, string uri); event URIConfigured(string b, string c); event MerkleRootUpdated(); /// ███ Errors ███████████████████████████████████████████████████████████ error InvalidTimestamp(); error InvalidProof(); error UserAlreadyClaimed(); error MintPriceInvalid(uint256 expected, uint256 got); error MintAmountInvalid(uint256 maxMint, uint256 got); error OutOfStock(); error WithdrawFailed(); /// ███ Constructor ██████████████████████████████████████████████████████ constructor( uint256 _presaleTimestamp, uint256 _publicTimestamp, bytes32 _root, string memory _baseURI, string memory _contractURI, address _teamWallet ) ERC721("Irukandji", "KANDJI") { // Set storages presaleTimestamp = _presaleTimestamp; publicTimestamp = _publicTimestamp; root = _root; baseURI = _baseURI; contractURI = _contractURI; teamWallet = _teamWallet; // Transfer ownership to teamWallet _transferOwnership(teamWallet); // Mint tokenID 1 to teamWallet totalSupply++; _mint(teamWallet, totalSupply); } /// ███ Owner actions ████████████████████████████████████████████████████ /// @notice Set mint price /// @param _presale New presale price /// @param _public New public sale price /// @dev Only owner can call this function function setPrice( uint256 _presale, uint256 _public ) external onlyOwner { presalePrice = _presale; publicPrice = _public; emit PriceUpdated(_presale, _public); } /// @notice Set max mint /// @param _amount Max mint amount per tx /// @dev Only owner can call this function function setMaxMint(uint256 _amount) external onlyOwner { maxMint = _amount; emit MaxMintUpdated(_amount); } /// @notice Set sale timestamp value /// @param _presale Presale timestamp /// @param _public Public sale timestamp /// @dev Only owner can call this function function setSaleTimestamp( uint256 _presale, uint256 _public ) external onlyOwner { uint256 ts = block.timestamp; if (ts > _presale || ts > _public) revert InvalidTimestamp(); presaleTimestamp = _presale; publicTimestamp = _public; emit SaleTimestampUpdated(_presale, _public); } /// @notice Set teamReserve value /// @param _amount The team reserve amount /// @dev Only owner can call this function function setTeamReserve(uint256 _amount) external onlyOwner { teamReserve = _amount; emit TeamReserveUpdated(_amount); } /// @notice Set the base URI /// @param _base The Base URI /// @param _contract The Contract URI /// @dev Only owner can call this function function setURI( string memory _base, string memory _contract ) external onlyOwner { baseURI = _base; contractURI = _contract; emit URIConfigured(_base, _contract); } /// @notice Set the custom token URI /// @dev Only owner can call this function function setCustomTokenURI( uint256 _tokenId, string memory _uri ) external onlyOwner { customURI[_tokenId] = _uri; emit CustomURIConfigured(_tokenId, _uri); } /// @notice Set the merkle root /// @dev Only owner can call this function function setMerkleRoot(bytes32 _root) external onlyOwner { root = _root; emit MerkleRootUpdated(); } /// @notice Mint reserve /// @dev Only owner can call this function function mintReserve( uint256 _amount, address _recipient ) external onlyOwner { // Checks if (totalSupply + _amount > maxSupply) revert OutOfStock(); if (totalReserved + _amount > teamReserve) revert OutOfStock(); for (uint256 i = 0; i < _amount; i++) { // Effects totalSupply++; totalReserved++; // Interaction _mint(_recipient, totalSupply); } } /// @notice Pause the contract /// @dev Only owner can call this function function pause() external onlyOwner { _pause(); } /// @notice Unpause the contract /// @dev Only owner can call this function function unpause() external onlyOwner { _unpause(); } /// ███ User actions █████████████████████████████████████████████████████ /// @notice Presale mint /// @param _proof Merkle Tree leaf proof for msg.sender function presaleMint(bytes32[] calldata _proof) external payable { // Checks bool isValidProof = MerkleProof.verify( _proof, root, convertAddressToBytes32(msg.sender) ); if (!isValidProof) revert InvalidProof(); if (msg.value != presalePrice) { revert MintPriceInvalid({ expected: presalePrice, got: msg.value }); } if (totalSupply + 1 > maxSupply) revert OutOfStock(); uint256 ts = block.timestamp; if (ts < presaleTimestamp || ts >= publicTimestamp) { revert InvalidTimestamp(); } if (claimed[msg.sender]) revert UserAlreadyClaimed(); // Effects claimed[msg.sender] = true; totalSupply++; // Interaction _mint(msg.sender, totalSupply); } /// @notice Public mint /// @param _amount The amount of kandjis function publicMint(uint256 _amount) external payable { // Checks uint256 mintedAmount = mintAmountData[msg.sender]; if (mintedAmount + _amount > maxMint) { revert MintAmountInvalid({ maxMint: maxMint, got: mintedAmount + _amount }); } if (msg.value != (publicPrice * _amount)) { revert MintPriceInvalid({ expected: publicPrice * _amount, got: msg.value }); } if (totalSupply + _amount > (maxSupply - teamReserve)) revert OutOfStock(); if (block.timestamp < publicTimestamp) revert InvalidTimestamp(); for (uint256 i = 0; i < _amount; i++) { // Effects totalSupply++; mintAmountData[msg.sender]++; // Interaction _mint(msg.sender, totalSupply); } } /// @notice Send ETH inside the contract to Irukandji team wallet function withdraw() external { (bool success, ) = teamWallet.call{ value: address(this).balance }(""); if (!success) revert WithdrawFailed(); } /// @notice Send ETH inside the contract to Irukandji team wallet function withdraw(uint256 _amount) external { (bool success, ) = teamWallet.call{ value: _amount }(""); if (!success) revert WithdrawFailed(); } /// ███ Internal functions ███████████████████████████████████████████████ /// @notice Convert address to bytes32 function convertAddressToBytes32( address _addy ) internal pure returns (bytes32) { return bytes32(uint256(uint160(_addy))); // https://ethereum.stackexchange.com/a/41356 } /// @notice Implement pausable function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal override(ERC721, ERC721Pausable) { super._beforeTokenTransfer(from, to, tokenId); } /// ███ External functions ███████████████████████████████████████████████ /// @notice Returns metadata for each tokenID function tokenURI( uint256 tokenID ) public view virtual override returns (string memory) { if (tokenID == 0 || tokenID > totalSupply) return ""; bytes32 uri = keccak256(abi.encodePacked(customURI[tokenID])); if (uri != keccak256(abi.encodePacked(""))) { // Custom URI return customURI[tokenID]; } else { // Use global URI return string( abi.encodePacked( baseURI, "/", Strings.toString(tokenID), ".json" ) ); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: address zero is not a valid owner"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Pausable.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; import "../../../security/Pausable.sol"; /** * @dev ERC721 token with pausable token transfers, minting and burning. * * Useful for scenarios such as preventing trades until the end of an evaluation * period, or having an emergency switch for freezing all token transfers in the * event of a large bug. */ abstract contract ERC721Pausable is ERC721, Pausable { /** * @dev See {ERC721-_beforeTokenTransfer}. * * Requirements: * * - the contract must not be paused. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); require(!paused(), "ERC721Pausable: token transfer while paused"); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the merkle tree could be reinterpreted as a leaf value. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = _efficientHash(computedHash, proofElement); } else { // Hash(current element of the proof + current computed hash) computedHash = _efficientHash(proofElement, computedHash); } } return computedHash; } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { /// @solidity memory-safe-assembly assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/Pausable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "remappings": [ "openzeppelin-contracts/=lib/openzeppelin-contracts/", "openzeppelin/=lib/openzeppelin-contracts/contracts/", "src/=src/" ], "optimizer": { "enabled": true, "runs": 200 }, "metadata": { "bytecodeHash": "ipfs" }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "evmVersion": "london" }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"uint256","name":"_presaleTimestamp","type":"uint256"},{"internalType":"uint256","name":"_publicTimestamp","type":"uint256"},{"internalType":"bytes32","name":"_root","type":"bytes32"},{"internalType":"string","name":"_baseURI","type":"string"},{"internalType":"string","name":"_contractURI","type":"string"},{"internalType":"address","name":"_teamWallet","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"InvalidProof","type":"error"},{"inputs":[],"name":"InvalidTimestamp","type":"error"},{"inputs":[{"internalType":"uint256","name":"maxMint","type":"uint256"},{"internalType":"uint256","name":"got","type":"uint256"}],"name":"MintAmountInvalid","type":"error"},{"inputs":[{"internalType":"uint256","name":"expected","type":"uint256"},{"internalType":"uint256","name":"got","type":"uint256"}],"name":"MintPriceInvalid","type":"error"},{"inputs":[],"name":"OutOfStock","type":"error"},{"inputs":[],"name":"UserAlreadyClaimed","type":"error"},{"inputs":[],"name":"WithdrawFailed","type":"error"},{"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":false,"internalType":"uint256","name":"tokenID","type":"uint256"},{"indexed":false,"internalType":"string","name":"uri","type":"string"}],"name":"CustomURIConfigured","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"MaxMintUpdated","type":"event"},{"anonymous":false,"inputs":[],"name":"MerkleRootUpdated","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":false,"internalType":"uint256","name":"pre","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"pub","type":"uint256"}],"name":"PriceUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"pre","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"pub","type":"uint256"}],"name":"SaleTimestampUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"TeamReserveUpdated","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":"string","name":"b","type":"string"},{"indexed":false,"internalType":"string","name":"c","type":"string"}],"name":"URIConfigured","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"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":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_recipient","type":"address"}],"name":"mintReserve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"}],"name":"presaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"presalePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"root","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"string","name":"_uri","type":"string"}],"name":"setCustomTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"setMaxMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_presale","type":"uint256"},{"internalType":"uint256","name":"_public","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_presale","type":"uint256"},{"internalType":"uint256","name":"_public","type":"uint256"}],"name":"setSaleTimestamp","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"setTeamReserve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_base","type":"string"},{"internalType":"string","name":"_contract","type":"string"}],"name":"setURI","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":[],"name":"teamReserve","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"teamWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"totalReserved","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526122b8600755600260085560a0600955670138a388a43c0000600a556701cdda4faccd0000600b55600060115560006012553480156200004357600080fd5b5060405162002f9738038062002f9783398101604081905262000066916200054a565b60408051808201825260098152684972756b616e646a6960b81b6020808301918252835180850190945260068452654b414e444a4960d01b908401528151919291620000b591600091620003d7565b508051620000cb906001906020840190620003d7565b50506006805460ff1916905550620000e33362000185565b600c869055600d8590556010849055825162000107906013906020860190620003d7565b5081516200011d906014906020850190620003d7565b50601680546001600160a01b0319166001600160a01b038316908117909155620001479062000185565b6011805490600062000159836200060b565b909155505060165460115462000179916001600160a01b031690620001df565b5050505050506200067e565b600680546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166200023b5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064015b60405180910390fd5b6000818152600260205260409020546001600160a01b031615620002a25760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015260640162000232565b620002b06000838362000339565b6001600160a01b0382166000908152600360205260408120805460019290620002db90849062000627565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b620003518383836200035660201b620016c51760201c565b505050565b6200036e8383836200035160201b62000a111760201c565b60065460ff1615620003515760405162461bcd60e51b815260206004820152602b60248201527f4552433732315061757361626c653a20746f6b656e207472616e73666572207760448201526a1a1a5b19481c185d5cd95960aa1b606482015260840162000232565b828054620003e59062000642565b90600052602060002090601f01602090048101928262000409576000855562000454565b82601f106200042457805160ff191683800117855562000454565b8280016001018555821562000454579182015b828111156200045457825182559160200191906001019062000437565b506200046292915062000466565b5090565b5b8082111562000462576000815560010162000467565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620004a557600080fd5b81516001600160401b0380821115620004c257620004c26200047d565b604051601f8301601f19908116603f01168101908282118183101715620004ed57620004ed6200047d565b816040528381526020925086838588010111156200050a57600080fd5b600091505b838210156200052e57858201830151818301840152908201906200050f565b83821115620005405760008385830101525b9695505050505050565b60008060008060008060c087890312156200056457600080fd5b86516020880151604089015160608a015192985090965094506001600160401b03808211156200059357600080fd5b620005a18a838b0162000493565b94506080890151915080821115620005b857600080fd5b50620005c789828a0162000493565b60a089015190935090506001600160a01b0381168114620005e757600080fd5b809150509295509295509295565b634e487b7160e01b600052601160045260246000fd5b600060018201620006205762000620620005f5565b5060010190565b600082198211156200063d576200063d620005f5565b500190565b600181811c908216806200065757607f821691505b6020821081036200067857634e487b7160e01b600052602260045260246000fd5b50919050565b612909806200068e6000396000f3fe6080604052600436106102665760003560e01c806370a0823111610144578063b88d4fde116100b6578063e8a3d4851161007a578063e8a3d485146106bc578063e985e9c5146106d1578063ebf0c7171461071a578063edc0c72c14610730578063f2fde38b14610743578063f7d975771461076357600080fd5b8063b88d4fde14610630578063bf2db4c814610650578063c71b0e1c14610670578063c87b56dd14610686578063d5abeb01146106a657600080fd5b8063850dd09111610108578063850dd09114610582578063851fc4b6146105a25780638da5cb5b146105c257806395d89b41146105e5578063a22cb465146105fa578063a945bf801461061a57600080fd5b806370a0823114610502578063715018a6146105225780637501f741146105375780637cb647591461054d5780638456cb591461056d57600080fd5b80633a37fa24116101dd5780634531a8ec116101a15780634531a8ec14610455578063547520fe1461047557806359927044146104955780635c975abb146104b55780636352211e146104cd5780636c0360eb146104ed57600080fd5b80633a37fa24146103d55780633ccfd60b146103f55780633f4ba83a1461040a57806342842e0e1461041f5780634287f14a1461043f57600080fd5b806318160ddd1161022f57806318160ddd146103405780631e6d487a1461035657806323b872dd1461036c5780632db115441461038c5780632e1a7d4d1461039f57806333701396146103bf57600080fd5b80620e7fa81461026b57806301ffc9a71461029457806306fdde03146102c4578063081812fc146102e6578063095ea7b31461031e575b600080fd5b34801561027757600080fd5b50610281600a5481565b6040519081526020015b60405180910390f35b3480156102a057600080fd5b506102b46102af366004612135565b610783565b604051901515815260200161028b565b3480156102d057600080fd5b506102d96107d5565b60405161028b91906121b1565b3480156102f257600080fd5b506103066103013660046121c4565b610867565b6040516001600160a01b03909116815260200161028b565b34801561032a57600080fd5b5061033e6103393660046121f9565b610901565b005b34801561034c57600080fd5b5061028160115481565b34801561036257600080fd5b50610281600d5481565b34801561037857600080fd5b5061033e610387366004612223565b610a16565b61033e61039a3660046121c4565b610a47565b3480156103ab57600080fd5b5061033e6103ba3660046121c4565b610b9c565b3480156103cb57600080fd5b50610281600c5481565b3480156103e157600080fd5b5061033e6103f03660046121c4565b610c14565b34801561040157600080fd5b5061033e610c80565b34801561041657600080fd5b5061033e610cf7565b34801561042b57600080fd5b5061033e61043a366004612223565b610d31565b34801561044b57600080fd5b5061028160095481565b34801561046157600080fd5b5061033e61047036600461225f565b610d4c565b34801561048157600080fd5b5061033e6104903660046121c4565b610df0565b3480156104a157600080fd5b50601654610306906001600160a01b031681565b3480156104c157600080fd5b5060065460ff166102b4565b3480156104d957600080fd5b506103066104e83660046121c4565b610e55565b3480156104f957600080fd5b506102d9610ecc565b34801561050e57600080fd5b5061028161051d366004612281565b610f5a565b34801561052e57600080fd5b5061033e610fe0565b34801561054357600080fd5b5061028160085481565b34801561055957600080fd5b5061033e6105683660046121c4565b61101a565b34801561057957600080fd5b5061033e61107b565b34801561058e57600080fd5b5061033e61059d36600461229c565b6110b3565b3480156105ae57600080fd5b5061033e6105bd366004612374565b611196565b3480156105ce57600080fd5b5060065461010090046001600160a01b0316610306565b3480156105f157600080fd5b506102d9611223565b34801561060657600080fd5b5061033e6106153660046123bb565b611232565b34801561062657600080fd5b50610281600b5481565b34801561063c57600080fd5b5061033e61064b3660046123f7565b61123d565b34801561065c57600080fd5b5061033e61066b366004612473565b611275565b34801561067c57600080fd5b5061028160125481565b34801561069257600080fd5b506102d96106a13660046121c4565b6112fe565b3480156106b257600080fd5b5061028160075481565b3480156106c857600080fd5b506102d961144c565b3480156106dd57600080fd5b506102b46106ec3660046124cd565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561072657600080fd5b5061028160105481565b61033e61073e3660046124f7565b611459565b34801561074f57600080fd5b5061033e61075e366004612281565b6115b7565b34801561076f57600080fd5b5061033e61077e36600461225f565b611655565b60006001600160e01b031982166380ac58cd60e01b14806107b457506001600160e01b03198216635b5e139f60e01b145b806107cf57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600080546107e49061256c565b80601f01602080910402602001604051908101604052809291908181526020018280546108109061256c565b801561085d5780601f106108325761010080835404028352916020019161085d565b820191906000526020600020905b81548152906001019060200180831161084057829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166108e55760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061090c82610e55565b9050806001600160a01b0316836001600160a01b0316036109795760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016108dc565b336001600160a01b0382161480610995575061099581336106ec565b610a075760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016108dc565b610a11838361172c565b505050565b610a20338261179a565b610a3c5760405162461bcd60e51b81526004016108dc906125a0565b610a11838383611891565b336000908152600f6020526040902054600854610a648383612607565b1115610a9957600854610a778383612607565b604051631c5542c160e31b8152600481019290925260248201526044016108dc565b81600b54610aa7919061261f565b3414610ade5781600b54610abb919061261f565b6040516328d3ac7560e21b815260048101919091523460248201526044016108dc565b600954600754610aee919061263e565b82601154610afc9190612607565b1115610b1b5760405163ade1cb4160e01b815260040160405180910390fd5b600d54421015610b3e5760405163b7d0949760e01b815260040160405180910390fd5b60005b82811015610a115760118054906000610b5983612655565b9091555050336000908152600f60205260408120805491610b7983612655565b9190505550610b8a33601154611a38565b80610b9481612655565b915050610b41565b6016546040516000916001600160a01b03169083908381818185875af1925050503d8060008114610be9576040519150601f19603f3d011682016040523d82523d6000602084013e610bee565b606091505b5050905080610c1057604051631d42c86760e21b815260040160405180910390fd5b5050565b6006546001600160a01b03610100909104163314610c445760405162461bcd60e51b81526004016108dc9061266e565b60098190556040518181527fb5c80ca43703810c3704ed5e759bec6b9070678cf2f20a336fb4a37524dd2dab906020015b60405180910390a150565b6016546040516000916001600160a01b03169047908381818185875af1925050503d8060008114610ccd576040519150601f19603f3d011682016040523d82523d6000602084013e610cd2565b606091505b5050905080610cf457604051631d42c86760e21b815260040160405180910390fd5b50565b6006546001600160a01b03610100909104163314610d275760405162461bcd60e51b81526004016108dc9061266e565b610d2f611b86565b565b610a118383836040518060200160405280600081525061123d565b6006546001600160a01b03610100909104163314610d7c5760405162461bcd60e51b81526004016108dc9061266e565b4282811180610d8a57508181115b15610da85760405163b7d0949760e01b815260040160405180910390fd5b600c839055600d82905560408051848152602081018490527fd1e9f897baa86c69155dd678e438c9ca1aa9c585835f634c22a8d818e8bce3f7910160405180910390a1505050565b6006546001600160a01b03610100909104163314610e205760405162461bcd60e51b81526004016108dc9061266e565b60088190556040518181527f399d908596daeb3fcaab2ae0a3d47b9ca556eb4af22006a4333305cb454bf49e90602001610c75565b6000818152600260205260408120546001600160a01b0316806107cf5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016108dc565b60138054610ed99061256c565b80601f0160208091040260200160405190810160405280929190818152602001828054610f059061256c565b8015610f525780601f10610f2757610100808354040283529160200191610f52565b820191906000526020600020905b815481529060010190602001808311610f3557829003601f168201915b505050505081565b60006001600160a01b038216610fc45760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b60648201526084016108dc565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b036101009091041633146110105760405162461bcd60e51b81526004016108dc9061266e565b610d2f6000611c19565b6006546001600160a01b0361010090910416331461104a5760405162461bcd60e51b81526004016108dc9061266e565b60108190556040517f9015fee2eca8d5a2a10df9d962a315c0b5bb85085462d93beac12b7b2281404590600090a150565b6006546001600160a01b036101009091041633146110ab5760405162461bcd60e51b81526004016108dc9061266e565b610d2f611c73565b6006546001600160a01b036101009091041633146110e35760405162461bcd60e51b81526004016108dc9061266e565b600754826011546110f49190612607565b11156111135760405163ade1cb4160e01b815260040160405180910390fd5b600954826012546111249190612607565b11156111435760405163ade1cb4160e01b815260040160405180910390fd5b60005b82811015610a11576011805490600061115e83612655565b90915550506012805490600061117383612655565b919050555061118482601154611a38565b8061118e81612655565b915050611146565b6006546001600160a01b036101009091041633146111c65760405162461bcd60e51b81526004016108dc9061266e565b600082815260156020908152604090912082516111e592840190612086565b507fe062d0d4564bd63aafbc97c458e0b7a67d104ac226f26f61357c04ca1272fc8682826040516112179291906126a3565b60405180910390a15050565b6060600180546107e49061256c565b610c10338383611cee565b611247338361179a565b6112635760405162461bcd60e51b81526004016108dc906125a0565b61126f84848484611dbc565b50505050565b6006546001600160a01b036101009091041633146112a55760405162461bcd60e51b81526004016108dc9061266e565b81516112b8906013906020850190612086565b5080516112cc906014906020840190612086565b507fa6df79d43a7dbd22cfbf542eac4d3a7f5f12e20979d9efc7c90e2d7af5a9319a82826040516112179291906126bc565b606081158061130e575060115482115b1561132757505060408051602081019091526000815290565b600082815260156020908152604080832090516113449201612783565b60408051601f1981840301815282825280516020918201206000845290830191829052915190209091508114611413576000838152601560205260409020805461138d9061256c565b80601f01602080910402602001604051908101604052809291908181526020018280546113b99061256c565b80156114065780601f106113db57610100808354040283529160200191611406565b820191906000526020600020905b8154815290600101906020018083116113e957829003601f168201915b5050505050915050919050565b601361141e84611def565b60405160200161142f92919061278f565b604051602081830303815290604052915050919050565b50919050565b60148054610ed99061256c565b600061149c838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506010549150339050611ef0565b9050806114bc576040516309bde33960e01b815260040160405180910390fd5b600a5434146114eb57600a546040516328d3ac7560e21b815260048101919091523460248201526044016108dc565b6007546011546114fc906001612607565b111561151b5760405163ade1cb4160e01b815260040160405180910390fd5b600c54429081108061152f5750600d548110155b1561154d5760405163b7d0949760e01b815260040160405180910390fd5b336000908152600e602052604090205460ff161561157e57604051638246991960e01b815260040160405180910390fd5b336000908152600e60205260408120805460ff1916600117905560118054916115a683612655565b919050555061126f33601154611a38565b6006546001600160a01b036101009091041633146115e75760405162461bcd60e51b81526004016108dc9061266e565b6001600160a01b03811661164c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108dc565b610cf481611c19565b6006546001600160a01b036101009091041633146116855760405162461bcd60e51b81526004016108dc9061266e565b600a829055600b81905560408051838152602081018390527f945c1c4e99aa89f648fbfe3df471b916f719e16d960fcec0737d4d56bd6968389101611217565b60065460ff1615610a115760405162461bcd60e51b815260206004820152602b60248201527f4552433732315061757361626c653a20746f6b656e207472616e73666572207760448201526a1a1a5b19481c185d5cd95960aa1b60648201526084016108dc565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061176182610e55565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166118135760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016108dc565b600061181e83610e55565b9050806001600160a01b0316846001600160a01b0316148061186557506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b806118895750836001600160a01b031661187e84610867565b6001600160a01b0316145b949350505050565b826001600160a01b03166118a482610e55565b6001600160a01b0316146119085760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b60648201526084016108dc565b6001600160a01b03821661196a5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016108dc565b611975838383611f06565b61198060008261172c565b6001600160a01b03831660009081526003602052604081208054600192906119a990849061263e565b90915550506001600160a01b03821660009081526003602052604081208054600192906119d7908490612607565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6001600160a01b038216611a8e5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016108dc565b6000818152600260205260409020546001600160a01b031615611af35760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016108dc565b611aff60008383611f06565b6001600160a01b0382166000908152600360205260408120805460019290611b28908490612607565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60065460ff16611bcf5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016108dc565b6006805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600680546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60065460ff1615611cb95760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016108dc565b6006805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611bfc3390565b816001600160a01b0316836001600160a01b031603611d4f5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016108dc565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611dc7848484611891565b611dd384848484611f11565b61126f5760405162461bcd60e51b81526004016108dc906127d3565b606081600003611e165750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611e405780611e2a81612655565b9150611e399050600a8361283b565b9150611e1a565b60008167ffffffffffffffff811115611e5b57611e5b6122c8565b6040519080825280601f01601f191660200182016040528015611e85576020820181803683370190505b5090505b841561188957611e9a60018361263e565b9150611ea7600a8661284f565b611eb2906030612607565b60f81b818381518110611ec757611ec7612863565b60200101906001600160f81b031916908160001a905350611ee9600a8661283b565b9450611e89565b600082611efd8584612012565b14949350505050565b610a118383836116c5565b60006001600160a01b0384163b1561200757604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611f55903390899088908890600401612879565b6020604051808303816000875af1925050508015611f90575060408051601f3d908101601f19168201909252611f8d918101906128b6565b60015b611fed573d808015611fbe576040519150601f19603f3d011682016040523d82523d6000602084013e611fc3565b606091505b508051600003611fe55760405162461bcd60e51b81526004016108dc906127d3565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611889565b506001949350505050565b600081815b845181101561207e57600085828151811061203457612034612863565b6020026020010151905080831161205a576000838152602082905260409020925061206b565b600081815260208490526040902092505b508061207681612655565b915050612017565b509392505050565b8280546120929061256c565b90600052602060002090601f0160209004810192826120b457600085556120fa565b82601f106120cd57805160ff19168380011785556120fa565b828001600101855582156120fa579182015b828111156120fa5782518255916020019190600101906120df565b5061210692915061210a565b5090565b5b80821115612106576000815560010161210b565b6001600160e01b031981168114610cf457600080fd5b60006020828403121561214757600080fd5b81356121528161211f565b9392505050565b60005b8381101561217457818101518382015260200161215c565b8381111561126f5750506000910152565b6000815180845261219d816020860160208601612159565b601f01601f19169290920160200192915050565b6020815260006121526020830184612185565b6000602082840312156121d657600080fd5b5035919050565b80356001600160a01b03811681146121f457600080fd5b919050565b6000806040838503121561220c57600080fd5b612215836121dd565b946020939093013593505050565b60008060006060848603121561223857600080fd5b612241846121dd565b925061224f602085016121dd565b9150604084013590509250925092565b6000806040838503121561227257600080fd5b50508035926020909101359150565b60006020828403121561229357600080fd5b612152826121dd565b600080604083850312156122af57600080fd5b823591506122bf602084016121dd565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156122f9576122f96122c8565b604051601f8501601f19908116603f01168101908282118183101715612321576123216122c8565b8160405280935085815286868601111561233a57600080fd5b858560208301376000602087830101525050509392505050565b600082601f83011261236557600080fd5b612152838335602085016122de565b6000806040838503121561238757600080fd5b82359150602083013567ffffffffffffffff8111156123a557600080fd5b6123b185828601612354565b9150509250929050565b600080604083850312156123ce57600080fd5b6123d7836121dd565b9150602083013580151581146123ec57600080fd5b809150509250929050565b6000806000806080858703121561240d57600080fd5b612416856121dd565b9350612424602086016121dd565b925060408501359150606085013567ffffffffffffffff81111561244757600080fd5b8501601f8101871361245857600080fd5b612467878235602084016122de565b91505092959194509250565b6000806040838503121561248657600080fd5b823567ffffffffffffffff8082111561249e57600080fd5b6124aa86838701612354565b935060208501359150808211156124c057600080fd5b506123b185828601612354565b600080604083850312156124e057600080fd5b6124e9836121dd565b91506122bf602084016121dd565b6000806020838503121561250a57600080fd5b823567ffffffffffffffff8082111561252257600080fd5b818501915085601f83011261253657600080fd5b81358181111561254557600080fd5b8660208260051b850101111561255a57600080fd5b60209290920196919550909350505050565b600181811c9082168061258057607f821691505b60208210810361144657634e487b7160e01b600052602260045260246000fd5b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b6000821982111561261a5761261a6125f1565b500190565b6000816000190483118215151615612639576126396125f1565b500290565b600082821015612650576126506125f1565b500390565b600060018201612667576126676125f1565b5060010190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b8281526040602082015260006118896040830184612185565b6040815260006126cf6040830185612185565b82810360208401526126e18185612185565b95945050505050565b8054600090600181811c908083168061270457607f831692505b6020808410820361272557634e487b7160e01b600052602260045260246000fd5b818015612739576001811461274a57612777565b60ff19861689528489019650612777565b60008881526020902060005b8681101561276f5781548b820152908501908301612756565b505084890196505b50505050505092915050565b600061215282846126ea565b600061279b82856126ea565b602f60f81b815283516127b5816001840160208801612159565b64173539b7b760d91b60019290910191820152600601949350505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b634e487b7160e01b600052601260045260246000fd5b60008261284a5761284a612825565b500490565b60008261285e5761285e612825565b500690565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906128ac90830184612185565b9695505050505050565b6000602082840312156128c857600080fd5b81516121528161211f56fea2646970667358221220134fd4c2f17ebaf17d199595f0fc9b2f73492f5381147558f5003f22bf26e1c164736f6c634300080d003300000000000000000000000000000000000000000000000000000000628b936000000000000000000000000000000000000000000000000000000000628ce4e0a02e799e55a2b2fa5284ecb5a36c27c06b61fb636fdd04d0c1c20686a749fd7a00000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000091c62542740397c002af662b2d1e8bf23812efb4000000000000000000000000000000000000000000000000000000000000001868747470733a2f2f6170692e6972756b616e646a692e67670000000000000000000000000000000000000000000000000000000000000000000000000000003f68747470733a2f2f617277656176652e6e65742f6e326e33646f424c5166327353625265316d663537444c6a3466467477684863355059574c38536171744d00
Deployed Bytecode
0x6080604052600436106102665760003560e01c806370a0823111610144578063b88d4fde116100b6578063e8a3d4851161007a578063e8a3d485146106bc578063e985e9c5146106d1578063ebf0c7171461071a578063edc0c72c14610730578063f2fde38b14610743578063f7d975771461076357600080fd5b8063b88d4fde14610630578063bf2db4c814610650578063c71b0e1c14610670578063c87b56dd14610686578063d5abeb01146106a657600080fd5b8063850dd09111610108578063850dd09114610582578063851fc4b6146105a25780638da5cb5b146105c257806395d89b41146105e5578063a22cb465146105fa578063a945bf801461061a57600080fd5b806370a0823114610502578063715018a6146105225780637501f741146105375780637cb647591461054d5780638456cb591461056d57600080fd5b80633a37fa24116101dd5780634531a8ec116101a15780634531a8ec14610455578063547520fe1461047557806359927044146104955780635c975abb146104b55780636352211e146104cd5780636c0360eb146104ed57600080fd5b80633a37fa24146103d55780633ccfd60b146103f55780633f4ba83a1461040a57806342842e0e1461041f5780634287f14a1461043f57600080fd5b806318160ddd1161022f57806318160ddd146103405780631e6d487a1461035657806323b872dd1461036c5780632db115441461038c5780632e1a7d4d1461039f57806333701396146103bf57600080fd5b80620e7fa81461026b57806301ffc9a71461029457806306fdde03146102c4578063081812fc146102e6578063095ea7b31461031e575b600080fd5b34801561027757600080fd5b50610281600a5481565b6040519081526020015b60405180910390f35b3480156102a057600080fd5b506102b46102af366004612135565b610783565b604051901515815260200161028b565b3480156102d057600080fd5b506102d96107d5565b60405161028b91906121b1565b3480156102f257600080fd5b506103066103013660046121c4565b610867565b6040516001600160a01b03909116815260200161028b565b34801561032a57600080fd5b5061033e6103393660046121f9565b610901565b005b34801561034c57600080fd5b5061028160115481565b34801561036257600080fd5b50610281600d5481565b34801561037857600080fd5b5061033e610387366004612223565b610a16565b61033e61039a3660046121c4565b610a47565b3480156103ab57600080fd5b5061033e6103ba3660046121c4565b610b9c565b3480156103cb57600080fd5b50610281600c5481565b3480156103e157600080fd5b5061033e6103f03660046121c4565b610c14565b34801561040157600080fd5b5061033e610c80565b34801561041657600080fd5b5061033e610cf7565b34801561042b57600080fd5b5061033e61043a366004612223565b610d31565b34801561044b57600080fd5b5061028160095481565b34801561046157600080fd5b5061033e61047036600461225f565b610d4c565b34801561048157600080fd5b5061033e6104903660046121c4565b610df0565b3480156104a157600080fd5b50601654610306906001600160a01b031681565b3480156104c157600080fd5b5060065460ff166102b4565b3480156104d957600080fd5b506103066104e83660046121c4565b610e55565b3480156104f957600080fd5b506102d9610ecc565b34801561050e57600080fd5b5061028161051d366004612281565b610f5a565b34801561052e57600080fd5b5061033e610fe0565b34801561054357600080fd5b5061028160085481565b34801561055957600080fd5b5061033e6105683660046121c4565b61101a565b34801561057957600080fd5b5061033e61107b565b34801561058e57600080fd5b5061033e61059d36600461229c565b6110b3565b3480156105ae57600080fd5b5061033e6105bd366004612374565b611196565b3480156105ce57600080fd5b5060065461010090046001600160a01b0316610306565b3480156105f157600080fd5b506102d9611223565b34801561060657600080fd5b5061033e6106153660046123bb565b611232565b34801561062657600080fd5b50610281600b5481565b34801561063c57600080fd5b5061033e61064b3660046123f7565b61123d565b34801561065c57600080fd5b5061033e61066b366004612473565b611275565b34801561067c57600080fd5b5061028160125481565b34801561069257600080fd5b506102d96106a13660046121c4565b6112fe565b3480156106b257600080fd5b5061028160075481565b3480156106c857600080fd5b506102d961144c565b3480156106dd57600080fd5b506102b46106ec3660046124cd565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561072657600080fd5b5061028160105481565b61033e61073e3660046124f7565b611459565b34801561074f57600080fd5b5061033e61075e366004612281565b6115b7565b34801561076f57600080fd5b5061033e61077e36600461225f565b611655565b60006001600160e01b031982166380ac58cd60e01b14806107b457506001600160e01b03198216635b5e139f60e01b145b806107cf57506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600080546107e49061256c565b80601f01602080910402602001604051908101604052809291908181526020018280546108109061256c565b801561085d5780601f106108325761010080835404028352916020019161085d565b820191906000526020600020905b81548152906001019060200180831161084057829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166108e55760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b600061090c82610e55565b9050806001600160a01b0316836001600160a01b0316036109795760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016108dc565b336001600160a01b0382161480610995575061099581336106ec565b610a075760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016108dc565b610a11838361172c565b505050565b610a20338261179a565b610a3c5760405162461bcd60e51b81526004016108dc906125a0565b610a11838383611891565b336000908152600f6020526040902054600854610a648383612607565b1115610a9957600854610a778383612607565b604051631c5542c160e31b8152600481019290925260248201526044016108dc565b81600b54610aa7919061261f565b3414610ade5781600b54610abb919061261f565b6040516328d3ac7560e21b815260048101919091523460248201526044016108dc565b600954600754610aee919061263e565b82601154610afc9190612607565b1115610b1b5760405163ade1cb4160e01b815260040160405180910390fd5b600d54421015610b3e5760405163b7d0949760e01b815260040160405180910390fd5b60005b82811015610a115760118054906000610b5983612655565b9091555050336000908152600f60205260408120805491610b7983612655565b9190505550610b8a33601154611a38565b80610b9481612655565b915050610b41565b6016546040516000916001600160a01b03169083908381818185875af1925050503d8060008114610be9576040519150601f19603f3d011682016040523d82523d6000602084013e610bee565b606091505b5050905080610c1057604051631d42c86760e21b815260040160405180910390fd5b5050565b6006546001600160a01b03610100909104163314610c445760405162461bcd60e51b81526004016108dc9061266e565b60098190556040518181527fb5c80ca43703810c3704ed5e759bec6b9070678cf2f20a336fb4a37524dd2dab906020015b60405180910390a150565b6016546040516000916001600160a01b03169047908381818185875af1925050503d8060008114610ccd576040519150601f19603f3d011682016040523d82523d6000602084013e610cd2565b606091505b5050905080610cf457604051631d42c86760e21b815260040160405180910390fd5b50565b6006546001600160a01b03610100909104163314610d275760405162461bcd60e51b81526004016108dc9061266e565b610d2f611b86565b565b610a118383836040518060200160405280600081525061123d565b6006546001600160a01b03610100909104163314610d7c5760405162461bcd60e51b81526004016108dc9061266e565b4282811180610d8a57508181115b15610da85760405163b7d0949760e01b815260040160405180910390fd5b600c839055600d82905560408051848152602081018490527fd1e9f897baa86c69155dd678e438c9ca1aa9c585835f634c22a8d818e8bce3f7910160405180910390a1505050565b6006546001600160a01b03610100909104163314610e205760405162461bcd60e51b81526004016108dc9061266e565b60088190556040518181527f399d908596daeb3fcaab2ae0a3d47b9ca556eb4af22006a4333305cb454bf49e90602001610c75565b6000818152600260205260408120546001600160a01b0316806107cf5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016108dc565b60138054610ed99061256c565b80601f0160208091040260200160405190810160405280929190818152602001828054610f059061256c565b8015610f525780601f10610f2757610100808354040283529160200191610f52565b820191906000526020600020905b815481529060010190602001808311610f3557829003601f168201915b505050505081565b60006001600160a01b038216610fc45760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b60648201526084016108dc565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b036101009091041633146110105760405162461bcd60e51b81526004016108dc9061266e565b610d2f6000611c19565b6006546001600160a01b0361010090910416331461104a5760405162461bcd60e51b81526004016108dc9061266e565b60108190556040517f9015fee2eca8d5a2a10df9d962a315c0b5bb85085462d93beac12b7b2281404590600090a150565b6006546001600160a01b036101009091041633146110ab5760405162461bcd60e51b81526004016108dc9061266e565b610d2f611c73565b6006546001600160a01b036101009091041633146110e35760405162461bcd60e51b81526004016108dc9061266e565b600754826011546110f49190612607565b11156111135760405163ade1cb4160e01b815260040160405180910390fd5b600954826012546111249190612607565b11156111435760405163ade1cb4160e01b815260040160405180910390fd5b60005b82811015610a11576011805490600061115e83612655565b90915550506012805490600061117383612655565b919050555061118482601154611a38565b8061118e81612655565b915050611146565b6006546001600160a01b036101009091041633146111c65760405162461bcd60e51b81526004016108dc9061266e565b600082815260156020908152604090912082516111e592840190612086565b507fe062d0d4564bd63aafbc97c458e0b7a67d104ac226f26f61357c04ca1272fc8682826040516112179291906126a3565b60405180910390a15050565b6060600180546107e49061256c565b610c10338383611cee565b611247338361179a565b6112635760405162461bcd60e51b81526004016108dc906125a0565b61126f84848484611dbc565b50505050565b6006546001600160a01b036101009091041633146112a55760405162461bcd60e51b81526004016108dc9061266e565b81516112b8906013906020850190612086565b5080516112cc906014906020840190612086565b507fa6df79d43a7dbd22cfbf542eac4d3a7f5f12e20979d9efc7c90e2d7af5a9319a82826040516112179291906126bc565b606081158061130e575060115482115b1561132757505060408051602081019091526000815290565b600082815260156020908152604080832090516113449201612783565b60408051601f1981840301815282825280516020918201206000845290830191829052915190209091508114611413576000838152601560205260409020805461138d9061256c565b80601f01602080910402602001604051908101604052809291908181526020018280546113b99061256c565b80156114065780601f106113db57610100808354040283529160200191611406565b820191906000526020600020905b8154815290600101906020018083116113e957829003601f168201915b5050505050915050919050565b601361141e84611def565b60405160200161142f92919061278f565b604051602081830303815290604052915050919050565b50919050565b60148054610ed99061256c565b600061149c838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506010549150339050611ef0565b9050806114bc576040516309bde33960e01b815260040160405180910390fd5b600a5434146114eb57600a546040516328d3ac7560e21b815260048101919091523460248201526044016108dc565b6007546011546114fc906001612607565b111561151b5760405163ade1cb4160e01b815260040160405180910390fd5b600c54429081108061152f5750600d548110155b1561154d5760405163b7d0949760e01b815260040160405180910390fd5b336000908152600e602052604090205460ff161561157e57604051638246991960e01b815260040160405180910390fd5b336000908152600e60205260408120805460ff1916600117905560118054916115a683612655565b919050555061126f33601154611a38565b6006546001600160a01b036101009091041633146115e75760405162461bcd60e51b81526004016108dc9061266e565b6001600160a01b03811661164c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108dc565b610cf481611c19565b6006546001600160a01b036101009091041633146116855760405162461bcd60e51b81526004016108dc9061266e565b600a829055600b81905560408051838152602081018390527f945c1c4e99aa89f648fbfe3df471b916f719e16d960fcec0737d4d56bd6968389101611217565b60065460ff1615610a115760405162461bcd60e51b815260206004820152602b60248201527f4552433732315061757361626c653a20746f6b656e207472616e73666572207760448201526a1a1a5b19481c185d5cd95960aa1b60648201526084016108dc565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061176182610e55565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166118135760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016108dc565b600061181e83610e55565b9050806001600160a01b0316846001600160a01b0316148061186557506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b806118895750836001600160a01b031661187e84610867565b6001600160a01b0316145b949350505050565b826001600160a01b03166118a482610e55565b6001600160a01b0316146119085760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b60648201526084016108dc565b6001600160a01b03821661196a5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016108dc565b611975838383611f06565b61198060008261172c565b6001600160a01b03831660009081526003602052604081208054600192906119a990849061263e565b90915550506001600160a01b03821660009081526003602052604081208054600192906119d7908490612607565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6001600160a01b038216611a8e5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016108dc565b6000818152600260205260409020546001600160a01b031615611af35760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016108dc565b611aff60008383611f06565b6001600160a01b0382166000908152600360205260408120805460019290611b28908490612607565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60065460ff16611bcf5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016108dc565b6006805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600680546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60065460ff1615611cb95760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016108dc565b6006805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611bfc3390565b816001600160a01b0316836001600160a01b031603611d4f5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016108dc565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b611dc7848484611891565b611dd384848484611f11565b61126f5760405162461bcd60e51b81526004016108dc906127d3565b606081600003611e165750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611e405780611e2a81612655565b9150611e399050600a8361283b565b9150611e1a565b60008167ffffffffffffffff811115611e5b57611e5b6122c8565b6040519080825280601f01601f191660200182016040528015611e85576020820181803683370190505b5090505b841561188957611e9a60018361263e565b9150611ea7600a8661284f565b611eb2906030612607565b60f81b818381518110611ec757611ec7612863565b60200101906001600160f81b031916908160001a905350611ee9600a8661283b565b9450611e89565b600082611efd8584612012565b14949350505050565b610a118383836116c5565b60006001600160a01b0384163b1561200757604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611f55903390899088908890600401612879565b6020604051808303816000875af1925050508015611f90575060408051601f3d908101601f19168201909252611f8d918101906128b6565b60015b611fed573d808015611fbe576040519150601f19603f3d011682016040523d82523d6000602084013e611fc3565b606091505b508051600003611fe55760405162461bcd60e51b81526004016108dc906127d3565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611889565b506001949350505050565b600081815b845181101561207e57600085828151811061203457612034612863565b6020026020010151905080831161205a576000838152602082905260409020925061206b565b600081815260208490526040902092505b508061207681612655565b915050612017565b509392505050565b8280546120929061256c565b90600052602060002090601f0160209004810192826120b457600085556120fa565b82601f106120cd57805160ff19168380011785556120fa565b828001600101855582156120fa579182015b828111156120fa5782518255916020019190600101906120df565b5061210692915061210a565b5090565b5b80821115612106576000815560010161210b565b6001600160e01b031981168114610cf457600080fd5b60006020828403121561214757600080fd5b81356121528161211f565b9392505050565b60005b8381101561217457818101518382015260200161215c565b8381111561126f5750506000910152565b6000815180845261219d816020860160208601612159565b601f01601f19169290920160200192915050565b6020815260006121526020830184612185565b6000602082840312156121d657600080fd5b5035919050565b80356001600160a01b03811681146121f457600080fd5b919050565b6000806040838503121561220c57600080fd5b612215836121dd565b946020939093013593505050565b60008060006060848603121561223857600080fd5b612241846121dd565b925061224f602085016121dd565b9150604084013590509250925092565b6000806040838503121561227257600080fd5b50508035926020909101359150565b60006020828403121561229357600080fd5b612152826121dd565b600080604083850312156122af57600080fd5b823591506122bf602084016121dd565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff808411156122f9576122f96122c8565b604051601f8501601f19908116603f01168101908282118183101715612321576123216122c8565b8160405280935085815286868601111561233a57600080fd5b858560208301376000602087830101525050509392505050565b600082601f83011261236557600080fd5b612152838335602085016122de565b6000806040838503121561238757600080fd5b82359150602083013567ffffffffffffffff8111156123a557600080fd5b6123b185828601612354565b9150509250929050565b600080604083850312156123ce57600080fd5b6123d7836121dd565b9150602083013580151581146123ec57600080fd5b809150509250929050565b6000806000806080858703121561240d57600080fd5b612416856121dd565b9350612424602086016121dd565b925060408501359150606085013567ffffffffffffffff81111561244757600080fd5b8501601f8101871361245857600080fd5b612467878235602084016122de565b91505092959194509250565b6000806040838503121561248657600080fd5b823567ffffffffffffffff8082111561249e57600080fd5b6124aa86838701612354565b935060208501359150808211156124c057600080fd5b506123b185828601612354565b600080604083850312156124e057600080fd5b6124e9836121dd565b91506122bf602084016121dd565b6000806020838503121561250a57600080fd5b823567ffffffffffffffff8082111561252257600080fd5b818501915085601f83011261253657600080fd5b81358181111561254557600080fd5b8660208260051b850101111561255a57600080fd5b60209290920196919550909350505050565b600181811c9082168061258057607f821691505b60208210810361144657634e487b7160e01b600052602260045260246000fd5b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b6000821982111561261a5761261a6125f1565b500190565b6000816000190483118215151615612639576126396125f1565b500290565b600082821015612650576126506125f1565b500390565b600060018201612667576126676125f1565b5060010190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b8281526040602082015260006118896040830184612185565b6040815260006126cf6040830185612185565b82810360208401526126e18185612185565b95945050505050565b8054600090600181811c908083168061270457607f831692505b6020808410820361272557634e487b7160e01b600052602260045260246000fd5b818015612739576001811461274a57612777565b60ff19861689528489019650612777565b60008881526020902060005b8681101561276f5781548b820152908501908301612756565b505084890196505b50505050505092915050565b600061215282846126ea565b600061279b82856126ea565b602f60f81b815283516127b5816001840160208801612159565b64173539b7b760d91b60019290910191820152600601949350505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b634e487b7160e01b600052601260045260246000fd5b60008261284a5761284a612825565b500490565b60008261285e5761285e612825565b500690565b634e487b7160e01b600052603260045260246000fd5b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906128ac90830184612185565b9695505050505050565b6000602082840312156128c857600080fd5b81516121528161211f56fea2646970667358221220134fd4c2f17ebaf17d199595f0fc9b2f73492f5381147558f5003f22bf26e1c164736f6c634300080d0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000628b936000000000000000000000000000000000000000000000000000000000628ce4e0a02e799e55a2b2fa5284ecb5a36c27c06b61fb636fdd04d0c1c20686a749fd7a00000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000010000000000000000000000000091c62542740397c002af662b2d1e8bf23812efb4000000000000000000000000000000000000000000000000000000000000001868747470733a2f2f6170692e6972756b616e646a692e67670000000000000000000000000000000000000000000000000000000000000000000000000000003f68747470733a2f2f617277656176652e6e65742f6e326e33646f424c5166327353625265316d663537444c6a3466467477684863355059574c38536171744d00
-----Decoded View---------------
Arg [0] : _presaleTimestamp (uint256): 1653314400
Arg [1] : _publicTimestamp (uint256): 1653400800
Arg [2] : _root (bytes32): 0xa02e799e55a2b2fa5284ecb5a36c27c06b61fb636fdd04d0c1c20686a749fd7a
Arg [3] : _baseURI (string): https://api.irukandji.gg
Arg [4] : _contractURI (string): https://arweave.net/n2n3doBLQf2sSbRe1mf57DLj4fFtwhHc5PYWL8SaqtM
Arg [5] : _teamWallet (address): 0x91C62542740397C002af662B2D1e8Bf23812eFB4
-----Encoded View---------------
11 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000628b9360
Arg [1] : 00000000000000000000000000000000000000000000000000000000628ce4e0
Arg [2] : a02e799e55a2b2fa5284ecb5a36c27c06b61fb636fdd04d0c1c20686a749fd7a
Arg [3] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [5] : 00000000000000000000000091c62542740397c002af662b2d1e8bf23812efb4
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000018
Arg [7] : 68747470733a2f2f6170692e6972756b616e646a692e67670000000000000000
Arg [8] : 000000000000000000000000000000000000000000000000000000000000003f
Arg [9] : 68747470733a2f2f617277656176652e6e65742f6e326e33646f424c51663273
Arg [10] : 53625265316d663537444c6a3466467477684863355059574c38536171744d00
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.