ERC-721
Overview
Max Total Supply
10,000 REXOG
Holders
4,132
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
10 REXOGLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
RedRexOG721A
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity >=0.8.17 <0.9.0; import "erc721a/contracts/ERC721A.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "operator-filter-registry/src/DefaultOperatorFilterer.sol"; contract RedRexOG721A is DefaultOperatorFilterer, ERC721A, ReentrancyGuard, Ownable { using Strings for uint256; bytes32 public merkleRoot; mapping(address => uint256) public preMinted; mapping(address => uint256) public publicMinted; string public uriPrefix; string public uriSuffix = ""; string public uriContract; uint256 public maxSupply = 10000; uint256 public preMintTxLimit = 1; uint256 public publicMintTxLimit = 1; uint256 public maxPreMintAmount = 1; uint256 public maxPublicMintAmount = 1; uint256 public maxInternalMintAmount = 150; bool public preMintPaused = true; bool public paused = true; constructor(bytes32 _merkleRoot, address[] memory _internalAccounts, string memory _prefix, string memory _contractURI) ERC721A("RedRex OG Pass", "REXOG") { setMerkleRoot(_merkleRoot); setUriPrefix(_prefix); setContractURI(_contractURI); for (uint256 i = 0; i < _internalAccounts.length; i++) { _safeMint(_internalAccounts[i], maxInternalMintAmount); } } modifier publicMintCompliance(uint256 _mintAmount) { uint256 requestedAmount = totalSupply() + _mintAmount; require(_mintAmount > 0 && _mintAmount <= publicMintTxLimit, "You have exceeded the limit of mints per transaction"); require(publicMinted[msg.sender] + _mintAmount <= maxPublicMintAmount, "You have already minted your limit"); require(requestedAmount <= maxSupply, "SOLD OUT"); require(!paused, "Minting is not currently allowed!"); _; } modifier preMintCompliance(uint256 _mintAmount) { uint256 requestedAmount = totalSupply() + _mintAmount; require(_mintAmount > 0 && _mintAmount <= preMintTxLimit, "You have exceeded the limit of mints per transaction"); require(preMinted[msg.sender] + _mintAmount <= maxPreMintAmount, "You are not on the whitelist or have already used your whitelist mint"); require(requestedAmount <= maxSupply, "SOLD OUT"); require(!preMintPaused, "Minting is not currently allowed!"); _; } modifier airDropCompliance(uint256 _mintAmount) { uint256 requestedAmount = totalSupply() + _mintAmount; require(requestedAmount <= maxSupply, "SOLD OUT"); _; } function preMint(bytes32[] calldata _merkleProof, uint256 _mintAmount) public preMintCompliance(_mintAmount) nonReentrant { bytes32 leaf = keccak256(abi.encodePacked(msg.sender)); require( MerkleProof.verify(_merkleProof, merkleRoot, leaf), "Invalid Merkle Proof." ); preMinted[msg.sender] += _mintAmount; _safeMint(msg.sender, _mintAmount); } function mint(uint256 _mintAmount) public publicMintCompliance(_mintAmount) nonReentrant { publicMinted[msg.sender] += _mintAmount; _safeMint(msg.sender, _mintAmount); } function airDrop(uint256 _mintAmount, address _receiver) public airDropCompliance(_mintAmount) onlyOwner nonReentrant { _safeMint(_receiver, _mintAmount); } function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) { require( _exists(_tokenId), "ERC721Metadata: URI query for nonexistent token" ); string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string(abi.encodePacked(currentBaseURI, uriSuffix)) : ""; } function walletOfOwner(address _owner) public view returns (uint256[] memory) { uint256 ownerTokenCount = balanceOf(_owner); uint256[] memory ownedTokenIds = new uint256[](ownerTokenCount); uint256 currentTokenId = 0; uint256 ownedTokenIndex = 0; while (ownedTokenIndex < ownerTokenCount && currentTokenId <= maxSupply) { address currentTokenOwner = ownerOf(currentTokenId); if (currentTokenOwner == _owner) { ownedTokenIds[ownedTokenIndex] = currentTokenId; ownedTokenIndex++; } currentTokenId++; } return ownedTokenIds; } function setMaxSupply(uint256 _maxSupply) public onlyOwner { require(_maxSupply <= 5000, "CAN NOT INCREASE SUPPLY"); maxSupply = _maxSupply; } function setPreMintTxLimit(uint256 _preMintTxLimit) public onlyOwner { preMintTxLimit = _preMintTxLimit; } function setPublicMintTxLimit(uint256 _publicMintTxLimit) public onlyOwner { publicMintTxLimit = _publicMintTxLimit; } function setMaxPreMintAmount(uint256 _maxPreMintAmount) public onlyOwner { maxPreMintAmount = _maxPreMintAmount; } function setMaxPublicMintAmount(uint256 _maxPublicMintAmount) public onlyOwner { maxPublicMintAmount = _maxPublicMintAmount; } function setMerkleRoot(bytes32 _merkleRoot) public onlyOwner { merkleRoot = _merkleRoot; } function setPreMintPaused(bool _state) public onlyOwner { preMintPaused = _state; } function setPaused(bool _state) public onlyOwner { paused = _state; } function setUriPrefix(string memory _uriPrefix) public onlyOwner { uriPrefix = _uriPrefix; } function setUriSuffix(string memory _uriSuffix) public onlyOwner { uriSuffix = _uriSuffix; } function _baseURI() internal view virtual override returns (string memory) { return uriPrefix; } function contractURI() public view returns (string memory) { return uriContract; } function setContractURI(string memory _contractURI) public onlyOwner { uriContract = _contractURI; } function withdraw() public onlyOwner nonReentrant{ (bool owner, ) = payable(owner()).call{value: address(this).balance}(""); require(owner); } function setApprovalForAll(address operator, bool approved) public override onlyAllowedOperatorApproval(operator) { super.setApprovalForAll(operator, approved); } function approve(address operator, uint256 tokenId) public payable override onlyAllowedOperatorApproval(operator) { super.approve(operator, tokenId); } function transferFrom(address from, address to, uint256 tokenId) public payable override onlyAllowedOperator(from) { super.transferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId) public payable override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId); } function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public payable override onlyAllowedOperator(from) { super.safeTransferFrom(from, to, tokenId, data); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be _NOT_ENTERED require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @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 Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Calldata version of {verify} * * _Available since v4.7._ */ function verifyCalldata( bytes32[] calldata proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProofCalldata(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Calldata version of {processProof} * * _Available since v4.7._ */ function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Returns true if the `leaves` can be 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. * * _Available since v4.7._ */ function multiProofVerify( bytes32[] memory proof, bool[] memory proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProof(proof, proofFlags, leaves) == root; } /** * @dev Calldata version of {multiProofVerify} * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function multiProofVerifyCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProofCalldata(proof, proofFlags, leaves) == root; } /** * @dev Returns the root of a tree reconstructed from `leaves` and 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). * * _Available since v4.7._ */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Calldata version of {processMultiProof}. * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { /// @solidity memory-safe-assembly assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv( uint256 x, uint256 y, uint256 denominator ) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv( uint256 x, uint256 y, uint256 denominator, Rounding rounding ) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10**64) { value /= 10**64; result += 64; } if (value >= 10**32) { value /= 10**32; result += 32; } if (value >= 10**16) { value /= 10**16; result += 16; } if (value >= 10**8) { value /= 10**8; result += 8; } if (value >= 10**4) { value /= 10**4; result += 4; } if (value >= 10**2) { value /= 10**2; result += 2; } if (value >= 10**1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol) pragma solidity ^0.8.0; import "./math/Math.sol"; /** * @dev String operations. */ library Strings { bytes16 private constant _SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.3 // 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()`. * * 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; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @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) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // 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(); 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(); 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 Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // 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, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @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. * 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) public payable virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @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(); 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) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not 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); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (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(); if (to == address(0)) revert TransferToZeroAddress(); _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; } } } } emit Transfer(from, to, tokenId); _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(); } } /** * @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(); } else { 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(); _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: // - `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) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. // The duplicated `log4` removes an extra check and reduces stack juggling. // The assembly, together with the surrounding Solidity code, have been // delicately arranged to nudge the compiler into producing optimized opcodes. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // 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`. startTokenId // `tokenId`. ) // The `iszero(eq(,))` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. // The compiler will optimize the `iszero` away for performance. for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _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(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _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) ); 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(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // 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(); } _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 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(); 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) } } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.3 // 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(); // ============================================================= // 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 pragma solidity ^0.8.13; import {OperatorFilterer} from "./OperatorFilterer.sol"; /** * @title DefaultOperatorFilterer * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription. */ abstract contract DefaultOperatorFilterer is OperatorFilterer { address constant DEFAULT_SUBSCRIPTION = address(0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6); constructor() OperatorFilterer(DEFAULT_SUBSCRIPTION, true) {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; interface IOperatorFilterRegistry { function isOperatorAllowed(address registrant, address operator) external view returns (bool); function register(address registrant) external; function registerAndSubscribe(address registrant, address subscription) external; function registerAndCopyEntries(address registrant, address registrantToCopy) external; function unregister(address addr) external; function updateOperator(address registrant, address operator, bool filtered) external; function updateOperators(address registrant, address[] calldata operators, bool filtered) external; function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external; function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external; function subscribe(address registrant, address registrantToSubscribe) external; function unsubscribe(address registrant, bool copyExistingEntries) external; function subscriptionOf(address addr) external returns (address registrant); function subscribers(address registrant) external returns (address[] memory); function subscriberAt(address registrant, uint256 index) external returns (address); function copyEntriesOf(address registrant, address registrantToCopy) external; function isOperatorFiltered(address registrant, address operator) external returns (bool); function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool); function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool); function filteredOperators(address addr) external returns (address[] memory); function filteredCodeHashes(address addr) external returns (bytes32[] memory); function filteredOperatorAt(address registrant, uint256 index) external returns (address); function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32); function isRegistered(address addr) external returns (bool); function codeHashOf(address addr) external returns (bytes32); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import {IOperatorFilterRegistry} from "./IOperatorFilterRegistry.sol"; /** * @title OperatorFilterer * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another * registrant's entries in the OperatorFilterRegistry. * @dev This smart contract is meant to be inherited by token contracts so they can use the following: * - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods. * - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods. */ abstract contract OperatorFilterer { error OperatorNotAllowed(address operator); IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY = IOperatorFilterRegistry(0x000000000000AAeB6D7670E522A718067333cd4E); constructor(address subscriptionOrRegistrantToCopy, bool subscribe) { // If an inheriting token contract is deployed to a network without the registry deployed, the modifier // will not revert, but the contract will need to be registered with the registry once it is deployed in // order for the modifier to filter addresses. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (subscribe) { OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy); } else { if (subscriptionOrRegistrantToCopy != address(0)) { OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy); } else { OPERATOR_FILTER_REGISTRY.register(address(this)); } } } } modifier onlyAllowedOperator(address from) virtual { // Allow spending tokens from addresses with balance // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred // from an EOA. if (from != msg.sender) { _checkFilterOperator(msg.sender); } _; } modifier onlyAllowedOperatorApproval(address operator) virtual { _checkFilterOperator(operator); _; } function _checkFilterOperator(address operator) internal view virtual { // Check registry code length to facilitate testing in environments without a deployed registry. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) { revert OperatorNotAllowed(operator); } } } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"},{"internalType":"address[]","name":"_internalAccounts","type":"address[]"},{"internalType":"string","name":"_prefix","type":"string"},{"internalType":"string","name":"_contractURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","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"},{"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":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"airDrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","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":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxInternalMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPreMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPublicMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"_mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"preMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"preMintPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preMintTxLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"preMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicMintTxLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"publicMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"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":"_contractURI","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxPreMintAmount","type":"uint256"}],"name":"setMaxPreMintAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxPublicMintAmount","type":"uint256"}],"name":"setMaxPublicMintAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupply","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":"bool","name":"_state","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPreMintPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_preMintTxLimit","type":"uint256"}],"name":"setPreMintTxLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_publicMintTxLimit","type":"uint256"}],"name":"setPublicMintTxLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriPrefix","type":"string"}],"name":"setUriPrefix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriSuffix","type":"string"}],"name":"setUriSuffix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uriContract","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uriPrefix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uriSuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405260405180602001604052806000815250600e908162000024919062000d30565b50612710601055600160115560016012556001601355600160145560966015556001601660006101000a81548160ff0219169083151502179055506001601660016101000a81548160ff0219169083151502179055503480156200008757600080fd5b50604051620056ce380380620056ce8339818101604052810190620000ad9190620010f6565b6040518060400160405280600e81526020017f526564526578204f4720506173730000000000000000000000000000000000008152506040518060400160405280600581526020017f5245584f47000000000000000000000000000000000000000000000000000000815250733cc6cdda760b79bafa08df41ecfa224f810dceb6600160006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b111562000325578015620001eb576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16637d3e3dbe30846040518363ffffffff1660e01b8152600401620001b1929190620011d6565b600060405180830381600087803b158015620001cc57600080fd5b505af1158015620001e1573d6000803e3d6000fd5b5050505062000324565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614620002a5576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663a0af290330846040518363ffffffff1660e01b81526004016200026b929190620011d6565b600060405180830381600087803b1580156200028657600080fd5b505af11580156200029b573d6000803e3d6000fd5b5050505062000323565b6daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff16634420e486306040518263ffffffff1660e01b8152600401620002ee919062001203565b600060405180830381600087803b1580156200030957600080fd5b505af11580156200031e573d6000803e3d6000fd5b505050505b5b5b5050816002908162000338919062000d30565b5080600390816200034a919062000d30565b506200035b6200041d60201b60201c565b600081905550505060016008819055506200038b6200037f6200042260201b60201c565b6200042a60201b60201c565b6200039c84620004f060201b60201c565b620003ad826200050a60201b60201c565b620003be816200052f60201b60201c565b60005b83518110156200041257620003fc848281518110620003e557620003e462001220565b5b60200260200101516015546200055460201b60201c565b808062000409906200127e565b915050620003c1565b50505050506200149f565b600090565b600033905090565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620005006200057a60201b60201c565b80600a8190555050565b6200051a6200057a60201b60201c565b80600d90816200052b919062000d30565b5050565b6200053f6200057a60201b60201c565b80600f908162000550919062000d30565b5050565b620005768282604051806020016040528060008152506200060b60201b60201c565b5050565b6200058a6200042260201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620005b0620006bc60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000609576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000600906200132c565b60405180910390fd5b565b6200061d8383620006e660201b60201c565b60008373ffffffffffffffffffffffffffffffffffffffff163b14620006b757600080549050600083820390505b620006666000868380600101945086620008cd60201b60201c565b6200069d576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106200064b578160005414620006b457600080fd5b50505b505050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000805490506000820362000727576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6200073c600084838562000a2e60201b60201c565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550620007cb83620007ad600086600062000a3460201b60201c565b620007be8562000a6460201b60201c565b1762000a7460201b60201c565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b8181146200086e57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a460018101905062000831565b5060008203620008aa576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000819055505050620008c8600084838562000a9f60201b60201c565b505050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02620008fb62000aa560201b60201c565b8786866040518563ffffffff1660e01b81526004016200091f9493929190620013bc565b6020604051808303816000875af19250505080156200095e57506040513d601f19601f820116820180604052508101906200095b91906200146d565b60015b620009db573d806000811462000991576040519150601f19603f3d011682016040523d82523d6000602084013e62000996565b606091505b506000815103620009d3576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b50505050565b60008060e883901c905060e862000a5386868462000aad60201b60201c565b62ffffff16901b9150509392505050565b60006001821460e11b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b600033905090565b60009392505050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168062000b3857607f821691505b60208210810362000b4e5762000b4d62000af0565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830262000bb87fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000b79565b62000bc4868362000b79565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b600062000c1162000c0b62000c058462000bdc565b62000be6565b62000bdc565b9050919050565b6000819050919050565b62000c2d8362000bf0565b62000c4562000c3c8262000c18565b84845462000b86565b825550505050565b600090565b62000c5c62000c4d565b62000c6981848462000c22565b505050565b5b8181101562000c915762000c8560008262000c52565b60018101905062000c6f565b5050565b601f82111562000ce05762000caa8162000b54565b62000cb58462000b69565b8101602085101562000cc5578190505b62000cdd62000cd48562000b69565b83018262000c6e565b50505b505050565b600082821c905092915050565b600062000d056000198460080262000ce5565b1980831691505092915050565b600062000d20838362000cf2565b9150826002028217905092915050565b62000d3b8262000ab6565b67ffffffffffffffff81111562000d575762000d5662000ac1565b5b62000d63825462000b1f565b62000d7082828562000c95565b600060209050601f83116001811462000da8576000841562000d93578287015190505b62000d9f858262000d12565b86555062000e0f565b601f19841662000db88662000b54565b60005b8281101562000de25784890151825560018201915060208501945060208101905062000dbb565b8683101562000e02578489015162000dfe601f89168262000cf2565b8355505b6001600288020188555050505b505050505050565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b62000e408162000e2b565b811462000e4c57600080fd5b50565b60008151905062000e608162000e35565b92915050565b600080fd5b6000601f19601f8301169050919050565b62000e878262000e6b565b810181811067ffffffffffffffff8211171562000ea95762000ea862000ac1565b5b80604052505050565b600062000ebe62000e17565b905062000ecc828262000e7c565b919050565b600067ffffffffffffffff82111562000eef5762000eee62000ac1565b5b602082029050602081019050919050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600062000f328262000f05565b9050919050565b62000f448162000f25565b811462000f5057600080fd5b50565b60008151905062000f648162000f39565b92915050565b600062000f8162000f7b8462000ed1565b62000eb2565b9050808382526020820190506020840283018581111562000fa75762000fa662000f00565b5b835b8181101562000fd4578062000fbf888262000f53565b84526020840193505060208101905062000fa9565b5050509392505050565b600082601f83011262000ff65762000ff562000e66565b5b81516200100884826020860162000f6a565b91505092915050565b600080fd5b600067ffffffffffffffff82111562001034576200103362000ac1565b5b6200103f8262000e6b565b9050602081019050919050565b60005b838110156200106c5780820151818401526020810190506200104f565b60008484015250505050565b60006200108f620010898462001016565b62000eb2565b905082815260208101848484011115620010ae57620010ad62001011565b5b620010bb8482856200104c565b509392505050565b600082601f830112620010db57620010da62000e66565b5b8151620010ed84826020860162001078565b91505092915050565b6000806000806080858703121562001113576200111262000e21565b5b6000620011238782880162000e4f565b945050602085015167ffffffffffffffff81111562001147576200114662000e26565b5b620011558782880162000fde565b935050604085015167ffffffffffffffff81111562001179576200117862000e26565b5b6200118787828801620010c3565b925050606085015167ffffffffffffffff811115620011ab57620011aa62000e26565b5b620011b987828801620010c3565b91505092959194509250565b620011d08162000f25565b82525050565b6000604082019050620011ed6000830185620011c5565b620011fc6020830184620011c5565b9392505050565b60006020820190506200121a6000830184620011c5565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006200128b8262000bdc565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203620012c057620012bf6200124f565b5b600182019050919050565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600062001314602083620012cb565b91506200132182620012dc565b602082019050919050565b60006020820190508181036000830152620013478162001305565b9050919050565b620013598162000bdc565b82525050565b600081519050919050565b600082825260208201905092915050565b600062001388826200135f565b6200139481856200136a565b9350620013a68185602086016200104c565b620013b18162000e6b565b840191505092915050565b6000608082019050620013d36000830187620011c5565b620013e26020830186620011c5565b620013f160408301856200134e565b81810360608301526200140581846200137b565b905095945050505050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b620014478162001410565b81146200145357600080fd5b50565b60008151905062001467816200143c565b92915050565b60006020828403121562001486576200148562000e21565b5b6000620014968482850162001456565b91505092915050565b61421f80620014af6000396000f3fe6080604052600436106102ae5760003560e01c80636f8b44b011610175578063a22cb465116100dc578063d5abeb0111610095578063e985e9c51161006f578063e985e9c514610a52578063ea457d0f14610a8f578063f2fde38b14610ab8578063fe86deca14610ae1576102ae565b8063d5abeb01146109d3578063d8bd5b09146109fe578063e8a3d48514610a27576102ae565b8063a22cb465146108d4578063aed38015146108fd578063b47fbd1714610926578063b88d4fde14610951578063c3e301961461096d578063c87b56dd14610996576102ae565b80638aa372681161012e5780638aa37268146107c45780638da5cb5b146107ef578063938e3d7b1461081a57806395d89b4114610843578063963c41771461086e578063a0712d68146108ab576102ae565b80636f8b44b0146106cc57806370a08231146106f5578063715018a61461073257806379fcb984146107495780637cb64759146107725780637ec4a6591461079b576102ae565b80632eb4a7ab116102195780634df3c52f116101d25780634df3c52f146105b85780635503a0e8146105e35780635c975abb1461060e57806362b99ad4146106395780636352211e1461066457806368abfea9146106a1576102ae565b80632eb4a7ab146104c95780633ccfd60b146104f45780633ee212f51461050b57806341f434341461053457806342842e0e1461055f578063438b63001461057b576102ae565b80630e82b63d1161026b5780630e82b63d146103ca5780631015805b146103f357806316ba10e01461043057806316c38b3c1461045957806318160ddd1461048257806323b872dd146104ad576102ae565b806301ffc9a7146102b357806303d8acef146102f057806306fdde031461031b578063081812fc14610346578063095ea7b3146103835780630bf91c531461039f575b600080fd5b3480156102bf57600080fd5b506102da60048036038101906102d59190612c67565b610b0c565b6040516102e79190612caf565b60405180910390f35b3480156102fc57600080fd5b50610305610b9e565b6040516103129190612ce3565b60405180910390f35b34801561032757600080fd5b50610330610ba4565b60405161033d9190612d8e565b60405180910390f35b34801561035257600080fd5b5061036d60048036038101906103689190612ddc565b610c36565b60405161037a9190612e4a565b60405180910390f35b61039d60048036038101906103989190612e91565b610cb5565b005b3480156103ab57600080fd5b506103b4610cce565b6040516103c19190612ce3565b60405180910390f35b3480156103d657600080fd5b506103f160048036038101906103ec9190612ddc565b610cd4565b005b3480156103ff57600080fd5b5061041a60048036038101906104159190612ed1565b610ce6565b6040516104279190612ce3565b60405180910390f35b34801561043c57600080fd5b5061045760048036038101906104529190613033565b610cfe565b005b34801561046557600080fd5b50610480600480360381019061047b91906130a8565b610d19565b005b34801561048e57600080fd5b50610497610d3e565b6040516104a49190612ce3565b60405180910390f35b6104c760048036038101906104c291906130d5565b610d55565b005b3480156104d557600080fd5b506104de610da4565b6040516104eb9190613141565b60405180910390f35b34801561050057600080fd5b50610509610daa565b005b34801561051757600080fd5b50610532600480360381019061052d9190612ddc565b610e42565b005b34801561054057600080fd5b50610549610e54565b60405161055691906131bb565b60405180910390f35b610579600480360381019061057491906130d5565b610e66565b005b34801561058757600080fd5b506105a2600480360381019061059d9190612ed1565b610eb5565b6040516105af9190613294565b60405180910390f35b3480156105c457600080fd5b506105cd610fba565b6040516105da9190612ce3565b60405180910390f35b3480156105ef57600080fd5b506105f8610fc0565b6040516106059190612d8e565b60405180910390f35b34801561061a57600080fd5b5061062361104e565b6040516106309190612caf565b60405180910390f35b34801561064557600080fd5b5061064e611061565b60405161065b9190612d8e565b60405180910390f35b34801561067057600080fd5b5061068b60048036038101906106869190612ddc565b6110ef565b6040516106989190612e4a565b60405180910390f35b3480156106ad57600080fd5b506106b6611101565b6040516106c39190612caf565b60405180910390f35b3480156106d857600080fd5b506106f360048036038101906106ee9190612ddc565b611114565b005b34801561070157600080fd5b5061071c60048036038101906107179190612ed1565b61116b565b6040516107299190612ce3565b60405180910390f35b34801561073e57600080fd5b50610747611223565b005b34801561075557600080fd5b50610770600480360381019061076b9190612ddc565b611237565b005b34801561077e57600080fd5b50610799600480360381019061079491906132e2565b611249565b005b3480156107a757600080fd5b506107c260048036038101906107bd9190613033565b61125b565b005b3480156107d057600080fd5b506107d9611276565b6040516107e69190612d8e565b60405180910390f35b3480156107fb57600080fd5b50610804611304565b6040516108119190612e4a565b60405180910390f35b34801561082657600080fd5b50610841600480360381019061083c9190613033565b61132e565b005b34801561084f57600080fd5b50610858611349565b6040516108659190612d8e565b60405180910390f35b34801561087a57600080fd5b5061089560048036038101906108909190612ed1565b6113db565b6040516108a29190612ce3565b60405180910390f35b3480156108b757600080fd5b506108d260048036038101906108cd9190612ddc565b6113f3565b005b3480156108e057600080fd5b506108fb60048036038101906108f6919061330f565b6115f5565b005b34801561090957600080fd5b50610924600480360381019061091f919061334f565b61160e565b005b34801561093257600080fd5b5061093b611693565b6040516109489190612ce3565b60405180910390f35b61096b60048036038101906109669190613430565b611699565b005b34801561097957600080fd5b50610994600480360381019061098f9190613513565b6116ea565b005b3480156109a257600080fd5b506109bd60048036038101906109b89190612ddc565b6119a7565b6040516109ca9190612d8e565b60405180910390f35b3480156109df57600080fd5b506109e8611a47565b6040516109f59190612ce3565b60405180910390f35b348015610a0a57600080fd5b50610a256004803603810190610a209190612ddc565b611a4d565b005b348015610a3357600080fd5b50610a3c611a5f565b604051610a499190612d8e565b60405180910390f35b348015610a5e57600080fd5b50610a796004803603810190610a749190613573565b611af1565b604051610a869190612caf565b60405180910390f35b348015610a9b57600080fd5b50610ab66004803603810190610ab191906130a8565b611b85565b005b348015610ac457600080fd5b50610adf6004803603810190610ada9190612ed1565b611baa565b005b348015610aed57600080fd5b50610af6611c2d565b604051610b039190612ce3565b60405180910390f35b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b6757506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610b975750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60145481565b606060028054610bb3906135e2565b80601f0160208091040260200160405190810160405280929190818152602001828054610bdf906135e2565b8015610c2c5780601f10610c0157610100808354040283529160200191610c2c565b820191906000526020600020905b815481529060010190602001808311610c0f57829003601f168201915b5050505050905090565b6000610c4182611c33565b610c77576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b81610cbf81611c92565b610cc98383611d8f565b505050565b60155481565b610cdc611ed3565b8060128190555050565b600c6020528060005260406000206000915090505481565b610d06611ed3565b80600e9081610d1591906137b5565b5050565b610d21611ed3565b80601660016101000a81548160ff02191690831515021790555050565b6000610d48611f51565b6001546000540303905090565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610d9357610d9233611c92565b5b610d9e848484611f56565b50505050565b600a5481565b610db2611ed3565b610dba612278565b6000610dc4611304565b73ffffffffffffffffffffffffffffffffffffffff1647604051610de7906138b8565b60006040518083038185875af1925050503d8060008114610e24576040519150601f19603f3d011682016040523d82523d6000602084013e610e29565b606091505b5050905080610e3757600080fd5b50610e406122c7565b565b610e4a611ed3565b8060118190555050565b6daaeb6d7670e522a718067333cd4e81565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610ea457610ea333611c92565b5b610eaf8484846122d1565b50505050565b60606000610ec28361116b565b905060008167ffffffffffffffff811115610ee057610edf612f08565b5b604051908082528060200260200182016040528015610f0e5781602001602082028036833780820191505090505b5090506000805b8381108015610f2657506010548211155b15610fae576000610f36836110ef565b90508673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610f9a5782848381518110610f7f57610f7e6138cd565b5b6020026020010181815250508180610f969061392b565b9250505b8280610fa59061392b565b93505050610f15565b82945050505050919050565b60115481565b600e8054610fcd906135e2565b80601f0160208091040260200160405190810160405280929190818152602001828054610ff9906135e2565b80156110465780601f1061101b57610100808354040283529160200191611046565b820191906000526020600020905b81548152906001019060200180831161102957829003601f168201915b505050505081565b601660019054906101000a900460ff1681565b600d805461106e906135e2565b80601f016020809104026020016040519081016040528092919081815260200182805461109a906135e2565b80156110e75780601f106110bc576101008083540402835291602001916110e7565b820191906000526020600020905b8154815290600101906020018083116110ca57829003601f168201915b505050505081565b60006110fa826122f1565b9050919050565b601660009054906101000a900460ff1681565b61111c611ed3565b611388811115611161576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611158906139bf565b60405180910390fd5b8060108190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036111d2576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b61122b611ed3565b61123560006123bd565b565b61123f611ed3565b8060148190555050565b611251611ed3565b80600a8190555050565b611263611ed3565b80600d908161127291906137b5565b5050565b600f8054611283906135e2565b80601f01602080910402602001604051908101604052809291908181526020018280546112af906135e2565b80156112fc5780601f106112d1576101008083540402835291602001916112fc565b820191906000526020600020905b8154815290600101906020018083116112df57829003601f168201915b505050505081565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611336611ed3565b80600f908161134591906137b5565b5050565b606060038054611358906135e2565b80601f0160208091040260200160405190810160405280929190818152602001828054611384906135e2565b80156113d15780601f106113a6576101008083540402835291602001916113d1565b820191906000526020600020905b8154815290600101906020018083116113b457829003601f168201915b5050505050905090565b600b6020528060005260406000206000915090505481565b806000816113ff610d3e565b61140991906139df565b905060008211801561141d57506012548211155b61145c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145390613a85565b60405180910390fd5b60145482600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546114aa91906139df565b11156114eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e290613b17565b60405180910390fd5b601054811115611530576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152790613b83565b60405180910390fd5b601660019054906101000a900460ff1615611580576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157790613c15565b60405180910390fd5b611588612278565b82600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546115d791906139df565b925050819055506115e83384612483565b6115f06122c7565b505050565b816115ff81611c92565b61160983836124a1565b505050565b8160008161161a610d3e565b61162491906139df565b905060105481111561166b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166290613b83565b60405180910390fd5b611673611ed3565b61167b612278565b6116858385612483565b61168d6122c7565b50505050565b60135481565b833373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146116d7576116d633611c92565b5b6116e3858585856125ac565b5050505050565b806000816116f6610d3e565b61170091906139df565b905060008211801561171457506011548211155b611753576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174a90613a85565b60405180910390fd5b60135482600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546117a191906139df565b11156117e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117d990613ccd565b60405180910390fd5b601054811115611827576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181e90613b83565b60405180910390fd5b601660009054906101000a900460ff1615611877576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186e90613c15565b60405180910390fd5b61187f612278565b6000336040516020016118929190613d35565b6040516020818303038152906040528051906020012090506118f8868680806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600a548361261f565b611937576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192e90613d9c565b60405180910390fd5b83600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461198691906139df565b925050819055506119973385612483565b506119a06122c7565b5050505050565b60606119b282611c33565b6119f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e890613e2e565b60405180910390fd5b60006119fb612636565b90506000815111611a1b5760405180602001604052806000815250611a3f565b80600e604051602001611a2f929190613f0d565b6040516020818303038152906040525b915050919050565b60105481565b611a55611ed3565b8060138190555050565b6060600f8054611a6e906135e2565b80601f0160208091040260200160405190810160405280929190818152602001828054611a9a906135e2565b8015611ae75780601f10611abc57610100808354040283529160200191611ae7565b820191906000526020600020905b815481529060010190602001808311611aca57829003601f168201915b5050505050905090565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611b8d611ed3565b80601660006101000a81548160ff02191690831515021790555050565b611bb2611ed3565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611c21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c1890613fa3565b60405180910390fd5b611c2a816123bd565b50565b60125481565b600081611c3e611f51565b11158015611c4d575060005482105b8015611c8b575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115611d8c576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401611d09929190613fc3565b602060405180830381865afa158015611d26573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d4a9190614001565b611d8b57806040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401611d829190612e4a565b60405180910390fd5b5b50565b6000611d9a826110ef565b90508073ffffffffffffffffffffffffffffffffffffffff16611dbb6126c8565b73ffffffffffffffffffffffffffffffffffffffff1614611e1e57611de781611de26126c8565b611af1565b611e1d576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b611edb6126d0565b73ffffffffffffffffffffffffffffffffffffffff16611ef9611304565b73ffffffffffffffffffffffffffffffffffffffff1614611f4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f469061407a565b60405180910390fd5b565b600090565b6000611f61826122f1565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611fc8576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080611fd4846126d8565b91509150611fea8187611fe56126c8565b6126ff565b61203657611fff86611ffa6126c8565b611af1565b612035576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff160361209c576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6120a98686866001612743565b80156120b457600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055506121828561215e888887612749565b7c020000000000000000000000000000000000000000000000000000000017612771565b600460008681526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416036122085760006001850190506000600460008381526020019081526020016000205403612206576000548114612205578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612270868686600161279c565b505050505050565b6002600854036122bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122b4906140e6565b60405180910390fd5b6002600881905550565b6001600881905550565b6122ec83838360405180602001604052806000815250611699565b505050565b60008082905080612300611f51565b11612386576000548110156123855760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603612383575b6000810361237957600460008360019003935083815260200190815260200160002054905061234f565b80925050506123b8565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61249d8282604051806020016040528060008152506127a2565b5050565b80600760006124ae6126c8565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661255b6126c8565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516125a09190612caf565b60405180910390a35050565b6125b7848484610d55565b60008373ffffffffffffffffffffffffffffffffffffffff163b14612619576125e28484848461283f565b612618576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b60008261262c858461298f565b1490509392505050565b6060600d8054612645906135e2565b80601f0160208091040260200160405190810160405280929190818152602001828054612671906135e2565b80156126be5780601f10612693576101008083540402835291602001916126be565b820191906000526020600020905b8154815290600101906020018083116126a157829003601f168201915b5050505050905090565b600033905090565b600033905090565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e86127608686846129e5565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6127ac83836129ee565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461283a57600080549050600083820390505b6127ec600086838060010194508661283f565b612822576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106127d957816000541461283757600080fd5b50505b505050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026128656126c8565b8786866040518563ffffffff1660e01b8152600401612887949392919061415b565b6020604051808303816000875af19250505080156128c357506040513d601f19601f820116820180604052508101906128c091906141bc565b60015b61293c573d80600081146128f3576040519150601f19603f3d011682016040523d82523d6000602084013e6128f8565b606091505b506000815103612934576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60008082905060005b84518110156129da576129c5828683815181106129b8576129b76138cd565b5b6020026020010151612ba9565b915080806129d29061392b565b915050612998565b508091505092915050565b60009392505050565b60008054905060008203612a2e576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612a3b6000848385612743565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550612ab283612aa36000866000612749565b612aac85612bd4565b17612771565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114612b5357808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050612b18565b5060008203612b8e576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000819055505050612ba4600084838561279c565b505050565b6000818310612bc157612bbc8284612be4565b612bcc565b612bcb8383612be4565b5b905092915050565b60006001821460e11b9050919050565b600082600052816020526040600020905092915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612c4481612c0f565b8114612c4f57600080fd5b50565b600081359050612c6181612c3b565b92915050565b600060208284031215612c7d57612c7c612c05565b5b6000612c8b84828501612c52565b91505092915050565b60008115159050919050565b612ca981612c94565b82525050565b6000602082019050612cc46000830184612ca0565b92915050565b6000819050919050565b612cdd81612cca565b82525050565b6000602082019050612cf86000830184612cd4565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612d38578082015181840152602081019050612d1d565b60008484015250505050565b6000601f19601f8301169050919050565b6000612d6082612cfe565b612d6a8185612d09565b9350612d7a818560208601612d1a565b612d8381612d44565b840191505092915050565b60006020820190508181036000830152612da88184612d55565b905092915050565b612db981612cca565b8114612dc457600080fd5b50565b600081359050612dd681612db0565b92915050565b600060208284031215612df257612df1612c05565b5b6000612e0084828501612dc7565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612e3482612e09565b9050919050565b612e4481612e29565b82525050565b6000602082019050612e5f6000830184612e3b565b92915050565b612e6e81612e29565b8114612e7957600080fd5b50565b600081359050612e8b81612e65565b92915050565b60008060408385031215612ea857612ea7612c05565b5b6000612eb685828601612e7c565b9250506020612ec785828601612dc7565b9150509250929050565b600060208284031215612ee757612ee6612c05565b5b6000612ef584828501612e7c565b91505092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612f4082612d44565b810181811067ffffffffffffffff82111715612f5f57612f5e612f08565b5b80604052505050565b6000612f72612bfb565b9050612f7e8282612f37565b919050565b600067ffffffffffffffff821115612f9e57612f9d612f08565b5b612fa782612d44565b9050602081019050919050565b82818337600083830152505050565b6000612fd6612fd184612f83565b612f68565b905082815260208101848484011115612ff257612ff1612f03565b5b612ffd848285612fb4565b509392505050565b600082601f83011261301a57613019612efe565b5b813561302a848260208601612fc3565b91505092915050565b60006020828403121561304957613048612c05565b5b600082013567ffffffffffffffff81111561306757613066612c0a565b5b61307384828501613005565b91505092915050565b61308581612c94565b811461309057600080fd5b50565b6000813590506130a28161307c565b92915050565b6000602082840312156130be576130bd612c05565b5b60006130cc84828501613093565b91505092915050565b6000806000606084860312156130ee576130ed612c05565b5b60006130fc86828701612e7c565b935050602061310d86828701612e7c565b925050604061311e86828701612dc7565b9150509250925092565b6000819050919050565b61313b81613128565b82525050565b60006020820190506131566000830184613132565b92915050565b6000819050919050565b600061318161317c61317784612e09565b61315c565b612e09565b9050919050565b600061319382613166565b9050919050565b60006131a582613188565b9050919050565b6131b58161319a565b82525050565b60006020820190506131d060008301846131ac565b92915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61320b81612cca565b82525050565b600061321d8383613202565b60208301905092915050565b6000602082019050919050565b6000613241826131d6565b61324b81856131e1565b9350613256836131f2565b8060005b8381101561328757815161326e8882613211565b975061327983613229565b92505060018101905061325a565b5085935050505092915050565b600060208201905081810360008301526132ae8184613236565b905092915050565b6132bf81613128565b81146132ca57600080fd5b50565b6000813590506132dc816132b6565b92915050565b6000602082840312156132f8576132f7612c05565b5b6000613306848285016132cd565b91505092915050565b6000806040838503121561332657613325612c05565b5b600061333485828601612e7c565b925050602061334585828601613093565b9150509250929050565b6000806040838503121561336657613365612c05565b5b600061337485828601612dc7565b925050602061338585828601612e7c565b9150509250929050565b600067ffffffffffffffff8211156133aa576133a9612f08565b5b6133b382612d44565b9050602081019050919050565b60006133d36133ce8461338f565b612f68565b9050828152602081018484840111156133ef576133ee612f03565b5b6133fa848285612fb4565b509392505050565b600082601f83011261341757613416612efe565b5b81356134278482602086016133c0565b91505092915050565b6000806000806080858703121561344a57613449612c05565b5b600061345887828801612e7c565b945050602061346987828801612e7c565b935050604061347a87828801612dc7565b925050606085013567ffffffffffffffff81111561349b5761349a612c0a565b5b6134a787828801613402565b91505092959194509250565b600080fd5b600080fd5b60008083601f8401126134d3576134d2612efe565b5b8235905067ffffffffffffffff8111156134f0576134ef6134b3565b5b60208301915083602082028301111561350c5761350b6134b8565b5b9250929050565b60008060006040848603121561352c5761352b612c05565b5b600084013567ffffffffffffffff81111561354a57613549612c0a565b5b613556868287016134bd565b9350935050602061356986828701612dc7565b9150509250925092565b6000806040838503121561358a57613589612c05565b5b600061359885828601612e7c565b92505060206135a985828601612e7c565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806135fa57607f821691505b60208210810361360d5761360c6135b3565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026136757fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613638565b61367f8683613638565b95508019841693508086168417925050509392505050565b60006136b26136ad6136a884612cca565b61315c565b612cca565b9050919050565b6000819050919050565b6136cc83613697565b6136e06136d8826136b9565b848454613645565b825550505050565b600090565b6136f56136e8565b6137008184846136c3565b505050565b5b81811015613724576137196000826136ed565b600181019050613706565b5050565b601f8211156137695761373a81613613565b61374384613628565b81016020851015613752578190505b61376661375e85613628565b830182613705565b50505b505050565b600082821c905092915050565b600061378c6000198460080261376e565b1980831691505092915050565b60006137a5838361377b565b9150826002028217905092915050565b6137be82612cfe565b67ffffffffffffffff8111156137d7576137d6612f08565b5b6137e182546135e2565b6137ec828285613728565b600060209050601f83116001811461381f576000841561380d578287015190505b6138178582613799565b86555061387f565b601f19841661382d86613613565b60005b8281101561385557848901518255600182019150602085019450602081019050613830565b86831015613872578489015161386e601f89168261377b565b8355505b6001600288020188555050505b505050505050565b600081905092915050565b50565b60006138a2600083613887565b91506138ad82613892565b600082019050919050565b60006138c382613895565b9150819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061393682612cca565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613968576139676138fc565b5b600182019050919050565b7f43414e204e4f5420494e43524541534520535550504c59000000000000000000600082015250565b60006139a9601783612d09565b91506139b482613973565b602082019050919050565b600060208201905081810360008301526139d88161399c565b9050919050565b60006139ea82612cca565b91506139f583612cca565b9250828201905080821115613a0d57613a0c6138fc565b5b92915050565b7f596f75206861766520657863656564656420746865206c696d6974206f66206d60008201527f696e747320706572207472616e73616374696f6e000000000000000000000000602082015250565b6000613a6f603483612d09565b9150613a7a82613a13565b604082019050919050565b60006020820190508181036000830152613a9e81613a62565b9050919050565b7f596f75206861766520616c7265616479206d696e74656420796f7572206c696d60008201527f6974000000000000000000000000000000000000000000000000000000000000602082015250565b6000613b01602283612d09565b9150613b0c82613aa5565b604082019050919050565b60006020820190508181036000830152613b3081613af4565b9050919050565b7f534f4c44204f5554000000000000000000000000000000000000000000000000600082015250565b6000613b6d600883612d09565b9150613b7882613b37565b602082019050919050565b60006020820190508181036000830152613b9c81613b60565b9050919050565b7f4d696e74696e67206973206e6f742063757272656e746c7920616c6c6f77656460008201527f2100000000000000000000000000000000000000000000000000000000000000602082015250565b6000613bff602183612d09565b9150613c0a82613ba3565b604082019050919050565b60006020820190508181036000830152613c2e81613bf2565b9050919050565b7f596f7520617265206e6f74206f6e207468652077686974656c697374206f722060008201527f6861766520616c7265616479207573656420796f75722077686974656c69737460208201527f206d696e74000000000000000000000000000000000000000000000000000000604082015250565b6000613cb7604583612d09565b9150613cc282613c35565b606082019050919050565b60006020820190508181036000830152613ce681613caa565b9050919050565b60008160601b9050919050565b6000613d0582613ced565b9050919050565b6000613d1782613cfa565b9050919050565b613d2f613d2a82612e29565b613d0c565b82525050565b6000613d418284613d1e565b60148201915081905092915050565b7f496e76616c6964204d65726b6c652050726f6f662e0000000000000000000000600082015250565b6000613d86601583612d09565b9150613d9182613d50565b602082019050919050565b60006020820190508181036000830152613db581613d79565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000613e18602f83612d09565b9150613e2382613dbc565b604082019050919050565b60006020820190508181036000830152613e4781613e0b565b9050919050565b600081905092915050565b6000613e6482612cfe565b613e6e8185613e4e565b9350613e7e818560208601612d1a565b80840191505092915050565b60008154613e97816135e2565b613ea18186613e4e565b94506001821660008114613ebc5760018114613ed157613f04565b60ff1983168652811515820286019350613f04565b613eda85613613565b60005b83811015613efc57815481890152600182019150602081019050613edd565b838801955050505b50505092915050565b6000613f198285613e59565b9150613f258284613e8a565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613f8d602683612d09565b9150613f9882613f31565b604082019050919050565b60006020820190508181036000830152613fbc81613f80565b9050919050565b6000604082019050613fd86000830185612e3b565b613fe56020830184612e3b565b9392505050565b600081519050613ffb8161307c565b92915050565b60006020828403121561401757614016612c05565b5b600061402584828501613fec565b91505092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614064602083612d09565b915061406f8261402e565b602082019050919050565b6000602082019050818103600083015261409381614057565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006140d0601f83612d09565b91506140db8261409a565b602082019050919050565b600060208201905081810360008301526140ff816140c3565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061412d82614106565b6141378185614111565b9350614147818560208601612d1a565b61415081612d44565b840191505092915050565b60006080820190506141706000830187612e3b565b61417d6020830186612e3b565b61418a6040830185612cd4565b818103606083015261419c8184614122565b905095945050505050565b6000815190506141b681612c3b565b92915050565b6000602082840312156141d2576141d1612c05565b5b60006141e0848285016141a7565b9150509291505056fea26469706673582212206fe18090a41f512737af80fe78f7b05f1a922cba2b864c95383e4d345c4800c564736f6c634300081100330443b6059e81aa03d4c08ce0ec4a06c1e1a39f36bc7da4dc8b7fd746d70087c1000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000c215ecc74b18bee297743efff1201e59fa5a01920000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d4e7043373274697558393333465541517473776b5a66326867346a4a5356597872337358734d46737669764c00000000000000000000000000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d586e575458584b39343373596346486964386368513278357237674a7a6e6872694d454742475154567448740000000000000000000000
Deployed Bytecode
0x6080604052600436106102ae5760003560e01c80636f8b44b011610175578063a22cb465116100dc578063d5abeb0111610095578063e985e9c51161006f578063e985e9c514610a52578063ea457d0f14610a8f578063f2fde38b14610ab8578063fe86deca14610ae1576102ae565b8063d5abeb01146109d3578063d8bd5b09146109fe578063e8a3d48514610a27576102ae565b8063a22cb465146108d4578063aed38015146108fd578063b47fbd1714610926578063b88d4fde14610951578063c3e301961461096d578063c87b56dd14610996576102ae565b80638aa372681161012e5780638aa37268146107c45780638da5cb5b146107ef578063938e3d7b1461081a57806395d89b4114610843578063963c41771461086e578063a0712d68146108ab576102ae565b80636f8b44b0146106cc57806370a08231146106f5578063715018a61461073257806379fcb984146107495780637cb64759146107725780637ec4a6591461079b576102ae565b80632eb4a7ab116102195780634df3c52f116101d25780634df3c52f146105b85780635503a0e8146105e35780635c975abb1461060e57806362b99ad4146106395780636352211e1461066457806368abfea9146106a1576102ae565b80632eb4a7ab146104c95780633ccfd60b146104f45780633ee212f51461050b57806341f434341461053457806342842e0e1461055f578063438b63001461057b576102ae565b80630e82b63d1161026b5780630e82b63d146103ca5780631015805b146103f357806316ba10e01461043057806316c38b3c1461045957806318160ddd1461048257806323b872dd146104ad576102ae565b806301ffc9a7146102b357806303d8acef146102f057806306fdde031461031b578063081812fc14610346578063095ea7b3146103835780630bf91c531461039f575b600080fd5b3480156102bf57600080fd5b506102da60048036038101906102d59190612c67565b610b0c565b6040516102e79190612caf565b60405180910390f35b3480156102fc57600080fd5b50610305610b9e565b6040516103129190612ce3565b60405180910390f35b34801561032757600080fd5b50610330610ba4565b60405161033d9190612d8e565b60405180910390f35b34801561035257600080fd5b5061036d60048036038101906103689190612ddc565b610c36565b60405161037a9190612e4a565b60405180910390f35b61039d60048036038101906103989190612e91565b610cb5565b005b3480156103ab57600080fd5b506103b4610cce565b6040516103c19190612ce3565b60405180910390f35b3480156103d657600080fd5b506103f160048036038101906103ec9190612ddc565b610cd4565b005b3480156103ff57600080fd5b5061041a60048036038101906104159190612ed1565b610ce6565b6040516104279190612ce3565b60405180910390f35b34801561043c57600080fd5b5061045760048036038101906104529190613033565b610cfe565b005b34801561046557600080fd5b50610480600480360381019061047b91906130a8565b610d19565b005b34801561048e57600080fd5b50610497610d3e565b6040516104a49190612ce3565b60405180910390f35b6104c760048036038101906104c291906130d5565b610d55565b005b3480156104d557600080fd5b506104de610da4565b6040516104eb9190613141565b60405180910390f35b34801561050057600080fd5b50610509610daa565b005b34801561051757600080fd5b50610532600480360381019061052d9190612ddc565b610e42565b005b34801561054057600080fd5b50610549610e54565b60405161055691906131bb565b60405180910390f35b610579600480360381019061057491906130d5565b610e66565b005b34801561058757600080fd5b506105a2600480360381019061059d9190612ed1565b610eb5565b6040516105af9190613294565b60405180910390f35b3480156105c457600080fd5b506105cd610fba565b6040516105da9190612ce3565b60405180910390f35b3480156105ef57600080fd5b506105f8610fc0565b6040516106059190612d8e565b60405180910390f35b34801561061a57600080fd5b5061062361104e565b6040516106309190612caf565b60405180910390f35b34801561064557600080fd5b5061064e611061565b60405161065b9190612d8e565b60405180910390f35b34801561067057600080fd5b5061068b60048036038101906106869190612ddc565b6110ef565b6040516106989190612e4a565b60405180910390f35b3480156106ad57600080fd5b506106b6611101565b6040516106c39190612caf565b60405180910390f35b3480156106d857600080fd5b506106f360048036038101906106ee9190612ddc565b611114565b005b34801561070157600080fd5b5061071c60048036038101906107179190612ed1565b61116b565b6040516107299190612ce3565b60405180910390f35b34801561073e57600080fd5b50610747611223565b005b34801561075557600080fd5b50610770600480360381019061076b9190612ddc565b611237565b005b34801561077e57600080fd5b50610799600480360381019061079491906132e2565b611249565b005b3480156107a757600080fd5b506107c260048036038101906107bd9190613033565b61125b565b005b3480156107d057600080fd5b506107d9611276565b6040516107e69190612d8e565b60405180910390f35b3480156107fb57600080fd5b50610804611304565b6040516108119190612e4a565b60405180910390f35b34801561082657600080fd5b50610841600480360381019061083c9190613033565b61132e565b005b34801561084f57600080fd5b50610858611349565b6040516108659190612d8e565b60405180910390f35b34801561087a57600080fd5b5061089560048036038101906108909190612ed1565b6113db565b6040516108a29190612ce3565b60405180910390f35b3480156108b757600080fd5b506108d260048036038101906108cd9190612ddc565b6113f3565b005b3480156108e057600080fd5b506108fb60048036038101906108f6919061330f565b6115f5565b005b34801561090957600080fd5b50610924600480360381019061091f919061334f565b61160e565b005b34801561093257600080fd5b5061093b611693565b6040516109489190612ce3565b60405180910390f35b61096b60048036038101906109669190613430565b611699565b005b34801561097957600080fd5b50610994600480360381019061098f9190613513565b6116ea565b005b3480156109a257600080fd5b506109bd60048036038101906109b89190612ddc565b6119a7565b6040516109ca9190612d8e565b60405180910390f35b3480156109df57600080fd5b506109e8611a47565b6040516109f59190612ce3565b60405180910390f35b348015610a0a57600080fd5b50610a256004803603810190610a209190612ddc565b611a4d565b005b348015610a3357600080fd5b50610a3c611a5f565b604051610a499190612d8e565b60405180910390f35b348015610a5e57600080fd5b50610a796004803603810190610a749190613573565b611af1565b604051610a869190612caf565b60405180910390f35b348015610a9b57600080fd5b50610ab66004803603810190610ab191906130a8565b611b85565b005b348015610ac457600080fd5b50610adf6004803603810190610ada9190612ed1565b611baa565b005b348015610aed57600080fd5b50610af6611c2d565b604051610b039190612ce3565b60405180910390f35b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b6757506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610b975750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60145481565b606060028054610bb3906135e2565b80601f0160208091040260200160405190810160405280929190818152602001828054610bdf906135e2565b8015610c2c5780601f10610c0157610100808354040283529160200191610c2c565b820191906000526020600020905b815481529060010190602001808311610c0f57829003601f168201915b5050505050905090565b6000610c4182611c33565b610c77576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b81610cbf81611c92565b610cc98383611d8f565b505050565b60155481565b610cdc611ed3565b8060128190555050565b600c6020528060005260406000206000915090505481565b610d06611ed3565b80600e9081610d1591906137b5565b5050565b610d21611ed3565b80601660016101000a81548160ff02191690831515021790555050565b6000610d48611f51565b6001546000540303905090565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610d9357610d9233611c92565b5b610d9e848484611f56565b50505050565b600a5481565b610db2611ed3565b610dba612278565b6000610dc4611304565b73ffffffffffffffffffffffffffffffffffffffff1647604051610de7906138b8565b60006040518083038185875af1925050503d8060008114610e24576040519150601f19603f3d011682016040523d82523d6000602084013e610e29565b606091505b5050905080610e3757600080fd5b50610e406122c7565b565b610e4a611ed3565b8060118190555050565b6daaeb6d7670e522a718067333cd4e81565b823373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610ea457610ea333611c92565b5b610eaf8484846122d1565b50505050565b60606000610ec28361116b565b905060008167ffffffffffffffff811115610ee057610edf612f08565b5b604051908082528060200260200182016040528015610f0e5781602001602082028036833780820191505090505b5090506000805b8381108015610f2657506010548211155b15610fae576000610f36836110ef565b90508673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610f9a5782848381518110610f7f57610f7e6138cd565b5b6020026020010181815250508180610f969061392b565b9250505b8280610fa59061392b565b93505050610f15565b82945050505050919050565b60115481565b600e8054610fcd906135e2565b80601f0160208091040260200160405190810160405280929190818152602001828054610ff9906135e2565b80156110465780601f1061101b57610100808354040283529160200191611046565b820191906000526020600020905b81548152906001019060200180831161102957829003601f168201915b505050505081565b601660019054906101000a900460ff1681565b600d805461106e906135e2565b80601f016020809104026020016040519081016040528092919081815260200182805461109a906135e2565b80156110e75780601f106110bc576101008083540402835291602001916110e7565b820191906000526020600020905b8154815290600101906020018083116110ca57829003601f168201915b505050505081565b60006110fa826122f1565b9050919050565b601660009054906101000a900460ff1681565b61111c611ed3565b611388811115611161576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611158906139bf565b60405180910390fd5b8060108190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036111d2576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b61122b611ed3565b61123560006123bd565b565b61123f611ed3565b8060148190555050565b611251611ed3565b80600a8190555050565b611263611ed3565b80600d908161127291906137b5565b5050565b600f8054611283906135e2565b80601f01602080910402602001604051908101604052809291908181526020018280546112af906135e2565b80156112fc5780601f106112d1576101008083540402835291602001916112fc565b820191906000526020600020905b8154815290600101906020018083116112df57829003601f168201915b505050505081565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611336611ed3565b80600f908161134591906137b5565b5050565b606060038054611358906135e2565b80601f0160208091040260200160405190810160405280929190818152602001828054611384906135e2565b80156113d15780601f106113a6576101008083540402835291602001916113d1565b820191906000526020600020905b8154815290600101906020018083116113b457829003601f168201915b5050505050905090565b600b6020528060005260406000206000915090505481565b806000816113ff610d3e565b61140991906139df565b905060008211801561141d57506012548211155b61145c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145390613a85565b60405180910390fd5b60145482600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546114aa91906139df565b11156114eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e290613b17565b60405180910390fd5b601054811115611530576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152790613b83565b60405180910390fd5b601660019054906101000a900460ff1615611580576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157790613c15565b60405180910390fd5b611588612278565b82600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546115d791906139df565b925050819055506115e83384612483565b6115f06122c7565b505050565b816115ff81611c92565b61160983836124a1565b505050565b8160008161161a610d3e565b61162491906139df565b905060105481111561166b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161166290613b83565b60405180910390fd5b611673611ed3565b61167b612278565b6116858385612483565b61168d6122c7565b50505050565b60135481565b833373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146116d7576116d633611c92565b5b6116e3858585856125ac565b5050505050565b806000816116f6610d3e565b61170091906139df565b905060008211801561171457506011548211155b611753576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174a90613a85565b60405180910390fd5b60135482600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546117a191906139df565b11156117e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117d990613ccd565b60405180910390fd5b601054811115611827576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181e90613b83565b60405180910390fd5b601660009054906101000a900460ff1615611877576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186e90613c15565b60405180910390fd5b61187f612278565b6000336040516020016118929190613d35565b6040516020818303038152906040528051906020012090506118f8868680806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600a548361261f565b611937576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161192e90613d9c565b60405180910390fd5b83600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461198691906139df565b925050819055506119973385612483565b506119a06122c7565b5050505050565b60606119b282611c33565b6119f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e890613e2e565b60405180910390fd5b60006119fb612636565b90506000815111611a1b5760405180602001604052806000815250611a3f565b80600e604051602001611a2f929190613f0d565b6040516020818303038152906040525b915050919050565b60105481565b611a55611ed3565b8060138190555050565b6060600f8054611a6e906135e2565b80601f0160208091040260200160405190810160405280929190818152602001828054611a9a906135e2565b8015611ae75780601f10611abc57610100808354040283529160200191611ae7565b820191906000526020600020905b815481529060010190602001808311611aca57829003601f168201915b5050505050905090565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611b8d611ed3565b80601660006101000a81548160ff02191690831515021790555050565b611bb2611ed3565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611c21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c1890613fa3565b60405180910390fd5b611c2a816123bd565b50565b60125481565b600081611c3e611f51565b11158015611c4d575060005482105b8015611c8b575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b60006daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff163b1115611d8c576daaeb6d7670e522a718067333cd4e73ffffffffffffffffffffffffffffffffffffffff1663c617113430836040518363ffffffff1660e01b8152600401611d09929190613fc3565b602060405180830381865afa158015611d26573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d4a9190614001565b611d8b57806040517fede71dcc000000000000000000000000000000000000000000000000000000008152600401611d829190612e4a565b60405180910390fd5b5b50565b6000611d9a826110ef565b90508073ffffffffffffffffffffffffffffffffffffffff16611dbb6126c8565b73ffffffffffffffffffffffffffffffffffffffff1614611e1e57611de781611de26126c8565b611af1565b611e1d576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b611edb6126d0565b73ffffffffffffffffffffffffffffffffffffffff16611ef9611304565b73ffffffffffffffffffffffffffffffffffffffff1614611f4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f469061407a565b60405180910390fd5b565b600090565b6000611f61826122f1565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611fc8576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080611fd4846126d8565b91509150611fea8187611fe56126c8565b6126ff565b61203657611fff86611ffa6126c8565b611af1565b612035576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff160361209c576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6120a98686866001612743565b80156120b457600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055506121828561215e888887612749565b7c020000000000000000000000000000000000000000000000000000000017612771565b600460008681526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416036122085760006001850190506000600460008381526020019081526020016000205403612206576000548114612205578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612270868686600161279c565b505050505050565b6002600854036122bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122b4906140e6565b60405180910390fd5b6002600881905550565b6001600881905550565b6122ec83838360405180602001604052806000815250611699565b505050565b60008082905080612300611f51565b11612386576000548110156123855760006004600083815260200190815260200160002054905060007c0100000000000000000000000000000000000000000000000000000000821603612383575b6000810361237957600460008360019003935083815260200190815260200160002054905061234f565b80925050506123b8565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61249d8282604051806020016040528060008152506127a2565b5050565b80600760006124ae6126c8565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661255b6126c8565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516125a09190612caf565b60405180910390a35050565b6125b7848484610d55565b60008373ffffffffffffffffffffffffffffffffffffffff163b14612619576125e28484848461283f565b612618576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b60008261262c858461298f565b1490509392505050565b6060600d8054612645906135e2565b80601f0160208091040260200160405190810160405280929190818152602001828054612671906135e2565b80156126be5780601f10612693576101008083540402835291602001916126be565b820191906000526020600020905b8154815290600101906020018083116126a157829003601f168201915b5050505050905090565b600033905090565b600033905090565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e86127608686846129e5565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6127ac83836129ee565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461283a57600080549050600083820390505b6127ec600086838060010194508661283f565b612822576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106127d957816000541461283757600080fd5b50505b505050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026128656126c8565b8786866040518563ffffffff1660e01b8152600401612887949392919061415b565b6020604051808303816000875af19250505080156128c357506040513d601f19601f820116820180604052508101906128c091906141bc565b60015b61293c573d80600081146128f3576040519150601f19603f3d011682016040523d82523d6000602084013e6128f8565b606091505b506000815103612934576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60008082905060005b84518110156129da576129c5828683815181106129b8576129b76138cd565b5b6020026020010151612ba9565b915080806129d29061392b565b915050612998565b508091505092915050565b60009392505050565b60008054905060008203612a2e576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612a3b6000848385612743565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550612ab283612aa36000866000612749565b612aac85612bd4565b17612771565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b818114612b5357808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050612b18565b5060008203612b8e576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000819055505050612ba4600084838561279c565b505050565b6000818310612bc157612bbc8284612be4565b612bcc565b612bcb8383612be4565b5b905092915050565b60006001821460e11b9050919050565b600082600052816020526040600020905092915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612c4481612c0f565b8114612c4f57600080fd5b50565b600081359050612c6181612c3b565b92915050565b600060208284031215612c7d57612c7c612c05565b5b6000612c8b84828501612c52565b91505092915050565b60008115159050919050565b612ca981612c94565b82525050565b6000602082019050612cc46000830184612ca0565b92915050565b6000819050919050565b612cdd81612cca565b82525050565b6000602082019050612cf86000830184612cd4565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612d38578082015181840152602081019050612d1d565b60008484015250505050565b6000601f19601f8301169050919050565b6000612d6082612cfe565b612d6a8185612d09565b9350612d7a818560208601612d1a565b612d8381612d44565b840191505092915050565b60006020820190508181036000830152612da88184612d55565b905092915050565b612db981612cca565b8114612dc457600080fd5b50565b600081359050612dd681612db0565b92915050565b600060208284031215612df257612df1612c05565b5b6000612e0084828501612dc7565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612e3482612e09565b9050919050565b612e4481612e29565b82525050565b6000602082019050612e5f6000830184612e3b565b92915050565b612e6e81612e29565b8114612e7957600080fd5b50565b600081359050612e8b81612e65565b92915050565b60008060408385031215612ea857612ea7612c05565b5b6000612eb685828601612e7c565b9250506020612ec785828601612dc7565b9150509250929050565b600060208284031215612ee757612ee6612c05565b5b6000612ef584828501612e7c565b91505092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612f4082612d44565b810181811067ffffffffffffffff82111715612f5f57612f5e612f08565b5b80604052505050565b6000612f72612bfb565b9050612f7e8282612f37565b919050565b600067ffffffffffffffff821115612f9e57612f9d612f08565b5b612fa782612d44565b9050602081019050919050565b82818337600083830152505050565b6000612fd6612fd184612f83565b612f68565b905082815260208101848484011115612ff257612ff1612f03565b5b612ffd848285612fb4565b509392505050565b600082601f83011261301a57613019612efe565b5b813561302a848260208601612fc3565b91505092915050565b60006020828403121561304957613048612c05565b5b600082013567ffffffffffffffff81111561306757613066612c0a565b5b61307384828501613005565b91505092915050565b61308581612c94565b811461309057600080fd5b50565b6000813590506130a28161307c565b92915050565b6000602082840312156130be576130bd612c05565b5b60006130cc84828501613093565b91505092915050565b6000806000606084860312156130ee576130ed612c05565b5b60006130fc86828701612e7c565b935050602061310d86828701612e7c565b925050604061311e86828701612dc7565b9150509250925092565b6000819050919050565b61313b81613128565b82525050565b60006020820190506131566000830184613132565b92915050565b6000819050919050565b600061318161317c61317784612e09565b61315c565b612e09565b9050919050565b600061319382613166565b9050919050565b60006131a582613188565b9050919050565b6131b58161319a565b82525050565b60006020820190506131d060008301846131ac565b92915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61320b81612cca565b82525050565b600061321d8383613202565b60208301905092915050565b6000602082019050919050565b6000613241826131d6565b61324b81856131e1565b9350613256836131f2565b8060005b8381101561328757815161326e8882613211565b975061327983613229565b92505060018101905061325a565b5085935050505092915050565b600060208201905081810360008301526132ae8184613236565b905092915050565b6132bf81613128565b81146132ca57600080fd5b50565b6000813590506132dc816132b6565b92915050565b6000602082840312156132f8576132f7612c05565b5b6000613306848285016132cd565b91505092915050565b6000806040838503121561332657613325612c05565b5b600061333485828601612e7c565b925050602061334585828601613093565b9150509250929050565b6000806040838503121561336657613365612c05565b5b600061337485828601612dc7565b925050602061338585828601612e7c565b9150509250929050565b600067ffffffffffffffff8211156133aa576133a9612f08565b5b6133b382612d44565b9050602081019050919050565b60006133d36133ce8461338f565b612f68565b9050828152602081018484840111156133ef576133ee612f03565b5b6133fa848285612fb4565b509392505050565b600082601f83011261341757613416612efe565b5b81356134278482602086016133c0565b91505092915050565b6000806000806080858703121561344a57613449612c05565b5b600061345887828801612e7c565b945050602061346987828801612e7c565b935050604061347a87828801612dc7565b925050606085013567ffffffffffffffff81111561349b5761349a612c0a565b5b6134a787828801613402565b91505092959194509250565b600080fd5b600080fd5b60008083601f8401126134d3576134d2612efe565b5b8235905067ffffffffffffffff8111156134f0576134ef6134b3565b5b60208301915083602082028301111561350c5761350b6134b8565b5b9250929050565b60008060006040848603121561352c5761352b612c05565b5b600084013567ffffffffffffffff81111561354a57613549612c0a565b5b613556868287016134bd565b9350935050602061356986828701612dc7565b9150509250925092565b6000806040838503121561358a57613589612c05565b5b600061359885828601612e7c565b92505060206135a985828601612e7c565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806135fa57607f821691505b60208210810361360d5761360c6135b3565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026136757fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82613638565b61367f8683613638565b95508019841693508086168417925050509392505050565b60006136b26136ad6136a884612cca565b61315c565b612cca565b9050919050565b6000819050919050565b6136cc83613697565b6136e06136d8826136b9565b848454613645565b825550505050565b600090565b6136f56136e8565b6137008184846136c3565b505050565b5b81811015613724576137196000826136ed565b600181019050613706565b5050565b601f8211156137695761373a81613613565b61374384613628565b81016020851015613752578190505b61376661375e85613628565b830182613705565b50505b505050565b600082821c905092915050565b600061378c6000198460080261376e565b1980831691505092915050565b60006137a5838361377b565b9150826002028217905092915050565b6137be82612cfe565b67ffffffffffffffff8111156137d7576137d6612f08565b5b6137e182546135e2565b6137ec828285613728565b600060209050601f83116001811461381f576000841561380d578287015190505b6138178582613799565b86555061387f565b601f19841661382d86613613565b60005b8281101561385557848901518255600182019150602085019450602081019050613830565b86831015613872578489015161386e601f89168261377b565b8355505b6001600288020188555050505b505050505050565b600081905092915050565b50565b60006138a2600083613887565b91506138ad82613892565b600082019050919050565b60006138c382613895565b9150819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061393682612cca565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613968576139676138fc565b5b600182019050919050565b7f43414e204e4f5420494e43524541534520535550504c59000000000000000000600082015250565b60006139a9601783612d09565b91506139b482613973565b602082019050919050565b600060208201905081810360008301526139d88161399c565b9050919050565b60006139ea82612cca565b91506139f583612cca565b9250828201905080821115613a0d57613a0c6138fc565b5b92915050565b7f596f75206861766520657863656564656420746865206c696d6974206f66206d60008201527f696e747320706572207472616e73616374696f6e000000000000000000000000602082015250565b6000613a6f603483612d09565b9150613a7a82613a13565b604082019050919050565b60006020820190508181036000830152613a9e81613a62565b9050919050565b7f596f75206861766520616c7265616479206d696e74656420796f7572206c696d60008201527f6974000000000000000000000000000000000000000000000000000000000000602082015250565b6000613b01602283612d09565b9150613b0c82613aa5565b604082019050919050565b60006020820190508181036000830152613b3081613af4565b9050919050565b7f534f4c44204f5554000000000000000000000000000000000000000000000000600082015250565b6000613b6d600883612d09565b9150613b7882613b37565b602082019050919050565b60006020820190508181036000830152613b9c81613b60565b9050919050565b7f4d696e74696e67206973206e6f742063757272656e746c7920616c6c6f77656460008201527f2100000000000000000000000000000000000000000000000000000000000000602082015250565b6000613bff602183612d09565b9150613c0a82613ba3565b604082019050919050565b60006020820190508181036000830152613c2e81613bf2565b9050919050565b7f596f7520617265206e6f74206f6e207468652077686974656c697374206f722060008201527f6861766520616c7265616479207573656420796f75722077686974656c69737460208201527f206d696e74000000000000000000000000000000000000000000000000000000604082015250565b6000613cb7604583612d09565b9150613cc282613c35565b606082019050919050565b60006020820190508181036000830152613ce681613caa565b9050919050565b60008160601b9050919050565b6000613d0582613ced565b9050919050565b6000613d1782613cfa565b9050919050565b613d2f613d2a82612e29565b613d0c565b82525050565b6000613d418284613d1e565b60148201915081905092915050565b7f496e76616c6964204d65726b6c652050726f6f662e0000000000000000000000600082015250565b6000613d86601583612d09565b9150613d9182613d50565b602082019050919050565b60006020820190508181036000830152613db581613d79565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000613e18602f83612d09565b9150613e2382613dbc565b604082019050919050565b60006020820190508181036000830152613e4781613e0b565b9050919050565b600081905092915050565b6000613e6482612cfe565b613e6e8185613e4e565b9350613e7e818560208601612d1a565b80840191505092915050565b60008154613e97816135e2565b613ea18186613e4e565b94506001821660008114613ebc5760018114613ed157613f04565b60ff1983168652811515820286019350613f04565b613eda85613613565b60005b83811015613efc57815481890152600182019150602081019050613edd565b838801955050505b50505092915050565b6000613f198285613e59565b9150613f258284613e8a565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613f8d602683612d09565b9150613f9882613f31565b604082019050919050565b60006020820190508181036000830152613fbc81613f80565b9050919050565b6000604082019050613fd86000830185612e3b565b613fe56020830184612e3b565b9392505050565b600081519050613ffb8161307c565b92915050565b60006020828403121561401757614016612c05565b5b600061402584828501613fec565b91505092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614064602083612d09565b915061406f8261402e565b602082019050919050565b6000602082019050818103600083015261409381614057565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006140d0601f83612d09565b91506140db8261409a565b602082019050919050565b600060208201905081810360008301526140ff816140c3565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061412d82614106565b6141378185614111565b9350614147818560208601612d1a565b61415081612d44565b840191505092915050565b60006080820190506141706000830187612e3b565b61417d6020830186612e3b565b61418a6040830185612cd4565b818103606083015261419c8184614122565b905095945050505050565b6000815190506141b681612c3b565b92915050565b6000602082840312156141d2576141d1612c05565b5b60006141e0848285016141a7565b9150509291505056fea26469706673582212206fe18090a41f512737af80fe78f7b05f1a922cba2b864c95383e4d345c4800c564736f6c63430008110033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0443b6059e81aa03d4c08ce0ec4a06c1e1a39f36bc7da4dc8b7fd746d70087c1000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000c215ecc74b18bee297743efff1201e59fa5a01920000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d4e7043373274697558393333465541517473776b5a66326867346a4a5356597872337358734d46737669764c00000000000000000000000000000000000000000000000000000000000000000000000000000000000035697066733a2f2f516d586e575458584b39343373596346486964386368513278357237674a7a6e6872694d454742475154567448740000000000000000000000
-----Decoded View---------------
Arg [0] : _merkleRoot (bytes32): 0x0443b6059e81aa03d4c08ce0ec4a06c1e1a39f36bc7da4dc8b7fd746d70087c1
Arg [1] : _internalAccounts (address[]): 0xc215eCc74b18BEe297743efff1201e59FA5a0192
Arg [2] : _prefix (string): ipfs://QmNpC72tiuX933FUAQtswkZf2hg4jJSVYxr3sXsMFsvivL
Arg [3] : _contractURI (string): ipfs://QmXnWTXXK943sYcFHid8chQ2x5r7gJznhriMEGBGQTVtHt
-----Encoded View---------------
12 Constructor Arguments found :
Arg [0] : 0443b6059e81aa03d4c08ce0ec4a06c1e1a39f36bc7da4dc8b7fd746d70087c1
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [5] : 000000000000000000000000c215ecc74b18bee297743efff1201e59fa5a0192
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000035
Arg [7] : 697066733a2f2f516d4e7043373274697558393333465541517473776b5a6632
Arg [8] : 6867346a4a5356597872337358734d46737669764c0000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000035
Arg [10] : 697066733a2f2f516d586e575458584b39343373596346486964386368513278
Arg [11] : 357237674a7a6e6872694d454742475154567448740000000000000000000000
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.