Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
3,000 ACC
Holders
1,089
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 ACCLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Cactus
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-09-04 */ // File: @openzeppelin/contracts/utils/cryptography/MerkleProof.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Tree proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the merkle tree could be reinterpreted as a leaf value. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Calldata version of {verify} * * _Available since v4.7._ */ function verifyCalldata( bytes32[] calldata proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProofCalldata(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Calldata version of {processProof} * * _Available since v4.7._ */ function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Returns true if the `leaves` can be proved to be a part of a Merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * _Available since v4.7._ */ function multiProofVerify( bytes32[] memory proof, bool[] memory proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProof(proof, proofFlags, leaves) == root; } /** * @dev Calldata version of {multiProofVerify} * * _Available since v4.7._ */ function multiProofVerifyCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProofCalldata(proof, proofFlags, leaves) == root; } /** * @dev Returns the root of a tree reconstructed from `leaves` and the sibling nodes in `proof`, * consuming from one or the other at each step according to the instructions given by * `proofFlags`. * * _Available since v4.7._ */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Calldata version of {processMultiProof} * * _Available since v4.7._ */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { /// @solidity memory-safe-assembly assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } } // File: contracts/IERC721A.sol // ERC721A Contracts v4.2.2 // 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; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @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; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================================================= // 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); } // File: contracts/ERC721A.sol // ERC721A Contracts v4.2.2 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @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 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 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 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 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`. ) 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) } } } // File: @openzeppelin/contracts/security/ReentrancyGuard.sol // OpenZeppelin Contracts v4.4.1 (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() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } // File: @openzeppelin/contracts/utils/Context.sol // 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; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @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); } } // File: contracts/Cactus.sol pragma solidity ^0.8.0; contract Cactus is Ownable, ERC721A, ReentrancyGuard { bool private isPublicSaleOn = false; uint private constant MAX_SUPPLY = 3000; bytes32 public whiteListRoot; bool private whitelistOn = false; mapping(address => uint256) public whiteListClaimed; mapping(address => bool) public whiteListClaimedChecker; constructor() ERC721A("AnonymousCactusClub", "ACC") {} modifier callerIsUser() { require(tx.origin == msg.sender, "The caller is another contract"); _; } function reserveGiveaway(uint256 num, address walletAddress) public onlyOwner { require(totalSupply() + num <= MAX_SUPPLY, "Exceeds total supply"); _safeMint(walletAddress, num); } function whiteListMint(bytes32[] calldata _merkleProof, uint256 quantity) external payable callerIsUser { bytes32 leaf = keccak256(abi.encodePacked(msg.sender)); require(MerkleProof.verify(_merkleProof, whiteListRoot, leaf), "Invalid Merkle Proof."); require(whitelistOn, "whitelist sale has not begun yet"); require(totalSupply() + quantity <= MAX_SUPPLY, "Exceeds total supply"); if (!whiteListClaimedChecker[msg.sender]) { whiteListClaimedChecker[msg.sender] = true; whiteListClaimed[msg.sender] = 3; } require(whiteListClaimed[msg.sender] - quantity >= 0, "Address already minted num of tokens allowed"); whiteListClaimed[msg.sender] = whiteListClaimed[msg.sender] - quantity; _safeMint(msg.sender, quantity); } function getWallet(address _owner) public view returns (uint256[] memory) { uint256 ownerBalance = balanceOf(_owner); uint256[] memory ownedIds = new uint256[](ownerBalance); uint256 tokenIdCounter = 0; uint256 index = 0; while (index < ownerBalance && tokenIdCounter <= 3000) { address tokenOwner = ownerOf(tokenIdCounter); if (tokenOwner == _owner) { ownedIds[index] = tokenIdCounter; index++; } tokenIdCounter++; } return ownedIds; } function publicSaleMint(uint256 quantity) external payable callerIsUser { require( isPublicSaleOn, "public sale has not begun yet" ); require( totalSupply() + quantity <= MAX_SUPPLY, "reached max supply" ); _safeMint(msg.sender, quantity); } function setPublicSale(bool flag) external onlyOwner { isPublicSaleOn = flag; } function setWhitelistFlag(bool flag) external onlyOwner { whitelistOn = flag; } function setWhiteListRoot(bytes32 merkle_root) external onlyOwner { whiteListRoot = merkle_root; } string private _baseTokenURI; function _baseURI() internal view virtual override returns (string memory) { return _baseTokenURI; } function setBaseURI(string calldata baseURI) external onlyOwner { _baseTokenURI = baseURI; } function withdraw() external onlyOwner nonReentrant { (bool success, ) = msg.sender.call{value: address(this).balance}(""); require(success, "Transfer failed."); } function numberMinted(address owner) public view returns (uint256) { return _numberMinted(owner); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"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":[],"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":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"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"}],"name":"getWallet","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"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":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"numberMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"publicSaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"num","type":"uint256"},{"internalType":"address","name":"walletAddress","type":"address"}],"name":"reserveGiveaway","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"flag","type":"bool"}],"name":"setPublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"merkle_root","type":"bytes32"}],"name":"setWhiteListRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"flag","type":"bool"}],"name":"setWhitelistFlag","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":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whiteListClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whiteListClaimedChecker","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"whiteListMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"whiteListRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052600a805460ff19908116909155600c805490911690553480156200002757600080fd5b506040518060400160405280601381526020017f416e6f6e796d6f7573436163747573436c7562000000000000000000000000008152506040518060400160405280600381526020016241434360e81b815250620000946200008e620000d260201b60201c565b620000d6565b8151620000a990600390602085019062000126565b508051620000bf90600490602084019062000126565b5050600060019081556009555062000209565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b8280546200013490620001cc565b90600052602060002090601f016020900481019282620001585760008555620001a3565b82601f106200017357805160ff1916838001178555620001a3565b82800160010185558215620001a3579182015b82811115620001a357825182559160200191906001019062000186565b50620001b1929150620001b5565b5090565b5b80821115620001b15760008155600101620001b6565b600181811c90821680620001e157607f821691505b602082108114156200020357634e487b7160e01b600052602260045260246000fd5b50919050565b611cc980620002196000396000f3fe6080604052600436106101cd5760003560e01c80636352211e116100f7578063a22cb46511610095578063c87b56dd11610064578063c87b56dd14610529578063dc33e68114610549578063e985e9c514610569578063f2fde38b146105b257600080fd5b8063a22cb465146104c3578063b3ab66b0146104e3578063b88d4fde146104f6578063c30bf3181461051657600080fd5b806370a08231116100d157806370a082311461045b578063715018a61461047b5780638da5cb5b1461049057806395d89b41146104ae57600080fd5b80636352211e1461040557806365f4fd121461042557806368010d6e1461043b57600080fd5b80632333f3c41161016f57806342842e0e1161013e57806342842e0e1461038557806345149bb3146103a557806355f804b3146103c55780635aca1bb6146103e557600080fd5b80632333f3c41461030357806323b872dd146103305780633ccfd60b146103505780634200e4fc1461036557600080fd5b806307d3b358116101ab57806307d3b35814610256578063081812fc14610286578063095ea7b3146102be57806318160ddd146102e057600080fd5b806301ffc9a7146101d257806304d0a6471461020757806306fdde0314610234575b600080fd5b3480156101de57600080fd5b506101f26101ed3660046119cc565b6105d2565b60405190151581526020015b60405180910390f35b34801561021357600080fd5b50610227610222366004611763565b610624565b6040516101fe9190611b33565b34801561024057600080fd5b50610249610704565b6040516101fe9190611b77565b34801561026257600080fd5b506101f2610271366004611763565b600e6020526000908152604090205460ff1681565b34801561029257600080fd5b506102a66102a13660046119b3565b610796565b6040516001600160a01b0390911681526020016101fe565b3480156102ca57600080fd5b506102de6102d93660046118f3565b6107da565b005b3480156102ec57600080fd5b50600254600154035b6040519081526020016101fe565b34801561030f57600080fd5b506102f561031e366004611763565b600d6020526000908152604090205481565b34801561033c57600080fd5b506102de61034b3660046117b1565b61087a565b34801561035c57600080fd5b506102de610a0b565b34801561037157600080fd5b506102de610380366004611998565b610b03565b34801561039157600080fd5b506102de6103a03660046117b1565b610b1e565b3480156103b157600080fd5b506102de6103c03660046119b3565b610b3e565b3480156103d157600080fd5b506102de6103e0366004611a06565b610b4b565b3480156103f157600080fd5b506102de610400366004611998565b610b5f565b34801561041157600080fd5b506102a66104203660046119b3565b610b7a565b34801561043157600080fd5b506102f5600b5481565b34801561044757600080fd5b506102de610456366004611a78565b610b85565b34801561046757600080fd5b506102f5610476366004611763565b610bfb565b34801561048757600080fd5b506102de610c4a565b34801561049c57600080fd5b506000546001600160a01b03166102a6565b3480156104ba57600080fd5b50610249610c5e565b3480156104cf57600080fd5b506102de6104de3660046118c9565b610c6d565b6102de6104f13660046119b3565b610cd9565b34801561050257600080fd5b506102de6105113660046117ed565b610de5565b6102de61052436600461191d565b610e2f565b34801561053557600080fd5b506102496105443660046119b3565b6110e4565b34801561055557600080fd5b506102f5610564366004611763565b611169565b34801561057557600080fd5b506101f261058436600461177e565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b3480156105be57600080fd5b506102de6105cd366004611763565b611194565b60006301ffc9a760e01b6001600160e01b03198316148061060357506380ac58cd60e01b6001600160e01b03198316145b8061061e5750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600061063183610bfb565b905060008167ffffffffffffffff81111561064e5761064e611c67565b604051908082528060200260200182016040528015610677578160200160208202803683370190505b5090506000805b838110801561068f5750610bb88211155b156106fa57600061069f83610b7a565b9050866001600160a01b0316816001600160a01b031614156106e757828483815181106106ce576106ce611c51565b6020908102919091010152816106e381611c20565b9250505b826106f181611c20565b9350505061067e565b5090949350505050565b60606003805461071390611be5565b80601f016020809104026020016040519081016040528092919081815260200182805461073f90611be5565b801561078c5780601f106107615761010080835404028352916020019161078c565b820191906000526020600020905b81548152906001019060200180831161076f57829003601f168201915b5050505050905090565b60006107a18261120a565b6107be576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b60006107e582610b7a565b9050336001600160a01b0382161461081e576108018133610584565b61081e576040516367d9dca160e11b815260040160405180910390fd5b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061088582611232565b9050836001600160a01b0316816001600160a01b0316146108b85760405162a1148160e81b815260040160405180910390fd5b60008281526007602052604090208054338082146001600160a01b03881690911417610905576108e88633610584565b61090557604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661092c57604051633a954ecd60e21b815260040160405180910390fd5b801561093757600082555b6001600160a01b038681166000908152600660205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260056020526040902055600160e11b83166109c257600184016000818152600560205260409020546109c05760015481146109c05760008181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b610a13611293565b60026009541415610a6b5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b6002600955604051600090339047908381818185875af1925050503d8060008114610ab2576040519150601f19603f3d011682016040523d82523d6000602084013e610ab7565b606091505b5050905080610afb5760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b6044820152606401610a62565b506001600955565b610b0b611293565b600c805460ff1916911515919091179055565b610b3983838360405180602001604052806000815250610de5565b505050565b610b46611293565b600b55565b610b53611293565b610b39600f838361169e565b610b67611293565b600a805460ff1916911515919091179055565b600061061e82611232565b610b8d611293565b610bb882610b9e6002546001540390565b610ba89190611b8a565b1115610bed5760405162461bcd60e51b81526020600482015260146024820152734578636565647320746f74616c20737570706c7960601b6044820152606401610a62565b610bf781836112ed565b5050565b60006001600160a01b038216610c24576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b610c52611293565b610c5c6000611307565b565b60606004805461071390611be5565b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b323314610d285760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e747261637400006044820152606401610a62565b600a5460ff16610d7a5760405162461bcd60e51b815260206004820152601d60248201527f7075626c69632073616c6520686173206e6f7420626567756e207965740000006044820152606401610a62565b610bb881610d8b6002546001540390565b610d959190611b8a565b1115610dd85760405162461bcd60e51b815260206004820152601260248201527172656163686564206d617820737570706c7960701b6044820152606401610a62565b610de233826112ed565b50565b610df084848461087a565b6001600160a01b0383163b15610e2957610e0c84848484611357565b610e29576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b323314610e7e5760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e747261637400006044820152606401610a62565b6040516bffffffffffffffffffffffff193360601b166020820152600090603401604051602081830303815290604052805190602001209050610ef884848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600b54915084905061144e565b610f3c5760405162461bcd60e51b815260206004820152601560248201527424b73b30b634b21026b2b935b63290283937b7b31760591b6044820152606401610a62565b600c5460ff16610f8e5760405162461bcd60e51b815260206004820181905260248201527f77686974656c6973742073616c6520686173206e6f7420626567756e207965746044820152606401610a62565b610bb882610f9f6002546001540390565b610fa99190611b8a565b1115610fee5760405162461bcd60e51b81526020600482015260146024820152734578636565647320746f74616c20737570706c7960601b6044820152606401610a62565b336000908152600e602052604090205460ff1661102e57336000908152600e60209081526040808320805460ff19166001179055600d9091529020600390555b336000908152600d6020526040812054611049908490611ba2565b10156110ac5760405162461bcd60e51b815260206004820152602c60248201527f4164647265737320616c7265616479206d696e746564206e756d206f6620746f60448201526b1ad95b9cc8185b1b1bddd95960a21b6064820152608401610a62565b336000908152600d60205260409020546110c7908390611ba2565b336000818152600d6020526040902091909155610e2990836112ed565b60606110ef8261120a565b61110c57604051630a14c4b560e41b815260040160405180910390fd5b6000611116611464565b90508051600014156111375760405180602001604052806000815250611162565b8061114184611473565b604051602001611152929190611ac7565b6040516020818303038152906040525b9392505050565b6001600160a01b0381166000908152600660205260408082205467ffffffffffffffff911c1661061e565b61119c611293565b6001600160a01b0381166112015760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a62565b610de281611307565b60006001548210801561061e575050600090815260056020526040902054600160e01b161590565b60008160015481101561127a57600081815260056020526040902054600160e01b8116611278575b8061116257506000190160008181526005602052604090205461125a565b505b604051636f96cda160e11b815260040160405180910390fd5b6000546001600160a01b03163314610c5c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a62565b610bf78282604051806020016040528060008152506114c1565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061138c903390899088908890600401611af6565b602060405180830381600087803b1580156113a657600080fd5b505af19250505080156113d6575060408051601f3d908101601f191682019092526113d3918101906119e9565b60015b611431573d808015611404576040519150601f19603f3d011682016040523d82523d6000602084013e611409565b606091505b508051611429576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b60008261145b858461152e565b14949350505050565b6060600f805461071390611be5565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a9004806114aa576114af565b61148d565b50819003601f19909101908152919050565b6114cb838361157b565b6001600160a01b0383163b15610b39576001548281035b6114f56000868380600101945086611357565b611512576040516368d2bf6b60e11b815260040160405180910390fd5b8181106114e257816001541461152757600080fd5b5050505050565b600081815b84518110156115735761155f8286838151811061155257611552611c51565b6020026020010151611672565b91508061156b81611c20565b915050611533565b509392505050565b6001548161159c5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526006602090815260408083208054680100000000000000018802019055848352600590915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461164b57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611613565b508161166957604051622e076360e81b815260040160405180910390fd5b60015550505050565b600081831061168e576000828152602084905260409020611162565b5060009182526020526040902090565b8280546116aa90611be5565b90600052602060002090601f0160209004810192826116cc5760008555611712565b82601f106116e55782800160ff19823516178555611712565b82800160010185558215611712579182015b828111156117125782358255916020019190600101906116f7565b5061171e929150611722565b5090565b5b8082111561171e5760008155600101611723565b80356001600160a01b038116811461174e57600080fd5b919050565b8035801515811461174e57600080fd5b60006020828403121561177557600080fd5b61116282611737565b6000806040838503121561179157600080fd5b61179a83611737565b91506117a860208401611737565b90509250929050565b6000806000606084860312156117c657600080fd5b6117cf84611737565b92506117dd60208501611737565b9150604084013590509250925092565b6000806000806080858703121561180357600080fd5b61180c85611737565b935061181a60208601611737565b925060408501359150606085013567ffffffffffffffff8082111561183e57600080fd5b818701915087601f83011261185257600080fd5b81358181111561186457611864611c67565b604051601f8201601f19908116603f0116810190838211818310171561188c5761188c611c67565b816040528281528a60208487010111156118a557600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600080604083850312156118dc57600080fd5b6118e583611737565b91506117a860208401611753565b6000806040838503121561190657600080fd5b61190f83611737565b946020939093013593505050565b60008060006040848603121561193257600080fd5b833567ffffffffffffffff8082111561194a57600080fd5b818601915086601f83011261195e57600080fd5b81358181111561196d57600080fd5b8760208260051b850101111561198257600080fd5b6020928301989097509590910135949350505050565b6000602082840312156119aa57600080fd5b61116282611753565b6000602082840312156119c557600080fd5b5035919050565b6000602082840312156119de57600080fd5b813561116281611c7d565b6000602082840312156119fb57600080fd5b815161116281611c7d565b60008060208385031215611a1957600080fd5b823567ffffffffffffffff80821115611a3157600080fd5b818501915085601f830112611a4557600080fd5b813581811115611a5457600080fd5b866020828501011115611a6657600080fd5b60209290920196919550909350505050565b60008060408385031215611a8b57600080fd5b823591506117a860208401611737565b60008151808452611ab3816020860160208601611bb9565b601f01601f19169290920160200192915050565b60008351611ad9818460208801611bb9565b835190830190611aed818360208801611bb9565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611b2990830184611a9b565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015611b6b57835183529284019291840191600101611b4f565b50909695505050505050565b6020815260006111626020830184611a9b565b60008219821115611b9d57611b9d611c3b565b500190565b600082821015611bb457611bb4611c3b565b500390565b60005b83811015611bd4578181015183820152602001611bbc565b83811115610e295750506000910152565b600181811c90821680611bf957607f821691505b60208210811415611c1a57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611c3457611c34611c3b565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610de257600080fdfea2646970667358221220673a800dc0e961a63342daf0946c76ff6905ca5c8a188130ba2d90d04c6f852a64736f6c63430008070033
Deployed Bytecode
0x6080604052600436106101cd5760003560e01c80636352211e116100f7578063a22cb46511610095578063c87b56dd11610064578063c87b56dd14610529578063dc33e68114610549578063e985e9c514610569578063f2fde38b146105b257600080fd5b8063a22cb465146104c3578063b3ab66b0146104e3578063b88d4fde146104f6578063c30bf3181461051657600080fd5b806370a08231116100d157806370a082311461045b578063715018a61461047b5780638da5cb5b1461049057806395d89b41146104ae57600080fd5b80636352211e1461040557806365f4fd121461042557806368010d6e1461043b57600080fd5b80632333f3c41161016f57806342842e0e1161013e57806342842e0e1461038557806345149bb3146103a557806355f804b3146103c55780635aca1bb6146103e557600080fd5b80632333f3c41461030357806323b872dd146103305780633ccfd60b146103505780634200e4fc1461036557600080fd5b806307d3b358116101ab57806307d3b35814610256578063081812fc14610286578063095ea7b3146102be57806318160ddd146102e057600080fd5b806301ffc9a7146101d257806304d0a6471461020757806306fdde0314610234575b600080fd5b3480156101de57600080fd5b506101f26101ed3660046119cc565b6105d2565b60405190151581526020015b60405180910390f35b34801561021357600080fd5b50610227610222366004611763565b610624565b6040516101fe9190611b33565b34801561024057600080fd5b50610249610704565b6040516101fe9190611b77565b34801561026257600080fd5b506101f2610271366004611763565b600e6020526000908152604090205460ff1681565b34801561029257600080fd5b506102a66102a13660046119b3565b610796565b6040516001600160a01b0390911681526020016101fe565b3480156102ca57600080fd5b506102de6102d93660046118f3565b6107da565b005b3480156102ec57600080fd5b50600254600154035b6040519081526020016101fe565b34801561030f57600080fd5b506102f561031e366004611763565b600d6020526000908152604090205481565b34801561033c57600080fd5b506102de61034b3660046117b1565b61087a565b34801561035c57600080fd5b506102de610a0b565b34801561037157600080fd5b506102de610380366004611998565b610b03565b34801561039157600080fd5b506102de6103a03660046117b1565b610b1e565b3480156103b157600080fd5b506102de6103c03660046119b3565b610b3e565b3480156103d157600080fd5b506102de6103e0366004611a06565b610b4b565b3480156103f157600080fd5b506102de610400366004611998565b610b5f565b34801561041157600080fd5b506102a66104203660046119b3565b610b7a565b34801561043157600080fd5b506102f5600b5481565b34801561044757600080fd5b506102de610456366004611a78565b610b85565b34801561046757600080fd5b506102f5610476366004611763565b610bfb565b34801561048757600080fd5b506102de610c4a565b34801561049c57600080fd5b506000546001600160a01b03166102a6565b3480156104ba57600080fd5b50610249610c5e565b3480156104cf57600080fd5b506102de6104de3660046118c9565b610c6d565b6102de6104f13660046119b3565b610cd9565b34801561050257600080fd5b506102de6105113660046117ed565b610de5565b6102de61052436600461191d565b610e2f565b34801561053557600080fd5b506102496105443660046119b3565b6110e4565b34801561055557600080fd5b506102f5610564366004611763565b611169565b34801561057557600080fd5b506101f261058436600461177e565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b3480156105be57600080fd5b506102de6105cd366004611763565b611194565b60006301ffc9a760e01b6001600160e01b03198316148061060357506380ac58cd60e01b6001600160e01b03198316145b8061061e5750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600061063183610bfb565b905060008167ffffffffffffffff81111561064e5761064e611c67565b604051908082528060200260200182016040528015610677578160200160208202803683370190505b5090506000805b838110801561068f5750610bb88211155b156106fa57600061069f83610b7a565b9050866001600160a01b0316816001600160a01b031614156106e757828483815181106106ce576106ce611c51565b6020908102919091010152816106e381611c20565b9250505b826106f181611c20565b9350505061067e565b5090949350505050565b60606003805461071390611be5565b80601f016020809104026020016040519081016040528092919081815260200182805461073f90611be5565b801561078c5780601f106107615761010080835404028352916020019161078c565b820191906000526020600020905b81548152906001019060200180831161076f57829003601f168201915b5050505050905090565b60006107a18261120a565b6107be576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b60006107e582610b7a565b9050336001600160a01b0382161461081e576108018133610584565b61081e576040516367d9dca160e11b815260040160405180910390fd5b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061088582611232565b9050836001600160a01b0316816001600160a01b0316146108b85760405162a1148160e81b815260040160405180910390fd5b60008281526007602052604090208054338082146001600160a01b03881690911417610905576108e88633610584565b61090557604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b03851661092c57604051633a954ecd60e21b815260040160405180910390fd5b801561093757600082555b6001600160a01b038681166000908152600660205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260056020526040902055600160e11b83166109c257600184016000818152600560205260409020546109c05760015481146109c05760008181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b610a13611293565b60026009541415610a6b5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b6002600955604051600090339047908381818185875af1925050503d8060008114610ab2576040519150601f19603f3d011682016040523d82523d6000602084013e610ab7565b606091505b5050905080610afb5760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b6044820152606401610a62565b506001600955565b610b0b611293565b600c805460ff1916911515919091179055565b610b3983838360405180602001604052806000815250610de5565b505050565b610b46611293565b600b55565b610b53611293565b610b39600f838361169e565b610b67611293565b600a805460ff1916911515919091179055565b600061061e82611232565b610b8d611293565b610bb882610b9e6002546001540390565b610ba89190611b8a565b1115610bed5760405162461bcd60e51b81526020600482015260146024820152734578636565647320746f74616c20737570706c7960601b6044820152606401610a62565b610bf781836112ed565b5050565b60006001600160a01b038216610c24576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b610c52611293565b610c5c6000611307565b565b60606004805461071390611be5565b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b323314610d285760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e747261637400006044820152606401610a62565b600a5460ff16610d7a5760405162461bcd60e51b815260206004820152601d60248201527f7075626c69632073616c6520686173206e6f7420626567756e207965740000006044820152606401610a62565b610bb881610d8b6002546001540390565b610d959190611b8a565b1115610dd85760405162461bcd60e51b815260206004820152601260248201527172656163686564206d617820737570706c7960701b6044820152606401610a62565b610de233826112ed565b50565b610df084848461087a565b6001600160a01b0383163b15610e2957610e0c84848484611357565b610e29576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b323314610e7e5760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e747261637400006044820152606401610a62565b6040516bffffffffffffffffffffffff193360601b166020820152600090603401604051602081830303815290604052805190602001209050610ef884848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600b54915084905061144e565b610f3c5760405162461bcd60e51b815260206004820152601560248201527424b73b30b634b21026b2b935b63290283937b7b31760591b6044820152606401610a62565b600c5460ff16610f8e5760405162461bcd60e51b815260206004820181905260248201527f77686974656c6973742073616c6520686173206e6f7420626567756e207965746044820152606401610a62565b610bb882610f9f6002546001540390565b610fa99190611b8a565b1115610fee5760405162461bcd60e51b81526020600482015260146024820152734578636565647320746f74616c20737570706c7960601b6044820152606401610a62565b336000908152600e602052604090205460ff1661102e57336000908152600e60209081526040808320805460ff19166001179055600d9091529020600390555b336000908152600d6020526040812054611049908490611ba2565b10156110ac5760405162461bcd60e51b815260206004820152602c60248201527f4164647265737320616c7265616479206d696e746564206e756d206f6620746f60448201526b1ad95b9cc8185b1b1bddd95960a21b6064820152608401610a62565b336000908152600d60205260409020546110c7908390611ba2565b336000818152600d6020526040902091909155610e2990836112ed565b60606110ef8261120a565b61110c57604051630a14c4b560e41b815260040160405180910390fd5b6000611116611464565b90508051600014156111375760405180602001604052806000815250611162565b8061114184611473565b604051602001611152929190611ac7565b6040516020818303038152906040525b9392505050565b6001600160a01b0381166000908152600660205260408082205467ffffffffffffffff911c1661061e565b61119c611293565b6001600160a01b0381166112015760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a62565b610de281611307565b60006001548210801561061e575050600090815260056020526040902054600160e01b161590565b60008160015481101561127a57600081815260056020526040902054600160e01b8116611278575b8061116257506000190160008181526005602052604090205461125a565b505b604051636f96cda160e11b815260040160405180910390fd5b6000546001600160a01b03163314610c5c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a62565b610bf78282604051806020016040528060008152506114c1565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061138c903390899088908890600401611af6565b602060405180830381600087803b1580156113a657600080fd5b505af19250505080156113d6575060408051601f3d908101601f191682019092526113d3918101906119e9565b60015b611431573d808015611404576040519150601f19603f3d011682016040523d82523d6000602084013e611409565b606091505b508051611429576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b60008261145b858461152e565b14949350505050565b6060600f805461071390611be5565b606060a06040510180604052602081039150506000815280825b600183039250600a81066030018353600a9004806114aa576114af565b61148d565b50819003601f19909101908152919050565b6114cb838361157b565b6001600160a01b0383163b15610b39576001548281035b6114f56000868380600101945086611357565b611512576040516368d2bf6b60e11b815260040160405180910390fd5b8181106114e257816001541461152757600080fd5b5050505050565b600081815b84518110156115735761155f8286838151811061155257611552611c51565b6020026020010151611672565b91508061156b81611c20565b915050611533565b509392505050565b6001548161159c5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526006602090815260408083208054680100000000000000018802019055848352600590915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b81811461164b57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611613565b508161166957604051622e076360e81b815260040160405180910390fd5b60015550505050565b600081831061168e576000828152602084905260409020611162565b5060009182526020526040902090565b8280546116aa90611be5565b90600052602060002090601f0160209004810192826116cc5760008555611712565b82601f106116e55782800160ff19823516178555611712565b82800160010185558215611712579182015b828111156117125782358255916020019190600101906116f7565b5061171e929150611722565b5090565b5b8082111561171e5760008155600101611723565b80356001600160a01b038116811461174e57600080fd5b919050565b8035801515811461174e57600080fd5b60006020828403121561177557600080fd5b61116282611737565b6000806040838503121561179157600080fd5b61179a83611737565b91506117a860208401611737565b90509250929050565b6000806000606084860312156117c657600080fd5b6117cf84611737565b92506117dd60208501611737565b9150604084013590509250925092565b6000806000806080858703121561180357600080fd5b61180c85611737565b935061181a60208601611737565b925060408501359150606085013567ffffffffffffffff8082111561183e57600080fd5b818701915087601f83011261185257600080fd5b81358181111561186457611864611c67565b604051601f8201601f19908116603f0116810190838211818310171561188c5761188c611c67565b816040528281528a60208487010111156118a557600080fd5b82602086016020830137600060208483010152809550505050505092959194509250565b600080604083850312156118dc57600080fd5b6118e583611737565b91506117a860208401611753565b6000806040838503121561190657600080fd5b61190f83611737565b946020939093013593505050565b60008060006040848603121561193257600080fd5b833567ffffffffffffffff8082111561194a57600080fd5b818601915086601f83011261195e57600080fd5b81358181111561196d57600080fd5b8760208260051b850101111561198257600080fd5b6020928301989097509590910135949350505050565b6000602082840312156119aa57600080fd5b61116282611753565b6000602082840312156119c557600080fd5b5035919050565b6000602082840312156119de57600080fd5b813561116281611c7d565b6000602082840312156119fb57600080fd5b815161116281611c7d565b60008060208385031215611a1957600080fd5b823567ffffffffffffffff80821115611a3157600080fd5b818501915085601f830112611a4557600080fd5b813581811115611a5457600080fd5b866020828501011115611a6657600080fd5b60209290920196919550909350505050565b60008060408385031215611a8b57600080fd5b823591506117a860208401611737565b60008151808452611ab3816020860160208601611bb9565b601f01601f19169290920160200192915050565b60008351611ad9818460208801611bb9565b835190830190611aed818360208801611bb9565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611b2990830184611a9b565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015611b6b57835183529284019291840191600101611b4f565b50909695505050505050565b6020815260006111626020830184611a9b565b60008219821115611b9d57611b9d611c3b565b500190565b600082821015611bb457611bb4611c3b565b500390565b60005b83811015611bd4578181015183820152602001611bbc565b83811115610e295750506000910152565b600181811c90821680611bf957607f821691505b60208210811415611c1a57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611c3457611c34611c3b565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610de257600080fdfea2646970667358221220673a800dc0e961a63342daf0946c76ff6905ca5c8a188130ba2d90d04c6f852a64736f6c63430008070033
Deployed Bytecode Sourcemap
68753:3561:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29576:639;;;;;;;;;;-1:-1:-1;29576:639:0;;;;;:::i;:::-;;:::i;:::-;;;8100:14:1;;8093:22;8075:41;;8063:2;8048:18;29576:639:0;;;;;;;;70397:592;;;;;;;;;;-1:-1:-1;70397:592:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;30478:100::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;69039:55::-;;;;;;;;;;-1:-1:-1;69039:55:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;36961:218;;;;;;;;;;-1:-1:-1;36961:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;6761:32:1;;;6743:51;;6731:2;6716:18;36961:218:0;6597:203:1;36402:400:0;;;;;;;;;;-1:-1:-1;36402:400:0;;;;;:::i;:::-;;:::i;:::-;;26229:323;;;;;;;;;;-1:-1:-1;26503:12:0;;26487:13;;:28;26229:323;;;8273:25:1;;;8261:2;8246:18;26229:323:0;8127:177:1;68981:51:0;;;;;;;;;;-1:-1:-1;68981:51:0;;;;;:::i;:::-;;;;;;;;;;;;;;40600:2817;;;;;;;;;;-1:-1:-1;40600:2817:0;;;;;:::i;:::-;;:::i;72000:188::-;;;;;;;;;;;;;:::i;71506:93::-;;;;;;;;;;-1:-1:-1;71506:93:0;;;;;:::i;:::-;;:::i;43513:185::-;;;;;;;;;;-1:-1:-1;43513:185:0;;;;;:::i;:::-;;:::i;71607:112::-;;;;;;;;;;-1:-1:-1;71607:112:0;;;;;:::i;:::-;;:::i;71886:106::-;;;;;;;;;;-1:-1:-1;71886:106:0;;;;;:::i;:::-;;:::i;71405:93::-;;;;;;;;;;-1:-1:-1;71405:93:0;;;;;:::i;:::-;;:::i;31871:152::-;;;;;;;;;;-1:-1:-1;31871:152:0;;;;;:::i;:::-;;:::i;68903:28::-;;;;;;;;;;;;;;;;69304:226;;;;;;;;;;-1:-1:-1;69304:226:0;;;;;:::i;:::-;;:::i;27413:233::-;;;;;;;;;;-1:-1:-1;27413:233:0;;;;;:::i;:::-;;:::i;67862:103::-;;;;;;;;;;;;;:::i;67214:87::-;;;;;;;;;;-1:-1:-1;67260:7:0;67287:6;-1:-1:-1;;;;;67287:6:0;67214:87;;30654:104;;;;;;;;;;;;;:::i;37519:234::-;;;;;;;;;;-1:-1:-1;37519:234:0;;;;;:::i;:::-;;:::i;70999:396::-;;;;;;:::i;:::-;;:::i;44296:399::-;;;;;;;;;;-1:-1:-1;44296:399:0;;;;;:::i;:::-;;:::i;69538:850::-;;;;;;:::i;:::-;;:::i;30864:318::-;;;;;;;;;;-1:-1:-1;30864:318:0;;;;;:::i;:::-;;:::i;72196:113::-;;;;;;;;;;-1:-1:-1;72196:113:0;;;;;:::i;:::-;;:::i;37910:164::-;;;;;;;;;;-1:-1:-1;37910:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;38031:25:0;;;38007:4;38031:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;37910:164;68120:201;;;;;;;;;;-1:-1:-1;68120:201:0;;;;;:::i;:::-;;:::i;29576:639::-;29661:4;-1:-1:-1;;;;;;;;;29985:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;30062:25:0;;;29985:102;:179;;;-1:-1:-1;;;;;;;;;;30139:25:0;;;29985:179;29965:199;29576:639;-1:-1:-1;;29576:639:0:o;70397:592::-;70453:16;70482:20;70505:17;70515:6;70505:9;:17::i;:::-;70482:40;;70533:25;70575:12;70561:27;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;70561:27:0;;70533:55;;70599:22;70636:13;70666:290;70681:12;70673:5;:20;:46;;;;;70715:4;70697:14;:22;;70673:46;70666:290;;;70736:18;70757:23;70765:14;70757:7;:23::i;:::-;70736:44;;70813:6;-1:-1:-1;;;;;70799:20:0;:10;-1:-1:-1;;;;;70799:20:0;;70795:119;;;70858:14;70840:8;70849:5;70840:15;;;;;;;;:::i;:::-;;;;;;;;;;:32;70891:7;;;;:::i;:::-;;;;70795:119;70928:16;;;;:::i;:::-;;;;70721:235;70666:290;;;-1:-1:-1;70973:8:0;;70397:592;-1:-1:-1;;;;70397:592:0:o;30478:100::-;30532:13;30565:5;30558:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30478:100;:::o;36961:218::-;37037:7;37062:16;37070:7;37062;:16::i;:::-;37057:64;;37087:34;;-1:-1:-1;;;37087:34:0;;;;;;;;;;;37057:64;-1:-1:-1;37141:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;37141:30:0;;36961:218::o;36402:400::-;36483:13;36499:16;36507:7;36499;:16::i;:::-;36483:32;-1:-1:-1;60457:10:0;-1:-1:-1;;;;;36532:28:0;;;36528:175;;36580:44;36597:5;60457:10;37910:164;:::i;36580:44::-;36575:128;;36652:35;;-1:-1:-1;;;36652:35:0;;;;;;;;;;;36575:128;36715:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;36715:35:0;-1:-1:-1;;;;;36715:35:0;;;;;;;;;36766:28;;36715:24;;36766:28;;;;;;;36472:330;36402:400;;:::o;40600:2817::-;40734:27;40764;40783:7;40764:18;:27::i;:::-;40734:57;;40849:4;-1:-1:-1;;;;;40808:45:0;40824:19;-1:-1:-1;;;;;40808:45:0;;40804:86;;40862:28;;-1:-1:-1;;;40862:28:0;;;;;;;;;;;40804:86;40904:27;39708:24;;;:15;:24;;;;;39936:26;;60457:10;39333:30;;;-1:-1:-1;;;;;39026:28:0;;39311:20;;;39308:56;41090:180;;41183:43;41200:4;60457:10;37910:164;:::i;41183:43::-;41178:92;;41235:35;;-1:-1:-1;;;41235:35:0;;;;;;;;;;;41178:92;-1:-1:-1;;;;;41287:16:0;;41283:52;;41312:23;;-1:-1:-1;;;41312:23:0;;;;;;;;;;;41283:52;41484:15;41481:160;;;41624:1;41603:19;41596:30;41481:160;-1:-1:-1;;;;;42021:24:0;;;;;;;:18;:24;;;;;;42019:26;;-1:-1:-1;;42019:26:0;;;42090:22;;;;;;;;;42088:24;;-1:-1:-1;42088:24:0;;;35260:11;35235:23;35231:41;35218:63;-1:-1:-1;;;35218:63:0;42383:26;;;;:17;:26;;;;;:175;-1:-1:-1;;;42678:47:0;;42674:627;;42783:1;42773:11;;42751:19;42906:30;;;:17;:30;;;;;;42902:384;;43044:13;;43029:11;:28;43025:242;;43191:30;;;;:17;:30;;;;;:52;;;43025:242;42732:569;42674:627;43348:7;43344:2;-1:-1:-1;;;;;43329:27:0;43338:4;-1:-1:-1;;;;;43329:27:0;;;;;;;;;;;40723:2694;;;40600:2817;;;:::o;72000:188::-;67100:13;:11;:13::i;:::-;64139:1:::1;64737:7;;:19;;64729:63;;;::::0;-1:-1:-1;;;64729:63:0;;12385:2:1;64729:63:0::1;::::0;::::1;12367:21:1::0;12424:2;12404:18;;;12397:30;12463:33;12443:18;;;12436:61;12514:18;;64729:63:0::1;;;;;;;;;64139:1;64870:7;:18:::0;72083:49:::2;::::0;72065:12:::2;::::0;72083:10:::2;::::0;72106:21:::2;::::0;72065:12;72083:49;72065:12;72083:49;72106:21;72083:10;:49:::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;72064:68;;;72152:7;72144:36;;;::::0;-1:-1:-1;;;72144:36:0;;12040:2:1;72144:36:0::2;::::0;::::2;12022:21:1::0;12079:2;12059:18;;;12052:30;-1:-1:-1;;;12098:18:1;;;12091:46;12154:18;;72144:36:0::2;11838:340:1::0;72144:36:0::2;-1:-1:-1::0;64095:1:0::1;65049:7;:22:::0;72000:188::o;71506:93::-;67100:13;:11;:13::i;:::-;71573:11:::1;:18:::0;;-1:-1:-1;;71573:18:0::1;::::0;::::1;;::::0;;;::::1;::::0;;71506:93::o;43513:185::-;43651:39;43668:4;43674:2;43678:7;43651:39;;;;;;;;;;;;:16;:39::i;:::-;43513:185;;;:::o;71607:112::-;67100:13;:11;:13::i;:::-;71684::::1;:27:::0;71607:112::o;71886:106::-;67100:13;:11;:13::i;:::-;71961:23:::1;:13;71977:7:::0;;71961:23:::1;:::i;71405:93::-:0;67100:13;:11;:13::i;:::-;71469:14:::1;:21:::0;;-1:-1:-1;;71469:21:0::1;::::0;::::1;;::::0;;;::::1;::::0;;71405:93::o;31871:152::-;31943:7;31986:27;32005:7;31986:18;:27::i;69304:226::-;67100:13;:11;:13::i;:::-;68892:4:::1;69440:3;69424:13;26503:12:::0;;26487:13;;:28;;26229:323;69424:13:::1;:19;;;;:::i;:::-;:33;;69416:66;;;::::0;-1:-1:-1;;;69416:66:0;;9853:2:1;69416:66:0::1;::::0;::::1;9835:21:1::0;9892:2;9872:18;;;9865:30;-1:-1:-1;;;9911:18:1;;;9904:50;9971:18;;69416:66:0::1;9651:344:1::0;69416:66:0::1;69493:29;69503:13;69518:3;69493:9;:29::i;:::-;69304:226:::0;;:::o;27413:233::-;27485:7;-1:-1:-1;;;;;27509:19:0;;27505:60;;27537:28;;-1:-1:-1;;;27537:28:0;;;;;;;;;;;27505:60;-1:-1:-1;;;;;;27583:25:0;;;;;:18;:25;;;;;;21572:13;27583:55;;27413:233::o;67862:103::-;67100:13;:11;:13::i;:::-;67927:30:::1;67954:1;67927:18;:30::i;:::-;67862:103::o:0;30654:104::-;30710:13;30743:7;30736:14;;;;;:::i;37519:234::-;60457:10;37614:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;37614:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;37614:60:0;;;;;;;;;;37690:55;;8075:41:1;;;37614:49:0;;60457:10;37690:55;;8048:18:1;37690:55:0;;;;;;;37519:234;;:::o;70999:396::-;69216:9;69229:10;69216:23;69208:66;;;;-1:-1:-1;;;69208:66:0;;10615:2:1;69208:66:0;;;10597:21:1;10654:2;10634:18;;;10627:30;10693:32;10673:18;;;10666:60;10743:18;;69208:66:0;10413:354:1;69208:66:0;71144:14:::1;::::0;::::1;;71122:93;;;::::0;-1:-1:-1;;;71122:93:0;;11682:2:1;71122:93:0::1;::::0;::::1;11664:21:1::0;11721:2;11701:18;;;11694:30;11760:31;11740:18;;;11733:59;11809:18;;71122:93:0::1;11480:353:1::0;71122:93:0::1;68892:4;71264:8;71248:13;26503:12:::0;;26487:13;;:28;;26229:323;71248:13:::1;:24;;;;:::i;:::-;:38;;71226:106;;;::::0;-1:-1:-1;;;71226:106:0;;10974:2:1;71226:106:0::1;::::0;::::1;10956:21:1::0;11013:2;10993:18;;;10986:30;-1:-1:-1;;;11032:18:1;;;11025:48;11090:18;;71226:106:0::1;10772:342:1::0;71226:106:0::1;71352:31;71362:10;71374:8;71352:9;:31::i;:::-;70999:396:::0;:::o;44296:399::-;44463:31;44476:4;44482:2;44486:7;44463:12;:31::i;:::-;-1:-1:-1;;;;;44509:14:0;;;:19;44505:183;;44548:56;44579:4;44585:2;44589:7;44598:5;44548:30;:56::i;:::-;44543:145;;44632:40;;-1:-1:-1;;;44632:40:0;;;;;;;;;;;44543:145;44296:399;;;;:::o;69538:850::-;69216:9;69229:10;69216:23;69208:66;;;;-1:-1:-1;;;69208:66:0;;10615:2:1;69208:66:0;;;10597:21:1;10654:2;10634:18;;;10627:30;10693:32;10673:18;;;10666:60;10743:18;;69208:66:0;10413:354:1;69208:66:0;69678:28:::1;::::0;-1:-1:-1;;69695:10:0::1;5827:2:1::0;5823:15;5819:53;69678:28:0::1;::::0;::::1;5807:66:1::0;69653:12:0::1;::::0;5889::1;;69678:28:0::1;;;;;;;;;;;;69668:39;;;;;;69653:54;;69726:53;69745:12;;69726:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;;69759:13:0::1;::::0;;-1:-1:-1;69774:4:0;;-1:-1:-1;69726:18:0::1;:53::i;:::-;69718:100;;;::::0;-1:-1:-1;;;69718:100:0;;9503:2:1;69718:100:0::1;::::0;::::1;9485:21:1::0;9542:2;9522:18;;;9515:30;-1:-1:-1;;;9561:18:1;;;9554:51;9622:18;;69718:100:0::1;9301:345:1::0;69718:100:0::1;69837:11;::::0;::::1;;69829:56;;;::::0;-1:-1:-1;;;69829:56:0;;8735:2:1;69829:56:0::1;::::0;::::1;8717:21:1::0;;;8754:18;;;8747:30;8813:34;8793:18;;;8786:62;8865:18;;69829:56:0::1;8533:356:1::0;69829:56:0::1;68892:4;69920:8;69904:13;26503:12:::0;;26487:13;;:28;;26229:323;69904:13:::1;:24;;;;:::i;:::-;:38;;69896:71;;;::::0;-1:-1:-1;;;69896:71:0;;9853:2:1;69896:71:0::1;::::0;::::1;9835:21:1::0;9892:2;9872:18;;;9865:30;-1:-1:-1;;;9911:18:1;;;9904:50;9971:18;;69896:71:0::1;9651:344:1::0;69896:71:0::1;70007:10;69983:35;::::0;;;:23:::1;:35;::::0;;;;;::::1;;69978:158;;70059:10;70035:35;::::0;;;:23:::1;:35;::::0;;;;;;;:42;;-1:-1:-1;;70035:42:0::1;70073:4;70035:42;::::0;;70092:16:::1;:28:::0;;;;;70123:1:::1;70092:32:::0;;69978:158:::1;70171:10;70197:1;70154:28:::0;;;:16:::1;:28;::::0;;;;;:39:::1;::::0;70185:8;;70154:39:::1;:::i;:::-;:44;;70146:101;;;::::0;-1:-1:-1;;;70146:101:0;;10202:2:1;70146:101:0::1;::::0;::::1;10184:21:1::0;10241:2;10221:18;;;10214:30;10280:34;10260:18;;;10253:62;-1:-1:-1;;;10331:18:1;;;10324:42;10383:19;;70146:101:0::1;10000:408:1::0;70146:101:0::1;70306:10;70289:28;::::0;;;:16:::1;:28;::::0;;;;;:39:::1;::::0;70320:8;;70289:39:::1;:::i;:::-;70275:10;70258:28;::::0;;;:16:::1;:28;::::0;;;;:70;;;;70339:31:::1;::::0;70361:8;70339:9:::1;:31::i;30864:318::-:0;30937:13;30968:16;30976:7;30968;:16::i;:::-;30963:59;;30993:29;;-1:-1:-1;;;30993:29:0;;;;;;;;;;;30963:59;31035:21;31059:10;:8;:10::i;:::-;31035:34;;31093:7;31087:21;31112:1;31087:26;;:87;;;;;;;;;;;;;;;;;31140:7;31149:18;31159:7;31149:9;:18::i;:::-;31123:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;31087:87;31080:94;30864:318;-1:-1:-1;;;30864:318:0:o;72196:113::-;-1:-1:-1;;;;;27817:25:0;;72254:7;27817:25;;;:18;:25;;21710:2;27817:25;;;;21572:13;27817:50;;27816:82;72281:20;27728:178;68120:201;67100:13;:11;:13::i;:::-;-1:-1:-1;;;;;68209:22:0;::::1;68201:73;;;::::0;-1:-1:-1;;;68201:73:0;;9096:2:1;68201:73:0::1;::::0;::::1;9078:21:1::0;9135:2;9115:18;;;9108:30;9174:34;9154:18;;;9147:62;-1:-1:-1;;;9225:18:1;;;9218:36;9271:19;;68201:73:0::1;8894:402:1::0;68201:73:0::1;68285:28;68304:8;68285:18;:28::i;38332:282::-:0;38397:4;38487:13;;38477:7;:23;38434:153;;;;-1:-1:-1;;38538:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;38538:44:0;:49;;38332:282::o;33026:1275::-;33093:7;33128;33230:13;;33223:4;:20;33219:1015;;;33268:14;33285:23;;;:17;:23;;;;;;-1:-1:-1;;;33374:24:0;;33370:845;;34039:113;34046:11;34039:113;;-1:-1:-1;;;34117:6:0;34099:25;;;;:17;:25;;;;;;34039:113;;33370:845;33245:989;33219:1015;34262:31;;-1:-1:-1;;;34262:31:0;;;;;;;;;;;67379:132;67260:7;67287:6;-1:-1:-1;;;;;67287:6:0;60457:10;67443:23;67435:68;;;;-1:-1:-1;;;67435:68:0;;11321:2:1;67435:68:0;;;11303:21:1;;;11340:18;;;11333:30;11399:34;11379:18;;;11372:62;11451:18;;67435:68:0;11119:356:1;54202:112:0;54279:27;54289:2;54293:8;54279:27;;;;;;;;;;;;:9;:27::i;68481:191::-;68555:16;68574:6;;-1:-1:-1;;;;;68591:17:0;;;-1:-1:-1;;;;;;68591:17:0;;;;;;68624:40;;68574:6;;;;;;;68624:40;;68555:16;68624:40;68544:128;68481:191;:::o;46779:716::-;46963:88;;-1:-1:-1;;;46963:88:0;;46942:4;;-1:-1:-1;;;;;46963:45:0;;;;;:88;;60457:10;;47030:4;;47036:7;;47045:5;;46963:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;46963:88:0;;;;;;;;-1:-1:-1;;46963:88:0;;;;;;;;;;;;:::i;:::-;;;46959:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;47246:13:0;;47242:235;;47292:40;;-1:-1:-1;;;47292:40:0;;;;;;;;;;;47242:235;47435:6;47429:13;47420:6;47416:2;47412:15;47405:38;46959:529;-1:-1:-1;;;;;;47122:64:0;-1:-1:-1;;;47122:64:0;;-1:-1:-1;46779:716:0;;;;;;:::o;1219:190::-;1344:4;1397;1368:25;1381:5;1388:4;1368:12;:25::i;:::-;:33;;1219:190;-1:-1:-1;;;;1219:190:0:o;71764:114::-;71824:13;71857;71850:20;;;;;:::i;60577:1745::-;60642:17;61076:4;61069;61063:11;61059:22;61168:1;61162:4;61155:15;61243:4;61240:1;61236:12;61229:19;;;61325:1;61320:3;61313:14;61429:3;61668:5;61650:428;61716:1;61711:3;61707:11;61700:18;;61887:2;61881:4;61877:13;61873:2;61869:22;61864:3;61856:36;61981:2;61971:13;;;62038:25;;62056:5;;62038:25;61650:428;;;-1:-1:-1;62108:13:0;;;-1:-1:-1;;62223:14:0;;;62285:19;;;62223:14;60577:1745;-1:-1:-1;60577:1745:0:o;53429:689::-;53560:19;53566:2;53570:8;53560:5;:19::i;:::-;-1:-1:-1;;;;;53621:14:0;;;:19;53617:483;;53675:13;;53723:14;;;53756:233;53787:62;53826:1;53830:2;53834:7;;;;;;53843:5;53787:30;:62::i;:::-;53782:167;;53885:40;;-1:-1:-1;;;53885:40:0;;;;;;;;;;;53782:167;53984:3;53976:5;:11;53756:233;;54071:3;54054:13;;:20;54050:34;;54076:8;;;54050:34;53642:458;;53429:689;;;:::o;2086:296::-;2169:7;2212:4;2169:7;2227:118;2251:5;:12;2247:1;:16;2227:118;;;2300:33;2310:12;2324:5;2330:1;2324:8;;;;;;;;:::i;:::-;;;;;;;2300:9;:33::i;:::-;2285:48;-1:-1:-1;2265:3:0;;;;:::i;:::-;;;;2227:118;;;-1:-1:-1;2362:12:0;2086:296;-1:-1:-1;;;2086:296:0:o;47957:2720::-;48053:13;;48081;48077:44;;48103:18;;-1:-1:-1;;;48103:18:0;;;;;;;;;;;48077:44;-1:-1:-1;;;;;48609:22:0;;;;;;:18;:22;;;;21710:2;48609:22;;;:71;;48647:32;48635:45;;48609:71;;;48923:31;;;:17;:31;;;;;-1:-1:-1;35691:15:0;;35665:24;35661:46;35260:11;35235:23;35231:41;35228:52;35218:63;;48923:173;;49158:23;;;;48923:31;;48609:22;;49923:25;48609:22;;49776:335;50191:1;50177:12;50173:20;50131:346;50232:3;50223:7;50220:16;50131:346;;50450:7;50440:8;50437:1;50410:25;50407:1;50404;50399:59;50285:1;50272:15;50131:346;;;-1:-1:-1;50510:13:0;50506:45;;50532:19;;-1:-1:-1;;;50532:19:0;;;;;;;;;;;50506:45;50568:13;:19;-1:-1:-1;43513:185:0;;;:::o;8293:149::-;8356:7;8387:1;8383;:5;:51;;8518:13;8612:15;;;8648:4;8641:15;;;8695:4;8679:21;;8383:51;;;-1:-1:-1;8518:13:0;8612:15;;;8648:4;8641:15;8695:4;8679:21;;;8293:149::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:173:1;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:70;;177:1;174;167:12;111:70;14:173;;;:::o;192:160::-;257:20;;313:13;;306:21;296:32;;286:60;;342:1;339;332:12;357:186;416:6;469:2;457:9;448:7;444:23;440:32;437:52;;;485:1;482;475:12;437:52;508:29;527:9;508:29;:::i;548:260::-;616:6;624;677:2;665:9;656:7;652:23;648:32;645:52;;;693:1;690;683:12;645:52;716:29;735:9;716:29;:::i;:::-;706:39;;764:38;798:2;787:9;783:18;764:38;:::i;:::-;754:48;;548:260;;;;;:::o;813:328::-;890:6;898;906;959:2;947:9;938:7;934:23;930:32;927:52;;;975:1;972;965:12;927:52;998:29;1017:9;998:29;:::i;:::-;988:39;;1046:38;1080:2;1069:9;1065:18;1046:38;:::i;:::-;1036:48;;1131:2;1120:9;1116:18;1103:32;1093:42;;813:328;;;;;:::o;1146:1138::-;1241:6;1249;1257;1265;1318:3;1306:9;1297:7;1293:23;1289:33;1286:53;;;1335:1;1332;1325:12;1286:53;1358:29;1377:9;1358:29;:::i;:::-;1348:39;;1406:38;1440:2;1429:9;1425:18;1406:38;:::i;:::-;1396:48;;1491:2;1480:9;1476:18;1463:32;1453:42;;1546:2;1535:9;1531:18;1518:32;1569:18;1610:2;1602:6;1599:14;1596:34;;;1626:1;1623;1616:12;1596:34;1664:6;1653:9;1649:22;1639:32;;1709:7;1702:4;1698:2;1694:13;1690:27;1680:55;;1731:1;1728;1721:12;1680:55;1767:2;1754:16;1789:2;1785;1782:10;1779:36;;;1795:18;;:::i;:::-;1870:2;1864:9;1838:2;1924:13;;-1:-1:-1;;1920:22:1;;;1944:2;1916:31;1912:40;1900:53;;;1968:18;;;1988:22;;;1965:46;1962:72;;;2014:18;;:::i;:::-;2054:10;2050:2;2043:22;2089:2;2081:6;2074:18;2129:7;2124:2;2119;2115;2111:11;2107:20;2104:33;2101:53;;;2150:1;2147;2140:12;2101:53;2206:2;2201;2197;2193:11;2188:2;2180:6;2176:15;2163:46;2251:1;2246:2;2241;2233:6;2229:15;2225:24;2218:35;2272:6;2262:16;;;;;;;1146:1138;;;;;;;:::o;2289:254::-;2354:6;2362;2415:2;2403:9;2394:7;2390:23;2386:32;2383:52;;;2431:1;2428;2421:12;2383:52;2454:29;2473:9;2454:29;:::i;:::-;2444:39;;2502:35;2533:2;2522:9;2518:18;2502:35;:::i;2548:254::-;2616:6;2624;2677:2;2665:9;2656:7;2652:23;2648:32;2645:52;;;2693:1;2690;2683:12;2645:52;2716:29;2735:9;2716:29;:::i;:::-;2706:39;2792:2;2777:18;;;;2764:32;;-1:-1:-1;;;2548:254:1:o;2807:689::-;2902:6;2910;2918;2971:2;2959:9;2950:7;2946:23;2942:32;2939:52;;;2987:1;2984;2977:12;2939:52;3027:9;3014:23;3056:18;3097:2;3089:6;3086:14;3083:34;;;3113:1;3110;3103:12;3083:34;3151:6;3140:9;3136:22;3126:32;;3196:7;3189:4;3185:2;3181:13;3177:27;3167:55;;3218:1;3215;3208:12;3167:55;3258:2;3245:16;3284:2;3276:6;3273:14;3270:34;;;3300:1;3297;3290:12;3270:34;3355:7;3348:4;3338:6;3335:1;3331:14;3327:2;3323:23;3319:34;3316:47;3313:67;;;3376:1;3373;3366:12;3313:67;3407:4;3399:13;;;;3431:6;;-1:-1:-1;3469:20:1;;;;3456:34;;2807:689;-1:-1:-1;;;;2807:689:1:o;3501:180::-;3557:6;3610:2;3598:9;3589:7;3585:23;3581:32;3578:52;;;3626:1;3623;3616:12;3578:52;3649:26;3665:9;3649:26;:::i;3686:180::-;3745:6;3798:2;3786:9;3777:7;3773:23;3769:32;3766:52;;;3814:1;3811;3804:12;3766:52;-1:-1:-1;3837:23:1;;3686:180;-1:-1:-1;3686:180:1:o;3871:245::-;3929:6;3982:2;3970:9;3961:7;3957:23;3953:32;3950:52;;;3998:1;3995;3988:12;3950:52;4037:9;4024:23;4056:30;4080:5;4056:30;:::i;4121:249::-;4190:6;4243:2;4231:9;4222:7;4218:23;4214:32;4211:52;;;4259:1;4256;4249:12;4211:52;4291:9;4285:16;4310:30;4334:5;4310:30;:::i;4375:592::-;4446:6;4454;4507:2;4495:9;4486:7;4482:23;4478:32;4475:52;;;4523:1;4520;4513:12;4475:52;4563:9;4550:23;4592:18;4633:2;4625:6;4622:14;4619:34;;;4649:1;4646;4639:12;4619:34;4687:6;4676:9;4672:22;4662:32;;4732:7;4725:4;4721:2;4717:13;4713:27;4703:55;;4754:1;4751;4744:12;4703:55;4794:2;4781:16;4820:2;4812:6;4809:14;4806:34;;;4836:1;4833;4826:12;4806:34;4881:7;4876:2;4867:6;4863:2;4859:15;4855:24;4852:37;4849:57;;;4902:1;4899;4892:12;4849:57;4933:2;4925:11;;;;;4955:6;;-1:-1:-1;4375:592:1;;-1:-1:-1;;;;4375:592:1:o;5157:254::-;5225:6;5233;5286:2;5274:9;5265:7;5261:23;5257:32;5254:52;;;5302:1;5299;5292:12;5254:52;5338:9;5325:23;5315:33;;5367:38;5401:2;5390:9;5386:18;5367:38;:::i;5416:257::-;5457:3;5495:5;5489:12;5522:6;5517:3;5510:19;5538:63;5594:6;5587:4;5582:3;5578:14;5571:4;5564:5;5560:16;5538:63;:::i;:::-;5655:2;5634:15;-1:-1:-1;;5630:29:1;5621:39;;;;5662:4;5617:50;;5416:257;-1:-1:-1;;5416:257:1:o;5912:470::-;6091:3;6129:6;6123:13;6145:53;6191:6;6186:3;6179:4;6171:6;6167:17;6145:53;:::i;:::-;6261:13;;6220:16;;;;6283:57;6261:13;6220:16;6317:4;6305:17;;6283:57;:::i;:::-;6356:20;;5912:470;-1:-1:-1;;;;5912:470:1:o;6805:488::-;-1:-1:-1;;;;;7074:15:1;;;7056:34;;7126:15;;7121:2;7106:18;;7099:43;7173:2;7158:18;;7151:34;;;7221:3;7216:2;7201:18;;7194:31;;;6999:4;;7242:45;;7267:19;;7259:6;7242:45;:::i;:::-;7234:53;6805:488;-1:-1:-1;;;;;;6805:488:1:o;7298:632::-;7469:2;7521:21;;;7591:13;;7494:18;;;7613:22;;;7440:4;;7469:2;7692:15;;;;7666:2;7651:18;;;7440:4;7735:169;7749:6;7746:1;7743:13;7735:169;;;7810:13;;7798:26;;7879:15;;;;7844:12;;;;7771:1;7764:9;7735:169;;;-1:-1:-1;7921:3:1;;7298:632;-1:-1:-1;;;;;;7298:632:1:o;8309:219::-;8458:2;8447:9;8440:21;8421:4;8478:44;8518:2;8507:9;8503:18;8495:6;8478:44;:::i;12725:128::-;12765:3;12796:1;12792:6;12789:1;12786:13;12783:39;;;12802:18;;:::i;:::-;-1:-1:-1;12838:9:1;;12725:128::o;12858:125::-;12898:4;12926:1;12923;12920:8;12917:34;;;12931:18;;:::i;:::-;-1:-1:-1;12968:9:1;;12858:125::o;12988:258::-;13060:1;13070:113;13084:6;13081:1;13078:13;13070:113;;;13160:11;;;13154:18;13141:11;;;13134:39;13106:2;13099:10;13070:113;;;13201:6;13198:1;13195:13;13192:48;;;-1:-1:-1;;13236:1:1;13218:16;;13211:27;12988:258::o;13251:380::-;13330:1;13326:12;;;;13373;;;13394:61;;13448:4;13440:6;13436:17;13426:27;;13394:61;13501:2;13493:6;13490:14;13470:18;13467:38;13464:161;;;13547:10;13542:3;13538:20;13535:1;13528:31;13582:4;13579:1;13572:15;13610:4;13607:1;13600:15;13464:161;;13251:380;;;:::o;13636:135::-;13675:3;-1:-1:-1;;13696:17:1;;13693:43;;;13716:18;;:::i;:::-;-1:-1:-1;13763:1:1;13752:13;;13636:135::o;13776:127::-;13837:10;13832:3;13828:20;13825:1;13818:31;13868:4;13865:1;13858:15;13892:4;13889:1;13882:15;13908:127;13969:10;13964:3;13960:20;13957:1;13950:31;14000:4;13997:1;13990:15;14024:4;14021:1;14014:15;14040:127;14101:10;14096:3;14092:20;14089:1;14082:31;14132:4;14129:1;14122:15;14156:4;14153:1;14146:15;14172:131;-1:-1:-1;;;;;;14246:32:1;;14236:43;;14226:71;;14293:1;14290;14283:12
Swarm Source
ipfs://673a800dc0e961a63342daf0946c76ff6905ca5c8a188130ba2d90d04c6f852a
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.