Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
1,960 YUAVERSE
Holders
334
Total Transfers
-
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
YuaVerse
Compiler Version
v0.8.15+commit.e14f2714
Optimization Enabled:
Yes with 1000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT /* - - | - | - | - | - | - | - | - | - - - - - - - - - - - - - - - - - - - ( ) - ( ) - ( ) - - - - - - - -------------o ..- ~~ " ~~ -.. - ------o -=" "=- o----------------------------- - ++ _. - ~"~ - ._ ++ o----------------- - +. ./' '\. +. - - .: -' '- :. - - :+ .> \. +. - - .+ - ::: ::: ::: > '+ ::: - - +" ./ ::: ::: ::: ::: - - ': - ::: ::: ::: .::::::::::. :::::::::::. .::::::::::: - - ': '. :::::::::::: ::: :::::::::::: :::::::::::: :::""""""""" - - ': '. "::::::::::: ::: ::: ::: ::: ::: :::::::::::. - - ': '. ::: :::. ::: ::: ::: ::: ::: """"""""::: - - +. -. :::::::::::: +::: +::::::: ::: :::::::::::: :::::::::::: - O ': -. """"""""""" """ """""" """ """""""""" """"""""""" - O ': \. ./ :' - O '+ -. .- +' - O +. -. .- .+ - o +. " ~ - . - ~ " .+ - o "+:_ _:+" - - " ~ - - ~ " - - _____ __ ____ _ __ __ _____ - - / ___/___ ______ ______ _____ / /______ ____ / __/ | | / /__ / /_ |__ / - - \__ \/ _ \/ ___/ | / / __ `/ __ \/ __/ ___/ / __ \/ /_ | | /| / / _ \/ __ \ /_ < - - ___/ / __/ / | |/ / /_/ / / / / /_(__ ) / /_/ / __/ | |/ |/ / __/ /_/ / ___/ / - - /____/\___/_/ |___/\__,_/_/ /_/\__/____/ \____/_/ |__/|__/\___/_.___/ /____/ - - - - >/. Ylabs.one </. - - o-------------------------------------- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ pragma solidity ^0.8.15; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "./ERC721Y.sol"; contract YuaVerse is ERC721Y, Ownable { uint256 public constant YUA_SUPPLY = 7777; uint256 public constant RESERVE = 777; uint256 public YUA_PRICE; string public baseURI; bytes32 public merkleRoot; bool public giftState; bool public isPhaseTwoActive; uint8 public lockState; address public proxyRegistryAddress; mapping(address => bool) public projectProxy; mapping(address => bool) public isMintedPhaseOne; mapping(address => bool) public isMintedPhaseTwo; mapping(address => uint256) public mintedSoFar; constructor(address _proxyRegistryAddress, string memory _baseURI) ERC721Y("YuaVerse", "YUAVERSE") { proxyRegistryAddress = _proxyRegistryAddress; baseURI = _baseURI; lockState = 0; isPhaseTwoActive = false; giftState = false; YUA_PRICE = 0; } function setProxyRegistryAddress(address _proxyRegistryAddress) external onlyOwner { proxyRegistryAddress = _proxyRegistryAddress; } function flipProxyState(address proxyAddress) public onlyOwner { projectProxy[proxyAddress] = !projectProxy[proxyAddress]; } function setMerkleRoot(bytes32 _merkleRoot) external onlyOwner { require(lockState == 0); merkleRoot = _merkleRoot; } function lockTheDoorForEverAndEver() external onlyOwner { require(lockState == 0); lockState = 1; } function setPrice(uint256 _price) external onlyOwner { require(lockState == 0); YUA_PRICE = _price; } function toggleIntoPhaseTwo() external onlyOwner { isPhaseTwoActive = !isPhaseTwoActive; } function _leaf(string memory allowance, string memory payload) internal pure returns (bytes32) { return keccak256(abi.encodePacked(payload, allowance)); } function _verify(bytes32 leaf, bytes32[] memory proof) internal view returns (bool) { return MerkleProof.verify(proof, merkleRoot, leaf); } modifier isActive() { require(isPhaseTwoActive == true, "The phase two minting is not active!"); _; } function mintFreePhaseOne(uint256 allowance, bytes32[] calldata proof) external { uint256 totalSupply = _owners.length; require(totalSupply + allowance < YUA_SUPPLY, "Uh-oh there is no more YUA!"); string memory payload = string(abi.encodePacked(msg.sender)); require(_verify(_leaf(Strings.toString(allowance), payload), proof), "Wrong proof or the contract is locked for ever!"); require(!isMintedPhaseOne[msg.sender], "You already minted your allowance!"); for(uint i; i < allowance; i++) { _mint(_msgSender(), totalSupply + i); } isMintedPhaseOne[msg.sender] = true; } function mintFreePhaseTwo(uint256 allowance, bytes32[] calldata proof) external isActive { uint256 totalSupply = _owners.length; require(totalSupply + allowance < YUA_SUPPLY, "Uh-oh there is no more YUA!"); string memory payload = string(abi.encodePacked(msg.sender)); require(_verify(_leaf(Strings.toString(allowance), payload), proof), "Wrong proof or the contract is locked for ever!"); require(!isMintedPhaseTwo[msg.sender], "You already minted your allowance!"); for(uint i; i < allowance; i++) { _mint(_msgSender(), totalSupply + i); } isMintedPhaseTwo[msg.sender] = true; } function mintPrivate(uint256 num_tokens, uint256 allowance, bytes32[] calldata proof) external payable { require(YUA_PRICE != 0); uint256 totalSupply = _owners.length; require(totalSupply + allowance < YUA_SUPPLY, "Uh-oh there is no more YUA!"); string memory payload = string(abi.encodePacked(msg.sender)); require(_verify(_leaf(Strings.toString(allowance), payload), proof), "Wrong proof or the contract is locked for ever!"); require(mintedSoFar[msg.sender] + num_tokens <= allowance, "More than your Allowance!"); require(YUA_PRICE * num_tokens <= msg.value, "Insufficient fund!"); mintedSoFar[msg.sender] += num_tokens; for(uint i; i < num_tokens; i++) { _mint(_msgSender(), totalSupply + i); } } function giftThem(address[] calldata _first25) public onlyOwner { require(giftState == false); for(uint256 i; i < _first25.length; i++) { _mint(_first25[i], i); } giftState = true; } function teamReserve() public onlyOwner { uint256 totalSupply = _owners.length; require(lockState == 0); require(totalSupply + RESERVE < YUA_SUPPLY, "Dman!"); for(uint256 i; i < RESERVE; i++) _mint(_msgSender(), totalSupply + i); } function _mint(address to, uint256 tokenId) internal virtual override { _owners.push(to); emit Transfer(address(0), to, tokenId); } function tokenURI(uint256 _tokenId) public view override returns (string memory) { require(_exists(_tokenId), "Token does not exist."); return string(abi.encodePacked(baseURI, Strings.toString(_tokenId))); } function setBaseURI(string memory _baseURI) external onlyOwner() { baseURI = _baseURI; } function withdraw() external onlyOwner { payable(msg.sender).transfer(address(this).balance); } function isApprovedForAll(address _owner, address operator) public view override returns (bool) { OpenSeaProxyRegistry proxyRegistry = OpenSeaProxyRegistry(proxyRegistryAddress); if (address(proxyRegistry.proxies(_owner)) == operator || projectProxy[operator]) return true; return super.isApprovedForAll(_owner, operator); } } contract OwnableDelegateProxy { } contract OpenSeaProxyRegistry { mapping(address => OwnableDelegateProxy) public proxies; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.15; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; import "@openzeppelin/contracts/utils/Address.sol"; abstract contract ERC721Y is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable { using Address for address; using Strings for uint256; string private _name; string private _symbol; // Mapping from token ID to owner address address[] internal _owners; mapping(uint256 => address) private _tokenApprovals; mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } function totalSupply() public view virtual override returns (uint256) { return _owners.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < _owners.length, "ERC721Enumerable: global index out of bounds"); return index; } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256 tokenId) { require(index < balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); uint count; for(uint i; i < _owners.length; i++){ if(owner == _owners[i]){ if(count == index) return i; else count++; } } revert("ERC721Enumerable: owner index out of bounds"); } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint) { require(owner != address(0), "ERC721: balance query for the zero address"); uint count; for( uint i; i < _owners.length; ++i ){ if( owner == _owners[i] ) ++count; } return count; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require( owner != address(0), "ERC721: owner query for nonexistent token" ); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721Y.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require( _exists(tokenId), "ERC721: approved query for nonexistent token" ); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require( _isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved" ); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require( _isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved" ); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require( _checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return tokenId < _owners.length && _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 = ERC721Y.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _owners.push(to); emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721Y.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _owners[tokenId] = address(0); emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require( ERC721Y.ownerOf(tokenId) == from, "ERC721Y: transfer of token that is not own" ); require(to != address(0), "ERC721Y: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721Y.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721YReceiver-onERC721YReceived} 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( "ERC721Y: transfer to non ERC721YReceiver implementer" ); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (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 Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { 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.7.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Tree 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 Calldata version of {verify} * * _Available since v4.7._ */ function verifyCalldata( bytes32[] calldata proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProofCalldata(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++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Calldata version of {processProof} * * _Available since v4.7._ */ function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Returns true if the `leaves` can be proved to be a part of a Merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * _Available since v4.7._ */ function multiProofVerify( bytes32[] memory proof, bool[] memory proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProof(proof, proofFlags, leaves) == root; } /** * @dev Calldata version of {multiProofVerify} * * _Available since v4.7._ */ function multiProofVerifyCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProofCalldata(proof, proofFlags, leaves) == root; } /** * @dev Returns the root of a tree reconstructed from `leaves` and the sibling nodes in `proof`, * consuming from one or the other at each step according to the instructions given by * `proofFlags`. * * _Available since v4.7._ */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Calldata version of {processMultiProof} * * _Available since v4.7._ */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } 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 (last updated v4.7.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 /// @solidity memory-safe-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/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @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); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/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.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.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 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 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); }
{ "optimizer": { "enabled": true, "runs": 1000 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_proxyRegistryAddress","type":"address"},{"internalType":"string","name":"_baseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":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"},{"inputs":[],"name":"RESERVE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"YUA_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"YUA_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"proxyAddress","type":"address"}],"name":"flipProxyState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"giftState","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_first25","type":"address[]"}],"name":"giftThem","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isMintedPhaseOne","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isMintedPhaseTwo","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPhaseTwoActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockState","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockTheDoorForEverAndEver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"mintFreePhaseOne","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"mintFreePhaseTwo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"num_tokens","type":"uint256"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"mintPrivate","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintedSoFar","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":[{"internalType":"address","name":"","type":"address"}],"name":"projectProxy","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proxyRegistryAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_proxyRegistryAddress","type":"address"}],"name":"setProxyRegistryAddress","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":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleIntoPhaseTwo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b506040516200305e3803806200305e83398101604081905262000034916200016b565b60405180604001604052806008815260200167597561566572736560c01b81525060405180604001604052806008815260200167595541564552534560c01b8152508160009081620000879190620002fa565b506001620000968282620002fa565b505050620000b3620000ad620000ff60201b60201c565b62000103565b600980546301000000600160b81b03191663010000006001600160a01b038516021790556007620000e58282620002fa565b50506009805462ffffff19169055506000600655620003c6565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156200017f57600080fd5b82516001600160a01b03811681146200019757600080fd5b602084810151919350906001600160401b0380821115620001b757600080fd5b818601915086601f830112620001cc57600080fd5b815181811115620001e157620001e162000155565b604051601f8201601f19908116603f011681019083821181831017156200020c576200020c62000155565b8160405282815289868487010111156200022557600080fd5b600093505b828410156200024957848401860151818501870152928501926200022a565b828411156200025b5760008684830101525b8096505050505050509250929050565b600181811c908216806200028057607f821691505b602082108103620002a157634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620002f557600081815260208120601f850160051c81016020861015620002d05750805b601f850160051c820191505b81811015620002f157828155600101620002dc565b5050505b505050565b81516001600160401b0381111562000316576200031662000155565b6200032e816200032784546200026b565b84620002a7565b602080601f8311600181146200036657600084156200034d5750858301515b600019600386901b1c1916600185901b178555620002f1565b600085815260208120601f198616915b82811015620003975788860151825594840194600190910190840162000376565b5085821015620003b65787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b612c8880620003d66000396000f3fe6080604052600436106102f25760003560e01c806361db635c1161018f578063a22cb465116100e1578063e1926a591161008a578063f2fde38b11610064578063f2fde38b14610832578063f73c814b14610852578063facb38ed1461087257600080fd5b8063e1926a59146107c2578063e5a69595146107e2578063e985e9c51461081257600080fd5b8063c87b56dd116100bb578063c87b56dd1461075b578063cd7c03261461077b578063d26ea6c0146107a257600080fd5b8063a22cb465146106ee578063b88d4fde1461070e578063c1ca17631461072e57600080fd5b80637cb647591161014357806395d89b411161011d57806395d89b41146106a457806396863230146106b95780639d2cc436146106d857600080fd5b80637cb64759146106465780638da5cb5b1461066657806391b7f5ed1461068457600080fd5b80636c0360eb116101745780636c0360eb146105fc57806370a0823114610611578063715018a61461063157600080fd5b806361db635c146105c65780636352211e146105dc57600080fd5b80632eb4a7ab116102485780634287f14a116101fc5780634f6ccce7116101d65780634f6ccce71461055657806355f804b3146105765780635bab26e21461059657600080fd5b80634287f14a146104ef57806346be9c48146105045780634dd8c9241461053657600080fd5b80633ad817891161022d5780633ad817891461048a5780633ccfd60b146104ba57806342842e0e146104cf57600080fd5b80632eb4a7ab146104545780632f745c591461046a57600080fd5b806318160ddd116102aa578063285ff92911610284578063285ff929146104165780632951b7a41461042c57806329eb41c21461043f57600080fd5b806318160ddd146103bd57806323b872dd146103dc578063243689e2146103fc57600080fd5b806306fdde03116102db57806306fdde0314610343578063081812fc14610365578063095ea7b31461039d57600080fd5b806301a05493146102f757806301ffc9a71461030e575b600080fd5b34801561030357600080fd5b5061030c610892565b005b34801561031a57600080fd5b5061032e6103293660046124e8565b6108b7565b60405190151581526020015b60405180910390f35b34801561034f57600080fd5b50610358610988565b60405161033a919061255d565b34801561037157600080fd5b50610385610380366004612570565b610a1a565b6040516001600160a01b03909116815260200161033a565b3480156103a957600080fd5b5061030c6103b836600461259e565b610aa7565b3480156103c957600080fd5b506002545b60405190815260200161033a565b3480156103e857600080fd5b5061030c6103f73660046125ca565b610bd8565b34801561040857600080fd5b5060095461032e9060ff1681565b34801561042257600080fd5b506103ce60065481565b61030c61043a366004612657565b610c5f565b34801561044b57600080fd5b5061030c610ed2565b34801561046057600080fd5b506103ce60085481565b34801561047657600080fd5b506103ce61048536600461259e565b610f03565b34801561049657600080fd5b5061032e6104a53660046126aa565b600c6020526000908152604090205460ff1681565b3480156104c657600080fd5b5061030c61103d565b3480156104db57600080fd5b5061030c6104ea3660046125ca565b611074565b3480156104fb57600080fd5b5061030c61108f565b34801561051057600080fd5b506009546105249062010000900460ff1681565b60405160ff909116815260200161033a565b34801561054257600080fd5b5061030c6105513660046126c7565b61113d565b34801561056257600080fd5b506103ce610571366004612570565b6112ee565b34801561058257600080fd5b5061030c61059136600461279f565b61136c565b3480156105a257600080fd5b5061032e6105b13660046126aa565b600a6020526000908152604090205460ff1681565b3480156105d257600080fd5b506103ce611e6181565b3480156105e857600080fd5b506103856105f7366004612570565b611380565b34801561060857600080fd5b50610358611420565b34801561061d57600080fd5b506103ce61062c3660046126aa565b6114ae565b34801561063d57600080fd5b5061030c61158f565b34801561065257600080fd5b5061030c610661366004612570565b6115a3565b34801561067257600080fd5b506005546001600160a01b0316610385565b34801561069057600080fd5b5061030c61069f366004612570565b6115c6565b3480156106b057600080fd5b506103586115e9565b3480156106c557600080fd5b5060095461032e90610100900460ff1681565b3480156106e457600080fd5b506103ce61030981565b3480156106fa57600080fd5b5061030c6107093660046127e8565b6115f8565b34801561071a57600080fd5b5061030c610729366004612826565b6116bc565b34801561073a57600080fd5b506103ce6107493660046126aa565b600d6020526000908152604090205481565b34801561076757600080fd5b50610358610776366004612570565b61174a565b34801561078757600080fd5b5060095461038590630100000090046001600160a01b031681565b3480156107ae57600080fd5b5061030c6107bd3660046126aa565b6117d3565b3480156107ce57600080fd5b5061030c6107dd3660046126c7565b61181c565b3480156107ee57600080fd5b5061032e6107fd3660046126aa565b600b6020526000908152604090205460ff1681565b34801561081e57600080fd5b5061032e61082d3660046128a6565b611a4f565b34801561083e57600080fd5b5061030c61084d3660046126aa565b611b53565b34801561085e57600080fd5b5061030c61086d3660046126aa565b611be0565b34801561087e57600080fd5b5061030c61088d3660046128d4565b611c11565b61089a611c88565b6009805461ff001981166101009182900460ff1615909102179055565b60006001600160e01b031982167f80ac58cd00000000000000000000000000000000000000000000000000000000148061091a57506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061094e57506001600160e01b031982167f780e9d6300000000000000000000000000000000000000000000000000000000145b8061098257507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b60606000805461099790612916565b80601f01602080910402602001604051908101604052809291908181526020018280546109c390612916565b8015610a105780601f106109e557610100808354040283529160200191610a10565b820191906000526020600020905b8154815290600101906020018083116109f357829003601f168201915b5050505050905090565b6000610a2582611ce2565b610a8b5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600360205260409020546001600160a01b031690565b6000610ab282611380565b9050806001600160a01b0316836001600160a01b031603610b3b5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610a82565b336001600160a01b0382161480610b575750610b578133611a4f565b610bc95760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610a82565b610bd38383611d2c565b505050565b610be23382611da7565b610c545760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610a82565b610bd3838383611e69565b600654600003610c6e57600080fd5b600254611e61610c7e8583612966565b10610ccb5760405162461bcd60e51b815260206004820152601b60248201527f55682d6f68207468657265206973206e6f206d6f7265205955412100000000006044820152606401610a82565b604080513360601b6bffffffffffffffffffffffff19166020820152815160148183030181526034909101909152610d47610d0e610d0887611ffa565b8361212f565b85858080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525061216292505050565b610dab5760405162461bcd60e51b815260206004820152602f60248201527f57726f6e672070726f6f66206f722074686520636f6e7472616374206973206c60448201526e6f636b656420666f7220657665722160881b6064820152608401610a82565b336000908152600d60205260409020548590610dc8908890612966565b1115610e165760405162461bcd60e51b815260206004820152601960248201527f4d6f7265207468616e20796f757220416c6c6f77616e636521000000000000006044820152606401610a82565b3486600654610e25919061297e565b1115610e735760405162461bcd60e51b815260206004820152601260248201527f496e73756666696369656e742066756e642100000000000000000000000000006044820152606401610a82565b336000908152600d602052604081208054889290610e92908490612966565b90915550600090505b86811015610ec957610eb7335b610eb28386612966565b612178565b80610ec18161299d565b915050610e9b565b50505050505050565b610eda611c88565b60095462010000900460ff1615610ef057600080fd5b6009805462ff0000191662010000179055565b6000610f0e836114ae565b8210610f705760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610a82565b6000805b600254811015610fe05760028181548110610f9157610f916129b6565b6000918252602090912001546001600160a01b0390811690861603610fce57838203610fc05791506109829050565b81610fca8161299d565b9250505b80610fd88161299d565b915050610f74565b5060405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610a82565b611045611c88565b60405133904780156108fc02916000818181858888f19350505050158015611071573d6000803e3d6000fd5b50565b610bd3838383604051806020016040528060008152506116bc565b611097611c88565b60025460095462010000900460ff16156110b057600080fd5b611e616110bf61030983612966565b1061110c5760405162461bcd60e51b815260206004820152600560248201527f446d616e210000000000000000000000000000000000000000000000000000006044820152606401610a82565b60005b6103098110156111395761112733610eb28385612966565b806111318161299d565b91505061110f565b5050565b600254611e6161114d8583612966565b1061119a5760405162461bcd60e51b815260206004820152601b60248201527f55682d6f68207468657265206973206e6f206d6f7265205955412100000000006044820152606401610a82565b604080513360601b6bffffffffffffffffffffffff191660208201528151601481830301815260349091019091526111d7610d0e610d0887611ffa565b61123b5760405162461bcd60e51b815260206004820152602f60248201527f57726f6e672070726f6f66206f722074686520636f6e7472616374206973206c60448201526e6f636b656420666f7220657665722160881b6064820152608401610a82565b336000908152600b602052604090205460ff16156112a65760405162461bcd60e51b815260206004820152602260248201527f596f7520616c7265616479206d696e74656420796f757220616c6c6f77616e63604482015261652160f01b6064820152608401610a82565b60005b858110156112cc576112ba33610ea8565b806112c48161299d565b9150506112a9565b5050336000908152600b60205260409020805460ff1916600117905550505050565b60025460009082106113685760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e647300000000000000000000000000000000000000006064820152608401610a82565b5090565b611374611c88565b60076111398282612a1a565b60008060028381548110611396576113966129b6565b6000918252602090912001546001600160a01b03169050806109825760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610a82565b6007805461142d90612916565b80601f016020809104026020016040519081016040528092919081815260200182805461145990612916565b80156114a65780601f1061147b576101008083540402835291602001916114a6565b820191906000526020600020905b81548152906001019060200180831161148957829003601f168201915b505050505081565b60006001600160a01b03821661152c5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610a82565b6000805b600254811015611588576002818154811061154d5761154d6129b6565b6000918252602090912001546001600160a01b0390811690851603611578576115758261299d565b91505b6115818161299d565b9050611530565b5092915050565b611597611c88565b6115a16000612201565b565b6115ab611c88565b60095462010000900460ff16156115c157600080fd5b600855565b6115ce611c88565b60095462010000900460ff16156115e457600080fd5b600655565b60606001805461099790612916565b336001600160a01b038316036116505760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610a82565b3360008181526004602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6116c63383611da7565b6117385760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610a82565b61174484848484612260565b50505050565b606061175582611ce2565b6117a15760405162461bcd60e51b815260206004820152601560248201527f546f6b656e20646f6573206e6f742065786973742e00000000000000000000006044820152606401610a82565b60076117ac83611ffa565b6040516020016117bd929190612ada565b6040516020818303038152906040529050919050565b6117db611c88565b600980546001600160a01b039092166301000000027fffffffffffffffffff0000000000000000000000000000000000000000ffffff909216919091179055565b60095460ff61010090910416151560011461189e5760405162461bcd60e51b8152602060048201526024808201527f5468652070686173652074776f206d696e74696e67206973206e6f742061637460448201527f69766521000000000000000000000000000000000000000000000000000000006064820152608401610a82565b600254611e616118ae8583612966565b106118fb5760405162461bcd60e51b815260206004820152601b60248201527f55682d6f68207468657265206973206e6f206d6f7265205955412100000000006044820152606401610a82565b604080513360601b6bffffffffffffffffffffffff19166020820152815160148183030181526034909101909152611938610d0e610d0887611ffa565b61199c5760405162461bcd60e51b815260206004820152602f60248201527f57726f6e672070726f6f66206f722074686520636f6e7472616374206973206c60448201526e6f636b656420666f7220657665722160881b6064820152608401610a82565b336000908152600c602052604090205460ff1615611a075760405162461bcd60e51b815260206004820152602260248201527f596f7520616c7265616479206d696e74656420796f757220616c6c6f77616e63604482015261652160f01b6064820152608401610a82565b60005b85811015611a2d57611a1b33610ea8565b80611a258161299d565b915050611a0a565b5050336000908152600c60205260409020805460ff1916600117905550505050565b6009546040517fc45527910000000000000000000000000000000000000000000000000000000081526001600160a01b0384811660048301526000926301000000900481169190841690829063c455279190602401602060405180830381865afa158015611ac1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ae59190612b61565b6001600160a01b03161480611b1257506001600160a01b0383166000908152600a602052604090205460ff165b15611b21576001915050610982565b6001600160a01b0380851660009081526004602090815260408083209387168352929052205460ff165b949350505050565b611b5b611c88565b6001600160a01b038116611bd75760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610a82565b61107181612201565b611be8611c88565b6001600160a01b03166000908152600a60205260409020805460ff19811660ff90911615179055565b611c19611c88565b60095460ff1615611c2957600080fd5b60005b81811015611c7657611c64838383818110611c4957611c496129b6565b9050602002016020810190611c5e91906126aa565b82612178565b80611c6e8161299d565b915050611c2c565b50506009805460ff1916600117905550565b6005546001600160a01b031633146115a15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a82565b60025460009082108015610982575060006001600160a01b031660028381548110611d0f57611d0f6129b6565b6000918252602090912001546001600160a01b0316141592915050565b6000818152600360205260409020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0384169081179091558190611d6e82611380565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611db282611ce2565b611e135760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610a82565b6000611e1e83611380565b9050806001600160a01b0316846001600160a01b03161480611e595750836001600160a01b0316611e4e84610a1a565b6001600160a01b0316145b80611b4b5750611b4b8185611a4f565b826001600160a01b0316611e7c82611380565b6001600160a01b031614611ef85760405162461bcd60e51b815260206004820152602a60248201527f455243373231593a207472616e73666572206f6620746f6b656e20746861742060448201527f6973206e6f74206f776e000000000000000000000000000000000000000000006064820152608401610a82565b6001600160a01b038216611f745760405162461bcd60e51b815260206004820152602560248201527f455243373231593a207472616e7366657220746f20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610a82565b611f7f600082611d2c565b8160028281548110611f9357611f936129b6565b60009182526020822001805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b60608160000361203d57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b811561206757806120518161299d565b91506120609050600a83612b94565b9150612041565b60008167ffffffffffffffff81111561208257612082612713565b6040519080825280601f01601f1916602001820160405280156120ac576020820181803683370190505b5090505b8415611b4b576120c1600183612ba8565b91506120ce600a86612bbf565b6120d9906030612966565b60f81b8183815181106120ee576120ee6129b6565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612128600a86612b94565b94506120b0565b60008183604051602001612144929190612bd3565b60405160208183030381529060405280519060200120905092915050565b600061217182600854856122e9565b9392505050565b6002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace01805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600580546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61226b848484611e69565b612277848484846122ff565b6117445760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610a82565b6000826122f68584612456565b14949350505050565b60006001600160a01b0384163b1561244b57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612343903390899088908890600401612bf9565b6020604051808303816000875af192505050801561237e575060408051601f3d908101601f1916820190925261237b91810190612c35565b60015b612431573d8080156123ac576040519150601f19603f3d011682016040523d82523d6000602084013e6123b1565b606091505b5080516000036124295760405162461bcd60e51b815260206004820152603460248201527f455243373231593a207472616e7366657220746f206e6f6e204552433732315960448201527f526563656976657220696d706c656d656e7465720000000000000000000000006064820152608401610a82565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611b4b565b506001949350505050565b600081815b845181101561249b576124878286838151811061247a5761247a6129b6565b60200260200101516124a3565b9150806124938161299d565b91505061245b565b509392505050565b60008183106124bf576000828152602084905260409020612171565b6000838152602083905260409020612171565b6001600160e01b03198116811461107157600080fd5b6000602082840312156124fa57600080fd5b8135612171816124d2565b60005b83811015612520578181015183820152602001612508565b838111156117445750506000910152565b60008151808452612549816020860160208601612505565b601f01601f19169290920160200192915050565b6020815260006121716020830184612531565b60006020828403121561258257600080fd5b5035919050565b6001600160a01b038116811461107157600080fd5b600080604083850312156125b157600080fd5b82356125bc81612589565b946020939093013593505050565b6000806000606084860312156125df57600080fd5b83356125ea81612589565b925060208401356125fa81612589565b929592945050506040919091013590565b60008083601f84011261261d57600080fd5b50813567ffffffffffffffff81111561263557600080fd5b6020830191508360208260051b850101111561265057600080fd5b9250929050565b6000806000806060858703121561266d57600080fd5b8435935060208501359250604085013567ffffffffffffffff81111561269257600080fd5b61269e8782880161260b565b95989497509550505050565b6000602082840312156126bc57600080fd5b813561217181612589565b6000806000604084860312156126dc57600080fd5b83359250602084013567ffffffffffffffff8111156126fa57600080fd5b6127068682870161260b565b9497909650939450505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561274457612744612713565b604051601f8501601f19908116603f0116810190828211818310171561276c5761276c612713565b8160405280935085815286868601111561278557600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156127b157600080fd5b813567ffffffffffffffff8111156127c857600080fd5b8201601f810184136127d957600080fd5b611b4b84823560208401612729565b600080604083850312156127fb57600080fd5b823561280681612589565b91506020830135801515811461281b57600080fd5b809150509250929050565b6000806000806080858703121561283c57600080fd5b843561284781612589565b9350602085013561285781612589565b925060408501359150606085013567ffffffffffffffff81111561287a57600080fd5b8501601f8101871361288b57600080fd5b61289a87823560208401612729565b91505092959194509250565b600080604083850312156128b957600080fd5b82356128c481612589565b9150602083013561281b81612589565b600080602083850312156128e757600080fd5b823567ffffffffffffffff8111156128fe57600080fd5b61290a8582860161260b565b90969095509350505050565b600181811c9082168061292a57607f821691505b60208210810361294a57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000821982111561297957612979612950565b500190565b600081600019048311821515161561299857612998612950565b500290565b6000600182016129af576129af612950565b5060010190565b634e487b7160e01b600052603260045260246000fd5b601f821115610bd357600081815260208120601f850160051c810160208610156129f35750805b601f850160051c820191505b81811015612a12578281556001016129ff565b505050505050565b815167ffffffffffffffff811115612a3457612a34612713565b612a4881612a428454612916565b846129cc565b602080601f831160018114612a7d5760008415612a655750858301515b600019600386901b1c1916600185901b178555612a12565b600085815260208120601f198616915b82811015612aac57888601518255948401946001909101908401612a8d565b5085821015612aca5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000808454612ae881612916565b60018281168015612b005760018114612b1557612b44565b60ff1984168752821515830287019450612b44565b8860005260208060002060005b85811015612b3b5781548a820152908401908201612b22565b50505082870194505b505050508351612b58818360208801612505565b01949350505050565b600060208284031215612b7357600080fd5b815161217181612589565b634e487b7160e01b600052601260045260246000fd5b600082612ba357612ba3612b7e565b500490565b600082821015612bba57612bba612950565b500390565b600082612bce57612bce612b7e565b500690565b60008351612be5818460208801612505565b835190830190612b58818360208801612505565b60006001600160a01b03808716835280861660208401525083604083015260806060830152612c2b6080830184612531565b9695505050505050565b600060208284031215612c4757600080fd5b8151612171816124d256fea26469706673582212206b82b5e5015251cbb5447fc9d5830234467515492a709b637d9a57daa65347fd64736f6c634300080f0033000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c10000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000003768747470733a2f2f797561737461746963732e73332e616d617a6f6e6177732e636f6d2f50686173653154656d704d657461646174612f000000000000000000
Deployed Bytecode
0x6080604052600436106102f25760003560e01c806361db635c1161018f578063a22cb465116100e1578063e1926a591161008a578063f2fde38b11610064578063f2fde38b14610832578063f73c814b14610852578063facb38ed1461087257600080fd5b8063e1926a59146107c2578063e5a69595146107e2578063e985e9c51461081257600080fd5b8063c87b56dd116100bb578063c87b56dd1461075b578063cd7c03261461077b578063d26ea6c0146107a257600080fd5b8063a22cb465146106ee578063b88d4fde1461070e578063c1ca17631461072e57600080fd5b80637cb647591161014357806395d89b411161011d57806395d89b41146106a457806396863230146106b95780639d2cc436146106d857600080fd5b80637cb64759146106465780638da5cb5b1461066657806391b7f5ed1461068457600080fd5b80636c0360eb116101745780636c0360eb146105fc57806370a0823114610611578063715018a61461063157600080fd5b806361db635c146105c65780636352211e146105dc57600080fd5b80632eb4a7ab116102485780634287f14a116101fc5780634f6ccce7116101d65780634f6ccce71461055657806355f804b3146105765780635bab26e21461059657600080fd5b80634287f14a146104ef57806346be9c48146105045780634dd8c9241461053657600080fd5b80633ad817891161022d5780633ad817891461048a5780633ccfd60b146104ba57806342842e0e146104cf57600080fd5b80632eb4a7ab146104545780632f745c591461046a57600080fd5b806318160ddd116102aa578063285ff92911610284578063285ff929146104165780632951b7a41461042c57806329eb41c21461043f57600080fd5b806318160ddd146103bd57806323b872dd146103dc578063243689e2146103fc57600080fd5b806306fdde03116102db57806306fdde0314610343578063081812fc14610365578063095ea7b31461039d57600080fd5b806301a05493146102f757806301ffc9a71461030e575b600080fd5b34801561030357600080fd5b5061030c610892565b005b34801561031a57600080fd5b5061032e6103293660046124e8565b6108b7565b60405190151581526020015b60405180910390f35b34801561034f57600080fd5b50610358610988565b60405161033a919061255d565b34801561037157600080fd5b50610385610380366004612570565b610a1a565b6040516001600160a01b03909116815260200161033a565b3480156103a957600080fd5b5061030c6103b836600461259e565b610aa7565b3480156103c957600080fd5b506002545b60405190815260200161033a565b3480156103e857600080fd5b5061030c6103f73660046125ca565b610bd8565b34801561040857600080fd5b5060095461032e9060ff1681565b34801561042257600080fd5b506103ce60065481565b61030c61043a366004612657565b610c5f565b34801561044b57600080fd5b5061030c610ed2565b34801561046057600080fd5b506103ce60085481565b34801561047657600080fd5b506103ce61048536600461259e565b610f03565b34801561049657600080fd5b5061032e6104a53660046126aa565b600c6020526000908152604090205460ff1681565b3480156104c657600080fd5b5061030c61103d565b3480156104db57600080fd5b5061030c6104ea3660046125ca565b611074565b3480156104fb57600080fd5b5061030c61108f565b34801561051057600080fd5b506009546105249062010000900460ff1681565b60405160ff909116815260200161033a565b34801561054257600080fd5b5061030c6105513660046126c7565b61113d565b34801561056257600080fd5b506103ce610571366004612570565b6112ee565b34801561058257600080fd5b5061030c61059136600461279f565b61136c565b3480156105a257600080fd5b5061032e6105b13660046126aa565b600a6020526000908152604090205460ff1681565b3480156105d257600080fd5b506103ce611e6181565b3480156105e857600080fd5b506103856105f7366004612570565b611380565b34801561060857600080fd5b50610358611420565b34801561061d57600080fd5b506103ce61062c3660046126aa565b6114ae565b34801561063d57600080fd5b5061030c61158f565b34801561065257600080fd5b5061030c610661366004612570565b6115a3565b34801561067257600080fd5b506005546001600160a01b0316610385565b34801561069057600080fd5b5061030c61069f366004612570565b6115c6565b3480156106b057600080fd5b506103586115e9565b3480156106c557600080fd5b5060095461032e90610100900460ff1681565b3480156106e457600080fd5b506103ce61030981565b3480156106fa57600080fd5b5061030c6107093660046127e8565b6115f8565b34801561071a57600080fd5b5061030c610729366004612826565b6116bc565b34801561073a57600080fd5b506103ce6107493660046126aa565b600d6020526000908152604090205481565b34801561076757600080fd5b50610358610776366004612570565b61174a565b34801561078757600080fd5b5060095461038590630100000090046001600160a01b031681565b3480156107ae57600080fd5b5061030c6107bd3660046126aa565b6117d3565b3480156107ce57600080fd5b5061030c6107dd3660046126c7565b61181c565b3480156107ee57600080fd5b5061032e6107fd3660046126aa565b600b6020526000908152604090205460ff1681565b34801561081e57600080fd5b5061032e61082d3660046128a6565b611a4f565b34801561083e57600080fd5b5061030c61084d3660046126aa565b611b53565b34801561085e57600080fd5b5061030c61086d3660046126aa565b611be0565b34801561087e57600080fd5b5061030c61088d3660046128d4565b611c11565b61089a611c88565b6009805461ff001981166101009182900460ff1615909102179055565b60006001600160e01b031982167f80ac58cd00000000000000000000000000000000000000000000000000000000148061091a57506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061094e57506001600160e01b031982167f780e9d6300000000000000000000000000000000000000000000000000000000145b8061098257507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b60606000805461099790612916565b80601f01602080910402602001604051908101604052809291908181526020018280546109c390612916565b8015610a105780601f106109e557610100808354040283529160200191610a10565b820191906000526020600020905b8154815290600101906020018083116109f357829003601f168201915b5050505050905090565b6000610a2582611ce2565b610a8b5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600360205260409020546001600160a01b031690565b6000610ab282611380565b9050806001600160a01b0316836001600160a01b031603610b3b5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610a82565b336001600160a01b0382161480610b575750610b578133611a4f565b610bc95760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610a82565b610bd38383611d2c565b505050565b610be23382611da7565b610c545760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610a82565b610bd3838383611e69565b600654600003610c6e57600080fd5b600254611e61610c7e8583612966565b10610ccb5760405162461bcd60e51b815260206004820152601b60248201527f55682d6f68207468657265206973206e6f206d6f7265205955412100000000006044820152606401610a82565b604080513360601b6bffffffffffffffffffffffff19166020820152815160148183030181526034909101909152610d47610d0e610d0887611ffa565b8361212f565b85858080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525061216292505050565b610dab5760405162461bcd60e51b815260206004820152602f60248201527f57726f6e672070726f6f66206f722074686520636f6e7472616374206973206c60448201526e6f636b656420666f7220657665722160881b6064820152608401610a82565b336000908152600d60205260409020548590610dc8908890612966565b1115610e165760405162461bcd60e51b815260206004820152601960248201527f4d6f7265207468616e20796f757220416c6c6f77616e636521000000000000006044820152606401610a82565b3486600654610e25919061297e565b1115610e735760405162461bcd60e51b815260206004820152601260248201527f496e73756666696369656e742066756e642100000000000000000000000000006044820152606401610a82565b336000908152600d602052604081208054889290610e92908490612966565b90915550600090505b86811015610ec957610eb7335b610eb28386612966565b612178565b80610ec18161299d565b915050610e9b565b50505050505050565b610eda611c88565b60095462010000900460ff1615610ef057600080fd5b6009805462ff0000191662010000179055565b6000610f0e836114ae565b8210610f705760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610a82565b6000805b600254811015610fe05760028181548110610f9157610f916129b6565b6000918252602090912001546001600160a01b0390811690861603610fce57838203610fc05791506109829050565b81610fca8161299d565b9250505b80610fd88161299d565b915050610f74565b5060405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610a82565b611045611c88565b60405133904780156108fc02916000818181858888f19350505050158015611071573d6000803e3d6000fd5b50565b610bd3838383604051806020016040528060008152506116bc565b611097611c88565b60025460095462010000900460ff16156110b057600080fd5b611e616110bf61030983612966565b1061110c5760405162461bcd60e51b815260206004820152600560248201527f446d616e210000000000000000000000000000000000000000000000000000006044820152606401610a82565b60005b6103098110156111395761112733610eb28385612966565b806111318161299d565b91505061110f565b5050565b600254611e6161114d8583612966565b1061119a5760405162461bcd60e51b815260206004820152601b60248201527f55682d6f68207468657265206973206e6f206d6f7265205955412100000000006044820152606401610a82565b604080513360601b6bffffffffffffffffffffffff191660208201528151601481830301815260349091019091526111d7610d0e610d0887611ffa565b61123b5760405162461bcd60e51b815260206004820152602f60248201527f57726f6e672070726f6f66206f722074686520636f6e7472616374206973206c60448201526e6f636b656420666f7220657665722160881b6064820152608401610a82565b336000908152600b602052604090205460ff16156112a65760405162461bcd60e51b815260206004820152602260248201527f596f7520616c7265616479206d696e74656420796f757220616c6c6f77616e63604482015261652160f01b6064820152608401610a82565b60005b858110156112cc576112ba33610ea8565b806112c48161299d565b9150506112a9565b5050336000908152600b60205260409020805460ff1916600117905550505050565b60025460009082106113685760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e647300000000000000000000000000000000000000006064820152608401610a82565b5090565b611374611c88565b60076111398282612a1a565b60008060028381548110611396576113966129b6565b6000918252602090912001546001600160a01b03169050806109825760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610a82565b6007805461142d90612916565b80601f016020809104026020016040519081016040528092919081815260200182805461145990612916565b80156114a65780601f1061147b576101008083540402835291602001916114a6565b820191906000526020600020905b81548152906001019060200180831161148957829003601f168201915b505050505081565b60006001600160a01b03821661152c5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610a82565b6000805b600254811015611588576002818154811061154d5761154d6129b6565b6000918252602090912001546001600160a01b0390811690851603611578576115758261299d565b91505b6115818161299d565b9050611530565b5092915050565b611597611c88565b6115a16000612201565b565b6115ab611c88565b60095462010000900460ff16156115c157600080fd5b600855565b6115ce611c88565b60095462010000900460ff16156115e457600080fd5b600655565b60606001805461099790612916565b336001600160a01b038316036116505760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610a82565b3360008181526004602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6116c63383611da7565b6117385760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610a82565b61174484848484612260565b50505050565b606061175582611ce2565b6117a15760405162461bcd60e51b815260206004820152601560248201527f546f6b656e20646f6573206e6f742065786973742e00000000000000000000006044820152606401610a82565b60076117ac83611ffa565b6040516020016117bd929190612ada565b6040516020818303038152906040529050919050565b6117db611c88565b600980546001600160a01b039092166301000000027fffffffffffffffffff0000000000000000000000000000000000000000ffffff909216919091179055565b60095460ff61010090910416151560011461189e5760405162461bcd60e51b8152602060048201526024808201527f5468652070686173652074776f206d696e74696e67206973206e6f742061637460448201527f69766521000000000000000000000000000000000000000000000000000000006064820152608401610a82565b600254611e616118ae8583612966565b106118fb5760405162461bcd60e51b815260206004820152601b60248201527f55682d6f68207468657265206973206e6f206d6f7265205955412100000000006044820152606401610a82565b604080513360601b6bffffffffffffffffffffffff19166020820152815160148183030181526034909101909152611938610d0e610d0887611ffa565b61199c5760405162461bcd60e51b815260206004820152602f60248201527f57726f6e672070726f6f66206f722074686520636f6e7472616374206973206c60448201526e6f636b656420666f7220657665722160881b6064820152608401610a82565b336000908152600c602052604090205460ff1615611a075760405162461bcd60e51b815260206004820152602260248201527f596f7520616c7265616479206d696e74656420796f757220616c6c6f77616e63604482015261652160f01b6064820152608401610a82565b60005b85811015611a2d57611a1b33610ea8565b80611a258161299d565b915050611a0a565b5050336000908152600c60205260409020805460ff1916600117905550505050565b6009546040517fc45527910000000000000000000000000000000000000000000000000000000081526001600160a01b0384811660048301526000926301000000900481169190841690829063c455279190602401602060405180830381865afa158015611ac1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ae59190612b61565b6001600160a01b03161480611b1257506001600160a01b0383166000908152600a602052604090205460ff165b15611b21576001915050610982565b6001600160a01b0380851660009081526004602090815260408083209387168352929052205460ff165b949350505050565b611b5b611c88565b6001600160a01b038116611bd75760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610a82565b61107181612201565b611be8611c88565b6001600160a01b03166000908152600a60205260409020805460ff19811660ff90911615179055565b611c19611c88565b60095460ff1615611c2957600080fd5b60005b81811015611c7657611c64838383818110611c4957611c496129b6565b9050602002016020810190611c5e91906126aa565b82612178565b80611c6e8161299d565b915050611c2c565b50506009805460ff1916600117905550565b6005546001600160a01b031633146115a15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a82565b60025460009082108015610982575060006001600160a01b031660028381548110611d0f57611d0f6129b6565b6000918252602090912001546001600160a01b0316141592915050565b6000818152600360205260409020805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0384169081179091558190611d6e82611380565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611db282611ce2565b611e135760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610a82565b6000611e1e83611380565b9050806001600160a01b0316846001600160a01b03161480611e595750836001600160a01b0316611e4e84610a1a565b6001600160a01b0316145b80611b4b5750611b4b8185611a4f565b826001600160a01b0316611e7c82611380565b6001600160a01b031614611ef85760405162461bcd60e51b815260206004820152602a60248201527f455243373231593a207472616e73666572206f6620746f6b656e20746861742060448201527f6973206e6f74206f776e000000000000000000000000000000000000000000006064820152608401610a82565b6001600160a01b038216611f745760405162461bcd60e51b815260206004820152602560248201527f455243373231593a207472616e7366657220746f20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610a82565b611f7f600082611d2c565b8160028281548110611f9357611f936129b6565b60009182526020822001805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b60608160000361203d57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b811561206757806120518161299d565b91506120609050600a83612b94565b9150612041565b60008167ffffffffffffffff81111561208257612082612713565b6040519080825280601f01601f1916602001820160405280156120ac576020820181803683370190505b5090505b8415611b4b576120c1600183612ba8565b91506120ce600a86612bbf565b6120d9906030612966565b60f81b8183815181106120ee576120ee6129b6565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612128600a86612b94565b94506120b0565b60008183604051602001612144929190612bd3565b60405160208183030381529060405280519060200120905092915050565b600061217182600854856122e9565b9392505050565b6002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace01805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600580546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61226b848484611e69565b612277848484846122ff565b6117445760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610a82565b6000826122f68584612456565b14949350505050565b60006001600160a01b0384163b1561244b57604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612343903390899088908890600401612bf9565b6020604051808303816000875af192505050801561237e575060408051601f3d908101601f1916820190925261237b91810190612c35565b60015b612431573d8080156123ac576040519150601f19603f3d011682016040523d82523d6000602084013e6123b1565b606091505b5080516000036124295760405162461bcd60e51b815260206004820152603460248201527f455243373231593a207472616e7366657220746f206e6f6e204552433732315960448201527f526563656976657220696d706c656d656e7465720000000000000000000000006064820152608401610a82565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611b4b565b506001949350505050565b600081815b845181101561249b576124878286838151811061247a5761247a6129b6565b60200260200101516124a3565b9150806124938161299d565b91505061245b565b509392505050565b60008183106124bf576000828152602084905260409020612171565b6000838152602083905260409020612171565b6001600160e01b03198116811461107157600080fd5b6000602082840312156124fa57600080fd5b8135612171816124d2565b60005b83811015612520578181015183820152602001612508565b838111156117445750506000910152565b60008151808452612549816020860160208601612505565b601f01601f19169290920160200192915050565b6020815260006121716020830184612531565b60006020828403121561258257600080fd5b5035919050565b6001600160a01b038116811461107157600080fd5b600080604083850312156125b157600080fd5b82356125bc81612589565b946020939093013593505050565b6000806000606084860312156125df57600080fd5b83356125ea81612589565b925060208401356125fa81612589565b929592945050506040919091013590565b60008083601f84011261261d57600080fd5b50813567ffffffffffffffff81111561263557600080fd5b6020830191508360208260051b850101111561265057600080fd5b9250929050565b6000806000806060858703121561266d57600080fd5b8435935060208501359250604085013567ffffffffffffffff81111561269257600080fd5b61269e8782880161260b565b95989497509550505050565b6000602082840312156126bc57600080fd5b813561217181612589565b6000806000604084860312156126dc57600080fd5b83359250602084013567ffffffffffffffff8111156126fa57600080fd5b6127068682870161260b565b9497909650939450505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561274457612744612713565b604051601f8501601f19908116603f0116810190828211818310171561276c5761276c612713565b8160405280935085815286868601111561278557600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156127b157600080fd5b813567ffffffffffffffff8111156127c857600080fd5b8201601f810184136127d957600080fd5b611b4b84823560208401612729565b600080604083850312156127fb57600080fd5b823561280681612589565b91506020830135801515811461281b57600080fd5b809150509250929050565b6000806000806080858703121561283c57600080fd5b843561284781612589565b9350602085013561285781612589565b925060408501359150606085013567ffffffffffffffff81111561287a57600080fd5b8501601f8101871361288b57600080fd5b61289a87823560208401612729565b91505092959194509250565b600080604083850312156128b957600080fd5b82356128c481612589565b9150602083013561281b81612589565b600080602083850312156128e757600080fd5b823567ffffffffffffffff8111156128fe57600080fd5b61290a8582860161260b565b90969095509350505050565b600181811c9082168061292a57607f821691505b60208210810361294a57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000821982111561297957612979612950565b500190565b600081600019048311821515161561299857612998612950565b500290565b6000600182016129af576129af612950565b5060010190565b634e487b7160e01b600052603260045260246000fd5b601f821115610bd357600081815260208120601f850160051c810160208610156129f35750805b601f850160051c820191505b81811015612a12578281556001016129ff565b505050505050565b815167ffffffffffffffff811115612a3457612a34612713565b612a4881612a428454612916565b846129cc565b602080601f831160018114612a7d5760008415612a655750858301515b600019600386901b1c1916600185901b178555612a12565b600085815260208120601f198616915b82811015612aac57888601518255948401946001909101908401612a8d565b5085821015612aca5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6000808454612ae881612916565b60018281168015612b005760018114612b1557612b44565b60ff1984168752821515830287019450612b44565b8860005260208060002060005b85811015612b3b5781548a820152908401908201612b22565b50505082870194505b505050508351612b58818360208801612505565b01949350505050565b600060208284031215612b7357600080fd5b815161217181612589565b634e487b7160e01b600052601260045260246000fd5b600082612ba357612ba3612b7e565b500490565b600082821015612bba57612bba612950565b500390565b600082612bce57612bce612b7e565b500690565b60008351612be5818460208801612505565b835190830190612b58818360208801612505565b60006001600160a01b03808716835280861660208401525083604083015260806060830152612c2b6080830184612531565b9695505050505050565b600060208284031215612c4757600080fd5b8151612171816124d256fea26469706673582212206b82b5e5015251cbb5447fc9d5830234467515492a709b637d9a57daa65347fd64736f6c634300080f0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c10000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000003768747470733a2f2f797561737461746963732e73332e616d617a6f6e6177732e636f6d2f50686173653154656d704d657461646174612f000000000000000000
-----Decoded View---------------
Arg [0] : _proxyRegistryAddress (address): 0xa5409ec958C83C3f309868babACA7c86DCB077c1
Arg [1] : _baseURI (string): https://yuastatics.s3.amazonaws.com/Phase1TempMetadata/
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000037
Arg [3] : 68747470733a2f2f797561737461746963732e73332e616d617a6f6e6177732e
Arg [4] : 636f6d2f50686173653154656d704d657461646174612f000000000000000000
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.