ERC-721
Overview
Max Total Supply
170 ANGRY
Holders
90
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 ANGRYLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Source Code Verified (Exact Match)
Contract Name:
AngryTide
Compiler Version
v0.8.24+commit.e11b9ed9
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT /// @title Angry Tide /// @author Pizza Labs /* === == ==== ======= ===== ============== -=================+%@@@@@@@@@@+=== . =*@@@@@@+==========@@@@- *@@@@=== @@@@@@@@@*%@#==@ @* =- =*@@#==- ====== - ===== . @@@:.+===@%*=+@+ ========#@@=== ===*@@@+===== ============= =====+++======= @@@*-=@@@@ =- -========+@@== ===+@@@@@@@@@+========= ====== ===*@@@@@@@@@== ==*@@@@@@@@@@@%=== ====== :===============@@== ==+@@@@@@@@@@@=======+*+==============@@@@@@@@@@@@== ==%@@@@@@@@@@@@@%===%%+====== . ================-@*== ===@@@@@@@@@@@@@==*@@@@@@@+===@@@@@@#==@@@@@@@@@@@@@=====@@@@@@@ @@@@@@@*==@@@@@@@============ =================*@== ===@@@@@@@@@@@@@@#==*@@@@@@@@===@@@@@@#=@@@@@@@*=======+===@@@@@@ @@@@@@@==+@@@@@@===@@*======= @++======@========@*= ===#@@@@@@@@ @@@@@@===*@@@@@@@@@==@@@@@@*+@@@@@@*=@@@@@@@@+=*@@@@@@ @@@@@@@+===@@@@@@=#@@@@@@@+== @@@=+==+@@*=+@@@%==@#== ==+@@@@@@@@@@@@@@@@#===*@@@@@@@@@@=@@@@@@+*@@@@@@+=@@@@@@@@*=%@@@@@@@@@@@@@@%====@@@@@@@@@@@@@===== =====*@@@=+@@@@@@%@@== ==*@@@@@@@@@@@@@@@@+===*@@@@@@@@@@@@@@@@@=+@@@@@@@=++=*@@@@@=@@@@@@@@@@@@@#=== ==#@@@@@@@@@@=== ===--@@@@@@@@@@@@@@#== ====#@@*==#@@@@@@@====#@@@@@@%@@@@@@@@@@==%@@@@@@@@@@@@@@@@=@@@@@@ @@@@@*== ==+@@@@@@@@==============- @@# *@@- #@@@+== =======+@@@@@@*====#@@@@@%=@@@@@@@@@@===%@@@@@@@@@@@@@@@@@@@@@@ @@@@@@==- ==@@@@@@@@===================+@@ @@% @*=== ===#@@@@@+====%@@@@@*==@@@@@@@@@@@@@@@%#+====*@=========%@@@@@@@@@@====%@@@@@@@@@#+====================. +@@* *@===== ======*== ==%@@@@@*=#@@@@@#*+=======#@@@@@=+*=@@@@@@@@*==@@@@@=%@@@+=@@@@@@@@+=================================-==- === ==@@@@@@*=#@==*#%@@@@@@@@@*@@@@@++==@@@@@@@@@@+=@@@=*#==+@@@@@@@@@@%%%@@@@@@===========================% ==========@@#=@@@@@@@@@@@@=@@@@@*==#@@@@@@@@@@@==@=#@@@@@===*@@@ @@+====================*=====*@ @@=@@@@@@@@@#*+=@@@@@#==@@@@@@ @@@@@+==#@@@@@@@@@%==*@@ @@@+=====+#@@@@=======#@@===*@ @@====+@@@@@=+@=%@@@@%=+@@@@@ @@@@@==*@@@@@@@@@@@=+@@ @@@@@@@@@@ @@====+@@@@@@@@ @@@@@+=@@@@@=+@==@@@@@=*@@@@@ @@@@@#=*@@@@@@%==+%=*@@ @@@@@@@@@ @*=@@@@@==@+=@@@@@=@@@@@@@@@@@+=*@@@@@@@@@==*#@@ @@=%@@@@==@@=@@@@@=@@@@@@@@*===*@@@@@+==*==@@@@ @@=#@@@@+=@@======**+====+*%@=+@@@@@@@@@#==@@@ @@+=+=====@@@@@@@@@@@@@@@@@@@%===#@@@@@@+=@@@ @%%@@@@@@@@ @@@@#==+%@+=@@@ */ pragma solidity ^0.8.19; import "erc721a/contracts/ERC721A.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/token/common/ERC2981.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/utils/Address.sol"; contract AngryTide is ERC721A, Ownable, ERC2981 { using Address for address; using MerkleProof for bytes32[]; bytes32 public merkleRoot; uint256 public MaxperWallet = 5; uint256 public MaxperWalletWl = 1; uint256 public maxSupply = 6888; uint256 public wlSupply = 550; uint256 public whiteListRate = 0.00 ether; uint256 public mintRate = 0.015 ether; string public baseURI = ""; string public baseHiddenUri = ""; bool public revealed = false; bool public paused = true; bool public preSale = true; mapping(address => uint256) public whiteListUsedAddresses; mapping(address => uint256) public usedAddresses; // Custom error error PublicSaleNotLive(); error WhitelistNotLive(); error ExceededLimit(); error NotEnoughTokensLeft(); error WrongEther(); error InvalidMerkle(); error ContractIsPaused(); /// @notice Initializes the contract with the initial owner /// @param initialOwner The address of the initial owner of the contract constructor(address initialOwner) ERC721A("Angry Tide", "ANGRY") Ownable(initialOwner) { _setDefaultRoyalty(_msgSender(), 400); } /// @notice Public mint /// @param quantity The number of tokens to mint function mint(uint256 quantity) external payable { // check if public sale is live if (preSale != false) revert PublicSaleNotLive(); // check if the contract is paused if (paused != false) revert ContractIsPaused(); // check if enough token balance if (totalSupply() + quantity > maxSupply) { revert NotEnoughTokensLeft(); } // check for the value user pass is equal to the quantity and the mintRate if (mintRate * quantity != msg.value) { revert WrongEther(); } // check for user mint limit if (quantity + usedAddresses[msg.sender] > MaxperWallet) { revert ExceededLimit(); } usedAddresses[msg.sender] += quantity; _mint(msg.sender, quantity); } /// @notice Presale mint for whitelisted /// @param quantity The number of tokens to mint /// @param proof The Merkle proof to verify eligibility function presalemint(uint256 quantity, bytes32[] calldata proof) external payable { // check if presale is live if (preSale != true) revert WhitelistNotLive(); // check if the contract is paused if (paused != false) revert ContractIsPaused(); // check if the user is whitelisted. if (!isWhiteListed(msg.sender, proof)) revert InvalidMerkle(); // check if enough token balance if (totalSupply() + quantity > wlSupply) { revert NotEnoughTokensLeft(); } // check for the value user pass is equal to the quantity and the mintRate if (whiteListRate * quantity != msg.value) { revert WrongEther(); } // cehck if user exceeded mint limit if (whiteListUsedAddresses[msg.sender] + quantity > MaxperWalletWl) { revert ExceededLimit(); } _mint(msg.sender, quantity); // storing the number of minted items whiteListUsedAddresses[msg.sender] += quantity; } /// @notice a function that check for user address and verify its proof function isWhiteListed(address _account, bytes32[] calldata _proof) internal view returns (bool) { return _verify(leaf(_account), _proof); } function leaf(address _account) internal pure returns (bytes32) { return keccak256(abi.encodePacked(_account)); } function _verify(bytes32 _leaf, bytes32[] memory _proof) internal view returns (bool) { return MerkleProof.verify(_proof, merkleRoot, _leaf); } /// @notice Airdrops a specified quantity of tokens to an address /// @dev Requires owner /// @param quantity The number of tokens to airdrop /// @param destination The address to receive the airdrop function airdrop(uint256 quantity, address destination) external onlyOwner { if (totalSupply() + quantity > maxSupply) { revert NotEnoughTokensLeft(); } _mint(destination, quantity); } /// @notice Overrides the start token ID to be 1 function _startTokenId() internal pure override returns (uint256) { return 1; } /// @notice This is an internal function that returns base URI function _baseURI() internal view override returns (string memory) { return baseURI; } /// @notice Returns the URI for a specific token ID /// @param tokenId The ID of the token to get the URI for function tokenURI(uint256 tokenId) public view override returns (string memory) { require( _exists(tokenId), "URI query for nonexistent token"); if(revealed == false) { return baseHiddenUri; } string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string(abi.encodePacked(currentBaseURI, _toString(tokenId), ".json")) : ""; } /// @notice Sets the Merkle root for verifying whitelisted addresses /// @dev Requires owner /// @param _merkleRoot The new Merkle root function setMerkleRoot(bytes32 _merkleRoot) external onlyOwner { merkleRoot = _merkleRoot; } /// @notice Sets the max per wallet /// @dev Requires owner /// @param _limit Number to set as max per wallet function setMaxPerWallet(uint256 _limit) external onlyOwner { MaxperWallet = _limit; } /// @notice Sets the max per wallet (only for presale) /// @dev Requires owner /// @param _limit Number to set as max per wallet function setMaxPerWalletWl(uint256 _limit) external onlyOwner { MaxperWalletWl = _limit; } /// @notice Cut the supply /// @dev Requires owner /// @param _newsupply Max number of tokens function setMaxsupply(uint256 _newsupply) external onlyOwner { maxSupply = _newsupply; } /// @notice Sets the max supply (only for presale) /// @dev Requires owner /// @param _newsupply Max number of tokens function setWlsupply(uint256 _newsupply) external onlyOwner { wlSupply = _newsupply; } /// @notice Sets the selling price /// @dev Requires owner /// @param _newRate Amount in Wei function setMintRate(uint256 _newRate) external onlyOwner { mintRate = _newRate; } /// @notice Sets the selling price (only for presale) /// @dev Requires owner /// @param _newRate Amount in Wei function setWhiteListRate(uint256 _newRate) external onlyOwner { whiteListRate = _newRate; } /// @notice Reveals the NFTs /// @dev Requires owner /// @param _state (booleans true or false) function setRevealed(bool _state) external onlyOwner { revealed = _state; } /// @notice Sets the base URI /// @dev Requires owner /// @param _newBaseURI The base URI for revealed NFTs function setBaseURI(string memory _newBaseURI) external onlyOwner { baseURI = _newBaseURI; } /// @notice Sets the hidden URI /// @dev Requires owner /// @param _newBaseHiddenUri The base URI for unrevealed NFTs function setBaseHiddenUri(string memory _newBaseHiddenUri) external onlyOwner { baseHiddenUri = _newBaseHiddenUri; } /// @notice Pauses the contract, preventing further minting /// @dev Requires owner /// @param _state (booleans true or false) function pause(bool _state) external onlyOwner { paused = _state; } /// @notice Activate or deactivate presale /// @dev Requires owner /// @param _state (booleans true or false) function togglepreSale(bool _state) external onlyOwner { preSale = _state; } /// @notice Withdraw funds from contract /// @dev Requires owner /// @param _amount Amount in Ether function withdraw(uint256 _amount) external onlyOwner { uint256 balance = address(this).balance; require(_amount <= balance, 'not enough funds'); payable(msg.sender).transfer(_amount); } /// @notice Withdraw all funds from contract /// @dev Requires owner function withdrawAll() external onlyOwner { uint256 balance = address(this).balance; payable(msg.sender).transfer(balance); } /// @notice Function to change the royalty info /// @dev Requires owner /// @param numerator Is the new royalty percentage, in basis points (out of 10,000) function setDefaultRoyalty( address payable receiver, uint96 numerator) external onlyOwner { _setDefaultRoyalty(receiver, numerator); } /// @notice Overrides supportsInterface function function supportsInterface(bytes4 interfaceId) public view override(ERC721A, ERC2981) returns (bool) { return ERC721A.supportsInterface(interfaceId) || ERC2981.supportsInterface(interfaceId); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/Address.sol) pragma solidity ^0.8.20; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev The ETH balance of the account is not enough to perform the operation. */ error AddressInsufficientBalance(address account); /** * @dev There's no code at `target` (it is not a contract). */ error AddressEmptyCode(address target); /** * @dev A call to an address target failed. The target may have reverted. */ error FailedInnerCall(); /** * @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://consensys.net/diligence/blog/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.8.20/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { if (address(this).balance < amount) { revert AddressInsufficientBalance(address(this)); } (bool success, ) = recipient.call{value: amount}(""); if (!success) { revert FailedInnerCall(); } } /** * @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 or custom error, it is bubbled * up by this function (like regular Solidity function calls). However, if * the call reverted with no returned reason, this function reverts with a * {FailedInnerCall} error. * * 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. */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0); } /** * @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`. */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { if (address(this).balance < value) { revert AddressInsufficientBalance(address(this)); } (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and reverts if the target * was not a contract or bubbling up the revert reason (falling back to {FailedInnerCall}) in case of an * unsuccessful call. */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata ) internal view returns (bytes memory) { if (!success) { _revert(returndata); } else { // only check if target is a contract if the call was successful and the return data is empty // otherwise we already know that it was a contract if (returndata.length == 0 && target.code.length == 0) { revert AddressEmptyCode(target); } return returndata; } } /** * @dev Tool to verify that a low level call was successful, and reverts if it wasn't, either by bubbling the * revert reason or with a default {FailedInnerCall} error. */ function verifyCallResult(bool success, bytes memory returndata) internal pure returns (bytes memory) { if (!success) { _revert(returndata); } else { return returndata; } } /** * @dev Reverts with returndata if present. Otherwise reverts with {FailedInnerCall}. */ function _revert(bytes memory returndata) private pure { // 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 FailedInnerCall(); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.20; /** * @dev These functions deal with verification of Merkle Tree proofs. * * The tree and the proofs can be generated using our * https://github.com/OpenZeppelin/merkle-tree[JavaScript library]. * You will find a quickstart guide in the readme. * * 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. * OpenZeppelin's JavaScript library generates Merkle trees that are safe * against this attack out of the box. */ library MerkleProof { /** *@dev The multiproof provided is not valid. */ error MerkleProofInvalidMultiproof(); /** * @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} */ 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. */ 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} */ 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 simultaneously proven to be a part of a Merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * CAUTION: Not all Merkle trees admit multiproofs. See {processMultiProof} for details. */ 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} * * CAUTION: Not all Merkle trees admit multiproofs. See {processMultiProof} for details. */ 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 sibling nodes in `proof`. The reconstruction * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false * respectively. * * CAUTION: Not all Merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer). */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuilds 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 proofLen = proof.length; uint256 totalHashes = proofFlags.length; // Check proof validity. if (leavesLen + proofLen != totalHashes + 1) { revert MerkleProofInvalidMultiproof(); } // 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 from 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) { if (proofPos != proofLen) { revert MerkleProofInvalidMultiproof(); } unchecked { return hashes[totalHashes - 1]; } } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Calldata version of {processMultiProof}. * * CAUTION: Not all Merkle trees admit multiproofs. See {processMultiProof} for details. */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuilds 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 proofLen = proof.length; uint256 totalHashes = proofFlags.length; // Check proof validity. if (leavesLen + proofLen != totalHashes + 1) { revert MerkleProofInvalidMultiproof(); } // 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 from 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) { if (proofPos != proofLen) { revert MerkleProofInvalidMultiproof(); } unchecked { return hashes[totalHashes - 1]; } } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Sorts the pair (a, b) and hashes the result. */ function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } /** * @dev Implementation of keccak256(abi.encode(a, b)) that doesn't allocate or expand memory. */ 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 v5.0.0) (token/common/ERC2981.sol) pragma solidity ^0.8.20; import {IERC2981} from "../../interfaces/IERC2981.sol"; import {IERC165, ERC165} from "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information. * * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first. * * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the * fee is specified in basis points by default. * * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported. */ abstract contract ERC2981 is IERC2981, ERC165 { struct RoyaltyInfo { address receiver; uint96 royaltyFraction; } RoyaltyInfo private _defaultRoyaltyInfo; mapping(uint256 tokenId => RoyaltyInfo) private _tokenRoyaltyInfo; /** * @dev The default royalty set is invalid (eg. (numerator / denominator) >= 1). */ error ERC2981InvalidDefaultRoyalty(uint256 numerator, uint256 denominator); /** * @dev The default royalty receiver is invalid. */ error ERC2981InvalidDefaultRoyaltyReceiver(address receiver); /** * @dev The royalty set for an specific `tokenId` is invalid (eg. (numerator / denominator) >= 1). */ error ERC2981InvalidTokenRoyalty(uint256 tokenId, uint256 numerator, uint256 denominator); /** * @dev The royalty receiver for `tokenId` is invalid. */ error ERC2981InvalidTokenRoyaltyReceiver(uint256 tokenId, address receiver); /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) { return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId); } /** * @inheritdoc IERC2981 */ function royaltyInfo(uint256 tokenId, uint256 salePrice) public view virtual returns (address, uint256) { RoyaltyInfo memory royalty = _tokenRoyaltyInfo[tokenId]; if (royalty.receiver == address(0)) { royalty = _defaultRoyaltyInfo; } uint256 royaltyAmount = (salePrice * royalty.royaltyFraction) / _feeDenominator(); return (royalty.receiver, royaltyAmount); } /** * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an * override. */ function _feeDenominator() internal pure virtual returns (uint96) { return 10000; } /** * @dev Sets the royalty information that all ids in this contract will default to. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual { uint256 denominator = _feeDenominator(); if (feeNumerator > denominator) { // Royalty fee will exceed the sale price revert ERC2981InvalidDefaultRoyalty(feeNumerator, denominator); } if (receiver == address(0)) { revert ERC2981InvalidDefaultRoyaltyReceiver(address(0)); } _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Removes default royalty information. */ function _deleteDefaultRoyalty() internal virtual { delete _defaultRoyaltyInfo; } /** * @dev Sets the royalty information for a specific token id, overriding the global default. * * Requirements: * * - `receiver` cannot be the zero address. * - `feeNumerator` cannot be greater than the fee denominator. */ function _setTokenRoyalty(uint256 tokenId, address receiver, uint96 feeNumerator) internal virtual { uint256 denominator = _feeDenominator(); if (feeNumerator > denominator) { // Royalty fee will exceed the sale price revert ERC2981InvalidTokenRoyalty(tokenId, feeNumerator, denominator); } if (receiver == address(0)) { revert ERC2981InvalidTokenRoyaltyReceiver(tokenId, address(0)); } _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator); } /** * @dev Resets royalty information for the token id back to the global default. */ function _resetTokenRoyalty(uint256 tokenId) internal virtual { delete _tokenRoyaltyInfo[tokenId]; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol) pragma solidity ^0.8.20; import {Context} from "../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. * * The initial owner is set to the address provided by the deployer. 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; /** * @dev The caller account is not authorized to perform an operation. */ error OwnableUnauthorizedAccount(address account); /** * @dev The owner is not a valid owner account. (eg. `address(0)`) */ error OwnableInvalidOwner(address owner); event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the address provided by the deployer as the initial owner. */ constructor(address initialOwner) { if (initialOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(initialOwner); } /** * @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 { if (owner() != _msgSender()) { revert OwnableUnauthorizedAccount(_msgSender()); } } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling 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 { if (newOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _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 // ERC721A Contracts v4.3.0 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721A.sol'; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * The `_sequentialUpTo()` function can be overriden to enable spot mints * (i.e. non-consecutive mints) for `tokenId`s greater than `_sequentialUpTo()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364). struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // The amount of tokens minted above `_sequentialUpTo()`. // We call these spot mints (i.e. non-sequential mints). uint256 private _spotMinted; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); if (_sequentialUpTo() < _startTokenId()) _revert(SequentialUpToTooSmall.selector); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID for sequential mints. * * Override this function to change the starting token ID for sequential mints. * * Note: The value returned must never change after any tokens have been minted. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the maximum token ID (inclusive) for sequential mints. * * Override this function to return a value less than 2**256 - 1, * but greater than `_startTokenId()`, to enable spot (non-sequential) mints. * * Note: The value returned must never change after any tokens have been minted. */ function _sequentialUpTo() internal view virtual returns (uint256) { return type(uint256).max; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256 result) { // Counter underflow is impossible as `_burnCounter` cannot be incremented // more than `_currentIndex + _spotMinted - _startTokenId()` times. unchecked { // With spot minting, the intermediate `result` can be temporarily negative, // and the computation must be unchecked. result = _currentIndex - _burnCounter - _startTokenId(); if (_sequentialUpTo() != type(uint256).max) result += _spotMinted; } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256 result) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { result = _currentIndex - _startTokenId(); if (_sequentialUpTo() != type(uint256).max) result += _spotMinted; } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } /** * @dev Returns the total number of tokens that are spot-minted. */ function _totalSpotMinted() internal view virtual returns (uint256) { return _spotMinted; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) _revert(BalanceQueryForZeroAddress.selector); return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> _BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes // of the XOR of all function selectors in the interface. // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165) // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`) return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) _revert(URIQueryForNonexistentToken.selector); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Returns whether the ownership slot at `index` is initialized. * An uninitialized slot does not necessarily mean that the slot has no owner. */ function _ownershipIsInitialized(uint256 index) internal view virtual returns (bool) { return _packedOwnerships[index] != 0; } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * @dev Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256 packed) { if (_startTokenId() <= tokenId) { packed = _packedOwnerships[tokenId]; if (tokenId > _sequentialUpTo()) { if (_packedOwnershipExists(packed)) return packed; _revert(OwnerQueryForNonexistentToken.selector); } // If the data at the starting slot does not exist, start the scan. if (packed == 0) { if (tokenId >= _currentIndex) _revert(OwnerQueryForNonexistentToken.selector); // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `tokenId` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. for (;;) { unchecked { packed = _packedOwnerships[--tokenId]; } if (packed == 0) continue; if (packed & _BITMASK_BURNED == 0) return packed; // Otherwise, the token is burned, and we must revert. // This handles the case of batch burned tokens, where only the burned bit // of the starting slot is set, and remaining slots are left uninitialized. _revert(OwnerQueryForNonexistentToken.selector); } } // Otherwise, the data exists and we can skip the scan. // This is possible because we have already achieved the target condition. // This saves 2143 gas on transfers of initialized tokens. // If the token is not burned, return `packed`. Otherwise, revert. if (packed & _BITMASK_BURNED == 0) return packed; } _revert(OwnerQueryForNonexistentToken.selector); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. See {ERC721A-_approve}. * * Requirements: * * - The caller must own the token or be an approved operator. */ function approve(address to, uint256 tokenId) public payable virtual override { _approve(to, tokenId, true); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) _revert(ApprovalQueryForNonexistentToken.selector); return _tokenApprovals[tokenId].value; } /** * @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) public virtual override { _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @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. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool result) { if (_startTokenId() <= tokenId) { if (tokenId > _sequentialUpTo()) return _packedOwnershipExists(_packedOwnerships[tokenId]); if (tokenId < _currentIndex) { uint256 packed; while ((packed = _packedOwnerships[tokenId]) == 0) --tokenId; result = packed & _BITMASK_BURNED == 0; } } } /** * @dev Returns whether `packed` represents a token that exists. */ function _packedOwnershipExists(uint256 packed) private pure returns (bool result) { assembly { // The following is equivalent to `owner != address(0) && burned == false`. // Symbolically tested. result := gt(and(packed, _BITMASK_ADDRESS), and(packed, _BITMASK_BURNED)) } } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * 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 ) public payable virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); // Mask `from` to the lower 160 bits, in case the upper bits somehow aren't clean. from = address(uint160(uint256(uint160(from)) & _BITMASK_ADDRESS)); if (address(uint160(prevOwnershipPacked)) != from) _revert(TransferFromIncorrectOwner.selector); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) _revert(TransferCallerNotOwnerNorApproved.selector); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. uint256 toMasked = uint256(uint160(to)) & _BITMASK_ADDRESS; assembly { // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. from, // `from`. toMasked, // `to`. tokenId // `tokenId`. ) } if (toMasked == 0) _revert(TransferToZeroAddress.selector); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public payable virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @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 memory _data ) public payable virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { _revert(TransferToNonERC721ReceiverImplementer.selector); } } /** * @dev Hook that is called before a set of serially-ordered token IDs * are about to be transferred. This includes minting. * And also called before burning one token. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * 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, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token IDs * have been transferred. This includes minting. * And also called after one token has been burned. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { _revert(TransferToNonERC721ReceiverImplementer.selector); } assembly { revert(add(32, reason), mload(reason)) } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) _revert(MintZeroQuantity.selector); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. uint256 toMasked = uint256(uint160(to)) & _BITMASK_ADDRESS; if (toMasked == 0) _revert(MintToZeroAddress.selector); uint256 end = startTokenId + quantity; uint256 tokenId = startTokenId; if (end - 1 > _sequentialUpTo()) _revert(SequentialMintExceedsLimit.selector); do { assembly { // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. tokenId // `tokenId`. ) } // The `!=` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. } while (++tokenId != end); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) _revert(MintToZeroAddress.selector); if (quantity == 0) _revert(MintZeroQuantity.selector); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) _revert(MintERC2309QuantityExceedsLimit.selector); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); if (startTokenId + quantity - 1 > _sequentialUpTo()) _revert(SequentialMintExceedsLimit.selector); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { _revert(TransferToNonERC721ReceiverImplementer.selector); } } while (index < end); // This prevents reentrancy to `_safeMint`. // It does not prevent reentrancy to `_safeMintSpot`. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } /** * @dev Mints a single token at `tokenId`. * * Note: A spot-minted `tokenId` that has been burned can be re-minted again. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` must be greater than `_sequentialUpTo()`. * - `tokenId` must not exist. * * Emits a {Transfer} event for each mint. */ function _mintSpot(address to, uint256 tokenId) internal virtual { if (tokenId <= _sequentialUpTo()) _revert(SpotMintTokenIdTooSmall.selector); uint256 prevOwnershipPacked = _packedOwnerships[tokenId]; if (_packedOwnershipExists(prevOwnershipPacked)) _revert(TokenAlreadyExists.selector); _beforeTokenTransfers(address(0), to, tokenId, 1); // Overflows are incredibly unrealistic. // The `numberMinted` for `to` is incremented by 1, and has a max limit of 2**64 - 1. // `_spotMinted` is incremented by 1, and has a max limit of 2**256 - 1. unchecked { // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `true` (as `quantity == 1`). _packedOwnerships[tokenId] = _packOwnershipData( to, _nextInitializedFlag(1) | _nextExtraData(address(0), to, prevOwnershipPacked) ); // Updates: // - `balance += 1`. // - `numberMinted += 1`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += (1 << _BITPOS_NUMBER_MINTED) | 1; // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. uint256 toMasked = uint256(uint160(to)) & _BITMASK_ADDRESS; if (toMasked == 0) _revert(MintToZeroAddress.selector); assembly { // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. tokenId // `tokenId`. ) } ++_spotMinted; } _afterTokenTransfers(address(0), to, tokenId, 1); } /** * @dev Safely mints a single token at `tokenId`. * * Note: A spot-minted `tokenId` that has been burned can be re-minted again. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}. * - `tokenId` must be greater than `_sequentialUpTo()`. * - `tokenId` must not exist. * * See {_mintSpot}. * * Emits a {Transfer} event. */ function _safeMintSpot( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mintSpot(to, tokenId); unchecked { if (to.code.length != 0) { uint256 currentSpotMinted = _spotMinted; if (!_checkContractOnERC721Received(address(0), to, tokenId, _data)) { _revert(TransferToNonERC721ReceiverImplementer.selector); } // This prevents reentrancy to `_safeMintSpot`. // It does not prevent reentrancy to `_safeMint`. if (_spotMinted != currentSpotMinted) revert(); } } } /** * @dev Equivalent to `_safeMintSpot(to, tokenId, '')`. */ function _safeMintSpot(address to, uint256 tokenId) internal virtual { _safeMintSpot(to, tokenId, ''); } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Equivalent to `_approve(to, tokenId, false)`. */ function _approve(address to, uint256 tokenId) internal virtual { _approve(to, tokenId, false); } /** * @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: * * - `tokenId` must exist. * * Emits an {Approval} event. */ function _approve( address to, uint256 tokenId, bool approvalCheck ) internal virtual { address owner = ownerOf(tokenId); if (approvalCheck && _msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { _revert(ApprovalCallerNotOwnerNorApproved.selector); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) _revert(TransferCallerNotOwnerNorApproved.selector); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as `_burnCounter` cannot be exceed `_currentIndex + _spotMinted` times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) _revert(OwnershipNotInitializedForExtraData.selector); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * 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, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), but // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 word for the trailing zeros padding, 1 word for the length, // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0. let m := add(mload(0x40), 0xa0) // Update the free memory pointer to allocate. mstore(0x40, m) // Assign the `str` to the end. str := sub(m, 0x20) // Zeroize the slot after the string. mstore(str, 0) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } /** * @dev For more efficient reverts. */ function _revert(bytes4 errorSelector) internal pure { assembly { mstore(0x00, errorSelector) revert(0x00, 0x04) } } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.3.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); /** * `_sequentialUpTo()` must be greater than `_startTokenId()`. */ error SequentialUpToTooSmall(); /** * The `tokenId` of a sequential mint exceeds `_sequentialUpTo()`. */ error SequentialMintExceedsLimit(); /** * Spot minting requires a `tokenId` greater than `_sequentialUpTo()`. */ error SpotMintTokenIdTooSmall(); /** * Cannot mint over a token that already exists. */ error TokenAlreadyExists(); /** * The feature is not compatible with spot mints. */ error NotCompatibleWithSpotMints(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables * (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, * checking first that contract recipients are aware of the ERC721 protocol * to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move * this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external payable; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Transfers `tokenId` 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 payable; /** * @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 payable; /** * @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); // ============================================================= // IERC721Metadata // ============================================================= /** * @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); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/ERC165.sol) pragma solidity ^0.8.20; import {IERC165} from "./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); * } * ``` */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.20; import {IERC165} from "../utils/introspection/IERC165.sol"; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be paid in that same unit of exchange. */ function royaltyInfo( uint256 tokenId, uint256 salePrice ) external view returns (address receiver, uint256 royaltyAmount); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol) pragma solidity ^0.8.20; /** * @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; } function _contextSuffixLength() internal view virtual returns (uint256) { return 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/IERC165.sol) pragma solidity ^0.8.20; /** * @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": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } }, "remappings": [] }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"initialOwner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"ContractIsPaused","type":"error"},{"inputs":[{"internalType":"uint256","name":"numerator","type":"uint256"},{"internalType":"uint256","name":"denominator","type":"uint256"}],"name":"ERC2981InvalidDefaultRoyalty","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC2981InvalidDefaultRoyaltyReceiver","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"numerator","type":"uint256"},{"internalType":"uint256","name":"denominator","type":"uint256"}],"name":"ERC2981InvalidTokenRoyalty","type":"error"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC2981InvalidTokenRoyaltyReceiver","type":"error"},{"inputs":[],"name":"ExceededLimit","type":"error"},{"inputs":[],"name":"InvalidMerkle","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"NotCompatibleWithSpotMints","type":"error"},{"inputs":[],"name":"NotEnoughTokensLeft","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"PublicSaleNotLive","type":"error"},{"inputs":[],"name":"SequentialMintExceedsLimit","type":"error"},{"inputs":[],"name":"SequentialUpToTooSmall","type":"error"},{"inputs":[],"name":"SpotMintTokenIdTooSmall","type":"error"},{"inputs":[],"name":"TokenAlreadyExists","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"WhitelistNotLive","type":"error"},{"inputs":[],"name":"WrongEther","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","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":"MaxperWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MaxperWalletWl","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"address","name":"destination","type":"address"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseHiddenUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintRate","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":"bool","name":"_state","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"presalemint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","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":"payable","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":"_newBaseHiddenUri","type":"string"}],"name":"setBaseHiddenUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"receiver","type":"address"},{"internalType":"uint96","name":"numerator","type":"uint96"}],"name":"setDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"setMaxPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_limit","type":"uint256"}],"name":"setMaxPerWalletWl","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newsupply","type":"uint256"}],"name":"setMaxsupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newRate","type":"uint256"}],"name":"setMintRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newRate","type":"uint256"}],"name":"setWhiteListRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newsupply","type":"uint256"}],"name":"setWlsupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"togglepreSale","outputs":[],"stateMutability":"nonpayable","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":"result","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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"usedAddresses","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whiteListRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whiteListUsedAddresses","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"wlSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
6005600d556001600e55611ae8600f556102266010555f601181905566354a6ba7a1800060125560a060405260809081526013906200003f9082620002ec565b5060408051602081019091525f81526014906200005d9082620002ec565b506015805462ffffff1916620101001790553480156200007b575f80fd5b5060405162002424380380620024248339810160408190526200009e91620003b8565b806040518060400160405280600a815260200169416e677279205469646560b01b81525060405180604001604052806005815260200164414e47525960d81b8152508160029081620000f19190620002ec565b506003620001008282620002ec565b5060015f5550506001600160a01b0381166200013657604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b620001418162000157565b506200015033610190620001a8565b50620003e7565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6127106001600160601b038216811015620001e957604051636f483d0960e01b81526001600160601b0383166004820152602481018290526044016200012d565b6001600160a01b0383166200021457604051635b6cc80560e11b81525f60048201526024016200012d565b50604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600a55565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806200027757607f821691505b6020821081036200029657634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115620002e757805f5260205f20601f840160051c81016020851015620002c35750805b601f840160051c820191505b81811015620002e4575f8155600101620002cf565b50505b505050565b81516001600160401b038111156200030857620003086200024e565b620003208162000319845462000262565b846200029c565b602080601f83116001811462000356575f84156200033e5750858301515b5f19600386901b1c1916600185901b178555620003b0565b5f85815260208120601f198616915b82811015620003865788860151825594840194600190910190840162000365565b5085821015620003a457878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b5f60208284031215620003c9575f80fd5b81516001600160a01b0381168114620003e0575f80fd5b9392505050565b61202f80620003f55f395ff3fe6080604052600436106102be575f3560e01c80636c0360eb1161016f578063bc63f02e116100d8578063e0a8085311610092578063e985e9c51161006d578063e985e9c5146107f8578063f2fde38b14610817578063fd571e0914610836578063fea0e05814610855575f80fd5b8063e0a80853146107a5578063e268e4d3146107c4578063e79cb42a146107e3575f80fd5b8063bc63f02e14610709578063bd7a199814610728578063c87b56dd1461073d578063ca0dcf161461075c578063d5abeb0114610771578063dbe2193f14610786575f80fd5b80638fe11a97116101295780638fe11a971461067157806395d89b4114610685578063a0712d6814610699578063a22cb465146106ac578063acdce273146106cb578063b88d4fde146106f6575f80fd5b80636c0360eb146105da57806370a08231146105ee578063715018a61461060d5780637cb6475914610621578063853828b6146106405780638da5cb5b14610654575f80fd5b806318160ddd1161022b57806342842e0e116101e55780635a7adf7f116101c05780635a7adf7f1461055f5780635c975abb1461057e5780635dffc8521461059c5780636352211e146105bb575f80fd5b806342842e0e14610514578063518302271461052757806355f804b314610540575f80fd5b806318160ddd1461045557806323b872dd146104705780632a55205a146104835780632e1a7d4d146104c15780632eb4a7ab146104e05780633fe6feb9146104f5575f80fd5b8063081812fc1161027c578063081812fc1461038d578063095ea7b3146103c45780630fe8418b146103d757806313bfabc0146103ec578063149835a0146104175780631598279f14610436575f80fd5b806277ec05146102c257806301ffc9a7146102ea57806302329a2914610319578063036e4cb51461033a57806304634d8d1461034d57806306fdde031461036c575b5f80fd5b3480156102cd575f80fd5b506102d7600e5481565b6040519081526020015b60405180910390f35b3480156102f5575f80fd5b506103096103043660046119a8565b610874565b60405190151581526020016102e1565b348015610324575f80fd5b506103386103333660046119d2565b610893565b005b6103386103483660046119eb565b6108b5565b348015610358575f80fd5b50610338610367366004611a77565b610a0b565b348015610377575f80fd5b50610380610a21565b6040516102e19190611b06565b348015610398575f80fd5b506103ac6103a7366004611b18565b610ab1565b6040516001600160a01b0390911681526020016102e1565b6103386103d2366004611b2f565b610aea565b3480156103e2575f80fd5b506102d760105481565b3480156103f7575f80fd5b506102d7610406366004611b59565b60166020525f908152604090205481565b348015610422575f80fd5b50610338610431366004611b18565b610af6565b348015610441575f80fd5b50610338610450366004611bfb565b610b03565b348015610460575f80fd5b506102d76001545f54035f190190565b61033861047e366004611c40565b610b17565b34801561048e575f80fd5b506104a261049d366004611c7e565b610c71565b604080516001600160a01b0390931683526020830191909152016102e1565b3480156104cc575f80fd5b506103386104db366004611b18565b610d1b565b3480156104eb575f80fd5b506102d7600c5481565b348015610500575f80fd5b5061033861050f366004611b18565b610d9b565b610338610522366004611c40565b610da8565b348015610532575f80fd5b506015546103099060ff1681565b34801561054b575f80fd5b5061033861055a366004611bfb565b610dc2565b34801561056a575f80fd5b506015546103099062010000900460ff1681565b348015610589575f80fd5b5060155461030990610100900460ff1681565b3480156105a7575f80fd5b506103386105b6366004611b18565b610dd6565b3480156105c6575f80fd5b506103ac6105d5366004611b18565b610de3565b3480156105e5575f80fd5b50610380610ded565b3480156105f9575f80fd5b506102d7610608366004611b59565b610e79565b348015610618575f80fd5b50610338610ebd565b34801561062c575f80fd5b5061033861063b366004611b18565b610ed0565b34801561064b575f80fd5b50610338610edd565b34801561065f575f80fd5b506009546001600160a01b03166103ac565b34801561067c575f80fd5b50610380610f11565b348015610690575f80fd5b50610380610f1e565b6103386106a7366004611b18565b610f2d565b3480156106b7575f80fd5b506103386106c6366004611c9e565b611055565b3480156106d6575f80fd5b506102d76106e5366004611b59565b60176020525f908152604090205481565b610338610704366004611cd1565b6110c0565b348015610714575f80fd5b50610338610723366004611d4c565b611101565b348015610733575f80fd5b506102d7600d5481565b348015610748575f80fd5b50610380610757366004611b18565b61114f565b348015610767575f80fd5b506102d760125481565b34801561077c575f80fd5b506102d7600f5481565b348015610791575f80fd5b506103386107a0366004611b18565b61129d565b3480156107b0575f80fd5b506103386107bf3660046119d2565b6112aa565b3480156107cf575f80fd5b506103386107de366004611b18565b6112c5565b3480156107ee575f80fd5b506102d760115481565b348015610803575f80fd5b50610309610812366004611d6f565b6112d2565b348015610822575f80fd5b50610338610831366004611b59565b6112ff565b348015610841575f80fd5b50610338610850366004611b18565b611339565b348015610860575f80fd5b5061033861086f3660046119d2565b611346565b5f61087e8261136a565b8061088d575061088d826113b7565b92915050565b61089b6113eb565b601580549115156101000261ff0019909216919091179055565b60155462010000900460ff1615156001146108e357604051631e94bf2d60e01b815260040160405180910390fd5b601554610100900460ff161561090c576040516306d39fcd60e41b815260040160405180910390fd5b610917338383611418565b61093457604051631f8b1b7160e11b815260040160405180910390fd5b601054836109476001545f54035f190190565b6109519190611daf565b1115610970576040516376592c6f60e01b815260040160405180910390fd5b348360115461097f9190611dc2565b1461099d5760405163168afe2b60e31b815260040160405180910390fd5b600e54335f908152601660205260409020546109ba908590611daf565b11156109d957604051630e362dc360e21b815260040160405180910390fd5b6109e3338461149e565b335f9081526016602052604081208054859290610a01908490611daf565b9091555050505050565b610a136113eb565b610a1d8282611558565b5050565b606060028054610a3090611dd9565b80601f0160208091040260200160405190810160405280929190818152602001828054610a5c90611dd9565b8015610aa75780601f10610a7e57610100808354040283529160200191610aa7565b820191905f5260205f20905b815481529060010190602001808311610a8a57829003601f168201915b5050505050905090565b5f610abb826115fa565b610acf57610acf6333d1c03960e21b611644565b505f908152600660205260409020546001600160a01b031690565b610a1d8282600161164c565b610afe6113eb565b600f55565b610b0b6113eb565b6014610a1d8282611e5c565b5f610b21826116ed565b6001600160a01b039485169490915081168414610b4757610b4762a1148160e81b611644565b5f8281526006602052604090208054338082146001600160a01b03881690911417610b8a57610b7686336112d2565b610b8a57610b8a632ce44b5f60e11b611644565b8015610b94575f82555b6001600160a01b038681165f9081526005602052604080822080545f19019055918716808252919020805460010190554260a01b17600160e11b175f85815260046020526040812091909155600160e11b84169003610c2057600184015f818152600460205260408120549003610c1e575f548114610c1e575f8181526004602052604090208490555b505b6001600160a01b0385168481887fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a4805f03610c6857610c68633a954ecd60e21b611644565b50505050505050565b5f828152600b602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b0316928201929092528291610ce5575060408051808201909152600a546001600160a01b0381168252600160a01b90046001600160601b031660208201525b60208101515f9061271090610d03906001600160601b031687611dc2565b610d0d9190611f1c565b915196919550909350505050565b610d236113eb565b4780821115610d6c5760405162461bcd60e51b815260206004820152601060248201526f6e6f7420656e6f7567682066756e647360801b60448201526064015b60405180910390fd5b604051339083156108fc029084905f818181858888f19350505050158015610d96573d5f803e3d5ffd5b505050565b610da36113eb565b600e55565b610d9683838360405180602001604052805f8152506110c0565b610dca6113eb565b6013610a1d8282611e5c565b610dde6113eb565b601155565b5f61088d826116ed565b60138054610dfa90611dd9565b80601f0160208091040260200160405190810160405280929190818152602001828054610e2690611dd9565b8015610e715780601f10610e4857610100808354040283529160200191610e71565b820191905f5260205f20905b815481529060010190602001808311610e5457829003601f168201915b505050505081565b5f6001600160a01b038216610e9857610e986323d3ad8160e21b611644565b506001600160a01b03165f9081526005602052604090205467ffffffffffffffff1690565b610ec56113eb565b610ece5f611786565b565b610ed86113eb565b600c55565b610ee56113eb565b6040514790339082156108fc029083905f818181858888f19350505050158015610a1d573d5f803e3d5ffd5b60148054610dfa90611dd9565b606060038054610a3090611dd9565b60155462010000900460ff1615610f575760405163a9f4f87160e01b815260040160405180910390fd5b601554610100900460ff1615610f80576040516306d39fcd60e41b815260040160405180910390fd5b600f5481610f936001545f54035f190190565b610f9d9190611daf565b1115610fbc576040516376592c6f60e01b815260040160405180910390fd5b3481601254610fcb9190611dc2565b14610fe95760405163168afe2b60e31b815260040160405180910390fd5b600d54335f908152601760205260409020546110059083611daf565b111561102457604051630e362dc360e21b815260040160405180910390fd5b335f9081526017602052604081208054839290611042908490611daf565b909155506110529050338261149e565b50565b335f8181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6110cb848484610b17565b6001600160a01b0383163b156110fb576110e7848484846117d7565b6110fb576110fb6368d2bf6b60e11b611644565b50505050565b6111096113eb565b600f548261111c6001545f54035f190190565b6111269190611daf565b1115611145576040516376592c6f60e01b815260040160405180910390fd5b610a1d818361149e565b606061115a826115fa565b6111a65760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e006044820152606401610d63565b60155460ff1615155f0361124457601480546111c190611dd9565b80601f01602080910402602001604051908101604052809291908181526020018280546111ed90611dd9565b80156112385780601f1061120f57610100808354040283529160200191611238565b820191905f5260205f20905b81548152906001019060200180831161121b57829003601f168201915b50505050509050919050565b5f61124d6118b5565b90505f81511161126b5760405180602001604052805f815250611296565b80611275846118c4565b604051602001611286929190611f3b565b6040516020818303038152906040525b9392505050565b6112a56113eb565b601255565b6112b26113eb565b6015805460ff1916911515919091179055565b6112cd6113eb565b600d55565b6001600160a01b039182165f90815260076020908152604080832093909416825291909152205460ff1690565b6113076113eb565b6001600160a01b03811661133057604051631e4fbdf760e01b81525f6004820152602401610d63565b61105281611786565b6113416113eb565b601055565b61134e6113eb565b60158054911515620100000262ff000019909216919091179055565b5f6301ffc9a760e01b6001600160e01b03198316148061139a57506380ac58cd60e01b6001600160e01b03198316145b8061088d5750506001600160e01b031916635b5e139f60e01b1490565b5f6001600160e01b0319821663152a902d60e11b148061088d57506301ffc9a760e01b6001600160e01b031983161461088d565b6009546001600160a01b03163314610ece5760405163118cdaa760e01b8152336004820152602401610d63565b5f61149661145e856040516bffffffffffffffffffffffff19606083901b1660208201525f90603401604051602081830303815290604052805190602001209050919050565b8484808060200260200160405190810160405280939291908181526020018383602002808284375f9201919091525061190792505050565b949350505050565b5f8054908290036114b9576114b963b562e8dd60e01b611644565b5f8181526004602090815260408083206001600160a01b0387164260a01b6001881460e11b1781179091558084526005909252822080546801000000000000000186020190559081900361151657611516622e076360e81b611644565b818301825b80835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a481816001019150810361151b57505f5550505050565b6127106001600160601b03821681101561159757604051636f483d0960e01b81526001600160601b038316600482015260248101829052604401610d63565b6001600160a01b0383166115c057604051635b6cc80560e11b81525f6004820152602401610d63565b50604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600a55565b5f8160011161163f575f5482101561163f575f5b505f82815260046020526040812054908190036116355761162e83611f79565b925061160e565b600160e01b161590505b919050565b805f5260045ffd5b5f61165683610de3565b905081801561166e5750336001600160a01b03821614155b156116915761167d81336112d2565b611691576116916367d9dca160e11b611644565b5f8381526006602052604080822080546001600160a01b0319166001600160a01b0388811691821790925591518693918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a450505050565b5f8160011161177657505f81815260046020526040902054805f03611764575f54821061172457611724636f96cda160e11b611644565b5b505f19015f81815260046020526040902054801561172557600160e01b81165f0361174f57919050565b61175f636f96cda160e11b611644565b611725565b600160e01b81165f0361177657919050565b61163f636f96cda160e11b611644565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b604051630a85bd0160e11b81525f906001600160a01b0385169063150b7a029061180b903390899088908890600401611f8e565b6020604051808303815f875af1925050508015611845575060408051601f3d908101601f1916820190925261184291810190611fca565b60015b611898573d808015611872576040519150601f19603f3d011682016040523d82523d5f602084013e611877565b606091505b5080515f03611890576118906368d2bf6b60e11b611644565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b606060138054610a3090611dd9565b606060a06040510180604052602081039150505f815280825b600183039250600a81066030018353600a9004806118dd5750819003601f19909101908152919050565b5f61129682600c54855f8261191c8584611925565b14949350505050565b5f81815b845181101561195f576119558286838151811061194857611948611fe5565b6020026020010151611967565b9150600101611929565b509392505050565b5f818310611981575f828152602084905260409020611296565b5f838152602083905260409020611296565b6001600160e01b031981168114611052575f80fd5b5f602082840312156119b8575f80fd5b813561129681611993565b8035801515811461163f575f80fd5b5f602082840312156119e2575f80fd5b611296826119c3565b5f805f604084860312156119fd575f80fd5b83359250602084013567ffffffffffffffff80821115611a1b575f80fd5b818601915086601f830112611a2e575f80fd5b813581811115611a3c575f80fd5b8760208260051b8501011115611a50575f80fd5b6020830194508093505050509250925092565b6001600160a01b0381168114611052575f80fd5b5f8060408385031215611a88575f80fd5b8235611a9381611a63565b915060208301356001600160601b0381168114611aae575f80fd5b809150509250929050565b5f5b83811015611ad3578181015183820152602001611abb565b50505f910152565b5f8151808452611af2816020860160208601611ab9565b601f01601f19169290920160200192915050565b602081525f6112966020830184611adb565b5f60208284031215611b28575f80fd5b5035919050565b5f8060408385031215611b40575f80fd5b8235611b4b81611a63565b946020939093013593505050565b5f60208284031215611b69575f80fd5b813561129681611a63565b634e487b7160e01b5f52604160045260245ffd5b5f67ffffffffffffffff80841115611ba257611ba2611b74565b604051601f8501601f19908116603f01168101908282118183101715611bca57611bca611b74565b81604052809350858152868686011115611be2575f80fd5b858560208301375f602087830101525050509392505050565b5f60208284031215611c0b575f80fd5b813567ffffffffffffffff811115611c21575f80fd5b8201601f81018413611c31575f80fd5b61149684823560208401611b88565b5f805f60608486031215611c52575f80fd5b8335611c5d81611a63565b92506020840135611c6d81611a63565b929592945050506040919091013590565b5f8060408385031215611c8f575f80fd5b50508035926020909101359150565b5f8060408385031215611caf575f80fd5b8235611cba81611a63565b9150611cc8602084016119c3565b90509250929050565b5f805f8060808587031215611ce4575f80fd5b8435611cef81611a63565b93506020850135611cff81611a63565b925060408501359150606085013567ffffffffffffffff811115611d21575f80fd5b8501601f81018713611d31575f80fd5b611d4087823560208401611b88565b91505092959194509250565b5f8060408385031215611d5d575f80fd5b823591506020830135611aae81611a63565b5f8060408385031215611d80575f80fd5b8235611d8b81611a63565b91506020830135611aae81611a63565b634e487b7160e01b5f52601160045260245ffd5b8082018082111561088d5761088d611d9b565b808202811582820484141761088d5761088d611d9b565b600181811c90821680611ded57607f821691505b602082108103611e0b57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115610d9657805f5260205f20601f840160051c81016020851015611e365750805b601f840160051c820191505b81811015611e55575f8155600101611e42565b5050505050565b815167ffffffffffffffff811115611e7657611e76611b74565b611e8a81611e848454611dd9565b84611e11565b602080601f831160018114611ebd575f8415611ea65750858301515b5f19600386901b1c1916600185901b178555611f14565b5f85815260208120601f198616915b82811015611eeb57888601518255948401946001909101908401611ecc565b5085821015611f0857878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b5f82611f3657634e487b7160e01b5f52601260045260245ffd5b500490565b5f8351611f4c818460208801611ab9565b835190830190611f60818360208801611ab9565b64173539b7b760d91b9101908152600501949350505050565b5f81611f8757611f87611d9b565b505f190190565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f90611fc090830184611adb565b9695505050505050565b5f60208284031215611fda575f80fd5b815161129681611993565b634e487b7160e01b5f52603260045260245ffdfea26469706673582212209321c4ac44f084a37cd80b4f9db115344770019c428027dcea0308c507133b7f64736f6c63430008180033000000000000000000000000eed5e10e95f5bcfb25d42b2977bf9794f84cdcd0
Deployed Bytecode
0x6080604052600436106102be575f3560e01c80636c0360eb1161016f578063bc63f02e116100d8578063e0a8085311610092578063e985e9c51161006d578063e985e9c5146107f8578063f2fde38b14610817578063fd571e0914610836578063fea0e05814610855575f80fd5b8063e0a80853146107a5578063e268e4d3146107c4578063e79cb42a146107e3575f80fd5b8063bc63f02e14610709578063bd7a199814610728578063c87b56dd1461073d578063ca0dcf161461075c578063d5abeb0114610771578063dbe2193f14610786575f80fd5b80638fe11a97116101295780638fe11a971461067157806395d89b4114610685578063a0712d6814610699578063a22cb465146106ac578063acdce273146106cb578063b88d4fde146106f6575f80fd5b80636c0360eb146105da57806370a08231146105ee578063715018a61461060d5780637cb6475914610621578063853828b6146106405780638da5cb5b14610654575f80fd5b806318160ddd1161022b57806342842e0e116101e55780635a7adf7f116101c05780635a7adf7f1461055f5780635c975abb1461057e5780635dffc8521461059c5780636352211e146105bb575f80fd5b806342842e0e14610514578063518302271461052757806355f804b314610540575f80fd5b806318160ddd1461045557806323b872dd146104705780632a55205a146104835780632e1a7d4d146104c15780632eb4a7ab146104e05780633fe6feb9146104f5575f80fd5b8063081812fc1161027c578063081812fc1461038d578063095ea7b3146103c45780630fe8418b146103d757806313bfabc0146103ec578063149835a0146104175780631598279f14610436575f80fd5b806277ec05146102c257806301ffc9a7146102ea57806302329a2914610319578063036e4cb51461033a57806304634d8d1461034d57806306fdde031461036c575b5f80fd5b3480156102cd575f80fd5b506102d7600e5481565b6040519081526020015b60405180910390f35b3480156102f5575f80fd5b506103096103043660046119a8565b610874565b60405190151581526020016102e1565b348015610324575f80fd5b506103386103333660046119d2565b610893565b005b6103386103483660046119eb565b6108b5565b348015610358575f80fd5b50610338610367366004611a77565b610a0b565b348015610377575f80fd5b50610380610a21565b6040516102e19190611b06565b348015610398575f80fd5b506103ac6103a7366004611b18565b610ab1565b6040516001600160a01b0390911681526020016102e1565b6103386103d2366004611b2f565b610aea565b3480156103e2575f80fd5b506102d760105481565b3480156103f7575f80fd5b506102d7610406366004611b59565b60166020525f908152604090205481565b348015610422575f80fd5b50610338610431366004611b18565b610af6565b348015610441575f80fd5b50610338610450366004611bfb565b610b03565b348015610460575f80fd5b506102d76001545f54035f190190565b61033861047e366004611c40565b610b17565b34801561048e575f80fd5b506104a261049d366004611c7e565b610c71565b604080516001600160a01b0390931683526020830191909152016102e1565b3480156104cc575f80fd5b506103386104db366004611b18565b610d1b565b3480156104eb575f80fd5b506102d7600c5481565b348015610500575f80fd5b5061033861050f366004611b18565b610d9b565b610338610522366004611c40565b610da8565b348015610532575f80fd5b506015546103099060ff1681565b34801561054b575f80fd5b5061033861055a366004611bfb565b610dc2565b34801561056a575f80fd5b506015546103099062010000900460ff1681565b348015610589575f80fd5b5060155461030990610100900460ff1681565b3480156105a7575f80fd5b506103386105b6366004611b18565b610dd6565b3480156105c6575f80fd5b506103ac6105d5366004611b18565b610de3565b3480156105e5575f80fd5b50610380610ded565b3480156105f9575f80fd5b506102d7610608366004611b59565b610e79565b348015610618575f80fd5b50610338610ebd565b34801561062c575f80fd5b5061033861063b366004611b18565b610ed0565b34801561064b575f80fd5b50610338610edd565b34801561065f575f80fd5b506009546001600160a01b03166103ac565b34801561067c575f80fd5b50610380610f11565b348015610690575f80fd5b50610380610f1e565b6103386106a7366004611b18565b610f2d565b3480156106b7575f80fd5b506103386106c6366004611c9e565b611055565b3480156106d6575f80fd5b506102d76106e5366004611b59565b60176020525f908152604090205481565b610338610704366004611cd1565b6110c0565b348015610714575f80fd5b50610338610723366004611d4c565b611101565b348015610733575f80fd5b506102d7600d5481565b348015610748575f80fd5b50610380610757366004611b18565b61114f565b348015610767575f80fd5b506102d760125481565b34801561077c575f80fd5b506102d7600f5481565b348015610791575f80fd5b506103386107a0366004611b18565b61129d565b3480156107b0575f80fd5b506103386107bf3660046119d2565b6112aa565b3480156107cf575f80fd5b506103386107de366004611b18565b6112c5565b3480156107ee575f80fd5b506102d760115481565b348015610803575f80fd5b50610309610812366004611d6f565b6112d2565b348015610822575f80fd5b50610338610831366004611b59565b6112ff565b348015610841575f80fd5b50610338610850366004611b18565b611339565b348015610860575f80fd5b5061033861086f3660046119d2565b611346565b5f61087e8261136a565b8061088d575061088d826113b7565b92915050565b61089b6113eb565b601580549115156101000261ff0019909216919091179055565b60155462010000900460ff1615156001146108e357604051631e94bf2d60e01b815260040160405180910390fd5b601554610100900460ff161561090c576040516306d39fcd60e41b815260040160405180910390fd5b610917338383611418565b61093457604051631f8b1b7160e11b815260040160405180910390fd5b601054836109476001545f54035f190190565b6109519190611daf565b1115610970576040516376592c6f60e01b815260040160405180910390fd5b348360115461097f9190611dc2565b1461099d5760405163168afe2b60e31b815260040160405180910390fd5b600e54335f908152601660205260409020546109ba908590611daf565b11156109d957604051630e362dc360e21b815260040160405180910390fd5b6109e3338461149e565b335f9081526016602052604081208054859290610a01908490611daf565b9091555050505050565b610a136113eb565b610a1d8282611558565b5050565b606060028054610a3090611dd9565b80601f0160208091040260200160405190810160405280929190818152602001828054610a5c90611dd9565b8015610aa75780601f10610a7e57610100808354040283529160200191610aa7565b820191905f5260205f20905b815481529060010190602001808311610a8a57829003601f168201915b5050505050905090565b5f610abb826115fa565b610acf57610acf6333d1c03960e21b611644565b505f908152600660205260409020546001600160a01b031690565b610a1d8282600161164c565b610afe6113eb565b600f55565b610b0b6113eb565b6014610a1d8282611e5c565b5f610b21826116ed565b6001600160a01b039485169490915081168414610b4757610b4762a1148160e81b611644565b5f8281526006602052604090208054338082146001600160a01b03881690911417610b8a57610b7686336112d2565b610b8a57610b8a632ce44b5f60e11b611644565b8015610b94575f82555b6001600160a01b038681165f9081526005602052604080822080545f19019055918716808252919020805460010190554260a01b17600160e11b175f85815260046020526040812091909155600160e11b84169003610c2057600184015f818152600460205260408120549003610c1e575f548114610c1e575f8181526004602052604090208490555b505b6001600160a01b0385168481887fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a4805f03610c6857610c68633a954ecd60e21b611644565b50505050505050565b5f828152600b602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b0316928201929092528291610ce5575060408051808201909152600a546001600160a01b0381168252600160a01b90046001600160601b031660208201525b60208101515f9061271090610d03906001600160601b031687611dc2565b610d0d9190611f1c565b915196919550909350505050565b610d236113eb565b4780821115610d6c5760405162461bcd60e51b815260206004820152601060248201526f6e6f7420656e6f7567682066756e647360801b60448201526064015b60405180910390fd5b604051339083156108fc029084905f818181858888f19350505050158015610d96573d5f803e3d5ffd5b505050565b610da36113eb565b600e55565b610d9683838360405180602001604052805f8152506110c0565b610dca6113eb565b6013610a1d8282611e5c565b610dde6113eb565b601155565b5f61088d826116ed565b60138054610dfa90611dd9565b80601f0160208091040260200160405190810160405280929190818152602001828054610e2690611dd9565b8015610e715780601f10610e4857610100808354040283529160200191610e71565b820191905f5260205f20905b815481529060010190602001808311610e5457829003601f168201915b505050505081565b5f6001600160a01b038216610e9857610e986323d3ad8160e21b611644565b506001600160a01b03165f9081526005602052604090205467ffffffffffffffff1690565b610ec56113eb565b610ece5f611786565b565b610ed86113eb565b600c55565b610ee56113eb565b6040514790339082156108fc029083905f818181858888f19350505050158015610a1d573d5f803e3d5ffd5b60148054610dfa90611dd9565b606060038054610a3090611dd9565b60155462010000900460ff1615610f575760405163a9f4f87160e01b815260040160405180910390fd5b601554610100900460ff1615610f80576040516306d39fcd60e41b815260040160405180910390fd5b600f5481610f936001545f54035f190190565b610f9d9190611daf565b1115610fbc576040516376592c6f60e01b815260040160405180910390fd5b3481601254610fcb9190611dc2565b14610fe95760405163168afe2b60e31b815260040160405180910390fd5b600d54335f908152601760205260409020546110059083611daf565b111561102457604051630e362dc360e21b815260040160405180910390fd5b335f9081526017602052604081208054839290611042908490611daf565b909155506110529050338261149e565b50565b335f8181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6110cb848484610b17565b6001600160a01b0383163b156110fb576110e7848484846117d7565b6110fb576110fb6368d2bf6b60e11b611644565b50505050565b6111096113eb565b600f548261111c6001545f54035f190190565b6111269190611daf565b1115611145576040516376592c6f60e01b815260040160405180910390fd5b610a1d818361149e565b606061115a826115fa565b6111a65760405162461bcd60e51b815260206004820152601f60248201527f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e006044820152606401610d63565b60155460ff1615155f0361124457601480546111c190611dd9565b80601f01602080910402602001604051908101604052809291908181526020018280546111ed90611dd9565b80156112385780601f1061120f57610100808354040283529160200191611238565b820191905f5260205f20905b81548152906001019060200180831161121b57829003601f168201915b50505050509050919050565b5f61124d6118b5565b90505f81511161126b5760405180602001604052805f815250611296565b80611275846118c4565b604051602001611286929190611f3b565b6040516020818303038152906040525b9392505050565b6112a56113eb565b601255565b6112b26113eb565b6015805460ff1916911515919091179055565b6112cd6113eb565b600d55565b6001600160a01b039182165f90815260076020908152604080832093909416825291909152205460ff1690565b6113076113eb565b6001600160a01b03811661133057604051631e4fbdf760e01b81525f6004820152602401610d63565b61105281611786565b6113416113eb565b601055565b61134e6113eb565b60158054911515620100000262ff000019909216919091179055565b5f6301ffc9a760e01b6001600160e01b03198316148061139a57506380ac58cd60e01b6001600160e01b03198316145b8061088d5750506001600160e01b031916635b5e139f60e01b1490565b5f6001600160e01b0319821663152a902d60e11b148061088d57506301ffc9a760e01b6001600160e01b031983161461088d565b6009546001600160a01b03163314610ece5760405163118cdaa760e01b8152336004820152602401610d63565b5f61149661145e856040516bffffffffffffffffffffffff19606083901b1660208201525f90603401604051602081830303815290604052805190602001209050919050565b8484808060200260200160405190810160405280939291908181526020018383602002808284375f9201919091525061190792505050565b949350505050565b5f8054908290036114b9576114b963b562e8dd60e01b611644565b5f8181526004602090815260408083206001600160a01b0387164260a01b6001881460e11b1781179091558084526005909252822080546801000000000000000186020190559081900361151657611516622e076360e81b611644565b818301825b80835f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5f80a481816001019150810361151b57505f5550505050565b6127106001600160601b03821681101561159757604051636f483d0960e01b81526001600160601b038316600482015260248101829052604401610d63565b6001600160a01b0383166115c057604051635b6cc80560e11b81525f6004820152602401610d63565b50604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600a55565b5f8160011161163f575f5482101561163f575f5b505f82815260046020526040812054908190036116355761162e83611f79565b925061160e565b600160e01b161590505b919050565b805f5260045ffd5b5f61165683610de3565b905081801561166e5750336001600160a01b03821614155b156116915761167d81336112d2565b611691576116916367d9dca160e11b611644565b5f8381526006602052604080822080546001600160a01b0319166001600160a01b0388811691821790925591518693918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a450505050565b5f8160011161177657505f81815260046020526040902054805f03611764575f54821061172457611724636f96cda160e11b611644565b5b505f19015f81815260046020526040902054801561172557600160e01b81165f0361174f57919050565b61175f636f96cda160e11b611644565b611725565b600160e01b81165f0361177657919050565b61163f636f96cda160e11b611644565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b604051630a85bd0160e11b81525f906001600160a01b0385169063150b7a029061180b903390899088908890600401611f8e565b6020604051808303815f875af1925050508015611845575060408051601f3d908101601f1916820190925261184291810190611fca565b60015b611898573d808015611872576040519150601f19603f3d011682016040523d82523d5f602084013e611877565b606091505b5080515f03611890576118906368d2bf6b60e11b611644565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b606060138054610a3090611dd9565b606060a06040510180604052602081039150505f815280825b600183039250600a81066030018353600a9004806118dd5750819003601f19909101908152919050565b5f61129682600c54855f8261191c8584611925565b14949350505050565b5f81815b845181101561195f576119558286838151811061194857611948611fe5565b6020026020010151611967565b9150600101611929565b509392505050565b5f818310611981575f828152602084905260409020611296565b5f838152602083905260409020611296565b6001600160e01b031981168114611052575f80fd5b5f602082840312156119b8575f80fd5b813561129681611993565b8035801515811461163f575f80fd5b5f602082840312156119e2575f80fd5b611296826119c3565b5f805f604084860312156119fd575f80fd5b83359250602084013567ffffffffffffffff80821115611a1b575f80fd5b818601915086601f830112611a2e575f80fd5b813581811115611a3c575f80fd5b8760208260051b8501011115611a50575f80fd5b6020830194508093505050509250925092565b6001600160a01b0381168114611052575f80fd5b5f8060408385031215611a88575f80fd5b8235611a9381611a63565b915060208301356001600160601b0381168114611aae575f80fd5b809150509250929050565b5f5b83811015611ad3578181015183820152602001611abb565b50505f910152565b5f8151808452611af2816020860160208601611ab9565b601f01601f19169290920160200192915050565b602081525f6112966020830184611adb565b5f60208284031215611b28575f80fd5b5035919050565b5f8060408385031215611b40575f80fd5b8235611b4b81611a63565b946020939093013593505050565b5f60208284031215611b69575f80fd5b813561129681611a63565b634e487b7160e01b5f52604160045260245ffd5b5f67ffffffffffffffff80841115611ba257611ba2611b74565b604051601f8501601f19908116603f01168101908282118183101715611bca57611bca611b74565b81604052809350858152868686011115611be2575f80fd5b858560208301375f602087830101525050509392505050565b5f60208284031215611c0b575f80fd5b813567ffffffffffffffff811115611c21575f80fd5b8201601f81018413611c31575f80fd5b61149684823560208401611b88565b5f805f60608486031215611c52575f80fd5b8335611c5d81611a63565b92506020840135611c6d81611a63565b929592945050506040919091013590565b5f8060408385031215611c8f575f80fd5b50508035926020909101359150565b5f8060408385031215611caf575f80fd5b8235611cba81611a63565b9150611cc8602084016119c3565b90509250929050565b5f805f8060808587031215611ce4575f80fd5b8435611cef81611a63565b93506020850135611cff81611a63565b925060408501359150606085013567ffffffffffffffff811115611d21575f80fd5b8501601f81018713611d31575f80fd5b611d4087823560208401611b88565b91505092959194509250565b5f8060408385031215611d5d575f80fd5b823591506020830135611aae81611a63565b5f8060408385031215611d80575f80fd5b8235611d8b81611a63565b91506020830135611aae81611a63565b634e487b7160e01b5f52601160045260245ffd5b8082018082111561088d5761088d611d9b565b808202811582820484141761088d5761088d611d9b565b600181811c90821680611ded57607f821691505b602082108103611e0b57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115610d9657805f5260205f20601f840160051c81016020851015611e365750805b601f840160051c820191505b81811015611e55575f8155600101611e42565b5050505050565b815167ffffffffffffffff811115611e7657611e76611b74565b611e8a81611e848454611dd9565b84611e11565b602080601f831160018114611ebd575f8415611ea65750858301515b5f19600386901b1c1916600185901b178555611f14565b5f85815260208120601f198616915b82811015611eeb57888601518255948401946001909101908401611ecc565b5085821015611f0857878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b5f82611f3657634e487b7160e01b5f52601260045260245ffd5b500490565b5f8351611f4c818460208801611ab9565b835190830190611f60818360208801611ab9565b64173539b7b760d91b9101908152600501949350505050565b5f81611f8757611f87611d9b565b505f190190565b6001600160a01b03858116825284166020820152604081018390526080606082018190525f90611fc090830184611adb565b9695505050505050565b5f60208284031215611fda575f80fd5b815161129681611993565b634e487b7160e01b5f52603260045260245ffdfea26469706673582212209321c4ac44f084a37cd80b4f9db115344770019c428027dcea0308c507133b7f64736f6c63430008180033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000eed5e10e95f5bcfb25d42b2977bf9794f84cdcd0
-----Decoded View---------------
Arg [0] : initialOwner (address): 0xeED5E10E95F5bcfB25d42b2977BF9794f84cDcD0
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000eed5e10e95f5bcfb25d42b2977bf9794f84cdcd0
Deployed Bytecode Sourcemap
3969:9346:8:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4164:33;;;;;;;;;;;;;;;;;;;160:25:11;;;148:2;133:18;4164:33:8;;;;;;;;13105:207;;;;;;;;;;-1:-1:-1;13105:207:8;;;;;:::i;:::-;;:::i;:::-;;;747:14:11;;740:22;722:41;;710:2;695:18;13105:207:8;582:187:11;11837:81:8;;;;;;;;;;-1:-1:-1;11837:81:8;;;;;:::i;:::-;;:::i;:::-;;6301:1061;;;;;;:::i;:::-;;:::i;12894:149::-;;;;;;;;;;-1:-1:-1;12894:149:8;;;;;:::i;:::-;;:::i;11573:98:9:-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;18636:223::-;;;;;;;;;;-1:-1:-1;18636:223:9;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;3517:32:11;;;3499:51;;3487:2;3472:18;18636:223:9;3353:203:11;18364:122:9;;;;;;:::i;:::-;;:::i;4242:29:8:-;;;;;;;;;;;;;;;;4544:57;;;;;;;;;;-1:-1:-1;4544:57:8;;;;;:::i;:::-;;;;;;;;;;;;;;10177:102;;;;;;;;;;-1:-1:-1;10177:102:8;;;;;:::i;:::-;;:::i;11557:130::-;;;;;;;;;;-1:-1:-1;11557:130:8;;;;;:::i;:::-;;:::i;6890:564:9:-;;;;;;;;;;;;8571:1:8;7328:12:9;6951:14;7312:13;:28;-1:-1:-1;;7312:46:9;;6890:564;22796:3447;;;;;;:::i;:::-;;:::i;2379:419:2:-;;;;;;;;;;-1:-1:-1;2379:419:2;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;6296:32:11;;;6278:51;;6360:2;6345:18;;6338:34;;;;6251:18;2379:419:2;6104:274:11;12262:218:8;;;;;;;;;;-1:-1:-1;12262:218:8;;;;;:::i;:::-;;:::i;4094:25::-;;;;;;;;;;;;;;;;9956:104;;;;;;;;;;-1:-1:-1;9956:104:8;;;;;:::i;:::-;;:::i;26334:187:9:-;;;;;;:::i;:::-;;:::i;4442:28:8:-;;;;;;;;;;-1:-1:-1;4442:28:8;;;;;;;;11310:106;;;;;;;;;;-1:-1:-1;11310:106:8;;;;;:::i;:::-;;:::i;4509:26::-;;;;;;;;;;-1:-1:-1;4509:26:8;;;;;;;;;;;4477:25;;;;;;;;;;-1:-1:-1;4477:25:8;;;;;;;;;;;10865:106;;;;;;;;;;-1:-1:-1;10865:106:8;;;;;:::i;:::-;;:::i;12934:150:9:-;;;;;;;;;;-1:-1:-1;12934:150:9;;;;;:::i;:::-;;:::i;4370:26:8:-;;;;;;;;;;;;;:::i;8570:239:9:-;;;;;;;;;;-1:-1:-1;8570:239:9;;;;;:::i;:::-;;:::i;2293:101:0:-;;;;;;;;;;;;;:::i;9465:106:8:-;;;;;;;;;;-1:-1:-1;9465:106:8;;;;;:::i;:::-;;:::i;12567:148::-;;;;;;;;;;;;;:::i;1638:85:0:-;;;;;;;;;;-1:-1:-1;1710:6:0;;-1:-1:-1;;;;;1710:6:0;1638:85;;4403:32:8;;;;;;;;;;;;;:::i;11742:102:9:-;;;;;;;;;;;;;:::i;5297:835:8:-;;;;;;:::i;:::-;;:::i;19186:231:9:-;;;;;;;;;;-1:-1:-1;19186:231:9;;;;;:::i;:::-;;:::i;4608:48:8:-;;;;;;;;;;-1:-1:-1;4608:48:8;;;;;:::i;:::-;;;;;;;;;;;;;;27102:405:9;;;;;;:::i;:::-;;:::i;8193:231:8:-;;;;;;;;;;-1:-1:-1;8193:231:8;;;;;:::i;:::-;;:::i;4126:31::-;;;;;;;;;;;;;;;;8884:422;;;;;;;;;;-1:-1:-1;8884:422:8;;;;;:::i;:::-;;:::i;4326:37::-;;;;;;;;;;;;;;;;4204:31;;;;;;;;;;;;;;;;10634:96;;;;;;;;;;-1:-1:-1;10634:96:8;;;;;:::i;:::-;;:::i;11090:89::-;;;;;;;;;;-1:-1:-1;11090:89:8;;;;;:::i;:::-;;:::i;9704:100::-;;;;;;;;;;-1:-1:-1;9704:100:8;;;;;:::i;:::-;;:::i;4278:41::-;;;;;;;;;;;;;;;;19567:162:9;;;;;;;;;;-1:-1:-1;19567:162:9;;;;;:::i;:::-;;:::i;2543:215:0:-;;;;;;;;;;-1:-1:-1;2543:215:0;;;;;:::i;:::-;;:::i;10418:100:8:-;;;;;;;;;;-1:-1:-1;10418:100:8;;;;;:::i;:::-;;:::i;12049:90::-;;;;;;;;;;-1:-1:-1;12049:90:8;;;;;:::i;:::-;;:::i;13105:207::-;13200:4;13224:38;13250:11;13224:25;:38::i;:::-;:80;;;;13266:38;13292:11;13266:25;:38::i;:::-;13217:87;13105:207;-1:-1:-1;;13105:207:8:o;11837:81::-;1531:13:0;:11;:13::i;:::-;11895:6:8::1;:15:::0;;;::::1;;;;-1:-1:-1::0;;11895:15:8;;::::1;::::0;;;::::1;::::0;;11837:81::o;6301:1061::-;6435:7;;;;;;;:15;;6446:4;6435:15;6431:46;;6459:18;;-1:-1:-1;;;6459:18:8;;;;;;;;;;;6431:46;6538:6;;;;;;;:15;6534:46;;6562:18;;-1:-1:-1;;;6562:18:8;;;;;;;;;;;6534:46;6644:32;6658:10;6670:5;;6644:13;:32::i;:::-;6639:61;;6685:15;;-1:-1:-1;;;6685:15:8;;;;;;;;;;;6639:61;6786:8;;6775;6759:13;8571:1;7328:12:9;6951:14;7312:13;:28;-1:-1:-1;;7312:46:9;;6890:564;6759:13:8;:24;;;;:::i;:::-;:35;6755:96;;;6818:21;;-1:-1:-1;;;6818:21:8;;;;;;;;;;;6755:96;6979:9;6967:8;6951:13;;:24;;;;:::i;:::-;:37;6947:89;;7012:12;;-1:-1:-1;;;7012:12:8;;;;;;;;;;;6947:89;7146:14;;7121:10;7098:34;;;;:22;:34;;;;;;:45;;7135:8;;7098:45;:::i;:::-;:62;7094:117;;;7184:15;;-1:-1:-1;;;7184:15:8;;;;;;;;;;;7094:117;7223:27;7229:10;7241:8;7223:5;:27::i;:::-;7331:10;7308:34;;;;:22;:34;;;;;:46;;7346:8;;7308:34;:46;;7346:8;;7308:46;:::i;:::-;;;;-1:-1:-1;;;;;6301:1061:8:o;12894:149::-;1531:13:0;:11;:13::i;:::-;12996:39:8::1;13015:8;13025:9;12996:18;:39::i;:::-;12894:149:::0;;:::o;11573:98:9:-;11627:13;11659:5;11652:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11573:98;:::o;18636:223::-;18712:7;18736:16;18744:7;18736;:16::i;:::-;18731:73;;18754:50;-1:-1:-1;;;18754:7:9;:50::i;:::-;-1:-1:-1;18822:24:9;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;18822:30:9;;18636:223::o;18364:122::-;18452:27;18461:2;18465:7;18474:4;18452:8;:27::i;10177:102:8:-;1531:13:0;:11;:13::i;:::-;10249:9:8::1;:22:::0;10177:102::o;11557:130::-;1531:13:0;:11;:13::i;:::-;11646::8::1;:33;11662:17:::0;11646:13;:33:::1;:::i;22796:3447:9:-:0;22933:27;22963;22982:7;22963:18;:27::i;:::-;-1:-1:-1;;;;;23115:22:9;;;;22933:57;;-1:-1:-1;23173:45:9;;;;23169:95;;23220:44;-1:-1:-1;;;23220:7:9;:44::i;:::-;23276:27;21929:24;;;:15;:24;;;;;22153:26;;47819:10;21566:30;;;-1:-1:-1;;;;;21263:28:9;;21544:20;;;21541:56;23459:188;;23551:43;23568:4;47819:10;19567:162;:::i;23551:43::-;23546:101;;23596:51;-1:-1:-1;;;23596:7:9;:51::i;:::-;23790:15;23787:157;;;23928:1;23907:19;23900:30;23787:157;-1:-1:-1;;;;;24316:24:9;;;;;;;:18;:24;;;;;;24314:26;;-1:-1:-1;;24314:26:9;;;24384:22;;;;;;;;;24382:24;;-1:-1:-1;24382:24:9;;;17492:11;17467:23;17463:41;17450:63;-1:-1:-1;;;17450:63:9;24670:26;;;;:17;:26;;;;;:172;;;;-1:-1:-1;;;24959:47:9;;:52;;24955:617;;25063:1;25053:11;;25031:19;25184:30;;;:17;:30;;;;;;:35;;25180:378;;25320:13;;25305:11;:28;25301:239;;25465:30;;;;:17;:30;;;;;:52;;;25301:239;25013:559;24955:617;-1:-1:-1;;;;;25700:20:9;;26071:7;25700:20;26003:4;25946:25;25681:16;;25814:292;26129:8;26141:1;26129:13;26125:58;;26144:39;-1:-1:-1;;;26144:7:9;:39::i;:::-;22923:3320;;;;22796:3447;;;:::o;2379:419:2:-;2465:7;2522:26;;;:17;:26;;;;;;;;2493:55;;;;;;;;;-1:-1:-1;;;;;2493:55:2;;;;;-1:-1:-1;;;2493:55:2;;;-1:-1:-1;;;;;2493:55:2;;;;;;;;2465:7;;2559:90;;-1:-1:-1;2609:29:2;;;;;;;;;2619:19;2609:29;-1:-1:-1;;;;;2609:29:2;;;;-1:-1:-1;;;2609:29:2;;-1:-1:-1;;;;;2609:29:2;;;;;2559:90;2696:23;;;;2659:21;;3156:5;;2684:35;;-1:-1:-1;;;;;2684:35:2;:9;:35;:::i;:::-;2683:57;;;;:::i;:::-;2759:16;;;;;-1:-1:-1;2379:419:2;;-1:-1:-1;;;;2379:419:2:o;12262:218:8:-;1531:13:0;:11;:13::i;:::-;12345:21:8::1;12385:18:::0;;::::1;;12377:47;;;::::0;-1:-1:-1;;;12377:47:8;;12045:2:11;12377:47:8::1;::::0;::::1;12027:21:11::0;12084:2;12064:18;;;12057:30;-1:-1:-1;;;12103:18:11;;;12096:46;12159:18;;12377:47:8::1;;;;;;;;;12435:37;::::0;12443:10:::1;::::0;12435:37;::::1;;;::::0;12464:7;;12435:37:::1;::::0;;;12464:7;12443:10;12435:37;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;12316:164;12262:218:::0;:::o;9956:104::-;1531:13:0;:11;:13::i;:::-;10029:14:8::1;:23:::0;9956:104::o;26334:187:9:-;26475:39;26492:4;26498:2;26502:7;26475:39;;;;;;;;;;;;:16;:39::i;11310:106:8:-;1531:13:0;:11;:13::i;:::-;11387:7:8::1;:21;11397:11:::0;11387:7;:21:::1;:::i;10865:106::-:0;1531:13:0;:11;:13::i;:::-;10939::8::1;:24:::0;10865:106::o;12934:150:9:-;13006:7;13048:27;13067:7;13048:18;:27::i;4370:26:8:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;8570:239:9:-;8642:7;-1:-1:-1;;;;;8665:19:9;;8661:69;;8686:44;-1:-1:-1;;;8686:7:9;:44::i;:::-;-1:-1:-1;;;;;;8747:25:9;;;;;:18;:25;;;;;;1518:13;8747:55;;8570:239::o;2293:101:0:-;1531:13;:11;:13::i;:::-;2357:30:::1;2384:1;2357:18;:30::i;:::-;2293:101::o:0;9465:106:8:-;1531:13:0;:11;:13::i;:::-;9539:10:8::1;:24:::0;9465:106::o;12567:148::-;1531:13:0;:11;:13::i;:::-;12670:37:8::1;::::0;12638:21:::1;::::0;12678:10:::1;::::0;12670:37;::::1;;;::::0;12638:21;;12620:15:::1;12670:37:::0;12620:15;12670:37;12638:21;12678:10;12670:37;::::1;;;;;;;;;;;;;::::0;::::1;;;;4403:32:::0;;;;;;;:::i;11742:102:9:-;11798:13;11830:7;11823:14;;;;;:::i;5297:835:8:-;5402:7;;;;;;;:16;5398:48;;5427:19;;-1:-1:-1;;;5427:19:8;;;;;;;;;;;5398:48;5507:6;;;;;;;:15;5503:46;;5531:18;;-1:-1:-1;;;5531:18:8;;;;;;;;;;;5503:46;5635:9;;5624:8;5608:13;8571:1;7328:12:9;6951:14;7312:13;:28;-1:-1:-1;;7312:46:9;;6890:564;5608:13:8;:24;;;;:::i;:::-;:36;5604:97;;;5668:21;;-1:-1:-1;;;5668:21:8;;;;;;;;;;;5604:97;5824:9;5812:8;5801;;:19;;;;:::i;:::-;:32;5797:84;;5857:12;;-1:-1:-1;;;5857:12:8;;;;;;;;;;;5797:84;5974:12;;5960:10;5946:25;;;;:13;:25;;;;;;5935:36;;:8;:36;:::i;:::-;:51;5931:106;;;6010:15;;-1:-1:-1;;;6010:15:8;;;;;;;;;;;5931:106;6063:10;6049:25;;;;:13;:25;;;;;:37;;6078:8;;6049:25;:37;;6078:8;;6049:37;:::i;:::-;;;;-1:-1:-1;6097:27:8;;-1:-1:-1;6103:10:8;6115:8;6097:5;:27::i;:::-;5297:835;:::o;19186:231:9:-;47819:10;19280:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;19280:49:9;;;;;;;;;;;;:60;;-1:-1:-1;;19280:60:9;;;;;;;;;;19355:55;;722:41:11;;;19280:49:9;;47819:10;19355:55;;695:18:11;19355:55:9;;;;;;;19186:231;;:::o;27102:405::-;27271:31;27284:4;27290:2;27294:7;27271:12;:31::i;:::-;-1:-1:-1;;;;;27316:14:9;;;:19;27312:189;;27354:56;27385:4;27391:2;27395:7;27404:5;27354:30;:56::i;:::-;27349:152;;27430:56;-1:-1:-1;;;27430:7:9;:56::i;:::-;27102:405;;;;:::o;8193:231:8:-;1531:13:0;:11;:13::i;:::-;8310:9:8::1;;8299:8;8283:13;8571:1:::0;7328:12:9;6951:14;7312:13;:28;-1:-1:-1;;7312:46:9;;6890:564;8283:13:8::1;:24;;;;:::i;:::-;:36;8279:97;;;8343:21;;-1:-1:-1::0;;;8343:21:8::1;;;;;;;;;;;8279:97;8388:28;8394:11;8407:8;8388:5;:28::i;8884:422::-:0;8949:13;8984:16;8992:7;8984;:16::i;:::-;8975:61;;;;-1:-1:-1;;;8975:61:8;;12390:2:11;8975:61:8;;;12372:21:11;12429:2;12409:18;;;12402:30;12468:33;12448:18;;;12441:61;12519:18;;8975:61:8;12188:355:11;8975:61:8;9056:8;;;;:17;;:8;:17;9053:47;;9084:13;9077:20;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8884:422;;;:::o;9053:47::-;9112:28;9143:10;:8;:10::i;:::-;9112:41;;9202:1;9177:14;9171:28;:32;:127;;;;;;;;;;;;;;;;;9239:14;9255:18;9265:7;9255:9;:18::i;:::-;9222:61;;;;;;;;;:::i;:::-;;;;;;;;;;;;;9171:127;9164:134;8884:422;-1:-1:-1;;;8884:422:8:o;10634:96::-;1531:13:0;:11;:13::i;:::-;10703:8:8::1;:19:::0;10634:96::o;11090:89::-;1531:13:0;:11;:13::i;:::-;11154:8:8::1;:17:::0;;-1:-1:-1;;11154:17:8::1;::::0;::::1;;::::0;;;::::1;::::0;;11090:89::o;9704:100::-;1531:13:0;:11;:13::i;:::-;9775:12:8::1;:21:::0;9704:100::o;19567:162:9:-;-1:-1:-1;;;;;19687:25:9;;;19664:4;19687:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;19567:162::o;2543:215:0:-;1531:13;:11;:13::i;:::-;-1:-1:-1;;;;;2627:22:0;::::1;2623:91;;2672:31;::::0;-1:-1:-1;;;2672:31:0;;2700:1:::1;2672:31;::::0;::::1;3499:51:11::0;3472:18;;2672:31:0::1;3353:203:11::0;2623:91:0::1;2723:28;2742:8;2723:18;:28::i;10418:100:8:-:0;1531:13:0;:11;:13::i;:::-;10489:8:8::1;:21:::0;10418:100::o;12049:90::-;1531:13:0;:11;:13::i;:::-;12115:7:8::1;:16:::0;;;::::1;;::::0;::::1;-1:-1:-1::0;;12115:16:8;;::::1;::::0;;;::::1;::::0;;12049:90::o;10689:630:9:-;10774:4;-1:-1:-1;;;;;;;;;11092:25:9;;;;:101;;-1:-1:-1;;;;;;;;;;11168:25:9;;;11092:101;:177;;;-1:-1:-1;;;;;;;;11244:25:9;-1:-1:-1;;;11244:25:9;;10689:630::o;2116:213:2:-;2218:4;-1:-1:-1;;;;;;2241:41:2;;-1:-1:-1;;;2241:41:2;;:81;;-1:-1:-1;;;;;;;;;;861:40:6;;;2286:36:2;762:146:6;1796:162:0;1710:6;;-1:-1:-1;;;;;1710:6:0;47819:10:9;1855:23:0;1851:101;;1901:40;;-1:-1:-1;;;1901:40:0;;47819:10:9;1901:40:0;;;3499:51:11;3472:18;;1901:40:0;3353:203:11;7447:186:8;7565:4;7594:31;7602:14;7607:8;7733:26;;-1:-1:-1;;14539:2:11;14535:15;;;14531:53;7733:26:8;;;14519:66:11;7696:7:8;;14601:12:11;;7733:26:8;;;;;;;;;;;;7723:37;;;;;;7716:44;;7641:127;;;;7602:14;7618:6;;7594:31;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7594:7:8;;-1:-1:-1;;;7594:31:8:i;:::-;7587:38;7447:186;-1:-1:-1;;;;7447:186:8:o;30652:2343:9:-;30724:20;30747:13;;;30774;;;30770:53;;30789:34;-1:-1:-1;;;30789:7:9;:34::i;:::-;31323:31;;;;:17;:31;;;;;;;;-1:-1:-1;;;;;17320:28:9;;17492:11;17467:23;17463:41;17925:1;17912:15;;17886:24;17882:46;17460:52;17450:63;;31323:170;;;31704:22;;;:18;:22;;;;;:71;;31742:32;31730:45;;31704:71;;;17320:28;31960:13;;;31956:54;;31975:35;-1:-1:-1;;;31975:7:9;:35::i;:::-;32039:23;;;;32213:662;32623:7;32580:8;32536:1;32471:25;32409:1;32345;32315:351;32870:3;32857:9;;;;;;:16;32213:662;;-1:-1:-1;32889:13:9;:19;-1:-1:-1;12435:37:8::1;12316:164;12262:218:::0;:::o;3429:507:2:-;3156:5;-1:-1:-1;;;;;3576:26:2;;;-1:-1:-1;3572:173:2;;;3679:55;;-1:-1:-1;;;3679:55:2;;-1:-1:-1;;;;;13407:39:11;;3679:55:2;;;13389:58:11;13463:18;;;13456:34;;;13362:18;;3679:55:2;13216:280:11;3572:173:2;-1:-1:-1;;;;;3758:22:2;;3754:108;;3803:48;;-1:-1:-1;;;3803:48:2;;3848:1;3803:48;;;3499:51:11;3472:18;;3803:48:2;3353:203:11;3754:108:2;-1:-1:-1;3894:35:2;;;;;;;;;-1:-1:-1;;;;;3894:35:2;;;;;;-1:-1:-1;;;;;3894:35:2;;;;;;;;;;-1:-1:-1;;;3872:57:2;;;;:19;:57;3429:507::o;19978:465:9:-;20043:11;20089:7;8571:1:8;20070:26:9;20066:371;;20231:13;;20221:7;:23;20217:210;;;20264:14;20296:60;-1:-1:-1;20313:26:9;;;;:17;:26;;;;;;;20303:42;;;20296:60;;20347:9;;;:::i;:::-;;;20296:60;;;-1:-1:-1;;;20383:24:9;:29;;-1:-1:-1;20217:210:9;19978:465;;;:::o;49703:160::-;49802:13;49796:4;49789:27;49842:4;49836;49829:18;41333:460;41457:13;41473:16;41481:7;41473;:16::i;:::-;41457:32;;41504:13;:45;;;;-1:-1:-1;47819:10:9;-1:-1:-1;;;;;41521:28:9;;;;41504:45;41500:198;;;41568:44;41585:5;47819:10;19567:162;:::i;41568:44::-;41563:135;;41632:51;-1:-1:-1;;;41632:7:9;:51::i;:::-;41708:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;41708:35:9;-1:-1:-1;;;;;41708:35:9;;;;;;;;;41758:28;;41708:24;;41758:28;;;;;;;41447:346;41333:460;;;:::o;14380:2173::-;14447:14;14496:7;8571:1:8;14477:26:9;14473:2017;;-1:-1:-1;14528:26:9;;;;:17;:26;;;;;;14847:6;14857:1;14847:11;14843:1270;;14893:13;;14882:7;:24;14878:77;;14908:47;-1:-1:-1;;;14908:7:9;:47::i;:::-;15502:597;-1:-1:-1;;;15596:9:9;15578:28;;;;:17;:28;;;;;;15650:25;;15502:597;15650:25;-1:-1:-1;;;15701:6:9;:24;15729:1;15701:29;15697:48;;14380:2173;;;:::o;15697:48::-;16033:47;-1:-1:-1;;;16033:7:9;:47::i;:::-;15502:597;;14843:1270;-1:-1:-1;;;16435:6:9;:24;16463:1;16435:29;16431:48;;14380:2173;;;:::o;16431:48::-;16499:47;-1:-1:-1;;;16499:7:9;:47::i;2912:187:0:-;3004:6;;;-1:-1:-1;;;;;3020:17:0;;;-1:-1:-1;;;;;;3020:17:0;;;;;;;3052:40;;3004:6;;;3020:17;3004:6;;3052:40;;2985:16;;3052:40;2975:124;2912:187;:::o;29533:673:9:-;29711:88;;-1:-1:-1;;;29711:88:9;;29691:4;;-1:-1:-1;;;;;29711:45:9;;;;;:88;;47819:10;;29778:4;;29784:7;;29793:5;;29711:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;29711:88:9;;;;;;;;-1:-1:-1;;29711:88:9;;;;;;;;;;;;:::i;:::-;;;29707:493;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29989:6;:13;30006:1;29989:18;29985:113;;30027:56;-1:-1:-1;;;30027:7:9;:56::i;:::-;30168:6;30162:13;30153:6;30149:2;30145:15;30138:38;29707:493;-1:-1:-1;;;;;;29867:64:9;-1:-1:-1;;;29867:64:9;;-1:-1:-1;29533:673:9;;;;;;:::o;8656:100:8:-;8708:13;8741:7;8734:14;;;;;:::i;47933:1708:9:-;47998:17;48426:4;48419;48413:11;48409:22;48516:1;48510:4;48503:15;48589:4;48586:1;48582:12;48575:19;;;48669:1;48664:3;48657:14;48770:3;49004:5;48986:419;49051:1;49046:3;49042:11;49035:18;;49219:2;49213:4;49209:13;49205:2;49201:22;49196:3;49188:36;49311:2;49301:13;;49366:25;48986:419;49366:25;-1:-1:-1;49433:13:9;;;-1:-1:-1;;49546:14:9;;;49606:19;;;49546:14;47933:1708;-1:-1:-1;47933:1708:9:o;7776:189:8:-;7883:4;7912:45;7931:6;7939:10;;7951:5;1356:4:5;1408;1379:25;1392:5;1399:4;1379:12;:25::i;:::-;:33;;1265:154;-1:-1:-1;;;;1265:154:5:o;1967:290::-;2050:7;2092:4;2050:7;2106:116;2130:5;:12;2126:1;:16;2106:116;;;2178:33;2188:12;2202:5;2208:1;2202:8;;;;;;;;:::i;:::-;;;;;;;2178:9;:33::i;:::-;2163:48;-1:-1:-1;2144:3:5;;2106:116;;;-1:-1:-1;2238:12:5;1967:290;-1:-1:-1;;;1967:290:5:o;9229:147::-;9292:7;9322:1;9318;:5;:51;;9564:13;9655:15;;;9690:4;9683:15;;;9736:4;9720:21;;9318:51;;;9564:13;9655:15;;;9690:4;9683:15;;;9736:4;9720:21;;9326:20;9496:261;196:131:11;-1:-1:-1;;;;;;270:32:11;;260:43;;250:71;;317:1;314;307:12;332:245;390:6;443:2;431:9;422:7;418:23;414:32;411:52;;;459:1;456;449:12;411:52;498:9;485:23;517:30;541:5;517:30;:::i;774:160::-;839:20;;895:13;;888:21;878:32;;868:60;;924:1;921;914:12;939:180;995:6;1048:2;1036:9;1027:7;1023:23;1019:32;1016:52;;;1064:1;1061;1054:12;1016:52;1087:26;1103:9;1087:26;:::i;1124:683::-;1219:6;1227;1235;1288:2;1276:9;1267:7;1263:23;1259:32;1256:52;;;1304:1;1301;1294:12;1256:52;1340:9;1327:23;1317:33;;1401:2;1390:9;1386:18;1373:32;1424:18;1465:2;1457:6;1454:14;1451:34;;;1481:1;1478;1471:12;1451:34;1519:6;1508:9;1504:22;1494:32;;1564:7;1557:4;1553:2;1549:13;1545:27;1535:55;;1586:1;1583;1576:12;1535:55;1626:2;1613:16;1652:2;1644:6;1641:14;1638:34;;;1668:1;1665;1658:12;1638:34;1721:7;1716:2;1706:6;1703:1;1699:14;1695:2;1691:23;1687:32;1684:45;1681:65;;;1742:1;1739;1732:12;1681:65;1773:2;1769;1765:11;1755:21;;1795:6;1785:16;;;;;1124:683;;;;;:::o;1812:139::-;-1:-1:-1;;;;;1895:31:11;;1885:42;;1875:70;;1941:1;1938;1931:12;1956:451;2031:6;2039;2092:2;2080:9;2071:7;2067:23;2063:32;2060:52;;;2108:1;2105;2098:12;2060:52;2147:9;2134:23;2166:39;2199:5;2166:39;:::i;:::-;2224:5;-1:-1:-1;2281:2:11;2266:18;;2253:32;-1:-1:-1;;;;;2316:40:11;;2304:53;;2294:81;;2371:1;2368;2361:12;2294:81;2394:7;2384:17;;;1956:451;;;;;:::o;2412:250::-;2497:1;2507:113;2521:6;2518:1;2515:13;2507:113;;;2597:11;;;2591:18;2578:11;;;2571:39;2543:2;2536:10;2507:113;;;-1:-1:-1;;2654:1:11;2636:16;;2629:27;2412:250::o;2667:271::-;2709:3;2747:5;2741:12;2774:6;2769:3;2762:19;2790:76;2859:6;2852:4;2847:3;2843:14;2836:4;2829:5;2825:16;2790:76;:::i;:::-;2920:2;2899:15;-1:-1:-1;;2895:29:11;2886:39;;;;2927:4;2882:50;;2667:271;-1:-1:-1;;2667:271:11:o;2943:220::-;3092:2;3081:9;3074:21;3055:4;3112:45;3153:2;3142:9;3138:18;3130:6;3112:45;:::i;3168:180::-;3227:6;3280:2;3268:9;3259:7;3255:23;3251:32;3248:52;;;3296:1;3293;3286:12;3248:52;-1:-1:-1;3319:23:11;;3168:180;-1:-1:-1;3168:180:11:o;3561:323::-;3629:6;3637;3690:2;3678:9;3669:7;3665:23;3661:32;3658:52;;;3706:1;3703;3696:12;3658:52;3745:9;3732:23;3764:39;3797:5;3764:39;:::i;:::-;3822:5;3874:2;3859:18;;;;3846:32;;-1:-1:-1;;;3561:323:11:o;3889:255::-;3948:6;4001:2;3989:9;3980:7;3976:23;3972:32;3969:52;;;4017:1;4014;4007:12;3969:52;4056:9;4043:23;4075:39;4108:5;4075:39;:::i;4149:127::-;4210:10;4205:3;4201:20;4198:1;4191:31;4241:4;4238:1;4231:15;4265:4;4262:1;4255:15;4281:632;4346:5;4376:18;4417:2;4409:6;4406:14;4403:40;;;4423:18;;:::i;:::-;4498:2;4492:9;4466:2;4552:15;;-1:-1:-1;;4548:24:11;;;4574:2;4544:33;4540:42;4528:55;;;4598:18;;;4618:22;;;4595:46;4592:72;;;4644:18;;:::i;:::-;4684:10;4680:2;4673:22;4713:6;4704:15;;4743:6;4735;4728:22;4783:3;4774:6;4769:3;4765:16;4762:25;4759:45;;;4800:1;4797;4790:12;4759:45;4850:6;4845:3;4838:4;4830:6;4826:17;4813:44;4905:1;4898:4;4889:6;4881;4877:19;4873:30;4866:41;;;;4281:632;;;;;:::o;4918:451::-;4987:6;5040:2;5028:9;5019:7;5015:23;5011:32;5008:52;;;5056:1;5053;5046:12;5008:52;5096:9;5083:23;5129:18;5121:6;5118:30;5115:50;;;5161:1;5158;5151:12;5115:50;5184:22;;5237:4;5229:13;;5225:27;-1:-1:-1;5215:55:11;;5266:1;5263;5256:12;5215:55;5289:74;5355:7;5350:2;5337:16;5332:2;5328;5324:11;5289:74;:::i;5374:472::-;5451:6;5459;5467;5520:2;5508:9;5499:7;5495:23;5491:32;5488:52;;;5536:1;5533;5526:12;5488:52;5575:9;5562:23;5594:39;5627:5;5594:39;:::i;:::-;5652:5;-1:-1:-1;5709:2:11;5694:18;;5681:32;5722:41;5681:32;5722:41;:::i;:::-;5374:472;;5782:7;;-1:-1:-1;;;5836:2:11;5821:18;;;;5808:32;;5374:472::o;5851:248::-;5919:6;5927;5980:2;5968:9;5959:7;5955:23;5951:32;5948:52;;;5996:1;5993;5986:12;5948:52;-1:-1:-1;;6019:23:11;;;6089:2;6074:18;;;6061:32;;-1:-1:-1;5851:248:11:o;6750:323::-;6815:6;6823;6876:2;6864:9;6855:7;6851:23;6847:32;6844:52;;;6892:1;6889;6882:12;6844:52;6931:9;6918:23;6950:39;6983:5;6950:39;:::i;:::-;7008:5;-1:-1:-1;7032:35:11;7063:2;7048:18;;7032:35;:::i;:::-;7022:45;;6750:323;;;;;:::o;7078:811::-;7173:6;7181;7189;7197;7250:3;7238:9;7229:7;7225:23;7221:33;7218:53;;;7267:1;7264;7257:12;7218:53;7306:9;7293:23;7325:39;7358:5;7325:39;:::i;:::-;7383:5;-1:-1:-1;7440:2:11;7425:18;;7412:32;7453:41;7412:32;7453:41;:::i;:::-;7513:7;-1:-1:-1;7567:2:11;7552:18;;7539:32;;-1:-1:-1;7622:2:11;7607:18;;7594:32;7649:18;7638:30;;7635:50;;;7681:1;7678;7671:12;7635:50;7704:22;;7757:4;7749:13;;7745:27;-1:-1:-1;7735:55:11;;7786:1;7783;7776:12;7735:55;7809:74;7875:7;7870:2;7857:16;7852:2;7848;7844:11;7809:74;:::i;:::-;7799:84;;;7078:811;;;;;;;:::o;7894:323::-;7962:6;7970;8023:2;8011:9;8002:7;7998:23;7994:32;7991:52;;;8039:1;8036;8029:12;7991:52;8075:9;8062:23;8052:33;;8135:2;8124:9;8120:18;8107:32;8148:39;8181:5;8148:39;:::i;8222:404::-;8290:6;8298;8351:2;8339:9;8330:7;8326:23;8322:32;8319:52;;;8367:1;8364;8357:12;8319:52;8406:9;8393:23;8425:39;8458:5;8425:39;:::i;:::-;8483:5;-1:-1:-1;8540:2:11;8525:18;;8512:32;8553:41;8512:32;8553:41;:::i;8631:127::-;8692:10;8687:3;8683:20;8680:1;8673:31;8723:4;8720:1;8713:15;8747:4;8744:1;8737:15;8763:125;8828:9;;;8849:10;;;8846:36;;;8862:18;;:::i;8893:168::-;8966:9;;;8997;;9014:15;;;9008:22;;8994:37;8984:71;;9035:18;;:::i;9066:380::-;9145:1;9141:12;;;;9188;;;9209:61;;9263:4;9255:6;9251:17;9241:27;;9209:61;9316:2;9308:6;9305:14;9285:18;9282:38;9279:161;;9362:10;9357:3;9353:20;9350:1;9343:31;9397:4;9394:1;9387:15;9425:4;9422:1;9415:15;9279:161;;9066:380;;;:::o;9577:518::-;9679:2;9674:3;9671:11;9668:421;;;9715:5;9712:1;9705:16;9759:4;9756:1;9746:18;9829:2;9817:10;9813:19;9810:1;9806:27;9800:4;9796:38;9865:4;9853:10;9850:20;9847:47;;;-1:-1:-1;9888:4:11;9847:47;9943:2;9938:3;9934:12;9931:1;9927:20;9921:4;9917:31;9907:41;;9998:81;10016:2;10009:5;10006:13;9998:81;;;10075:1;10061:16;;10042:1;10031:13;9998:81;;;10002:3;;9577:518;;;:::o;10271:1345::-;10397:3;10391:10;10424:18;10416:6;10413:30;10410:56;;;10446:18;;:::i;:::-;10475:97;10565:6;10525:38;10557:4;10551:11;10525:38;:::i;:::-;10519:4;10475:97;:::i;:::-;10627:4;;10684:2;10673:14;;10701:1;10696:663;;;;11403:1;11420:6;11417:89;;;-1:-1:-1;11472:19:11;;;11466:26;11417:89;-1:-1:-1;;10228:1:11;10224:11;;;10220:24;10216:29;10206:40;10252:1;10248:11;;;10203:57;11519:81;;10666:944;;10696:663;9524:1;9517:14;;;9561:4;9548:18;;-1:-1:-1;;10732:20:11;;;10850:236;10864:7;10861:1;10858:14;10850:236;;;10953:19;;;10947:26;10932:42;;11045:27;;;;11013:1;11001:14;;;;10880:19;;10850:236;;;10854:3;11114:6;11105:7;11102:19;11099:201;;;11175:19;;;11169:26;-1:-1:-1;;11258:1:11;11254:14;;;11270:3;11250:24;11246:37;11242:42;11227:58;11212:74;;11099:201;;;11346:1;11337:6;11334:1;11330:14;11326:22;11320:4;11313:36;10666:944;;;;;10271:1345;;:::o;11621:217::-;11661:1;11687;11677:132;;11731:10;11726:3;11722:20;11719:1;11712:31;11766:4;11763:1;11756:15;11794:4;11791:1;11784:15;11677:132;-1:-1:-1;11823:9:11;;11621:217::o;12548:663::-;12828:3;12866:6;12860:13;12882:66;12941:6;12936:3;12929:4;12921:6;12917:17;12882:66;:::i;:::-;13011:13;;12970:16;;;;13033:70;13011:13;12970:16;13080:4;13068:17;;13033:70;:::i;:::-;-1:-1:-1;;;13125:20:11;;13154:22;;;13203:1;13192:13;;12548:663;-1:-1:-1;;;;12548:663:11:o;13501:136::-;13540:3;13568:5;13558:39;;13577:18;;:::i;:::-;-1:-1:-1;;;13613:18:11;;13501:136::o;13642:489::-;-1:-1:-1;;;;;13911:15:11;;;13893:34;;13963:15;;13958:2;13943:18;;13936:43;14010:2;13995:18;;13988:34;;;14058:3;14053:2;14038:18;;14031:31;;;13836:4;;14079:46;;14105:19;;14097:6;14079:46;:::i;:::-;14071:54;13642:489;-1:-1:-1;;;;;;13642:489:11:o;14136:249::-;14205:6;14258:2;14246:9;14237:7;14233:23;14229:32;14226:52;;;14274:1;14271;14264:12;14226:52;14306:9;14300:16;14325:30;14349:5;14325:30;:::i;14624:127::-;14685:10;14680:3;14676:20;14673:1;14666:31;14716:4;14713:1;14706:15;14740:4;14737:1;14730:15
Swarm Source
ipfs://9321c4ac44f084a37cd80b4f9db115344770019c428027dcea0308c507133b7f
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.