Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
61 PAS
Holders
32
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
8 PASLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Pepeamigos
Compiler Version
v0.8.18+commit.87f61d96
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity >=0.8.9 <0.9.0; import 'erc721a/contracts/ERC721A.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; import '@openzeppelin/contracts/utils/cryptography/MerkleProof.sol'; import '@openzeppelin/contracts/security/ReentrancyGuard.sol'; import '@openzeppelin/contracts/utils/Strings.sol'; import '@openzeppelin/contracts/interfaces/IERC2981.sol'; import {DefaultOperatorFilterer} from 'operator-filter-registry/src/DefaultOperatorFilterer.sol'; contract Pepeamigos is ERC721A, Ownable, ReentrancyGuard, DefaultOperatorFilterer, IERC2981 { using Strings for uint256; bytes32 public merkleRoot; mapping(address => bool) public presaleClaimed; mapping(address => uint256) public mintCounter; mapping (address => uint256) public WalletMint; string public uriPrefix = ''; string public uriSuffix = '.json'; string public hiddenMetadataUri; uint256 public cost = 0.0042 ether; uint16 constant internal collectionRoyaltyAmount = 550; uint public freeMint = 1; uint256 public maxSupply; uint256 public maxMintAmountPerTx; uint256 public maxMintAmountPerW; bool public paused = false; bool public presaleM = true; bool public publicM = false; bool public revealed = false; constructor( string memory _tokenName, string memory _tokenSymbol, uint256 _maxSupply, uint256 _maxMintAmountPerTx, uint256 _maxMintAmountPerW, string memory _hiddenMetadataUri ) ERC721A(_tokenName, _tokenSymbol) { _safeMint(msg.sender, 1); maxSupply = _maxSupply; setMaxMintAmountPerTx(_maxMintAmountPerTx); setMaxMintAmountPerW(_maxMintAmountPerW); setHiddenMetadataUri(_hiddenMetadataUri); } modifier mintCompliance(uint256 _mintAmount) { require(_mintAmount > 0 && _mintAmount <= maxMintAmountPerTx, 'Invalid mint amount!'); require( mintCounter[_msgSender()] + _mintAmount <= maxMintAmountPerW, "exceeds max per address" ); require(totalSupply() + _mintAmount <= maxSupply, 'Max supply exceeded!'); mintCounter[_msgSender()] = mintCounter[_msgSender()] + _mintAmount; _; } modifier mintPriceCompliance(uint256 _mintAmount) { require(msg.value >= cost * _mintAmount, 'Insufficient funds!'); _; } modifier isValidMerkleProof(bytes32[] calldata _proof) { require(MerkleProof.verify( _proof, merkleRoot, keccak256(abi.encodePacked(msg.sender)) ) == true, "Not allowed origin"); _; } modifier onlyAccounts () { require(msg.sender == tx.origin, "Not allowed origin"); _; } function presaleMint(address account,uint256 _mintAmount, bytes32[] calldata _proof) public payable mintCompliance(_mintAmount) isValidMerkleProof(_proof) onlyAccounts { // Verify presale requirements require(presaleM, 'The presale sale is not enabled!'); require(!presaleClaimed[_msgSender()], 'Address already claimed!'); require(msg.sender == account, "Not allowed"); if(WalletMint[_msgSender()] < freeMint) { if(_mintAmount < freeMint) _mintAmount = freeMint; require(msg.value >= (_mintAmount - freeMint) * cost,"Notice:Claim Free NFT"); WalletMint[_msgSender()] += _mintAmount; _safeMint(_msgSender(), _mintAmount); } else { require(msg.value >= _mintAmount * cost,"Notice:Fund not enough"); WalletMint[_msgSender()] += _mintAmount; _safeMint(_msgSender(), _mintAmount); } } function publicSaleMint(uint256 _mintAmount) public payable mintCompliance(_mintAmount) mintPriceCompliance(_mintAmount) { require(!paused, 'The contract is paused!'); require(publicM, "PublicSale is OFF"); require(totalSupply() + _mintAmount <= maxSupply, "reached Max Supply"); _safeMint(_msgSender(), _mintAmount); } function mintForAddress(uint256 _mintAmount, address _receiver) public onlyOwner { require(totalSupply() + _mintAmount <= maxSupply, "reached Max Supply"); _safeMint(_receiver, _mintAmount); } function _startTokenId() internal view virtual override returns (uint256) { return 1; } function royaltyInfo(uint256 , uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount) { // calculate the amount of royalties uint256 _royaltyAmount = (salePrice * collectionRoyaltyAmount) / 1000; // 10% // return the amount of royalties and the recipient collection address return (address(this), _royaltyAmount); } function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721A, IERC165) returns (bool) { return interfaceId == type(IERC721A).interfaceId || interfaceId == type(IERC165).interfaceId || super.supportsInterface(interfaceId); } function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) { require(_exists(_tokenId), 'ERC721Metadata: URI query for nonexistent token'); if (revealed == false) { return hiddenMetadataUri; } string memory currentBaseURI = _baseURI(); return bytes(currentBaseURI).length > 0 ? string(abi.encodePacked(currentBaseURI, _tokenId.toString(), uriSuffix)) : ''; } function setRevealed(bool _state) public onlyOwner { revealed = _state; } function setCost(uint256 _cost) public onlyOwner { cost = _cost; } function setMaxMintAmountPerW(uint256 _maxMintAmountPerW) public onlyOwner { maxMintAmountPerW = _maxMintAmountPerW; } function setMaxMintAmountPerTx(uint256 _maxMintAmountPerTx) public onlyOwner { maxMintAmountPerTx = _maxMintAmountPerTx; } function setHiddenMetadataUri(string memory _hiddenMetadataUri) public onlyOwner { hiddenMetadataUri = _hiddenMetadataUri; } function setUriPrefix(string memory _uriPrefix) public onlyOwner { uriPrefix = _uriPrefix; } function setUriSuffix(string memory _uriSuffix) public onlyOwner { uriSuffix = _uriSuffix; } function togglePause() public onlyOwner { paused = !paused; } function setMerkleRoot(bytes32 _merkleRoot) public onlyOwner { merkleRoot = _merkleRoot; } function togglePresale() public onlyOwner { presaleM = !presaleM; } function togglePublicSale() public onlyOwner { publicM = !publicM; } function withdraw() public onlyOwner nonReentrant { (bool os, ) = payable(owner()).call{value: address(this).balance}(''); require(os); } function _baseURI() internal view virtual override returns (string memory) { return uriPrefix; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import {OperatorFilterer} from "./OperatorFilterer.sol"; import {CANONICAL_CORI_SUBSCRIPTION} from "./lib/Constants.sol"; /** * @title DefaultOperatorFilterer * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription. * @dev Please note that if your token contract does not provide an owner with EIP-173, it must provide * administration methods on the contract itself to interact with the registry otherwise the subscription * will be locked to the options set during construction. */ abstract contract DefaultOperatorFilterer is OperatorFilterer { /// @dev The constructor that is called when the contract is being deployed. constructor() OperatorFilterer(CANONICAL_CORI_SUBSCRIPTION, true) {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; import "../utils/introspection/IERC165.sol"; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be paid in that same unit of exchange. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol) pragma solidity ^0.8.0; import "./math/Math.sol"; /** * @dev String operations. */ library Strings { bytes16 private constant _SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { unchecked { uint256 length = Math.log10(value) + 1; string memory buffer = new string(length); uint256 ptr; /// @solidity memory-safe-assembly assembly { ptr := add(buffer, add(32, length)) } while (true) { ptr--; /// @solidity memory-safe-assembly assembly { mstore8(ptr, byte(mod(value, 10), _SYMBOLS)) } value /= 10; if (value == 0) break; } return buffer; } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { unchecked { return toHexString(value, Math.log256(value) + 1); } } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be _NOT_ENTERED require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Tree proofs. * * The tree and the proofs can be generated using our * https://github.com/OpenZeppelin/merkle-tree[JavaScript library]. * You will find a quickstart guide in the readme. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the merkle tree could be reinterpreted as a leaf value. * OpenZeppelin's JavaScript library generates merkle trees that are safe * against this attack out of the box. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Calldata version of {verify} * * _Available since v4.7._ */ function verifyCalldata( bytes32[] calldata proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProofCalldata(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Calldata version of {processProof} * * _Available since v4.7._ */ function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function multiProofVerify( bytes32[] memory proof, bool[] memory proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProof(proof, proofFlags, leaves) == root; } /** * @dev Calldata version of {multiProofVerify} * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function multiProofVerifyCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProofCalldata(proof, proofFlags, leaves) == root; } /** * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false * respectively. * * CAUTION: Not all merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer). * * _Available since v4.7._ */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Calldata version of {processMultiProof}. * * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details. * * _Available since v4.7._ */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { /// @solidity memory-safe-assembly assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; import './IERC721A.sol'; /** * @dev Interface of ERC721 token receiver. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @title ERC721A * * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721) * Non-Fungible Token Standard, including the Metadata extension. * Optimized for lower gas during batch mints. * * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...) * starting from `_startTokenId()`. * * Assumptions: * * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364). struct TokenApprovalRef { address value; } // ============================================================= // CONSTANTS // ============================================================= // Mask of an entry in packed address data. uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1; // The bit position of `numberMinted` in packed address data. uint256 private constant _BITPOS_NUMBER_MINTED = 64; // The bit position of `numberBurned` in packed address data. uint256 private constant _BITPOS_NUMBER_BURNED = 128; // The bit position of `aux` in packed address data. uint256 private constant _BITPOS_AUX = 192; // Mask of all 256 bits in packed address data except the 64 bits for `aux`. uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1; // The bit position of `startTimestamp` in packed ownership. uint256 private constant _BITPOS_START_TIMESTAMP = 160; // The bit mask of the `burned` bit in packed ownership. uint256 private constant _BITMASK_BURNED = 1 << 224; // The bit position of the `nextInitialized` bit in packed ownership. uint256 private constant _BITPOS_NEXT_INITIALIZED = 225; // The bit mask of the `nextInitialized` bit in packed ownership. uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225; // The bit position of `extraData` in packed ownership. uint256 private constant _BITPOS_EXTRA_DATA = 232; // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`. uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1; // The mask of the lower 160 bits for addresses. uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1; // The maximum `quantity` that can be minted with {_mintERC2309}. // This limit is to prevent overflows on the address data entries. // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309} // is required to cause an overflow, which is unrealistic. uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000; // The `Transfer` event signature is given by: // `keccak256(bytes("Transfer(address,address,uint256)"))`. bytes32 private constant _TRANSFER_EVENT_SIGNATURE = 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef; // ============================================================= // STORAGE // ============================================================= // The next token ID to be minted. uint256 private _currentIndex; // The number of tokens burned. uint256 private _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. // See {_packedOwnershipOf} implementation for details. // // Bits Layout: // - [0..159] `addr` // - [160..223] `startTimestamp` // - [224] `burned` // - [225] `nextInitialized` // - [232..255] `extraData` mapping(uint256 => uint256) private _packedOwnerships; // Mapping owner address to address data. // // Bits Layout: // - [0..63] `balance` // - [64..127] `numberMinted` // - [128..191] `numberBurned` // - [192..255] `aux` mapping(address => uint256) private _packedAddressData; // Mapping from token ID to approved address. mapping(uint256 => TokenApprovalRef) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; // ============================================================= // CONSTRUCTOR // ============================================================= constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } // ============================================================= // TOKEN COUNTING OPERATIONS // ============================================================= /** * @dev Returns the starting token ID. * To change the starting token ID, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as `_currentIndex` does not decrement, // and it is initialized to `_startTokenId()`. unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } // ============================================================= // ADDRESS DATA OPERATIONS // ============================================================= /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) public view virtual override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return (_packedAddressData[owner] >> _BITPOS_NUMBER_BURNED) & _BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return uint64(_packedAddressData[owner] >> _BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX); _packedAddressData[owner] = packed; } // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { // The interface IDs are constants representing the first 4 bytes // of the XOR of all function selectors in the interface. // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165) // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`) return interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165. interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721. interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata. } // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the token collection symbol. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, _toString(tokenId))) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, it can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } // ============================================================= // OWNERSHIPS OPERATIONS // ============================================================= /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around over time. */ function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @dev Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Returns the packed ownership data of `tokenId`. */ function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr) if (curr < _currentIndex) { uint256 packed = _packedOwnerships[curr]; // If not burned. if (packed & _BITMASK_BURNED == 0) { // Invariant: // There will always be an initialized ownership slot // (i.e. `ownership.addr != address(0) && ownership.burned == false`) // before an unintialized ownership slot // (i.e. `ownership.addr == address(0) && ownership.burned == false`) // Hence, `curr` will not underflow. // // We can directly compare the packed value. // If the address is zero, packed will be zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * @dev Returns the unpacked `TokenOwnership` struct from `packed`. */ function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) { ownership.addr = address(uint160(packed)); ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP); ownership.burned = packed & _BITMASK_BURNED != 0; ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA); } /** * @dev Packs ownership data into a single uint256. */ function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`. result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags)) } } /** * @dev Returns the `nextInitialized` flag set if `quantity` equals 1. */ function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) { // For branchless setting of the `nextInitialized` flag. assembly { // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`. result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1)) } } // ============================================================= // APPROVAL OPERATIONS // ============================================================= /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) public payable virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool approved) public virtual override { _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted. See {_mint}. */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned. } /** * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`. */ function _isSenderApprovedOrOwner( address approvedAddress, address owner, address msgSender ) private pure returns (bool result) { assembly { // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean. owner := and(owner, _BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, _BITMASK_ADDRESS) // `msgSender == owner || msgSender == approvedAddress`. result := or(eq(msgSender, owner), eq(msgSender, approvedAddress)) } } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedSlotAndAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`. assembly { approvedAddressSlot := tokenApproval.slot approvedAddress := sload(approvedAddressSlot) } } // ============================================================= // TRANSFER OPERATIONS // ============================================================= /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public payable virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // We can directly increment and decrement the balances. --_packedAddressData[from]; // Updates: `balance -= 1`. ++_packedAddressData[to]; // Updates: `balance += 1`. // Updates: // - `address` to the next owner. // - `startTimestamp` to the timestamp of transfering. // - `burned` to `false`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( to, _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public payable virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public payable virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Hook that is called before a set of serially-ordered token IDs * are about to be transferred. This includes minting. * And also called before burning one token. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token IDs * have been transferred. This includes minting. * And also called after one token has been burned. * * `startTokenId` - the first token ID to be transferred. * `quantity` - the amount to be transferred. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Private function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * `from` - Previous owner of the given token ID. * `to` - Target address that will receive the token. * `tokenId` - Token ID to be transferred. * `_data` - Optional data to send along with the call. * * Returns whether the call correctly returned the expected magic value. */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns ( bytes4 retval ) { return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } // ============================================================= // MINT OPERATIONS // ============================================================= /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // `balance` and `numberMinted` have a maximum limit of 2**64. // `tokenId` has a maximum limit of 2**256. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); uint256 toMasked; uint256 end = startTokenId + quantity; // Use assembly to loop and emit the `Transfer` event for gas savings. // The duplicated `log4` removes an extra check and reduces stack juggling. // The assembly, together with the surrounding Solidity code, have been // delicately arranged to nudge the compiler into producing optimized opcodes. assembly { // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean. toMasked := and(to, _BITMASK_ADDRESS) // Emit the `Transfer` event. log4( 0, // Start of data (0, since no data). 0, // End of data (0, since no data). _TRANSFER_EVENT_SIGNATURE, // Signature. 0, // `address(0)`. toMasked, // `to`. startTokenId // `tokenId`. ) // The `iszero(eq(,))` check ensures that large values of `quantity` // that overflows uint256 will make the loop run out of gas. // The compiler will optimize the `iszero` away for performance. for { let tokenId := add(startTokenId, 1) } iszero(eq(tokenId, end)) { tokenId := add(tokenId, 1) } { // Emit the `Transfer` event. Similar to above. log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId) } } if (toMasked == 0) revert MintToZeroAddress(); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * See {_mint}. * * Emits a {Transfer} event for each mint. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal virtual { _safeMint(to, quantity, ''); } // ============================================================= // BURN OPERATIONS // ============================================================= /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); address from = address(uint160(prevOwnershipPacked)); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A())) if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner. assembly { if approvedAddress { // This is equivalent to `delete _tokenApprovals[tokenId]`. sstore(approvedAddressSlot, 0) } } // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as `tokenId` would have to be 2**256. unchecked { // Updates: // - `balance -= 1`. // - `numberBurned += 1`. // // We can directly decrement the balance, and increment the number burned. // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`. _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1; // Updates: // - `address` to the last owner. // - `startTimestamp` to the timestamp of burning. // - `burned` to `true`. // - `nextInitialized` to `true`. _packedOwnerships[tokenId] = _packOwnershipData( from, (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked) ); // If the next slot may not have been initialized (i.e. `nextInitialized == false`) . if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) { uint256 nextTokenId = tokenId + 1; // If the next slot's address is zero and not burned (i.e. packed value is zero). if (_packedOwnerships[nextTokenId] == 0) { // If the next slot is within bounds. if (nextTokenId != _currentIndex) { // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`. _packedOwnerships[nextTokenId] = prevOwnershipPacked; } } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } // ============================================================= // EXTRA DATA OPERATIONS // ============================================================= /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev Called during each token transfer to set the 24bit `extraData` field. * Intended to be overridden by the cosumer contract. * * `previousExtraData` - the value of `extraData` before transfer. * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _extraData( address from, address to, uint24 previousExtraData ) internal view virtual returns (uint24) {} /** * @dev Returns the next extra data for the packed ownership data. * The returned result is shifted into position. */ function _nextExtraData( address from, address to, uint256 prevOwnershipPacked ) private view returns (uint256) { uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA); return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA; } // ============================================================= // OTHER OPERATIONS // ============================================================= /** * @dev Returns the message sender (defaults to `msg.sender`). * * If you are writing GSN compatible contracts, you need to override this function. */ function _msgSenderERC721A() internal view virtual returns (address) { return msg.sender; } /** * @dev Converts a uint256 to its ASCII string decimal representation. */ function _toString(uint256 value) internal pure virtual returns (string memory str) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), but // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned. // We will need 1 word for the trailing zeros padding, 1 word for the length, // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0. let m := add(mload(0x40), 0xa0) // Update the free memory pointer to allocate. mstore(0x40, m) // Assign the `str` to the end. str := sub(m, 0x20) // Zeroize the slot after the string. mstore(str, 0) // Cache the end of the memory to calculate the length later. let end := str // We write the string from rightmost digit to leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // prettier-ignore for { let temp := value } 1 {} { str := sub(str, 1) // Write the character to the pointer. // The ASCII index of the '0' character is 48. mstore8(str, add(48, mod(temp, 10))) // Keep dividing `temp` until zero. temp := div(temp, 10) // prettier-ignore if iszero(temp) { break } } let length := sub(end, str) // Move the pointer 32 bytes leftwards to make room for the length. str := sub(str, 0x20) // Store the length. mstore(str, length) } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; address constant CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS = 0x000000000000AAeB6D7670E522A718067333cd4E; address constant CANONICAL_CORI_SUBSCRIPTION = 0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6;
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; import {IOperatorFilterRegistry} from "./IOperatorFilterRegistry.sol"; import {CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS} from "./lib/Constants.sol"; /** * @title OperatorFilterer * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another * registrant's entries in the OperatorFilterRegistry. * @dev This smart contract is meant to be inherited by token contracts so they can use the following: * - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods. * - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods. * Please note that if your token contract does not provide an owner with EIP-173, it must provide * administration methods on the contract itself to interact with the registry otherwise the subscription * will be locked to the options set during construction. */ abstract contract OperatorFilterer { /// @dev Emitted when an operator is not allowed. error OperatorNotAllowed(address operator); IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY = IOperatorFilterRegistry(CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS); /// @dev The constructor that is called when the contract is being deployed. constructor(address subscriptionOrRegistrantToCopy, bool subscribe) { // If an inheriting token contract is deployed to a network without the registry deployed, the modifier // will not revert, but the contract will need to be registered with the registry once it is deployed in // order for the modifier to filter addresses. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { if (subscribe) { OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy); } else { if (subscriptionOrRegistrantToCopy != address(0)) { OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy); } else { OPERATOR_FILTER_REGISTRY.register(address(this)); } } } } /** * @dev A helper function to check if an operator is allowed. */ modifier onlyAllowedOperator(address from) virtual { // Allow spending tokens from addresses with balance // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred // from an EOA. if (from != msg.sender) { _checkFilterOperator(msg.sender); } _; } /** * @dev A helper function to check if an operator approval is allowed. */ modifier onlyAllowedOperatorApproval(address operator) virtual { _checkFilterOperator(operator); _; } /** * @dev A helper function to check if an operator is allowed. */ function _checkFilterOperator(address operator) internal view virtual { // Check registry code length to facilitate testing in environments without a deployed registry. if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) { // under normal circumstances, this function will revert rather than return false, but inheriting contracts // may specify their own OperatorFilterRegistry implementations, which may behave differently if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) { revert OperatorNotAllowed(operator); } } } }
// SPDX-License-Identifier: MIT // ERC721A Contracts v4.2.3 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of ERC721A. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the * ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); /** * The `quantity` minted with ERC2309 exceeds the safety limit. */ error MintERC2309QuantityExceedsLimit(); /** * The `extraData` cannot be set on an unintialized ownership slot. */ error OwnershipNotInitializedForExtraData(); // ============================================================= // STRUCTS // ============================================================= struct TokenOwnership { // The address of the owner. address addr; // Stores the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}. uint24 extraData; } // ============================================================= // TOKEN COUNTERS // ============================================================= /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see {_totalMinted}. */ function totalSupply() external view returns (uint256); // ============================================================= // IERC165 // ============================================================= /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified) * to learn more about how these ids are created. * * This function call must use less than 30000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); // ============================================================= // IERC721 // ============================================================= /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables * (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in `owner`'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, * checking first that contract recipients are aware of the ERC721 protocol * to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move * this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external payable; /** * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Transfers `tokenId` from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} * whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token * by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external payable; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the * zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external payable; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} * for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll}. */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================================================= // IERC721Metadata // ============================================================= /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); // ============================================================= // IERC2309 // ============================================================= /** * @dev Emitted when tokens in `fromTokenId` to `toTokenId` * (inclusive) is transferred from `from` to `to`, as defined in the * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard. * * See {_mintERC2309} for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol) pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { enum Rounding { Down, // Toward negative infinity Up, // Toward infinity Zero // Toward zero } /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0 * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) * with further edits by Uniswap Labs also under MIT license. */ function mulDiv( uint256 x, uint256 y, uint256 denominator ) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod0 := mul(x, y) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. require(denominator > prod1); /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1. // See https://cs.stackexchange.com/q/138556/92363. // Does not overflow because the denominator cannot be zero at this stage in the function. uint256 twos = denominator & (~denominator + 1); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works // in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv( uint256 x, uint256 y, uint256 denominator, Rounding rounding ) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (rounding == Rounding.Up && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2, rounded down, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10, rounded down, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10**64) { value /= 10**64; result += 64; } if (value >= 10**32) { value /= 10**32; result += 32; } if (value >= 10**16) { value /= 10**16; result += 16; } if (value >= 10**8) { value /= 10**8; result += 8; } if (value >= 10**4) { value /= 10**4; result += 4; } if (value >= 10**2) { value /= 10**2; result += 2; } if (value >= 10**1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0); } } /** * @dev Return the log in base 256, rounded down, of a positive value. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.13; interface IOperatorFilterRegistry { /** * @notice Returns true if operator is not filtered for a given token, either by address or codeHash. Also returns * true if supplied registrant address is not registered. */ function isOperatorAllowed(address registrant, address operator) external view returns (bool); /** * @notice Registers an address with the registry. May be called by address itself or by EIP-173 owner. */ function register(address registrant) external; /** * @notice Registers an address with the registry and "subscribes" to another address's filtered operators and codeHashes. */ function registerAndSubscribe(address registrant, address subscription) external; /** * @notice Registers an address with the registry and copies the filtered operators and codeHashes from another * address without subscribing. */ function registerAndCopyEntries(address registrant, address registrantToCopy) external; /** * @notice Unregisters an address with the registry and removes its subscription. May be called by address itself or by EIP-173 owner. * Note that this does not remove any filtered addresses or codeHashes. * Also note that any subscriptions to this registrant will still be active and follow the existing filtered addresses and codehashes. */ function unregister(address addr) external; /** * @notice Update an operator address for a registered address - when filtered is true, the operator is filtered. */ function updateOperator(address registrant, address operator, bool filtered) external; /** * @notice Update multiple operators for a registered address - when filtered is true, the operators will be filtered. Reverts on duplicates. */ function updateOperators(address registrant, address[] calldata operators, bool filtered) external; /** * @notice Update a codeHash for a registered address - when filtered is true, the codeHash is filtered. */ function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external; /** * @notice Update multiple codeHashes for a registered address - when filtered is true, the codeHashes will be filtered. Reverts on duplicates. */ function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external; /** * @notice Subscribe an address to another registrant's filtered operators and codeHashes. Will remove previous * subscription if present. * Note that accounts with subscriptions may go on to subscribe to other accounts - in this case, * subscriptions will not be forwarded. Instead the former subscription's existing entries will still be * used. */ function subscribe(address registrant, address registrantToSubscribe) external; /** * @notice Unsubscribe an address from its current subscribed registrant, and optionally copy its filtered operators and codeHashes. */ function unsubscribe(address registrant, bool copyExistingEntries) external; /** * @notice Get the subscription address of a given registrant, if any. */ function subscriptionOf(address addr) external returns (address registrant); /** * @notice Get the set of addresses subscribed to a given registrant. * Note that order is not guaranteed as updates are made. */ function subscribers(address registrant) external returns (address[] memory); /** * @notice Get the subscriber at a given index in the set of addresses subscribed to a given registrant. * Note that order is not guaranteed as updates are made. */ function subscriberAt(address registrant, uint256 index) external returns (address); /** * @notice Copy filtered operators and codeHashes from a different registrantToCopy to addr. */ function copyEntriesOf(address registrant, address registrantToCopy) external; /** * @notice Returns true if operator is filtered by a given address or its subscription. */ function isOperatorFiltered(address registrant, address operator) external returns (bool); /** * @notice Returns true if the hash of an address's code is filtered by a given address or its subscription. */ function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool); /** * @notice Returns true if a codeHash is filtered by a given address or its subscription. */ function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool); /** * @notice Returns a list of filtered operators for a given address or its subscription. */ function filteredOperators(address addr) external returns (address[] memory); /** * @notice Returns the set of filtered codeHashes for a given address or its subscription. * Note that order is not guaranteed as updates are made. */ function filteredCodeHashes(address addr) external returns (bytes32[] memory); /** * @notice Returns the filtered operator at the given index of the set of filtered operators for a given address or * its subscription. * Note that order is not guaranteed as updates are made. */ function filteredOperatorAt(address registrant, uint256 index) external returns (address); /** * @notice Returns the filtered codeHash at the given index of the list of filtered codeHashes for a given address or * its subscription. * Note that order is not guaranteed as updates are made. */ function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32); /** * @notice Returns true if an address has registered */ function isRegistered(address addr) external returns (bool); /** * @dev Convenience method to compute the code hash of an arbitrary contract */ function codeHashOf(address addr) external returns (bytes32); }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_tokenName","type":"string"},{"internalType":"string","name":"_tokenSymbol","type":"string"},{"internalType":"uint256","name":"_maxSupply","type":"uint256"},{"internalType":"uint256","name":"_maxMintAmountPerTx","type":"uint256"},{"internalType":"uint256","name":"_maxMintAmountPerW","type":"uint256"},{"internalType":"string","name":"_hiddenMetadataUri","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"WalletMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freeMint","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":[],"name":"hiddenMetadataUri","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"maxMintAmountPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmountPerW","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintCounter","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"mintForAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"presaleClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleM","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"}],"name":"presaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicM","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"publicSaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_cost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_hiddenMetadataUri","type":"string"}],"name":"setHiddenMetadataUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintAmountPerTx","type":"uint256"}],"name":"setMaxMintAmountPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintAmountPerW","type":"uint256"}],"name":"setMaxMintAmountPerW","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriPrefix","type":"string"}],"name":"setUriPrefix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriSuffix","type":"string"}],"name":"setUriSuffix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"togglePause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"togglePresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"togglePublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uriPrefix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uriSuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60a060405260006080908152600e906200001a90826200066b565b50604080518082019091526005815264173539b7b760d91b6020820152600f906200004690826200066b565b50660eebe0b40e800060115560016012556016805463ffffffff19166101001790553480156200007557600080fd5b5060405162003044380380620030448339810160408190526200009891620007ee565b733cc6cdda760b79bafa08df41ecfa224f810dceb6600187876002620000bf83826200066b565b506003620000ce82826200066b565b5050600160005550620000e1336200026d565b60016009556daaeb6d7670e522a718067333cd4e3b156200022b5780156200017957604051633e9f1edf60e11b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e90637d3e3dbe906044015b600060405180830381600087803b1580156200015a57600080fd5b505af11580156200016f573d6000803e3d6000fd5b505050506200022b565b6001600160a01b03821615620001ca5760405163a0af290360e01b81523060048201526001600160a01b03831660248201526daaeb6d7670e522a718067333cd4e9063a0af2903906044016200013f565b604051632210724360e11b81523060048201526daaeb6d7670e522a718067333cd4e90634420e48690602401600060405180830381600087803b1580156200021157600080fd5b505af115801562000226573d6000803e3d6000fd5b505050505b506200023b9050336001620002bf565b60138490556200024b83620002e5565b6200025682620002f4565b620002618162000303565b50505050505062000924565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620002e18282604051806020016040528060008152506200031b60201b60201c565b5050565b620002ef62000392565b601455565b620002fe62000392565b601555565b6200030d62000392565b6010620002e182826200066b565b620003278383620003f3565b6001600160a01b0383163b156200038d576000548281035b60018101906200035590600090879086620004d3565b62000373576040516368d2bf6b60e11b815260040160405180910390fd5b8181106200033f5781600054146200038a57600080fd5b50505b505050565b6008546001600160a01b03163314620003f15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b565b6000805490829003620004195760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b17831790558284019083908390600080516020620030248339815191528180a4600183015b818114620004a8578083600060008051602062003024833981519152600080a46001016200047f565b5081600003620004ca57604051622e076360e81b815260040160405180910390fd5b60005550505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906200050a9033908990889088906004016200089b565b6020604051808303816000875af192505050801562000548575060408051601f3d908101601f191682019092526200054591810190620008f1565b60015b620005aa573d80801562000579576040519150601f19603f3d011682016040523d82523d6000602084013e6200057e565b606091505b508051600003620005a2576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620005f257607f821691505b6020821081036200061357634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200038d57600081815260208120601f850160051c81016020861015620006425750805b601f850160051c820191505b8181101562000663578281556001016200064e565b505050505050565b81516001600160401b03811115620006875762000687620005c7565b6200069f81620006988454620005dd565b8462000619565b602080601f831160018114620006d75760008415620006be5750858301515b600019600386901b1c1916600185901b17855562000663565b600085815260208120601f198616915b828110156200070857888601518255948401946001909101908401620006e7565b5085821015620007275787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60005b83811015620007545781810151838201526020016200073a565b50506000910152565b600082601f8301126200076f57600080fd5b81516001600160401b03808211156200078c576200078c620005c7565b604051601f8301601f19908116603f01168101908282118183101715620007b757620007b7620005c7565b81604052838152866020858801011115620007d157600080fd5b620007e484602083016020890162000737565b9695505050505050565b60008060008060008060c087890312156200080857600080fd5b86516001600160401b03808211156200082057600080fd5b6200082e8a838b016200075d565b975060208901519150808211156200084557600080fd5b620008538a838b016200075d565b965060408901519550606089015194506080890151935060a08901519150808211156200087f57600080fd5b506200088e89828a016200075d565b9150509295509295509295565b600060018060a01b038087168352808616602084015250836040830152608060608301528251806080840152620008da8160a085016020870162000737565b601f01601f19169190910160a00195945050505050565b6000602082840312156200090457600080fd5b81516001600160e01b0319811681146200091d57600080fd5b9392505050565b6126f080620009346000396000f3fe6080604052600436106102c95760003560e01c806370a0823111610175578063b071401b116100dc578063e0a8085311610095578063e985e9c51161006f578063e985e9c514610808578063efbd73f414610828578063f2fde38b14610848578063f9765bc11461086857600080fd5b8063e0a80853146107a6578063e222c7f9146107c6578063e645f708146107db57600080fd5b8063b071401b14610715578063b3ab66b014610735578063b88d4fde14610748578063c4ae31681461075b578063c87b56dd14610770578063d5abeb011461079057600080fd5b806394354fd01161012e57806394354fd014610682578063954dc3e31461069857806395d89b41146106ab578063a22cb465146106c0578063a45063c0146106e0578063a45ba8e71461070057600080fd5b806370a08231146105d9578063715018a6146105f95780637cb647591461060e5780637ec4a6591461062e578063867cb30e1461064e5780638da5cb5b1461066457600080fd5b80632eb4a7ab116102345780634fdd43cb116101ed5780635b70ea9f116101c75780635b70ea9f146105745780635c975abb1461058a57806362b99ad4146105a45780636352211e146105b957600080fd5b80634fdd43cb1461051e578063518302271461053e5780635503a0e81461055f57600080fd5b80632eb4a7ab14610489578063343937431461049f5780633ccfd60b146104b457806341f43434146104c957806342842e0e146104eb57806344a0d68a146104fe57600080fd5b80631798d58b116102865780631798d58b146103b657806318160ddd146103d55780631cdce9fe146103ea57806323b872dd1461041757806326b092df1461042a5780632a55205a1461044a57600080fd5b806301ffc9a7146102ce57806306fdde0314610303578063081812fc14610325578063095ea7b31461035d57806313faede61461037257806316ba10e014610396575b600080fd5b3480156102da57600080fd5b506102ee6102e9366004611ffe565b610898565b60405190151581526020015b60405180910390f35b34801561030f57600080fd5b506103186108de565b6040516102fa919061206b565b34801561033157600080fd5b5061034561034036600461207e565b610970565b6040516001600160a01b0390911681526020016102fa565b61037061036b3660046120b3565b6109b4565b005b34801561037e57600080fd5b5061038860115481565b6040519081526020016102fa565b3480156103a257600080fd5b506103706103b1366004612169565b610a54565b3480156103c257600080fd5b506016546102ee90610100900460ff1681565b3480156103e157600080fd5b50610388610a6c565b3480156103f657600080fd5b506103886104053660046121b2565b600c6020526000908152604090205481565b6103706104253660046121cd565b610a7a565b34801561043657600080fd5b5061037061044536600461207e565b610c13565b34801561045657600080fd5b5061046a610465366004612209565b610c20565b604080516001600160a01b0390931683526020830191909152016102fa565b34801561049557600080fd5b50610388600a5481565b3480156104ab57600080fd5b50610370610c49565b3480156104c057600080fd5b50610370610c6e565b3480156104d557600080fd5b506103456daaeb6d7670e522a718067333cd4e81565b6103706104f93660046121cd565b610cfc565b34801561050a57600080fd5b5061037061051936600461207e565b610d1c565b34801561052a57600080fd5b50610370610539366004612169565b610d29565b34801561054a57600080fd5b506016546102ee906301000000900460ff1681565b34801561056b57600080fd5b50610318610d3d565b34801561058057600080fd5b5061038860125481565b34801561059657600080fd5b506016546102ee9060ff1681565b3480156105b057600080fd5b50610318610dcb565b3480156105c557600080fd5b506103456105d436600461207e565b610dd8565b3480156105e557600080fd5b506103886105f43660046121b2565b610de3565b34801561060557600080fd5b50610370610e32565b34801561061a57600080fd5b5061037061062936600461207e565b610e44565b34801561063a57600080fd5b50610370610649366004612169565b610e51565b34801561065a57600080fd5b5061038860155481565b34801561067057600080fd5b506008546001600160a01b0316610345565b34801561068e57600080fd5b5061038860145481565b6103706106a636600461222b565b610e65565b3480156106b757600080fd5b5061031861130e565b3480156106cc57600080fd5b506103706106db3660046122c5565b61131d565b3480156106ec57600080fd5b506016546102ee9062010000900460ff1681565b34801561070c57600080fd5b50610318611389565b34801561072157600080fd5b5061037061073036600461207e565b611396565b61037061074336600461207e565b6113a3565b6103706107563660046122f8565b61163c565b34801561076757600080fd5b50610370611686565b34801561077c57600080fd5b5061031861078b36600461207e565b6116a2565b34801561079c57600080fd5b5061038860135481565b3480156107b257600080fd5b506103706107c1366004612374565b611818565b3480156107d257600080fd5b5061037061183e565b3480156107e757600080fd5b506103886107f63660046121b2565b600d6020526000908152604090205481565b34801561081457600080fd5b506102ee61082336600461238f565b611865565b34801561083457600080fd5b506103706108433660046123b9565b611893565b34801561085457600080fd5b506103706108633660046121b2565b6118fe565b34801561087457600080fd5b506102ee6108833660046121b2565b600b6020526000908152604090205460ff1681565b60006001600160e01b0319821663184371e560e31b14806108c957506001600160e01b031982166301ffc9a760e01b145b806108d857506108d882611977565b92915050565b6060600280546108ed906123dc565b80601f0160208091040260200160405190810160405280929190818152602001828054610919906123dc565b80156109665780601f1061093b57610100808354040283529160200191610966565b820191906000526020600020905b81548152906001019060200180831161094957829003601f168201915b5050505050905090565b600061097b826119c5565b610998576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006109bf82610dd8565b9050336001600160a01b038216146109f8576109db8133611865565b6109f8576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610a5c6119fa565b600f610a68828261245c565b5050565b600154600054036000190190565b6000610a8582611a54565b9050836001600160a01b0316816001600160a01b031614610ab85760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610b0557610ae88633611865565b610b0557604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610b2c57604051633a954ecd60e21b815260040160405180910390fd5b8015610b3757600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610bc957600184016000818152600460205260408120549003610bc7576000548114610bc75760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610c1b6119fa565b601555565b600080806103e8610c3361022686612532565b610c3d9190612549565b30969095509350505050565b610c516119fa565b6016805461ff001981166101009182900460ff1615909102179055565b610c766119fa565b610c7e611ac3565b6000610c926008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610cdc576040519150601f19603f3d011682016040523d82523d6000602084013e610ce1565b606091505b5050905080610cef57600080fd5b50610cfa6001600955565b565b610d178383836040518060200160405280600081525061163c565b505050565b610d246119fa565b601155565b610d316119fa565b6010610a68828261245c565b600f8054610d4a906123dc565b80601f0160208091040260200160405190810160405280929190818152602001828054610d76906123dc565b8015610dc35780601f10610d9857610100808354040283529160200191610dc3565b820191906000526020600020905b815481529060010190602001808311610da657829003601f168201915b505050505081565b600e8054610d4a906123dc565b60006108d882611a54565b60006001600160a01b038216610e0c576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610e3a6119fa565b610cfa6000611b1c565b610e4c6119fa565b600a55565b610e596119fa565b600e610a68828261245c565b82600081118015610e7857506014548111155b610ec05760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b60448201526064015b60405180910390fd5b601554336000908152600c6020526040902054610ede90839061256b565b1115610f265760405162461bcd60e51b815260206004820152601760248201527665786365656473206d617820706572206164647265737360481b6044820152606401610eb7565b60135481610f32610a6c565b610f3c919061256b565b1115610f815760405162461bcd60e51b81526020600482015260146024820152734d617820737570706c792065786365656465642160601b6044820152606401610eb7565b336000908152600c6020526040902054610f9c90829061256b565b600c6000336001600160a01b03166001600160a01b0316815260200190815260200160002081905550828261103c82828080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600a546040516bffffffffffffffffffffffff193360601b166020820152909250603401905060405160208183030381529060405280519060200120611b6e565b15156001146110825760405162461bcd60e51b81526020600482015260126024820152712737ba1030b63637bbb2b21037b934b3b4b760711b6044820152606401610eb7565b3332146110c65760405162461bcd60e51b81526020600482015260126024820152712737ba1030b63637bbb2b21037b934b3b4b760711b6044820152606401610eb7565b601654610100900460ff1661111d5760405162461bcd60e51b815260206004820181905260248201527f5468652070726573616c652073616c65206973206e6f7420656e61626c6564216044820152606401610eb7565b336000908152600b602052604090205460ff161561117d5760405162461bcd60e51b815260206004820152601860248201527f4164647265737320616c726561647920636c61696d65642100000000000000006044820152606401610eb7565b336001600160a01b038816146111c35760405162461bcd60e51b815260206004820152600b60248201526a139bdd08185b1b1bddd95960aa1b6044820152606401610eb7565b601254336000908152600d60205260409020541015611282576012548610156111ec5760125495505b6011546012546111fc908861257e565b6112069190612532565b34101561124d5760405162461bcd60e51b8152602060048201526015602482015274139bdd1a58d94e90db185a5b48119c995948139195605a1b6044820152606401610eb7565b336000908152600d60205260408120805488929061126c90849061256b565b9091555061127d9050335b87611b84565b611305565b60115461128f9087612532565b3410156112d75760405162461bcd60e51b815260206004820152601660248201527509cdee8d2c6ca748ceadcc840dcdee840cadcdeeaced60531b6044820152606401610eb7565b336000908152600d6020526040812080548892906112f690849061256b565b90915550611305905033611277565b50505050505050565b6060600380546108ed906123dc565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60108054610d4a906123dc565b61139e6119fa565b601455565b806000811180156113b657506014548111155b6113f95760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b6044820152606401610eb7565b601554336000908152600c602052604090205461141790839061256b565b111561145f5760405162461bcd60e51b815260206004820152601760248201527665786365656473206d617820706572206164647265737360481b6044820152606401610eb7565b6013548161146b610a6c565b611475919061256b565b11156114ba5760405162461bcd60e51b81526020600482015260146024820152734d617820737570706c792065786365656465642160601b6044820152606401610eb7565b336000908152600c60205260409020546114d590829061256b565b336000908152600c602052604090205560115482906114f5908290612532565b34101561153a5760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610eb7565b60165460ff161561158d5760405162461bcd60e51b815260206004820152601760248201527f54686520636f6e747261637420697320706175736564210000000000000000006044820152606401610eb7565b60165462010000900460ff166115d95760405162461bcd60e51b8152602060048201526011602482015270283ab13634b1a9b0b6329034b99027a32360791b6044820152606401610eb7565b601354836115e5610a6c565b6115ef919061256b565b11156116325760405162461bcd60e51b815260206004820152601260248201527172656163686564204d617820537570706c7960701b6044820152606401610eb7565b610d173384611b84565b611647848484610a7a565b6001600160a01b0383163b156116805761166384848484611b9e565b611680576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b61168e6119fa565b6016805460ff19811660ff90911615179055565b60606116ad826119c5565b6117115760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610eb7565b6016546301000000900460ff1615156000036117b95760108054611734906123dc565b80601f0160208091040260200160405190810160405280929190818152602001828054611760906123dc565b80156117ad5780601f10611782576101008083540402835291602001916117ad565b820191906000526020600020905b81548152906001019060200180831161179057829003601f168201915b50505050509050919050565b60006117c3611c8a565b905060008151116117e35760405180602001604052806000815250611811565b806117ed84611c99565b600f60405160200161180193929190612591565b6040516020818303038152906040525b9392505050565b6118206119fa565b6016805491151563010000000263ff00000019909216919091179055565b6118466119fa565b6016805462ff0000198116620100009182900460ff1615909102179055565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b61189b6119fa565b601354826118a7610a6c565b6118b1919061256b565b11156118f45760405162461bcd60e51b815260206004820152601260248201527172656163686564204d617820537570706c7960701b6044820152606401610eb7565b610a688183611b84565b6119066119fa565b6001600160a01b03811661196b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610eb7565b61197481611b1c565b50565b60006301ffc9a760e01b6001600160e01b0319831614806119a857506380ac58cd60e01b6001600160e01b03198316145b806108d85750506001600160e01b031916635b5e139f60e01b1490565b6000816001111580156119d9575060005482105b80156108d8575050600090815260046020526040902054600160e01b161590565b6008546001600160a01b03163314610cfa5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610eb7565b60008180600111611aaa57600054811015611aaa5760008181526004602052604081205490600160e01b82169003611aa8575b80600003611811575060001901600081815260046020526040902054611a87565b505b604051636f96cda160e11b815260040160405180910390fd5b600260095403611b155760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610eb7565b6002600955565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600082611b7b8584611d2c565b14949350505050565b610a68828260405180602001604052806000815250611d79565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611bd3903390899088908890600401612631565b6020604051808303816000875af1925050508015611c0e575060408051601f3d908101601f19168201909252611c0b9181019061266e565b60015b611c6c573d808015611c3c576040519150601f19603f3d011682016040523d82523d6000602084013e611c41565b606091505b508051600003611c64576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600e80546108ed906123dc565b60606000611ca683611de6565b600101905060008167ffffffffffffffff811115611cc657611cc66120dd565b6040519080825280601f01601f191660200182016040528015611cf0576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084611cfa57509392505050565b600081815b8451811015611d7157611d5d82868381518110611d5057611d5061268b565b6020026020010151611ebe565b915080611d69816126a1565b915050611d31565b509392505050565b611d838383611eea565b6001600160a01b0383163b15610d17576000548281035b611dad6000868380600101945086611b9e565b611dca576040516368d2bf6b60e11b815260040160405180910390fd5b818110611d9a578160005414611ddf57600080fd5b5050505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310611e255772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611e51576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310611e6f57662386f26fc10000830492506010015b6305f5e1008310611e87576305f5e100830492506008015b6127108310611e9b57612710830492506004015b60648310611ead576064830492506002015b600a83106108d85760010192915050565b6000818310611eda576000828152602084905260409020611811565b5060009182526020526040902090565b6000805490829003611f0f5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114611fbe57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611f86565b5081600003611fdf57604051622e076360e81b815260040160405180910390fd5b60005550505050565b6001600160e01b03198116811461197457600080fd5b60006020828403121561201057600080fd5b813561181181611fe8565b60005b8381101561203657818101518382015260200161201e565b50506000910152565b6000815180845261205781602086016020860161201b565b601f01601f19169290920160200192915050565b602081526000611811602083018461203f565b60006020828403121561209057600080fd5b5035919050565b80356001600160a01b03811681146120ae57600080fd5b919050565b600080604083850312156120c657600080fd5b6120cf83612097565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561210e5761210e6120dd565b604051601f8501601f19908116603f01168101908282118183101715612136576121366120dd565b8160405280935085815286868601111561214f57600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561217b57600080fd5b813567ffffffffffffffff81111561219257600080fd5b8201601f810184136121a357600080fd5b611c82848235602084016120f3565b6000602082840312156121c457600080fd5b61181182612097565b6000806000606084860312156121e257600080fd5b6121eb84612097565b92506121f960208501612097565b9150604084013590509250925092565b6000806040838503121561221c57600080fd5b50508035926020909101359150565b6000806000806060858703121561224157600080fd5b61224a85612097565b935060208501359250604085013567ffffffffffffffff8082111561226e57600080fd5b818701915087601f83011261228257600080fd5b81358181111561229157600080fd5b8860208260051b85010111156122a657600080fd5b95989497505060200194505050565b803580151581146120ae57600080fd5b600080604083850312156122d857600080fd5b6122e183612097565b91506122ef602084016122b5565b90509250929050565b6000806000806080858703121561230e57600080fd5b61231785612097565b935061232560208601612097565b925060408501359150606085013567ffffffffffffffff81111561234857600080fd5b8501601f8101871361235957600080fd5b612368878235602084016120f3565b91505092959194509250565b60006020828403121561238657600080fd5b611811826122b5565b600080604083850312156123a257600080fd5b6123ab83612097565b91506122ef60208401612097565b600080604083850312156123cc57600080fd5b823591506122ef60208401612097565b600181811c908216806123f057607f821691505b60208210810361241057634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115610d1757600081815260208120601f850160051c8101602086101561243d5750805b601f850160051c820191505b81811015610c0b57828155600101612449565b815167ffffffffffffffff811115612476576124766120dd565b61248a8161248484546123dc565b84612416565b602080601f8311600181146124bf57600084156124a75750858301515b600019600386901b1c1916600185901b178555610c0b565b600085815260208120601f198616915b828110156124ee578886015182559484019460019091019084016124cf565b508582101561250c5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176108d8576108d861251c565b60008261256657634e487b7160e01b600052601260045260246000fd5b500490565b808201808211156108d8576108d861251c565b818103818111156108d8576108d861251c565b6000845160206125a48285838a0161201b565b8551918401916125b78184848a0161201b565b85549201916000906125c8816123dc565b600182811680156125e057600181146125f557612621565b60ff1984168752821515830287019450612621565b896000528560002060005b8481101561261957815489820152908301908701612600565b505082870194505b50929a9950505050505050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906126649083018461203f565b9695505050505050565b60006020828403121561268057600080fd5b815161181181611fe8565b634e487b7160e01b600052603260045260246000fd5b6000600182016126b3576126b361251c565b506001019056fea264697066735822122023ab87ada4291ede57a8008e1d63ba06aa713b1ff4035e6ef93663ef9668975664736f6c63430008120033ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef00000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002710000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000009506570616d69676f73000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035041530000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d697066733a2f2f5f4349445f2f00000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102c95760003560e01c806370a0823111610175578063b071401b116100dc578063e0a8085311610095578063e985e9c51161006f578063e985e9c514610808578063efbd73f414610828578063f2fde38b14610848578063f9765bc11461086857600080fd5b8063e0a80853146107a6578063e222c7f9146107c6578063e645f708146107db57600080fd5b8063b071401b14610715578063b3ab66b014610735578063b88d4fde14610748578063c4ae31681461075b578063c87b56dd14610770578063d5abeb011461079057600080fd5b806394354fd01161012e57806394354fd014610682578063954dc3e31461069857806395d89b41146106ab578063a22cb465146106c0578063a45063c0146106e0578063a45ba8e71461070057600080fd5b806370a08231146105d9578063715018a6146105f95780637cb647591461060e5780637ec4a6591461062e578063867cb30e1461064e5780638da5cb5b1461066457600080fd5b80632eb4a7ab116102345780634fdd43cb116101ed5780635b70ea9f116101c75780635b70ea9f146105745780635c975abb1461058a57806362b99ad4146105a45780636352211e146105b957600080fd5b80634fdd43cb1461051e578063518302271461053e5780635503a0e81461055f57600080fd5b80632eb4a7ab14610489578063343937431461049f5780633ccfd60b146104b457806341f43434146104c957806342842e0e146104eb57806344a0d68a146104fe57600080fd5b80631798d58b116102865780631798d58b146103b657806318160ddd146103d55780631cdce9fe146103ea57806323b872dd1461041757806326b092df1461042a5780632a55205a1461044a57600080fd5b806301ffc9a7146102ce57806306fdde0314610303578063081812fc14610325578063095ea7b31461035d57806313faede61461037257806316ba10e014610396575b600080fd5b3480156102da57600080fd5b506102ee6102e9366004611ffe565b610898565b60405190151581526020015b60405180910390f35b34801561030f57600080fd5b506103186108de565b6040516102fa919061206b565b34801561033157600080fd5b5061034561034036600461207e565b610970565b6040516001600160a01b0390911681526020016102fa565b61037061036b3660046120b3565b6109b4565b005b34801561037e57600080fd5b5061038860115481565b6040519081526020016102fa565b3480156103a257600080fd5b506103706103b1366004612169565b610a54565b3480156103c257600080fd5b506016546102ee90610100900460ff1681565b3480156103e157600080fd5b50610388610a6c565b3480156103f657600080fd5b506103886104053660046121b2565b600c6020526000908152604090205481565b6103706104253660046121cd565b610a7a565b34801561043657600080fd5b5061037061044536600461207e565b610c13565b34801561045657600080fd5b5061046a610465366004612209565b610c20565b604080516001600160a01b0390931683526020830191909152016102fa565b34801561049557600080fd5b50610388600a5481565b3480156104ab57600080fd5b50610370610c49565b3480156104c057600080fd5b50610370610c6e565b3480156104d557600080fd5b506103456daaeb6d7670e522a718067333cd4e81565b6103706104f93660046121cd565b610cfc565b34801561050a57600080fd5b5061037061051936600461207e565b610d1c565b34801561052a57600080fd5b50610370610539366004612169565b610d29565b34801561054a57600080fd5b506016546102ee906301000000900460ff1681565b34801561056b57600080fd5b50610318610d3d565b34801561058057600080fd5b5061038860125481565b34801561059657600080fd5b506016546102ee9060ff1681565b3480156105b057600080fd5b50610318610dcb565b3480156105c557600080fd5b506103456105d436600461207e565b610dd8565b3480156105e557600080fd5b506103886105f43660046121b2565b610de3565b34801561060557600080fd5b50610370610e32565b34801561061a57600080fd5b5061037061062936600461207e565b610e44565b34801561063a57600080fd5b50610370610649366004612169565b610e51565b34801561065a57600080fd5b5061038860155481565b34801561067057600080fd5b506008546001600160a01b0316610345565b34801561068e57600080fd5b5061038860145481565b6103706106a636600461222b565b610e65565b3480156106b757600080fd5b5061031861130e565b3480156106cc57600080fd5b506103706106db3660046122c5565b61131d565b3480156106ec57600080fd5b506016546102ee9062010000900460ff1681565b34801561070c57600080fd5b50610318611389565b34801561072157600080fd5b5061037061073036600461207e565b611396565b61037061074336600461207e565b6113a3565b6103706107563660046122f8565b61163c565b34801561076757600080fd5b50610370611686565b34801561077c57600080fd5b5061031861078b36600461207e565b6116a2565b34801561079c57600080fd5b5061038860135481565b3480156107b257600080fd5b506103706107c1366004612374565b611818565b3480156107d257600080fd5b5061037061183e565b3480156107e757600080fd5b506103886107f63660046121b2565b600d6020526000908152604090205481565b34801561081457600080fd5b506102ee61082336600461238f565b611865565b34801561083457600080fd5b506103706108433660046123b9565b611893565b34801561085457600080fd5b506103706108633660046121b2565b6118fe565b34801561087457600080fd5b506102ee6108833660046121b2565b600b6020526000908152604090205460ff1681565b60006001600160e01b0319821663184371e560e31b14806108c957506001600160e01b031982166301ffc9a760e01b145b806108d857506108d882611977565b92915050565b6060600280546108ed906123dc565b80601f0160208091040260200160405190810160405280929190818152602001828054610919906123dc565b80156109665780601f1061093b57610100808354040283529160200191610966565b820191906000526020600020905b81548152906001019060200180831161094957829003601f168201915b5050505050905090565b600061097b826119c5565b610998576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006109bf82610dd8565b9050336001600160a01b038216146109f8576109db8133611865565b6109f8576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610a5c6119fa565b600f610a68828261245c565b5050565b600154600054036000190190565b6000610a8582611a54565b9050836001600160a01b0316816001600160a01b031614610ab85760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610b0557610ae88633611865565b610b0557604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610b2c57604051633a954ecd60e21b815260040160405180910390fd5b8015610b3757600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b84169003610bc957600184016000818152600460205260408120549003610bc7576000548114610bc75760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b610c1b6119fa565b601555565b600080806103e8610c3361022686612532565b610c3d9190612549565b30969095509350505050565b610c516119fa565b6016805461ff001981166101009182900460ff1615909102179055565b610c766119fa565b610c7e611ac3565b6000610c926008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610cdc576040519150601f19603f3d011682016040523d82523d6000602084013e610ce1565b606091505b5050905080610cef57600080fd5b50610cfa6001600955565b565b610d178383836040518060200160405280600081525061163c565b505050565b610d246119fa565b601155565b610d316119fa565b6010610a68828261245c565b600f8054610d4a906123dc565b80601f0160208091040260200160405190810160405280929190818152602001828054610d76906123dc565b8015610dc35780601f10610d9857610100808354040283529160200191610dc3565b820191906000526020600020905b815481529060010190602001808311610da657829003601f168201915b505050505081565b600e8054610d4a906123dc565b60006108d882611a54565b60006001600160a01b038216610e0c576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b610e3a6119fa565b610cfa6000611b1c565b610e4c6119fa565b600a55565b610e596119fa565b600e610a68828261245c565b82600081118015610e7857506014548111155b610ec05760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b60448201526064015b60405180910390fd5b601554336000908152600c6020526040902054610ede90839061256b565b1115610f265760405162461bcd60e51b815260206004820152601760248201527665786365656473206d617820706572206164647265737360481b6044820152606401610eb7565b60135481610f32610a6c565b610f3c919061256b565b1115610f815760405162461bcd60e51b81526020600482015260146024820152734d617820737570706c792065786365656465642160601b6044820152606401610eb7565b336000908152600c6020526040902054610f9c90829061256b565b600c6000336001600160a01b03166001600160a01b0316815260200190815260200160002081905550828261103c82828080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600a546040516bffffffffffffffffffffffff193360601b166020820152909250603401905060405160208183030381529060405280519060200120611b6e565b15156001146110825760405162461bcd60e51b81526020600482015260126024820152712737ba1030b63637bbb2b21037b934b3b4b760711b6044820152606401610eb7565b3332146110c65760405162461bcd60e51b81526020600482015260126024820152712737ba1030b63637bbb2b21037b934b3b4b760711b6044820152606401610eb7565b601654610100900460ff1661111d5760405162461bcd60e51b815260206004820181905260248201527f5468652070726573616c652073616c65206973206e6f7420656e61626c6564216044820152606401610eb7565b336000908152600b602052604090205460ff161561117d5760405162461bcd60e51b815260206004820152601860248201527f4164647265737320616c726561647920636c61696d65642100000000000000006044820152606401610eb7565b336001600160a01b038816146111c35760405162461bcd60e51b815260206004820152600b60248201526a139bdd08185b1b1bddd95960aa1b6044820152606401610eb7565b601254336000908152600d60205260409020541015611282576012548610156111ec5760125495505b6011546012546111fc908861257e565b6112069190612532565b34101561124d5760405162461bcd60e51b8152602060048201526015602482015274139bdd1a58d94e90db185a5b48119c995948139195605a1b6044820152606401610eb7565b336000908152600d60205260408120805488929061126c90849061256b565b9091555061127d9050335b87611b84565b611305565b60115461128f9087612532565b3410156112d75760405162461bcd60e51b815260206004820152601660248201527509cdee8d2c6ca748ceadcc840dcdee840cadcdeeaced60531b6044820152606401610eb7565b336000908152600d6020526040812080548892906112f690849061256b565b90915550611305905033611277565b50505050505050565b6060600380546108ed906123dc565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60108054610d4a906123dc565b61139e6119fa565b601455565b806000811180156113b657506014548111155b6113f95760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964206d696e7420616d6f756e742160601b6044820152606401610eb7565b601554336000908152600c602052604090205461141790839061256b565b111561145f5760405162461bcd60e51b815260206004820152601760248201527665786365656473206d617820706572206164647265737360481b6044820152606401610eb7565b6013548161146b610a6c565b611475919061256b565b11156114ba5760405162461bcd60e51b81526020600482015260146024820152734d617820737570706c792065786365656465642160601b6044820152606401610eb7565b336000908152600c60205260409020546114d590829061256b565b336000908152600c602052604090205560115482906114f5908290612532565b34101561153a5760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e742066756e64732160681b6044820152606401610eb7565b60165460ff161561158d5760405162461bcd60e51b815260206004820152601760248201527f54686520636f6e747261637420697320706175736564210000000000000000006044820152606401610eb7565b60165462010000900460ff166115d95760405162461bcd60e51b8152602060048201526011602482015270283ab13634b1a9b0b6329034b99027a32360791b6044820152606401610eb7565b601354836115e5610a6c565b6115ef919061256b565b11156116325760405162461bcd60e51b815260206004820152601260248201527172656163686564204d617820537570706c7960701b6044820152606401610eb7565b610d173384611b84565b611647848484610a7a565b6001600160a01b0383163b156116805761166384848484611b9e565b611680576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b61168e6119fa565b6016805460ff19811660ff90911615179055565b60606116ad826119c5565b6117115760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610eb7565b6016546301000000900460ff1615156000036117b95760108054611734906123dc565b80601f0160208091040260200160405190810160405280929190818152602001828054611760906123dc565b80156117ad5780601f10611782576101008083540402835291602001916117ad565b820191906000526020600020905b81548152906001019060200180831161179057829003601f168201915b50505050509050919050565b60006117c3611c8a565b905060008151116117e35760405180602001604052806000815250611811565b806117ed84611c99565b600f60405160200161180193929190612591565b6040516020818303038152906040525b9392505050565b6118206119fa565b6016805491151563010000000263ff00000019909216919091179055565b6118466119fa565b6016805462ff0000198116620100009182900460ff1615909102179055565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b61189b6119fa565b601354826118a7610a6c565b6118b1919061256b565b11156118f45760405162461bcd60e51b815260206004820152601260248201527172656163686564204d617820537570706c7960701b6044820152606401610eb7565b610a688183611b84565b6119066119fa565b6001600160a01b03811661196b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610eb7565b61197481611b1c565b50565b60006301ffc9a760e01b6001600160e01b0319831614806119a857506380ac58cd60e01b6001600160e01b03198316145b806108d85750506001600160e01b031916635b5e139f60e01b1490565b6000816001111580156119d9575060005482105b80156108d8575050600090815260046020526040902054600160e01b161590565b6008546001600160a01b03163314610cfa5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610eb7565b60008180600111611aaa57600054811015611aaa5760008181526004602052604081205490600160e01b82169003611aa8575b80600003611811575060001901600081815260046020526040902054611a87565b505b604051636f96cda160e11b815260040160405180910390fd5b600260095403611b155760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610eb7565b6002600955565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600082611b7b8584611d2c565b14949350505050565b610a68828260405180602001604052806000815250611d79565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611bd3903390899088908890600401612631565b6020604051808303816000875af1925050508015611c0e575060408051601f3d908101601f19168201909252611c0b9181019061266e565b60015b611c6c573d808015611c3c576040519150601f19603f3d011682016040523d82523d6000602084013e611c41565b606091505b508051600003611c64576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b6060600e80546108ed906123dc565b60606000611ca683611de6565b600101905060008167ffffffffffffffff811115611cc657611cc66120dd565b6040519080825280601f01601f191660200182016040528015611cf0576020820181803683370190505b5090508181016020015b600019016f181899199a1a9b1b9c1cb0b131b232b360811b600a86061a8153600a8504945084611cfa57509392505050565b600081815b8451811015611d7157611d5d82868381518110611d5057611d5061268b565b6020026020010151611ebe565b915080611d69816126a1565b915050611d31565b509392505050565b611d838383611eea565b6001600160a01b0383163b15610d17576000548281035b611dad6000868380600101945086611b9e565b611dca576040516368d2bf6b60e11b815260040160405180910390fd5b818110611d9a578160005414611ddf57600080fd5b5050505050565b60008072184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b8310611e255772184f03e93ff9f4daa797ed6e38ed64bf6a1f0160401b830492506040015b6d04ee2d6d415b85acef81000000008310611e51576d04ee2d6d415b85acef8100000000830492506020015b662386f26fc100008310611e6f57662386f26fc10000830492506010015b6305f5e1008310611e87576305f5e100830492506008015b6127108310611e9b57612710830492506004015b60648310611ead576064830492506002015b600a83106108d85760010192915050565b6000818310611eda576000828152602084905260409020611811565b5060009182526020526040902090565b6000805490829003611f0f5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b03831660008181526005602090815260408083208054680100000000000000018802019055848352600490915281206001851460e11b4260a01b178317905582840190839083907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8180a4600183015b818114611fbe57808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600101611f86565b5081600003611fdf57604051622e076360e81b815260040160405180910390fd5b60005550505050565b6001600160e01b03198116811461197457600080fd5b60006020828403121561201057600080fd5b813561181181611fe8565b60005b8381101561203657818101518382015260200161201e565b50506000910152565b6000815180845261205781602086016020860161201b565b601f01601f19169290920160200192915050565b602081526000611811602083018461203f565b60006020828403121561209057600080fd5b5035919050565b80356001600160a01b03811681146120ae57600080fd5b919050565b600080604083850312156120c657600080fd5b6120cf83612097565b946020939093013593505050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561210e5761210e6120dd565b604051601f8501601f19908116603f01168101908282118183101715612136576121366120dd565b8160405280935085815286868601111561214f57600080fd5b858560208301376000602087830101525050509392505050565b60006020828403121561217b57600080fd5b813567ffffffffffffffff81111561219257600080fd5b8201601f810184136121a357600080fd5b611c82848235602084016120f3565b6000602082840312156121c457600080fd5b61181182612097565b6000806000606084860312156121e257600080fd5b6121eb84612097565b92506121f960208501612097565b9150604084013590509250925092565b6000806040838503121561221c57600080fd5b50508035926020909101359150565b6000806000806060858703121561224157600080fd5b61224a85612097565b935060208501359250604085013567ffffffffffffffff8082111561226e57600080fd5b818701915087601f83011261228257600080fd5b81358181111561229157600080fd5b8860208260051b85010111156122a657600080fd5b95989497505060200194505050565b803580151581146120ae57600080fd5b600080604083850312156122d857600080fd5b6122e183612097565b91506122ef602084016122b5565b90509250929050565b6000806000806080858703121561230e57600080fd5b61231785612097565b935061232560208601612097565b925060408501359150606085013567ffffffffffffffff81111561234857600080fd5b8501601f8101871361235957600080fd5b612368878235602084016120f3565b91505092959194509250565b60006020828403121561238657600080fd5b611811826122b5565b600080604083850312156123a257600080fd5b6123ab83612097565b91506122ef60208401612097565b600080604083850312156123cc57600080fd5b823591506122ef60208401612097565b600181811c908216806123f057607f821691505b60208210810361241057634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115610d1757600081815260208120601f850160051c8101602086101561243d5750805b601f850160051c820191505b81811015610c0b57828155600101612449565b815167ffffffffffffffff811115612476576124766120dd565b61248a8161248484546123dc565b84612416565b602080601f8311600181146124bf57600084156124a75750858301515b600019600386901b1c1916600185901b178555610c0b565b600085815260208120601f198616915b828110156124ee578886015182559484019460019091019084016124cf565b508582101561250c5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176108d8576108d861251c565b60008261256657634e487b7160e01b600052601260045260246000fd5b500490565b808201808211156108d8576108d861251c565b818103818111156108d8576108d861251c565b6000845160206125a48285838a0161201b565b8551918401916125b78184848a0161201b565b85549201916000906125c8816123dc565b600182811680156125e057600181146125f557612621565b60ff1984168752821515830287019450612621565b896000528560002060005b8481101561261957815489820152908301908701612600565b505082870194505b50929a9950505050505050505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906126649083018461203f565b9695505050505050565b60006020828403121561268057600080fd5b815161181181611fe8565b634e487b7160e01b600052603260045260246000fd5b6000600182016126b3576126b361251c565b506001019056fea264697066735822122023ab87ada4291ede57a8008e1d63ba06aa713b1ff4035e6ef93663ef9668975664736f6c63430008120033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002710000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000009506570616d69676f73000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035041530000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000d697066733a2f2f5f4349445f2f00000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _tokenName (string): Pepamigos
Arg [1] : _tokenSymbol (string): PAS
Arg [2] : _maxSupply (uint256): 10000
Arg [3] : _maxMintAmountPerTx (uint256): 10
Arg [4] : _maxMintAmountPerW (uint256): 10
Arg [5] : _hiddenMetadataUri (string): ipfs://_CID_/
-----Encoded View---------------
12 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [2] : 0000000000000000000000000000000000000000000000000000000000002710
Arg [3] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [7] : 506570616d69676f730000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [9] : 5041530000000000000000000000000000000000000000000000000000000000
Arg [10] : 000000000000000000000000000000000000000000000000000000000000000d
Arg [11] : 697066733a2f2f5f4349445f2f00000000000000000000000000000000000000
Deployed Bytecode Sourcemap
514:6275:8:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4692:299;;;;;;;;;;-1:-1:-1;4692:299:8;;;;;:::i;:::-;;:::i;:::-;;;565:14:15;;558:22;540:41;;528:2;513:18;4692:299:8;;;;;;;;10039:98:9;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;16360:214::-;;;;;;;;;;-1:-1:-1;16360:214:9;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1697:32:15;;;1679:51;;1667:2;1652:18;16360:214:9;1533:203:15;15812:398:9;;;;;;:::i;:::-;;:::i;:::-;;943:34:8;;;;;;;;;;;;;;;;;;;2324:25:15;;;2312:2;2297:18;943:34:8;2178:177:15;6095:98:8;;;;;;;;;;-1:-1:-1;6095:98:8;;;;;:::i;:::-;;:::i;1213:27::-;;;;;;;;;;-1:-1:-1;1213:27:8;;;;;;;;;;;5894:317:9;;;;;;;;;;;;;:::i;726:46:8:-;;;;;;;;;;-1:-1:-1;726:46:8;;;;;:::i;:::-;;;;;;;;;;;;;;19903:2764:9;;;;;;:::i;:::-;;:::i;5599:126:8:-;;;;;;;;;;-1:-1:-1;5599:126:8;;;;;:::i;:::-;;:::i;4280:404::-;;;;;;;;;;-1:-1:-1;4280:404:8;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;4554:32:15;;;4536:51;;4618:2;4603:18;;4596:34;;;;4509:18;4280:404:8;4362:274:15;645:25:8;;;;;;;;;;;;;;;;6370:73;;;;;;;;;;;;;:::i;6527:153::-;;;;;;;;;;;;;:::i;1158:142:13:-;;;;;;;;;;;;120:42:14;1158:142:13;;22758:187:9;;;;;;:::i;:::-;;:::i;5525:72:8:-;;;;;;;;;;-1:-1:-1;5525:72:8;;;;;:::i;:::-;;:::i;5859:130::-;;;;;;;;;;-1:-1:-1;5859:130:8;;;;;:::i;:::-;;:::i;1277:28::-;;;;;;;;;;-1:-1:-1;1277:28:8;;;;;;;;;;;865:33;;;;;;;;;;;;;:::i;1042:24::-;;;;;;;;;;;;;;;;1182:26;;;;;;;;;;-1:-1:-1;1182:26:8;;;;;;;;832:28;;;;;;;;;;;;;:::i;11391:150:9:-;;;;;;;;;;-1:-1:-1;11391:150:9;;;;;:::i;:::-;;:::i;7045:230::-;;;;;;;;;;-1:-1:-1;7045:230:9;;;;;:::i;:::-;;:::i;1831:101:0:-;;;;;;;;;;;;;:::i;6268:96:8:-;;;;;;;;;;-1:-1:-1;6268:96:8;;;;;:::i;:::-;;:::i;5993:98::-;;;;;;;;;;-1:-1:-1;5993:98:8;;;;;:::i;:::-;;:::i;1138:32::-;;;;;;;;;;;;;;;;1201:85:0;;;;;;;;;;-1:-1:-1;1273:6:0;;-1:-1:-1;;;;;1273:6:0;1201:85;;1100:33:8;;;;;;;;;;;;;;;;2673:944;;;;;;:::i;:::-;;:::i;10208:102:9:-;;;;;;;;;;;;;:::i;16901:231::-;;;;;;;;;;-1:-1:-1;16901:231:9;;;;;:::i;:::-;;:::i;1245:27:8:-;;;;;;;;;;-1:-1:-1;1245:27:8;;;;;;;;;;;903:31;;;;;;;;;;;;;:::i;5727:128::-;;;;;;;;;;-1:-1:-1;5727:128:8;;;;;:::i;:::-;;:::i;3625:345::-;;;;;;:::i;:::-;;:::i;23526:396:9:-;;;;;;:::i;:::-;;:::i;6197:67:8:-;;;;;;;;;;;;;:::i;4995:443::-;;;;;;;;;;-1:-1:-1;4995:443:8;;;;;:::i;:::-;;:::i;1071:24::-;;;;;;;;;;;;;;;;5442:79;;;;;;;;;;-1:-1:-1;5442:79:8;;;;;:::i;:::-;;:::i;6449:74::-;;;;;;;;;;;;;:::i;777:46::-;;;;;;;;;;-1:-1:-1;777:46:8;;;;;:::i;:::-;;;;;;;;;;;;;;17282:162:9;;;;;;;;;;-1:-1:-1;17282:162:9;;;;;:::i;:::-;;:::i;3976:203:8:-;;;;;;;;;;-1:-1:-1;3976:203:8;;;;;:::i;:::-;;:::i;2081:198:0:-;;;;;;;;;;-1:-1:-1;2081:198:0;;;;;:::i;:::-;;:::i;675:46:8:-;;;;;;;;;;-1:-1:-1;675:46:8;;;;;:::i;:::-;;;;;;;;;;;;;;;;4692:299;4795:4;-1:-1:-1;;;;;;4832:41:8;;-1:-1:-1;;;4832:41:8;;:98;;-1:-1:-1;;;;;;;4890:40:8;;-1:-1:-1;;;4890:40:8;4832:98;:151;;;;4947:36;4971:11;4947:23;:36::i;:::-;4812:171;4692:299;-1:-1:-1;;4692:299:8:o;10039:98:9:-;10093:13;10125:5;10118:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10039:98;:::o;16360:214::-;16436:7;16460:16;16468:7;16460;:16::i;:::-;16455:64;;16485:34;;-1:-1:-1;;;16485:34:9;;;;;;;;;;;16455:64;-1:-1:-1;16537:24:9;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;16537:30:9;;16360:214::o;15812:398::-;15900:13;15916:16;15924:7;15916;:16::i;:::-;15900:32;-1:-1:-1;39523:10:9;-1:-1:-1;;;;;15947:28:9;;;15943:172;;15994:44;16011:5;39523:10;17282:162;:::i;15994:44::-;15989:126;;16065:35;;-1:-1:-1;;;16065:35:9;;;;;;;;;;;15989:126;16125:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;16125:35:9;-1:-1:-1;;;;;16125:35:9;;;;;;;;;16175:28;;16125:24;;16175:28;;;;;;;15890:320;15812:398;;:::o;6095:98:8:-;1094:13:0;:11;:13::i;:::-;6167:9:8::1;:22;6179:10:::0;6167:9;:22:::1;:::i;:::-;;6095:98:::0;:::o;5894:317:9:-;4271:1:8;6164:12:9;5955:7;6148:13;:28;-1:-1:-1;;6148:46:9;;5894:317::o;19903:2764::-;20040:27;20070;20089:7;20070:18;:27::i;:::-;20040:57;;20153:4;-1:-1:-1;;;;;20112:45:9;20128:19;-1:-1:-1;;;;;20112:45:9;;20108:86;;20166:28;;-1:-1:-1;;;20166:28:9;;;;;;;;;;;20108:86;20206:27;19036:24;;;:15;:24;;;;;19260:26;;39523:10;18673:30;;;-1:-1:-1;;;;;18370:28:9;;18651:20;;;18648:56;20389:179;;20481:43;20498:4;39523:10;17282:162;:::i;20481:43::-;20476:92;;20533:35;;-1:-1:-1;;;20533:35:9;;;;;;;;;;;20476:92;-1:-1:-1;;;;;20583:16:9;;20579:52;;20608:23;;-1:-1:-1;;;20608:23:9;;;;;;;;;;;20579:52;20774:15;20771:157;;;20912:1;20891:19;20884:30;20771:157;-1:-1:-1;;;;;21300:24:9;;;;;;;:18;:24;;;;;;21298:26;;-1:-1:-1;;21298:26:9;;;21368:22;;;;;;;;;21366:24;;-1:-1:-1;21366:24:9;;;14703:11;14678:23;14674:41;14661:63;-1:-1:-1;;;14661:63:9;21654:26;;;;:17;:26;;;;;:172;;;;-1:-1:-1;;;21943:47:9;;:52;;21939:617;;22047:1;22037:11;;22015:19;22168:30;;;:17;:30;;;;;;:35;;22164:378;;22304:13;;22289:11;:28;22285:239;;22449:30;;;;:17;:30;;;;;:52;;;22285:239;21997:559;21939:617;22600:7;22596:2;-1:-1:-1;;;;;22581:27:9;22590:4;-1:-1:-1;;;;;22581:27:9;;;;;;;;;;;22618:42;20030:2637;;;19903:2764;;;:::o;5599:126:8:-;1094:13:0;:11;:13::i;:::-;5683:17:8::1;:38:::0;5599:126::o;4280:404::-;4368:16;;;4536:4;4497:35;1034:3;4497:9;:35;:::i;:::-;4496:44;;;;:::i;:::-;4654:4;;4471:69;;-1:-1:-1;4280:404:8;-1:-1:-1;;;;4280:404:8:o;6370:73::-;1094:13:0;:11;:13::i;:::-;6431:8:8::1;::::0;;-1:-1:-1;;6419:20:8;::::1;6431:8;::::0;;;::::1;;;6430:9;6419:20:::0;;::::1;;::::0;;6370:73::o;6527:153::-;1094:13:0;:11;:13::i;:::-;2261:21:2::1;:19;:21::i;:::-;6590:7:8::2;6611;1273:6:0::0;;-1:-1:-1;;;;;1273:6:0;;1201:85;6611:7:8::2;-1:-1:-1::0;;;;;6603:21:8::2;6632;6603:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6589:69;;;6673:2;6665:11;;;::::0;::::2;;6577:103;2303:20:2::1;1716:1:::0;2809:7;:22;2629:209;2303:20:::1;6527:153:8:o:0;22758:187:9:-;22899:39;22916:4;22922:2;22926:7;22899:39;;;;;;;;;;;;:16;:39::i;:::-;22758:187;;;:::o;5525:72:8:-;1094:13:0;:11;:13::i;:::-;5581:4:8::1;:12:::0;5525:72::o;5859:130::-;1094:13:0;:11;:13::i;:::-;5947:17:8::1;:38;5967:18:::0;5947:17;:38:::1;:::i;865:33::-:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;832:28::-;;;;;;;:::i;11391:150:9:-;11463:7;11505:27;11524:7;11505:18;:27::i;7045:230::-;7117:7;-1:-1:-1;;;;;7140:19:9;;7136:60;;7168:28;;-1:-1:-1;;;7168:28:9;;;;;;;;;;;7136:60;-1:-1:-1;;;;;;7213:25:9;;;;;:18;:25;;;;;;1360:13;7213:55;;7045:230::o;1831:101:0:-;1094:13;:11;:13::i;:::-;1895:30:::1;1922:1;1895:18;:30::i;6268:96:8:-:0;1094:13:0;:11;:13::i;:::-;6336:10:8::1;:24:::0;6268:96::o;5993:98::-;1094:13:0;:11;:13::i;:::-;6065:9:8::1;:22;6077:10:::0;6065:9;:22:::1;:::i;2673:944::-:0;2788:11;1847:1;1833:11;:15;:52;;;;;1867:18;;1852:11;:33;;1833:52;1825:85;;;;-1:-1:-1;;;1825:85:8;;11475:2:15;1825:85:8;;;11457:21:15;11514:2;11494:18;;;11487:30;-1:-1:-1;;;11533:18:15;;;11526:50;11593:18;;1825:85:8;;;;;;;;;1978:17;;39523:10:9;1935:25:8;;;;:11;:25;;;;;;:39;;1963:11;;1935:39;:::i;:::-;:60;;1917:125;;;;-1:-1:-1;;;1917:125:8;;11954:2:15;1917:125:8;;;11936:21:15;11993:2;11973:18;;;11966:30;-1:-1:-1;;;12012:18:15;;;12005:53;12075:18;;1917:125:8;11752:347:15;1917:125:8;2088:9;;2073:11;2057:13;:11;:13::i;:::-;:27;;;;:::i;:::-;:40;;2049:73;;;;-1:-1:-1;;;2049:73:8;;12306:2:15;2049:73:8;;;12288:21:15;12345:2;12325:18;;;12318:30;-1:-1:-1;;;12364:18:15;;;12357:50;12424:18;;2049:73:8;12104:344:15;2049:73:8;39523:10:9;2157:25:8;;;;:11;:25;;;;;;:39;;2185:11;;2157:39;:::i;:::-;2129:11;:25;39523:10:9;-1:-1:-1;;;;;2129:25:8;-1:-1:-1;;;;;2129:25:8;;;;;;;;;;;;:67;;;;2825:6:::1;;2418:101;2443:6;;2418:101;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;;2456:10:8::1;::::0;2483:28:::1;::::0;-1:-1:-1;;2500:10:8::1;12602:2:15::0;12598:15;12594:53;2483:28:8::1;::::0;::::1;12582:66:15::0;2456:10:8;;-1:-1:-1;12664:12:15;;;-1:-1:-1;2483:28:8::1;;;;;;;;;;;;2473:39;;;;;;2418:18;:101::i;:::-;:109;;2523:4;2418:109;2410:140;;;::::0;-1:-1:-1;;;2410:140:8;;12889:2:15;2410:140:8::1;::::0;::::1;12871:21:15::0;12928:2;12908:18;;;12901:30;-1:-1:-1;;;12947:18:15;;;12940:48;13005:18;;2410:140:8::1;12687:342:15::0;2410:140:8::1;2608:10:::2;2622:9;2608:23;2600:54;;;::::0;-1:-1:-1;;;2600:54:8;;12889:2:15;2600:54:8::2;::::0;::::2;12871:21:15::0;12928:2;12908:18;;;12901:30;-1:-1:-1;;;12947:18:15;;;12940:48;13005:18;;2600:54:8::2;12687:342:15::0;2600:54:8::2;2903:8:::3;::::0;::::3;::::0;::::3;;;2895:53;;;::::0;-1:-1:-1;;;2895:53:8;;13236:2:15;2895:53:8::3;::::0;::::3;13218:21:15::0;;;13255:18;;;13248:30;13314:34;13294:18;;;13287:62;13366:18;;2895:53:8::3;13034:356:15::0;2895:53:8::3;39523:10:9::0;2964:28:8::3;::::0;;;:14:::3;:28;::::0;;;;;::::3;;2963:29;2955:66;;;::::0;-1:-1:-1;;;2955:66:8;;13597:2:15;2955:66:8::3;::::0;::::3;13579:21:15::0;13636:2;13616:18;;;13609:30;13675:26;13655:18;;;13648:54;13719:18;;2955:66:8::3;13395:348:15::0;2955:66:8::3;3036:10;-1:-1:-1::0;;;;;3036:21:8;::::3;;3028:45;;;::::0;-1:-1:-1;;;3028:45:8;;13950:2:15;3028:45:8::3;::::0;::::3;13932:21:15::0;13989:2;13969:18;;;13962:30;-1:-1:-1;;;14008:18:15;;;14001:41;14059:18;;3028:45:8::3;13748:335:15::0;3028:45:8::3;3110:8;::::0;39523:10:9;3083:24:8::3;::::0;;;:10:::3;:24;::::0;;;;;:35:::3;3080:534;;;3162:8;;3148:11;:22;3145:49;;;3186:8;;3172:22;;3145:49;3256:4;::::0;3244:8:::3;::::0;3230:22:::3;::::0;:11;:22:::3;:::i;:::-;3229:31;;;;:::i;:::-;3216:9;:44;;3208:77;;;::::0;-1:-1:-1;;;3208:77:8;;14423:2:15;3208:77:8::3;::::0;::::3;14405:21:15::0;14462:2;14442:18;;;14435:30;-1:-1:-1;;;14481:18:15;;;14474:51;14542:18;;3208:77:8::3;14221:345:15::0;3208:77:8::3;39523:10:9::0;3300:24:8::3;::::0;;;:10:::3;:24;::::0;;;;:39;;3328:11;;3300:24;:39:::3;::::0;3328:11;;3300:39:::3;:::i;:::-;::::0;;;-1:-1:-1;3353:36:8::3;::::0;-1:-1:-1;39523:10:9;3363:12:8::3;3377:11;3353:9;:36::i;:::-;3080:534;;;3474:4;::::0;3460:18:::3;::::0;:11;:18:::3;:::i;:::-;3447:9;:31;;3439:65;;;::::0;-1:-1:-1;;;3439:65:8;;14773:2:15;3439:65:8::3;::::0;::::3;14755:21:15::0;14812:2;14792:18;;;14785:30;-1:-1:-1;;;14831:18:15;;;14824:52;14893:18;;3439:65:8::3;14571:346:15::0;3439:65:8::3;39523:10:9::0;3519:24:8::3;::::0;;;:10:::3;:24;::::0;;;;:39;;3547:11;;3519:24;:39:::3;::::0;3547:11;;3519:39:::3;:::i;:::-;::::0;;;-1:-1:-1;3570:36:8::3;::::0;-1:-1:-1;39523:10:9;3580:12:8::3;39437:103:9::0;3570:36:8::3;2203:1:::1;;2673:944:::0;;;;;:::o;10208:102:9:-;10264:13;10296:7;10289:14;;;;;:::i;16901:231::-;39523:10;16995:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;16995:49:9;;;;;;;;;;;;:60;;-1:-1:-1;;16995:60:9;;;;;;;;;;17070:55;;540:41:15;;;16995:49:9;;39523:10;17070:55;;513:18:15;17070:55:9;;;;;;;16901:231;;:::o;903:31:8:-;;;;;;;:::i;5727:128::-;1094:13:0;:11;:13::i;:::-;5811:18:8::1;:40:::0;5727:128::o;3625:345::-;3700:11;1847:1;1833:11;:15;:52;;;;;1867:18;;1852:11;:33;;1833:52;1825:85;;;;-1:-1:-1;;;1825:85:8;;11475:2:15;1825:85:8;;;11457:21:15;11514:2;11494:18;;;11487:30;-1:-1:-1;;;11533:18:15;;;11526:50;11593:18;;1825:85:8;11273:344:15;1825:85:8;1978:17;;39523:10:9;1935:25:8;;;;:11;:25;;;;;;:39;;1963:11;;1935:39;:::i;:::-;:60;;1917:125;;;;-1:-1:-1;;;1917:125:8;;11954:2:15;1917:125:8;;;11936:21:15;11993:2;11973:18;;;11966:30;-1:-1:-1;;;12012:18:15;;;12005:53;12075:18;;1917:125:8;11752:347:15;1917:125:8;2088:9;;2073:11;2057:13;:11;:13::i;:::-;:27;;;;:::i;:::-;:40;;2049:73;;;;-1:-1:-1;;;2049:73:8;;12306:2:15;2049:73:8;;;12288:21:15;12345:2;12325:18;;;12318:30;-1:-1:-1;;;12364:18:15;;;12357:50;12424:18;;2049:73:8;12104:344:15;2049:73:8;39523:10:9;2157:25:8;;;;:11;:25;;;;;;:39;;2185:11;;2157:39;:::i;:::-;39523:10:9;2129:25:8;;;;:11;:25;;;;;:67;2290:4:::1;::::0;3733:11;;2290:18:::1;::::0;3733:11;;2290:18:::1;:::i;:::-;2277:9;:31;;2269:63;;;::::0;-1:-1:-1;;;2269:63:8;;15124:2:15;2269:63:8::1;::::0;::::1;15106:21:15::0;15163:2;15143:18;;;15136:30;-1:-1:-1;;;15182:18:15;;;15175:49;15241:18;;2269:63:8::1;14922:343:15::0;2269:63:8::1;3763:6:::2;::::0;::::2;;3762:7;3754:43;;;::::0;-1:-1:-1;;;3754:43:8;;15472:2:15;3754:43:8::2;::::0;::::2;15454:21:15::0;15511:2;15491:18;;;15484:30;15550:25;15530:18;;;15523:53;15593:18;;3754:43:8::2;15270:347:15::0;3754:43:8::2;3812:7;::::0;;;::::2;;;3804:37;;;::::0;-1:-1:-1;;;3804:37:8;;15824:2:15;3804:37:8::2;::::0;::::2;15806:21:15::0;15863:2;15843:18;;;15836:30;-1:-1:-1;;;15882:18:15;;;15875:47;15939:18;;3804:37:8::2;15622:341:15::0;3804:37:8::2;3889:9;;3874:11;3858:13;:11;:13::i;:::-;:27;;;;:::i;:::-;:40;;3850:71;;;::::0;-1:-1:-1;;;3850:71:8;;16170:2:15;3850:71:8::2;::::0;::::2;16152:21:15::0;16209:2;16189:18;;;16182:30;-1:-1:-1;;;16228:18:15;;;16221:48;16286:18;;3850:71:8::2;15968:342:15::0;3850:71:8::2;3930:36;39523:10:9::0;3954:11:8::2;3930:9;:36::i;23526:396:9:-:0;23695:31;23708:4;23714:2;23718:7;23695:12;:31::i;:::-;-1:-1:-1;;;;;23740:14:9;;;:19;23736:180;;23778:56;23809:4;23815:2;23819:7;23828:5;23778:30;:56::i;:::-;23773:143;;23861:40;;-1:-1:-1;;;23861:40:9;;;;;;;;;;;23773:143;23526:396;;;;:::o;6197:67:8:-;1094:13:0;:11;:13::i;:::-;6254:6:8::1;::::0;;-1:-1:-1;;6244:16:8;::::1;6254:6;::::0;;::::1;6253:7;6244:16;::::0;;6197:67::o;4995:443::-;5069:13;5099:17;5107:8;5099:7;:17::i;:::-;5091:77;;;;-1:-1:-1;;;5091:77:8;;16517:2:15;5091:77:8;;;16499:21:15;16556:2;16536:18;;;16529:30;16595:34;16575:18;;;16568:62;-1:-1:-1;;;16646:18:15;;;16639:45;16701:19;;5091:77:8;16315:411:15;5091:77:8;5181:8;;;;;;;:17;;5193:5;5181:17;5177:64;;5216:17;5209:24;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4995:443;;;:::o;5177:64::-;5249:28;5280:10;:8;:10::i;:::-;5249:41;;5335:1;5310:14;5304:28;:32;:130;;;;;;;;;;;;;;;;;5372:14;5388:19;:8;:17;:19::i;:::-;5409:9;5355:64;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;5304:130;5297:137;4995:443;-1:-1:-1;;;4995:443:8:o;5442:79::-;1094:13:0;:11;:13::i;:::-;5500:8:8::1;:17:::0;;;::::1;;::::0;::::1;-1:-1:-1::0;;5500:17:8;;::::1;::::0;;;::::1;::::0;;5442:79::o;6449:74::-;1094:13:0;:11;:13::i;:::-;6512:7:8::1;::::0;;-1:-1:-1;;6501:18:8;::::1;6512:7:::0;;;;::::1;;;6511:8;6501:18:::0;;::::1;;::::0;;6449:74::o;17282:162:9:-;-1:-1:-1;;;;;17402:25:9;;;17379:4;17402:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;17282:162::o;3976:203:8:-;1094:13:0;:11;:13::i;:::-;4103:9:8::1;;4088:11;4072:13;:11;:13::i;:::-;:27;;;;:::i;:::-;:40;;4064:71;;;::::0;-1:-1:-1;;;4064:71:8;;16170:2:15;4064:71:8::1;::::0;::::1;16152:21:15::0;16209:2;16189:18;;;16182:30;-1:-1:-1;;;16228:18:15;;;16221:48;16286:18;;4064:71:8::1;15968:342:15::0;4064:71:8::1;4142:33;4152:9;4163:11;4142:9;:33::i;2081:198:0:-:0;1094:13;:11;:13::i;:::-;-1:-1:-1;;;;;2169:22:0;::::1;2161:73;;;::::0;-1:-1:-1;;;2161:73:0;;18194:2:15;2161:73:0::1;::::0;::::1;18176:21:15::0;18233:2;18213:18;;;18206:30;18272:34;18252:18;;;18245:62;-1:-1:-1;;;18323:18:15;;;18316:36;18369:19;;2161:73:0::1;17992:402:15::0;2161:73:0::1;2244:28;2263:8;2244:18;:28::i;:::-;2081:198:::0;:::o;9155:630:9:-;9240:4;-1:-1:-1;;;;;;;;;9558:25:9;;;;:101;;-1:-1:-1;;;;;;;;;;9634:25:9;;;9558:101;:177;;;-1:-1:-1;;;;;;;;9710:25:9;-1:-1:-1;;;9710:25:9;;9155:630::o;17693:277::-;17758:4;17812:7;4271:1:8;17793:26:9;;:65;;;;;17845:13;;17835:7;:23;17793:65;:151;;;;-1:-1:-1;;17895:26:9;;;;:17;:26;;;;;;-1:-1:-1;;;17895:44:9;:49;;17693:277::o;1359:130:0:-;1273:6;;-1:-1:-1;;;;;1273:6:0;39523:10:9;1422:23:0;1414:68;;;;-1:-1:-1;;;1414:68:0;;18601:2:15;1414:68:0;;;18583:21:15;;;18620:18;;;18613:30;18679:34;18659:18;;;18652:62;18731:18;;1414:68:0;18399:356:15;12515:1249:9;12582:7;12616;;4271:1:8;12662:23:9;12658:1042;;12714:13;;12707:4;:20;12703:997;;;12751:14;12768:23;;;:17;:23;;;;;;;-1:-1:-1;;;12855:24:9;;:29;;12851:831;;13510:111;13517:6;13527:1;13517:11;13510:111;;-1:-1:-1;;;13587:6:9;13569:25;;;;:17;:25;;;;;;13510:111;;12851:831;12729:971;12703:997;13726:31;;-1:-1:-1;;;13726:31:9;;;;;;;;;;;2336:287:2;1759:1;2468:7;;:19;2460:63;;;;-1:-1:-1;;;2460:63:2;;18962:2:15;2460:63:2;;;18944:21:15;19001:2;18981:18;;;18974:30;19040:33;19020:18;;;19013:61;19091:18;;2460:63:2;18760:355:15;2460:63:2;1759:1;2598:7;:18;2336:287::o;2433:187:0:-;2525:6;;;-1:-1:-1;;;;;2541:17:0;;;-1:-1:-1;;;;;;2541:17:0;;;;;;;2573:40;;2525:6;;;2541:17;2525:6;;2573:40;;2506:16;;2573:40;2496:124;2433:187;:::o;1156:184:5:-;1277:4;1329;1300:25;1313:5;1320:4;1300:12;:25::i;:::-;:33;;1156:184;-1:-1:-1;;;;1156:184:5:o;33423:110:9:-;33499:27;33509:2;33513:8;33499:27;;;;;;;;;;;;:9;:27::i;25948:697::-;26126:88;;-1:-1:-1;;;26126:88:9;;26106:4;;-1:-1:-1;;;;;26126:45:9;;;;;:88;;39523:10;;26193:4;;26199:7;;26208:5;;26126:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;26126:88:9;;;;;;;;-1:-1:-1;;26126:88:9;;;;;;;;;;;;:::i;:::-;;;26122:517;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26404:6;:13;26421:1;26404:18;26400:229;;26449:40;;-1:-1:-1;;;26449:40:9;;;;;;;;;;;26400:229;26589:6;26583:13;26574:6;26570:2;26566:15;26559:38;26122:517;-1:-1:-1;;;;;;26282:64:9;-1:-1:-1;;;26282:64:9;;-1:-1:-1;26122:517:9;25948:697;;;;;;:::o;6684:102:8:-;6744:13;6773:9;6766:16;;;;;:::i;415:696:4:-;471:13;520:14;537:17;548:5;537:10;:17::i;:::-;557:1;537:21;520:38;;572:20;606:6;595:18;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;595:18:4;-1:-1:-1;572:41:4;-1:-1:-1;733:28:4;;;749:2;733:28;788:280;-1:-1:-1;;819:5:4;-1:-1:-1;;;953:2:4;942:14;;937:30;819:5;924:44;1012:2;1003:11;;;-1:-1:-1;1032:21:4;788:280;1032:21;-1:-1:-1;1088:6:4;415:696;-1:-1:-1;;;415:696:4:o;1994:290:5:-;2077:7;2119:4;2077:7;2133:116;2157:5;:12;2153:1;:16;2133:116;;;2205:33;2215:12;2229:5;2235:1;2229:8;;;;;;;;:::i;:::-;;;;;;;2205:9;:33::i;:::-;2190:48;-1:-1:-1;2171:3:5;;;;:::i;:::-;;;;2133:116;;;-1:-1:-1;2265:12:5;1994:290;-1:-1:-1;;;1994:290:5:o;32675:669:9:-;32801:19;32807:2;32811:8;32801:5;:19::i;:::-;-1:-1:-1;;;;;32859:14:9;;;:19;32855:473;;32898:11;32912:13;32959:14;;;32991:229;33021:62;33060:1;33064:2;33068:7;;;;;;33077:5;33021:30;:62::i;:::-;33016:165;;33118:40;;-1:-1:-1;;;33118:40:9;;;;;;;;;;;33016:165;33215:3;33207:5;:11;32991:229;;33300:3;33283:13;;:20;33279:34;;33305:8;;;33279:34;32880:448;;32675:669;;;:::o;9889:890:7:-;9942:7;;-1:-1:-1;;;10017:15:7;;10013:99;;-1:-1:-1;;;10052:15:7;;;-1:-1:-1;10095:2:7;10085:12;10013:99;10138:6;10129:5;:15;10125:99;;10173:6;10164:15;;;-1:-1:-1;10207:2:7;10197:12;10125:99;10250:6;10241:5;:15;10237:99;;10285:6;10276:15;;;-1:-1:-1;10319:2:7;10309:12;10237:99;10362:5;10353;:14;10349:96;;10396:5;10387:14;;;-1:-1:-1;10429:1:7;10419:11;10349:96;10471:5;10462;:14;10458:96;;10505:5;10496:14;;;-1:-1:-1;10538:1:7;10528:11;10458:96;10580:5;10571;:14;10567:96;;10614:5;10605:14;;;-1:-1:-1;10647:1:7;10637:11;10567:96;10689:5;10680;:14;10676:64;;10724:1;10714:11;10766:6;9889:890;-1:-1:-1;;9889:890:7:o;8879:147:5:-;8942:7;8972:1;8968;:5;:51;;9100:13;9191:15;;;9226:4;9219:15;;;9272:4;9256:21;;8968:51;;;-1:-1:-1;9100:13:5;9191:15;;;9226:4;9219:15;9272:4;9256:21;;;8879:147::o;27091:2902:9:-;27163:20;27186:13;;;27213;;;27209:44;;27235:18;;-1:-1:-1;;;27235:18:9;;;;;;;;;;;27209:44;-1:-1:-1;;;;;27728:22:9;;;;;;:18;:22;;;;1495:2;27728:22;;;:71;;27766:32;27754:45;;27728:71;;;28035:31;;;:17;:31;;;;;-1:-1:-1;15123:15:9;;15097:24;15093:46;14703:11;14678:23;14674:41;14671:52;14661:63;;28035:170;;28264:23;;;;28035:31;;27728:22;;29016:25;27728:22;;28872:328;29520:1;29506:12;29502:20;29461:339;29560:3;29551:7;29548:16;29461:339;;29774:7;29764:8;29761:1;29734:25;29731:1;29728;29723:59;29612:1;29599:15;29461:339;;;29465:75;29831:8;29843:1;29831:13;29827:45;;29853:19;;-1:-1:-1;;;29853:19:9;;;;;;;;;;;29827:45;29887:13;:19;-1:-1:-1;22758:187:9;;;:::o;14:131:15:-;-1:-1:-1;;;;;;88:32:15;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:250::-;677:1;687:113;701:6;698:1;695:13;687:113;;;777:11;;;771:18;758:11;;;751:39;723:2;716:10;687:113;;;-1:-1:-1;;834:1:15;816:16;;809:27;592:250::o;847:271::-;889:3;927:5;921:12;954:6;949:3;942:19;970:76;1039:6;1032:4;1027:3;1023:14;1016:4;1009:5;1005:16;970:76;:::i;:::-;1100:2;1079:15;-1:-1:-1;;1075:29:15;1066:39;;;;1107:4;1062:50;;847:271;-1:-1:-1;;847:271:15:o;1123:220::-;1272:2;1261:9;1254:21;1235:4;1292:45;1333:2;1322:9;1318:18;1310:6;1292:45;:::i;1348:180::-;1407:6;1460:2;1448:9;1439:7;1435:23;1431:32;1428:52;;;1476:1;1473;1466:12;1428:52;-1:-1:-1;1499:23:15;;1348:180;-1:-1:-1;1348:180:15:o;1741:173::-;1809:20;;-1:-1:-1;;;;;1858:31:15;;1848:42;;1838:70;;1904:1;1901;1894:12;1838:70;1741:173;;;:::o;1919:254::-;1987:6;1995;2048:2;2036:9;2027:7;2023:23;2019:32;2016:52;;;2064:1;2061;2054:12;2016:52;2087:29;2106:9;2087:29;:::i;:::-;2077:39;2163:2;2148:18;;;;2135:32;;-1:-1:-1;;;1919:254:15:o;2360:127::-;2421:10;2416:3;2412:20;2409:1;2402:31;2452:4;2449:1;2442:15;2476:4;2473:1;2466:15;2492:632;2557:5;2587:18;2628:2;2620:6;2617:14;2614:40;;;2634:18;;:::i;:::-;2709:2;2703:9;2677:2;2763:15;;-1:-1:-1;;2759:24:15;;;2785:2;2755:33;2751:42;2739:55;;;2809:18;;;2829:22;;;2806:46;2803:72;;;2855:18;;:::i;:::-;2895:10;2891:2;2884:22;2924:6;2915:15;;2954:6;2946;2939:22;2994:3;2985:6;2980:3;2976:16;2973:25;2970:45;;;3011:1;3008;3001:12;2970:45;3061:6;3056:3;3049:4;3041:6;3037:17;3024:44;3116:1;3109:4;3100:6;3092;3088:19;3084:30;3077:41;;;;2492:632;;;;;:::o;3129:451::-;3198:6;3251:2;3239:9;3230:7;3226:23;3222:32;3219:52;;;3267:1;3264;3257:12;3219:52;3307:9;3294:23;3340:18;3332:6;3329:30;3326:50;;;3372:1;3369;3362:12;3326:50;3395:22;;3448:4;3440:13;;3436:27;-1:-1:-1;3426:55:15;;3477:1;3474;3467:12;3426:55;3500:74;3566:7;3561:2;3548:16;3543:2;3539;3535:11;3500:74;:::i;3585:186::-;3644:6;3697:2;3685:9;3676:7;3672:23;3668:32;3665:52;;;3713:1;3710;3703:12;3665:52;3736:29;3755:9;3736:29;:::i;3776:328::-;3853:6;3861;3869;3922:2;3910:9;3901:7;3897:23;3893:32;3890:52;;;3938:1;3935;3928:12;3890:52;3961:29;3980:9;3961:29;:::i;:::-;3951:39;;4009:38;4043:2;4032:9;4028:18;4009:38;:::i;:::-;3999:48;;4094:2;4083:9;4079:18;4066:32;4056:42;;3776:328;;;;;:::o;4109:248::-;4177:6;4185;4238:2;4226:9;4217:7;4213:23;4209:32;4206:52;;;4254:1;4251;4244:12;4206:52;-1:-1:-1;;4277:23:15;;;4347:2;4332:18;;;4319:32;;-1:-1:-1;4109:248:15:o;5248:757::-;5352:6;5360;5368;5376;5429:2;5417:9;5408:7;5404:23;5400:32;5397:52;;;5445:1;5442;5435:12;5397:52;5468:29;5487:9;5468:29;:::i;:::-;5458:39;;5544:2;5533:9;5529:18;5516:32;5506:42;;5599:2;5588:9;5584:18;5571:32;5622:18;5663:2;5655:6;5652:14;5649:34;;;5679:1;5676;5669:12;5649:34;5717:6;5706:9;5702:22;5692:32;;5762:7;5755:4;5751:2;5747:13;5743:27;5733:55;;5784:1;5781;5774:12;5733:55;5824:2;5811:16;5850:2;5842:6;5839:14;5836:34;;;5866:1;5863;5856:12;5836:34;5919:7;5914:2;5904:6;5901:1;5897:14;5893:2;5889:23;5885:32;5882:45;5879:65;;;5940:1;5937;5930:12;5879:65;5248:757;;;;-1:-1:-1;;5971:2:15;5963:11;;-1:-1:-1;;;5248:757:15:o;6010:160::-;6075:20;;6131:13;;6124:21;6114:32;;6104:60;;6160:1;6157;6150:12;6175:254;6240:6;6248;6301:2;6289:9;6280:7;6276:23;6272:32;6269:52;;;6317:1;6314;6307:12;6269:52;6340:29;6359:9;6340:29;:::i;:::-;6330:39;;6388:35;6419:2;6408:9;6404:18;6388:35;:::i;:::-;6378:45;;6175:254;;;;;:::o;6434:667::-;6529:6;6537;6545;6553;6606:3;6594:9;6585:7;6581:23;6577:33;6574:53;;;6623:1;6620;6613:12;6574:53;6646:29;6665:9;6646:29;:::i;:::-;6636:39;;6694:38;6728:2;6717:9;6713:18;6694:38;:::i;:::-;6684:48;;6779:2;6768:9;6764:18;6751:32;6741:42;;6834:2;6823:9;6819:18;6806:32;6861:18;6853:6;6850:30;6847:50;;;6893:1;6890;6883:12;6847:50;6916:22;;6969:4;6961:13;;6957:27;-1:-1:-1;6947:55:15;;6998:1;6995;6988:12;6947:55;7021:74;7087:7;7082:2;7069:16;7064:2;7060;7056:11;7021:74;:::i;:::-;7011:84;;;6434:667;;;;;;;:::o;7106:180::-;7162:6;7215:2;7203:9;7194:7;7190:23;7186:32;7183:52;;;7231:1;7228;7221:12;7183:52;7254:26;7270:9;7254:26;:::i;7291:260::-;7359:6;7367;7420:2;7408:9;7399:7;7395:23;7391:32;7388:52;;;7436:1;7433;7426:12;7388:52;7459:29;7478:9;7459:29;:::i;:::-;7449:39;;7507:38;7541:2;7530:9;7526:18;7507:38;:::i;7556:254::-;7624:6;7632;7685:2;7673:9;7664:7;7660:23;7656:32;7653:52;;;7701:1;7698;7691:12;7653:52;7737:9;7724:23;7714:33;;7766:38;7800:2;7789:9;7785:18;7766:38;:::i;7815:380::-;7894:1;7890:12;;;;7937;;;7958:61;;8012:4;8004:6;8000:17;7990:27;;7958:61;8065:2;8057:6;8054:14;8034:18;8031:38;8028:161;;8111:10;8106:3;8102:20;8099:1;8092:31;8146:4;8143:1;8136:15;8174:4;8171:1;8164:15;8028:161;;7815:380;;;:::o;8326:545::-;8428:2;8423:3;8420:11;8417:448;;;8464:1;8489:5;8485:2;8478:17;8534:4;8530:2;8520:19;8604:2;8592:10;8588:19;8585:1;8581:27;8575:4;8571:38;8640:4;8628:10;8625:20;8622:47;;;-1:-1:-1;8663:4:15;8622:47;8718:2;8713:3;8709:12;8706:1;8702:20;8696:4;8692:31;8682:41;;8773:82;8791:2;8784:5;8781:13;8773:82;;;8836:17;;;8817:1;8806:13;8773:82;;9047:1352;9173:3;9167:10;9200:18;9192:6;9189:30;9186:56;;;9222:18;;:::i;:::-;9251:97;9341:6;9301:38;9333:4;9327:11;9301:38;:::i;:::-;9295:4;9251:97;:::i;:::-;9403:4;;9467:2;9456:14;;9484:1;9479:663;;;;10186:1;10203:6;10200:89;;;-1:-1:-1;10255:19:15;;;10249:26;10200:89;-1:-1:-1;;9004:1:15;9000:11;;;8996:24;8992:29;8982:40;9028:1;9024:11;;;8979:57;10302:81;;9449:944;;9479:663;8273:1;8266:14;;;8310:4;8297:18;;-1:-1:-1;;9515:20:15;;;9633:236;9647:7;9644:1;9641:14;9633:236;;;9736:19;;;9730:26;9715:42;;9828:27;;;;9796:1;9784:14;;;;9663:19;;9633:236;;;9637:3;9897:6;9888:7;9885:19;9882:201;;;9958:19;;;9952:26;-1:-1:-1;;10041:1:15;10037:14;;;10053:3;10033:24;10029:37;10025:42;10010:58;9995:74;;9882:201;-1:-1:-1;;;;;10129:1:15;10113:14;;;10109:22;10096:36;;-1:-1:-1;9047:1352:15:o;10404:127::-;10465:10;10460:3;10456:20;10453:1;10446:31;10496:4;10493:1;10486:15;10520:4;10517:1;10510:15;10536:168;10609:9;;;10640;;10657:15;;;10651:22;;10637:37;10627:71;;10678:18;;:::i;10841:217::-;10881:1;10907;10897:132;;10951:10;10946:3;10942:20;10939:1;10932:31;10986:4;10983:1;10976:15;11014:4;11011:1;11004:15;10897:132;-1:-1:-1;11043:9:15;;10841:217::o;11622:125::-;11687:9;;;11708:10;;;11705:36;;;11721:18;;:::i;14088:128::-;14155:9;;;14176:11;;;14173:37;;;14190:18;;:::i;16731:1256::-;16955:3;16993:6;16987:13;17019:4;17032:64;17089:6;17084:3;17079:2;17071:6;17067:15;17032:64;:::i;:::-;17159:13;;17118:16;;;;17181:68;17159:13;17118:16;17216:15;;;17181:68;:::i;:::-;17338:13;;17271:20;;;17311:1;;17376:36;17338:13;17376:36;:::i;:::-;17431:1;17448:18;;;17475:141;;;;17630:1;17625:337;;;;17441:521;;17475:141;-1:-1:-1;;17510:24:15;;17496:39;;17587:16;;17580:24;17566:39;;17555:51;;;-1:-1:-1;17475:141:15;;17625:337;17656:6;17653:1;17646:17;17704:2;17701:1;17691:16;17729:1;17743:169;17757:8;17754:1;17751:15;17743:169;;;17839:14;;17824:13;;;17817:37;17882:16;;;;17774:10;;17743:169;;;17747:3;;17943:8;17936:5;17932:20;17925:27;;17441:521;-1:-1:-1;17978:3:15;;16731:1256;-1:-1:-1;;;;;;;;;;16731:1256:15:o;19120:489::-;-1:-1:-1;;;;;19389:15:15;;;19371:34;;19441:15;;19436:2;19421:18;;19414:43;19488:2;19473:18;;19466:34;;;19536:3;19531:2;19516:18;;19509:31;;;19314:4;;19557:46;;19583:19;;19575:6;19557:46;:::i;:::-;19549:54;19120:489;-1:-1:-1;;;;;;19120:489:15:o;19614:249::-;19683:6;19736:2;19724:9;19715:7;19711:23;19707:32;19704:52;;;19752:1;19749;19742:12;19704:52;19784:9;19778:16;19803:30;19827:5;19803:30;:::i;19868:127::-;19929:10;19924:3;19920:20;19917:1;19910:31;19960:4;19957:1;19950:15;19984:4;19981:1;19974:15;20000:135;20039:3;20060:17;;;20057:43;;20080:18;;:::i;:::-;-1:-1:-1;20127:1:15;20116:13;;20000:135::o
Swarm Source
ipfs://23ab87ada4291ede57a8008e1d63ba06aa713b1ff4035e6ef93663ef96689756
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.