ERC-721
Overview
Max Total Supply
3,333 CSS
Holders
295
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
20 CSSLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
CrazySquirrelSociety
Compiler Version
v0.8.14+commit.80d49f37
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-07-08 */ // File: @openzeppelin/contracts/utils/cryptography/MerkleProof.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Tree proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the merkle tree could be reinterpreted as a leaf value. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Calldata version of {verify} * * _Available since v4.7._ */ function verifyCalldata( bytes32[] calldata proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProofCalldata(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Calldata version of {processProof} * * _Available since v4.7._ */ function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Returns true if the `leaves` can be proved to be a part of a Merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * _Available since v4.7._ */ function multiProofVerify( bytes32[] memory proof, bool[] memory proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProof(proof, proofFlags, leaves) == root; } /** * @dev Calldata version of {multiProofVerify} * * _Available since v4.7._ */ function multiProofVerifyCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProofCalldata(proof, proofFlags, leaves) == root; } /** * @dev Returns the root of a tree reconstructed from `leaves` and the sibling nodes in `proof`, * consuming from one or the other at each step according to the instructions given by * `proofFlags`. * * _Available since v4.7._ */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Calldata version of {processMultiProof} * * _Available since v4.7._ */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { /// @solidity memory-safe-assembly assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: @openzeppelin/contracts/utils/Counters.sol // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } } // File: https://github.com/chiru-labs/ERC721A/blob/main/contracts/IERC721A.sol // ERC721A Contracts v4.1.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of an ERC721A compliant contract. */ interface IERC721A { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * 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(); struct TokenOwnership { // The address of the owner. address addr; // Keeps track of 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 through `_extraData`. uint24 extraData; } /** * @dev Returns the total amount of tokens stored by the contract. * * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens. */ function totalSupply() external view returns (uint256); // ============================== // 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); // ============================== // 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`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must 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 ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); // ============================== // 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 standard. See `_mintERC2309` for more details. */ event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to); } // File: https://github.com/chiru-labs/ERC721A/blob/main/contracts/ERC721A.sol // ERC721A Contracts v4.1.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev ERC721 token receiver interface. */ interface ERC721A__IERC721Receiver { function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, * including the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at `_startTokenId()` * (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is IERC721A { // 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 tokenId of the next token 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 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * @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 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 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 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 returns (uint256) { return _burnCounter; } /** * @dev See {IERC165-supportsInterface}. */ 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: 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. } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view 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 { 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; } /** * 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 ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. // // We can directly compare the packed value. // If the address is zero, packed is zero. while (packed == 0) { packed = _packedOwnerships[--curr]; } return packed; } } } revert OwnerQueryForNonexistentToken(); } /** * 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); } /** * Returns the unpacked `TokenOwnership` struct at `index`. */ function _ownershipAt(uint256 index) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnershipOf(tokenId)); } /** * @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 See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return address(uint160(_packedOwnershipOf(tokenId))); } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ 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 ''; } /** * @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)) } } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSenderERC721A()) revert ApproveToCaller(); _operatorApprovals[_msgSenderERC721A()][operator] = approved; emit ApprovalForAll(_msgSenderERC721A(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ''); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { transferFrom(from, to, tokenId); if (to.code.length != 0) if (!_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && // If within bounds, _packedOwnerships[tokenId] & BITMASK_BURNED == 0; // and not burned. } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal { _safeMint(to, 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 { _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 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 { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); 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 tokenId = startTokenId; uint256 end = startTokenId + quantity; do { emit Transfer(address(0), to, tokenId++); } while (tokenId < end); _currentIndex = end; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * This function is intended for efficient minting only during contract creation. * * It emits only one {ConsecutiveTransfer} as defined in * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309), * instead of a sequence of {Transfer} event(s). * * Calling this function outside of contract creation WILL make your contract * non-compliant with the ERC721 standard. * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309 * {ConsecutiveTransfer} event is only permissible during contract creation. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {ConsecutiveTransfer} event. */ function _mintERC2309(address to, uint256 quantity) internal { 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 Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { mapping(uint256 => address) storage tokenApprovalsPtr = _tokenApprovals; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId]`. assembly { // Compute the slot. mstore(0x00, tokenId) mstore(0x20, tokenApprovalsPtr.slot) approvedAddressSlot := keccak256(0x00, 0x40) // Load the slot's value from storage. approvedAddress := sload(approvedAddressSlot) } } /** * @dev Returns whether the `approvedAddress` is equals to `from` or `msgSender`. */ function _isOwnerOrApproved( address approvedAddress, address from, address msgSender ) private pure returns (bool result) { assembly { // Mask `from` to the lower 160 bits, in case the upper bits somehow aren't clean. from := and(from, BITMASK_ADDRESS) // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean. msgSender := and(msgSender, BITMASK_ADDRESS) // `msgSender == from || msgSender == approvedAddress`. result := or(eq(msgSender, from), eq(msgSender, approvedAddress)) } } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId); if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner(); (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedAddress(tokenId); // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isOwnerOrApproved(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 `_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) = _getApprovedAddress(tokenId); if (approvalCheck) { // The nested ifs save around 20+ gas over a compound boolean condition. if (!_isOwnerOrApproved(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++; } } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _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)) } } } } /** * @dev Directly sets the extra data for the ownership data `index`. */ function _setExtraDataAt(uint256 index, uint24 extraData) internal { 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 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; } /** * @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 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 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 returns (string memory ptr) { assembly { // The maximum value of a uint256 contains 78 digits (1 byte per digit), // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged. // We will need 1 32-byte word to store the length, // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128. ptr := add(mload(0x40), 128) // Update the free memory pointer to allocate. mstore(0x40, ptr) // Cache the end of the memory to calculate the length later. let end := ptr // We write the string from the rightmost digit to the leftmost digit. // The following is essentially a do-while loop that also handles the zero case. // Costs a bit more than early returning for the zero case, // but cheaper in terms of deployment and overall runtime costs. for { // Initialize and perform the first pass without check. let temp := value // Move the pointer 1 byte leftwards to point to an empty character slot. ptr := sub(ptr, 1) // Write the character to the pointer. 48 is the ASCII index of '0'. mstore8(ptr, add(48, mod(temp, 10))) temp := div(temp, 10) } temp { // Keep dividing `temp` until zero. temp := div(temp, 10) } { // Body of the for loop. ptr := sub(ptr, 1) mstore8(ptr, add(48, mod(temp, 10))) } let length := sub(end, ptr) // Move the pointer 32 bytes leftwards to make room for the length. ptr := sub(ptr, 32) // Store the length. mstore(ptr, length) } } } // File: https://github.com/chiru-labs/ERC721A/blob/main/contracts/extensions/IERC721AQueryable.sol // ERC721A Contracts v4.1.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of an ERC721AQueryable compliant contract. */ interface IERC721AQueryable is IERC721A { /** * Invalid query range (`start` >= `stop`). */ error InvalidQueryRange(); /** * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting. * * If the `tokenId` is out of bounds: * - `addr` = `address(0)` * - `startTimestamp` = `0` * - `burned` = `false` * * If the `tokenId` is burned: * - `addr` = `<Address of owner before token was burned>` * - `startTimestamp` = `<Timestamp when token was burned>` * - `burned = `true` * * Otherwise: * - `addr` = `<Address of owner>` * - `startTimestamp` = `<Timestamp of start of ownership>` * - `burned = `false` */ function explicitOwnershipOf(uint256 tokenId) external view returns (TokenOwnership memory); /** * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order. * See {ERC721AQueryable-explicitOwnershipOf} */ function explicitOwnershipsOf(uint256[] memory tokenIds) external view returns (TokenOwnership[] memory); /** * @dev Returns an array of token IDs owned by `owner`, * in the range [`start`, `stop`) * (i.e. `start <= tokenId < stop`). * * This function allows for tokens to be queried if the collection * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}. * * Requirements: * * - `start` < `stop` */ function tokensOfOwnerIn( address owner, uint256 start, uint256 stop ) external view returns (uint256[] memory); /** * @dev Returns an array of token IDs owned by `owner`. * * This function scans the ownership mapping and is O(totalSupply) in complexity. * It is meant to be called off-chain. * * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into * multiple smaller scans if the collection is large enough to cause * an out-of-gas error (10K pfp collections should be fine). */ function tokensOfOwner(address owner) external view returns (uint256[] memory); } // File: https://github.com/chiru-labs/ERC721A/blob/main/contracts/extensions/ERC721AQueryable.sol // ERC721A Contracts v4.1.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @title ERC721A Queryable * @dev ERC721A subclass with convenience query functions. */ abstract contract ERC721AQueryable is ERC721A, IERC721AQueryable { /** * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting. * * If the `tokenId` is out of bounds: * - `addr` = `address(0)` * - `startTimestamp` = `0` * - `burned` = `false` * - `extraData` = `0` * * If the `tokenId` is burned: * - `addr` = `<Address of owner before token was burned>` * - `startTimestamp` = `<Timestamp when token was burned>` * - `burned = `true` * - `extraData` = `<Extra data when token was burned>` * * Otherwise: * - `addr` = `<Address of owner>` * - `startTimestamp` = `<Timestamp of start of ownership>` * - `burned = `false` * - `extraData` = `<Extra data at start of ownership>` */ function explicitOwnershipOf(uint256 tokenId) public view override returns (TokenOwnership memory) { TokenOwnership memory ownership; if (tokenId < _startTokenId() || tokenId >= _nextTokenId()) { return ownership; } ownership = _ownershipAt(tokenId); if (ownership.burned) { return ownership; } return _ownershipOf(tokenId); } /** * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order. * See {ERC721AQueryable-explicitOwnershipOf} */ function explicitOwnershipsOf(uint256[] memory tokenIds) external view override returns (TokenOwnership[] memory) { unchecked { uint256 tokenIdsLength = tokenIds.length; TokenOwnership[] memory ownerships = new TokenOwnership[](tokenIdsLength); for (uint256 i; i != tokenIdsLength; ++i) { ownerships[i] = explicitOwnershipOf(tokenIds[i]); } return ownerships; } } /** * @dev Returns an array of token IDs owned by `owner`, * in the range [`start`, `stop`) * (i.e. `start <= tokenId < stop`). * * This function allows for tokens to be queried if the collection * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}. * * Requirements: * * - `start` < `stop` */ function tokensOfOwnerIn( address owner, uint256 start, uint256 stop ) external view override returns (uint256[] memory) { unchecked { if (start >= stop) revert InvalidQueryRange(); uint256 tokenIdsIdx; uint256 stopLimit = _nextTokenId(); // Set `start = max(start, _startTokenId())`. if (start < _startTokenId()) { start = _startTokenId(); } // Set `stop = min(stop, stopLimit)`. if (stop > stopLimit) { stop = stopLimit; } uint256 tokenIdsMaxLength = balanceOf(owner); // Set `tokenIdsMaxLength = min(balanceOf(owner), stop - start)`, // to cater for cases where `balanceOf(owner)` is too big. if (start < stop) { uint256 rangeLength = stop - start; if (rangeLength < tokenIdsMaxLength) { tokenIdsMaxLength = rangeLength; } } else { tokenIdsMaxLength = 0; } uint256[] memory tokenIds = new uint256[](tokenIdsMaxLength); if (tokenIdsMaxLength == 0) { return tokenIds; } // We need to call `explicitOwnershipOf(start)`, // because the slot at `start` may not be initialized. TokenOwnership memory ownership = explicitOwnershipOf(start); address currOwnershipAddr; // If the starting slot exists (i.e. not burned), initialize `currOwnershipAddr`. // `ownership.address` will not be zero, as `start` is clamped to the valid token ID range. if (!ownership.burned) { currOwnershipAddr = ownership.addr; } for (uint256 i = start; i != stop && tokenIdsIdx != tokenIdsMaxLength; ++i) { ownership = _ownershipAt(i); if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { tokenIds[tokenIdsIdx++] = i; } } // Downsize the array to fit. assembly { mstore(tokenIds, tokenIdsIdx) } return tokenIds; } } /** * @dev Returns an array of token IDs owned by `owner`. * * This function scans the ownership mapping and is O(totalSupply) in complexity. * It is meant to be called off-chain. * * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into * multiple smaller scans if the collection is large enough to cause * an out-of-gas error (10K pfp collections should be fine). */ function tokensOfOwner(address owner) external view override returns (uint256[] memory) { unchecked { uint256 tokenIdsIdx; address currOwnershipAddr; uint256 tokenIdsLength = balanceOf(owner); uint256[] memory tokenIds = new uint256[](tokenIdsLength); TokenOwnership memory ownership; for (uint256 i = _startTokenId(); tokenIdsIdx != tokenIdsLength; ++i) { ownership = _ownershipAt(i); if (ownership.burned) { continue; } if (ownership.addr != address(0)) { currOwnershipAddr = ownership.addr; } if (currOwnershipAddr == owner) { tokenIds[tokenIdsIdx++] = i; } } return tokenIds; } } } // File: contracts/CSS.sol pragma solidity 0.8.14; contract CrazySquirrelSociety is ERC721AQueryable, Ownable { using Strings for uint256; using Counters for Counters.Counter; Counters.Counter private supply; string public uriPrefix = "METADATA"; string public uriSuffix = ".json"; string public _contractURI = "https://www.crazysquirrelsociety.com/SquirrelContract.json"; string public hiddenMetadataUri; uint256 public baseCost = 30000000000000000; uint256 public cost = baseCost; uint256 public maxSupply = 3334; uint256 public maxMintAmountPerTx = 51; //50 bool public paused = false; bool public revealed = false; bool public whitelistPhase = false; uint256 public walletLimit = 0; uint256 public maxWalletLimitWL = 3334; //5 uint256 public maxWalletLimitPL = 3334; //unlimited uint256 public freeMintLimit = 0; // When do we switch from Free to Paid address public maxSupplyController = 0xbc47494ebB5F13f1a153e7b55A8Ed75e52583928; mapping (address => uint256) public alreadyMinted; mapping (address => uint256) public alreadyClaimed; // MERKEL TREE STUFF bytes32 public merkleRoot = 0xd4cc55fe690d8da4b2c1935e5dee444de78395ebcfdf42504ba93147d4afc9a4; constructor() ERC721A("Crazy Squirrel Society", "CSS") { _startTokenId(); setHiddenMetadataUri("https://www.crazysquirrelsociety.com/SquirrelHidden.json"); setContractURI("https://www.crazysquirrelsociety.com/SquirrelContract.json"); } function _startTokenId() internal pure override returns(uint256) { return 1; } modifier mintCompliance (uint256 _mintAmount) { require(!paused, "Minting is PAUSED!"); require(_mintAmount > 0 && _mintAmount < maxMintAmountPerTx, "Invalid mint amount!"); require(msg.sender == tx.origin, "No Bots!"); require(totalSupply() + _mintAmount < maxSupply, "Max supply exceeded!"); if (whitelistPhase) { walletLimit = maxWalletLimitWL; cost = 0; } else if (!whitelistPhase) { walletLimit = maxWalletLimitPL; cost = baseCost; } if (totalSupply() < freeMintLimit && totalSupply() + _mintAmount > freeMintLimit) { uint256 overflow = totalSupply() + _mintAmount - freeMintLimit; cost = baseCost * overflow; } if (totalSupply() > freeMintLimit) { cost = baseCost; } require(msg.value >= cost, "Insufficient funds!"); require(alreadyMinted[msg.sender] + _mintAmount < walletLimit, "Max Mints Per Wallet Reached!"); _; } function setMerkleRoot(bytes32 newMerkleRoot) external onlyOwner { merkleRoot = newMerkleRoot; } function getAlreadyMinted(address a) public view returns (uint256) { return alreadyMinted[a]; } function getWhitelistState() public view returns (bool) { return whitelistPhase; } function getFreeMint() public view returns (uint256) { return freeMintLimit; } function getMaxWalletLimitWL() public view returns (uint256) { return maxWalletLimitWL; } function getMaxWalletLimitPL() public view returns (uint256) { return maxWalletLimitPL; } function getPausedState() public view returns (bool) { return paused; } function getTotalSupply() public view returns (uint256) { return totalSupply(); } function publicMint(uint256 _mintAmount) external mintCompliance(_mintAmount) payable { require(!whitelistPhase, "Still in Whitelist Sale!"); alreadyMinted[msg.sender] += _mintAmount; _safeMint(msg.sender, _mintAmount); } function mintForAddress(uint256 _mintAmount, address _receiver) public payable onlyOwner { require(totalSupply() + _mintAmount < maxSupply, "Max supply exceeded!"); _safeMint(_receiver, _mintAmount); } function mintForAddressMultiple(address[] calldata addresses, uint256[] calldata amount) public onlyOwner { for (uint256 i; i < addresses.length; i++) { require(totalSupply() + amount[i] < maxSupply, "Max supply exceeded!"); _safeMint(addresses[i], amount[i]); } } function walletOfOwner(address _owner) public view returns (uint256[] memory) { uint256 ownerTokenCount = balanceOf(_owner); uint256[] memory ownedTokenIds = new uint256[](ownerTokenCount); uint256 currentTokenId = 1; uint256 ownedTokenIndex = 0; while (ownedTokenIndex < ownerTokenCount && currentTokenId <= maxSupply) { address currentTokenOwner = ownerOf(currentTokenId); if (currentTokenOwner == _owner) { ownedTokenIds[ownedTokenIndex] = currentTokenId; ownedTokenIndex++; } currentTokenId++; } return ownedTokenIds; } function tokenURI(uint256 _tokenId) public view virtual override (ERC721A, IERC721A) 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, _toString(_tokenId), uriSuffix)) : ""; } function contractURI() public view returns (string memory) { return bytes(_contractURI).length > 0 ? string(abi.encodePacked(_contractURI)) : ""; } function setRevealed(bool _state) public onlyOwner { revealed = _state; } function setBaseCost(uint256 _baseCost) public onlyOwner { baseCost = _baseCost; } function setMaxMintAmountPerTx(uint256 _maxMintAmountPerTx) public onlyOwner { maxMintAmountPerTx = _maxMintAmountPerTx; } function setFreeMintLimit(uint256 _freeMintLimit) public onlyOwner { freeMintLimit = _freeMintLimit; } function setMaxWalletLimitWL(uint256 _maxWalletLimitWL) public onlyOwner { maxWalletLimitWL = _maxWalletLimitWL; } function setMaxWalletLimitPL(uint256 _maxWalletLimitPL) public onlyOwner { maxWalletLimitPL = _maxWalletLimitPL; } function setMaxSupplyController(address _address) public onlyOwner { require(msg.sender == maxSupplyController, "Not Authorised"); maxSupplyController = _address; } function setMaxSupply(uint256 _maxSupply) public onlyOwner { require(msg.sender == maxSupplyController, "Not Authorised"); maxSupply = _maxSupply; } 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 setContractURI(string memory newContractURI) public onlyOwner { _contractURI = newContractURI; } function setPaused(bool _state) public onlyOwner { paused = _state; } function setWhitelistPhase(bool _state) public onlyOwner { whitelistPhase = _state; } function withdraw() public onlyOwner { (bool os, ) = payable(owner()).call{value: address(this).balance}(""); require(os); } function _baseURI() internal view virtual override returns (string memory) { return uriPrefix; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"InvalidQueryRange","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"_contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"alreadyClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"alreadyMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"explicitOwnershipOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"explicitOwnershipsOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freeMintLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"a","type":"address"}],"name":"getAlreadyMinted","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":"getFreeMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMaxWalletLimitPL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMaxWalletLimitWL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPausedState","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getWhitelistState","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupplyController","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletLimitPL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletLimitWL","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"mintForAddress","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint256[]","name":"amount","type":"uint256[]"}],"name":"mintForAddressMultiple","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":"uint256","name":"_mintAmount","type":"uint256"}],"name":"publicMint","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":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_baseCost","type":"uint256"}],"name":"setBaseCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newContractURI","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_freeMintLimit","type":"uint256"}],"name":"setFreeMintLimit","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":"_maxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setMaxSupplyController","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxWalletLimitPL","type":"uint256"}],"name":"setMaxWalletLimitPL","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxWalletLimitWL","type":"uint256"}],"name":"setMaxWalletLimitWL","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"newMerkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"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":"bool","name":"_state","type":"bool"}],"name":"setWhitelistPhase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"stop","type":"uint256"}],"name":"tokensOfOwnerIn","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"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":"walletLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistPhase","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60c060405260086080819052674d4554414441544160c01b60a09081526200002b91600a9190620002ee565b5060408051808201909152600580825264173539b7b760d91b60209092019182526200005a91600b91620002ee565b506040518060600160405280603a815260200162003404603a913980516200008b91600c91602090910190620002ee565b50666a94d74f430000600e819055600f55610d06601081905560336011556012805462ffffff19169055600060138190556014829055601591909155601655601780546001600160a01b03191673bc47494ebb5f13f1a153e7b55a8ed75e525839281790557fd4cc55fe690d8da4b2c1935e5dee444de78395ebcfdf42504ba93147d4afc9a4601a553480156200012157600080fd5b50604080518082018252601681527f4372617a7920537175697272656c20536f63696574790000000000000000000060208083019182528351808501909452600384526243535360e81b9084015281519192916200018291600291620002ee565b50805162000198906003906020840190620002ee565b5050600160005550620001ab33620001f9565b620001cf6040518060600160405280603881526020016200343e603891396200024b565b620001f36040518060600160405280603a815260200162003404603a91396200026e565b620003d0565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620002556200028d565b80516200026a90600d906020840190620002ee565b5050565b620002786200028d565b80516200026a90600c906020840190620002ee565b6008546001600160a01b03163314620002ec5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b565b828054620002fc9062000394565b90600052602060002090601f0160209004810192826200032057600085556200036b565b82601f106200033b57805160ff19168380011785556200036b565b828001600101855582156200036b579182015b828111156200036b5782518255916020019190600101906200034e565b50620003799291506200037d565b5090565b5b808211156200037957600081556001016200037e565b600181811c90821680620003a957607f821691505b602082108103620003ca57634e487b7160e01b600052602260045260246000fd5b50919050565b61302480620003e06000396000f3fe60806040526004361061042f5760003560e01c80637cb6475911610228578063b071401b11610128578063d5abeb01116100bb578063e8a3d4851161008a578063efbd73f41161006f578063efbd73f414610c01578063f2fde38b14610c14578063f54b893b14610c3457600080fd5b8063e8a3d48514610ba3578063e985e9c514610bb857600080fd5b8063d5abeb0114610b38578063de6c6d3614610b4e578063e0a8085314610b6e578063e887312914610b8e57600080fd5b8063c23dc68f116100f7578063c23dc68f14610aa0578063c4e41b2214610acd578063c71fbb7114610ae2578063c87b56dd14610b1857600080fd5b8063b071401b14610a2b578063b88d4fde14610a4b578063bd2f6eb814610a6b578063c0e7274014610a8b57600080fd5b806393822557116101bb57806399a2557a1161018a578063a22cb4651161016f578063a22cb465146109d6578063a45ba8e7146109f6578063a7749b0d14610a0b57600080fd5b806399a2557a146109985780639dddc292146109b857600080fd5b80639382255714610937578063938e3d7b1461094d57806394354fd01461096d57806395d89b411461098357600080fd5b80638462151c116101f75780638462151c146108c4578063861ec1f4146108e45780638da5cb5b146108f95780638ea3b9b41461091757600080fd5b80637cb64759146108445780637ec4a65914610864578063815d544c1461088457806381692722146108a457600080fd5b80632eb4a7ab116103335780635bbb2177116102c657806365a85d48116102955780636fd02e4b1161027a5780636fd02e4b146107f957806370a082311461080f578063715018a61461082f57600080fd5b806365a85d48146107b95780636f8b44b0146107d957600080fd5b80635bbb21771461073d5780635c975abb1461076a57806362b99ad4146107845780636352211e1461079957600080fd5b8063438b630011610302578063438b6300146106bc5780634fdd43cb146106e957806351830227146107095780635503a0e81461072857600080fd5b80632eb4a7ab1461065b5780633c8463a1146106715780633ccfd60b1461068757806342842e0e1461069c57600080fd5b806313faede6116103c65780631c0de051116103955780632b2bda4f1161037a5780632b2bda4f146106125780632b5dc91f146106285780632db115441461064857600080fd5b80631c0de051146105da57806323b872dd146105f257600080fd5b806313faede61461056757806316ba10e01461057d57806316c38b3c1461059d57806318160ddd146105bd57600080fd5b8063081812fc11610402578063081812fc146104cc57806308346d8514610504578063095ea7b31461051a5780630a398b881461053a57600080fd5b806301ffc9a71461043457806302bdd75514610469578063065721bf1461048b57806306fdde03146104aa575b600080fd5b34801561044057600080fd5b5061045461044f36600461280e565b610c61565b60405190151581526020015b60405180910390f35b34801561047557600080fd5b50610489610484366004612840565b610cfe565b005b34801561049757600080fd5b506015545b604051908152602001610460565b3480156104b657600080fd5b506104bf610d22565b60405161046091906128b3565b3480156104d857600080fd5b506104ec6104e73660046128c6565b610db4565b6040516001600160a01b039091168152602001610460565b34801561051057600080fd5b5061049c60165481565b34801561052657600080fd5b506104896105353660046128f6565b610e11565b34801561054657600080fd5b5061049c610555366004612920565b60186020526000908152604090205481565b34801561057357600080fd5b5061049c600f5481565b34801561058957600080fd5b506104896105983660046129da565b610ef4565b3480156105a957600080fd5b506104896105b8366004612840565b610f13565b3480156105c957600080fd5b50600154600054036000190161049c565b3480156105e657600080fd5b5060125460ff16610454565b3480156105fe57600080fd5b5061048961060d366004612a23565b610f2e565b34801561061e57600080fd5b5061049c60155481565b34801561063457600080fd5b506104896106433660046128c6565b61112f565b6104896106563660046128c6565b61113c565b34801561066757600080fd5b5061049c601a5481565b34801561067d57600080fd5b5061049c60135481565b34801561069357600080fd5b506104896114c2565b3480156106a857600080fd5b506104896106b7366004612a23565b61153e565b3480156106c857600080fd5b506106dc6106d7366004612920565b61155e565b6040516104609190612a5f565b3480156106f557600080fd5b506104896107043660046129da565b61163e565b34801561071557600080fd5b5060125461045490610100900460ff1681565b34801561073457600080fd5b506104bf611659565b34801561074957600080fd5b5061075d610758366004612a97565b6116e7565b6040516104609190612b3d565b34801561077657600080fd5b506012546104549060ff1681565b34801561079057600080fd5b506104bf6117b5565b3480156107a557600080fd5b506104ec6107b43660046128c6565b6117c2565b3480156107c557600080fd5b506104896107d43660046128c6565b6117cd565b3480156107e557600080fd5b506104896107f43660046128c6565b6117da565b34801561080557600080fd5b5061049c60145481565b34801561081b57600080fd5b5061049c61082a366004612920565b611841565b34801561083b57600080fd5b506104896118a9565b34801561085057600080fd5b5061048961085f3660046128c6565b6118bd565b34801561087057600080fd5b5061048961087f3660046129da565b6118ca565b34801561089057600080fd5b506012546104549062010000900460ff1681565b3480156108b057600080fd5b506104896108bf3660046128c6565b6118e5565b3480156108d057600080fd5b506106dc6108df366004612920565b6118f2565b3480156108f057600080fd5b5060165461049c565b34801561090557600080fd5b506008546001600160a01b03166104ec565b34801561092357600080fd5b506017546104ec906001600160a01b031681565b34801561094357600080fd5b5061049c600e5481565b34801561095957600080fd5b506104896109683660046129da565b6119f6565b34801561097957600080fd5b5061049c60115481565b34801561098f57600080fd5b506104bf611a11565b3480156109a457600080fd5b506106dc6109b3366004612bba565b611a20565b3480156109c457600080fd5b5060125462010000900460ff16610454565b3480156109e257600080fd5b506104896109f1366004612bed565b611bc1565b348015610a0257600080fd5b506104bf611c6f565b348015610a1757600080fd5b50610489610a26366004612920565b611c7c565b348015610a3757600080fd5b50610489610a463660046128c6565b611d0d565b348015610a5757600080fd5b50610489610a66366004612c20565b611d1a565b348015610a7757600080fd5b50610489610a863660046128c6565b611d64565b348015610a9757600080fd5b506104bf611d71565b348015610aac57600080fd5b50610ac0610abb3660046128c6565b611d7e565b6040516104609190612c9c565b348015610ad957600080fd5b5061049c611e06565b348015610aee57600080fd5b5061049c610afd366004612920565b6001600160a01b031660009081526018602052604090205490565b348015610b2457600080fd5b506104bf610b333660046128c6565b611e20565b348015610b4457600080fd5b5061049c60105481565b348015610b5a57600080fd5b50610489610b69366004612d2d565b611fa1565b348015610b7a57600080fd5b50610489610b89366004612840565b61209b565b348015610b9a57600080fd5b5060145461049c565b348015610baf57600080fd5b506104bf6120bd565b348015610bc457600080fd5b50610454610bd3366004612d99565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b610489610c0f366004612dc3565b61210e565b348015610c2057600080fd5b50610489610c2f366004612920565b612188565b348015610c4057600080fd5b5061049c610c4f366004612920565b60196020526000908152604090205481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b031983161480610cc457507f80ac58cd000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b80610cf857507f5b5e139f000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b610d06612215565b60128054911515620100000262ff000019909216919091179055565b606060028054610d3190612de6565b80601f0160208091040260200160405190810160405280929190818152602001828054610d5d90612de6565b8015610daa5780601f10610d7f57610100808354040283529160200191610daa565b820191906000526020600020905b815481529060010190602001808311610d8d57829003601f168201915b5050505050905090565b6000610dbf8261226f565b610df5576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610e1c826117c2565b9050336001600160a01b03821614610e8b576001600160a01b038116600090815260076020908152604080832033845290915290205460ff16610e8b576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600082815260066020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610efc612215565b8051610f0f90600b90602084019061275f565b5050565b610f1b612215565b6012805460ff1916911515919091179055565b6000610f39826122a4565b9050836001600160a01b0316816001600160a01b031614610f86576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417611009576001600160a01b038616600090815260076020908152604080832033845290915290205460ff16611009576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b038516611049576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b801561105457600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b841690036110e6576001840160008181526004602052604081205490036110e45760005481146110e45760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b611137612215565b600e55565b601254819060ff16156111965760405162461bcd60e51b815260206004820152601260248201527f4d696e74696e672069732050415553454421000000000000000000000000000060448201526064015b60405180910390fd5b6000811180156111a7575060115481105b6111f35760405162461bcd60e51b815260206004820152601460248201527f496e76616c6964206d696e7420616d6f756e7421000000000000000000000000604482015260640161118d565b3332146112425760405162461bcd60e51b815260206004820152600860248201527f4e6f20426f747321000000000000000000000000000000000000000000000000604482015260640161118d565b601054600154600054839190036000190161125d9190612e36565b106112aa5760405162461bcd60e51b815260206004820152601460248201527f4d617820737570706c7920657863656564656421000000000000000000000000604482015260640161118d565b60125462010000900460ff16156112cb576014546013556000600f556112e8565b60125462010000900460ff166112e857601554601355600e54600f555b601654600154600054036000190110801561131b575060165460015460005483919003600019016113199190612e36565b115b15611362576000601654826113396001546000546000199190030190565b6113439190612e36565b61134d9190612e4e565b905080600e5461135d9190612e65565b600f55505b6016546001546000540360001901111561137d57600e54600f555b600f543410156113cf5760405162461bcd60e51b815260206004820152601360248201527f496e73756666696369656e742066756e64732100000000000000000000000000604482015260640161118d565b601354336000908152601860205260409020546113ed908390612e36565b1061143a5760405162461bcd60e51b815260206004820152601d60248201527f4d6178204d696e7473205065722057616c6c6574205265616368656421000000604482015260640161118d565b60125462010000900460ff16156114935760405162461bcd60e51b815260206004820152601860248201527f5374696c6c20696e2057686974656c6973742053616c65210000000000000000604482015260640161118d565b33600090815260186020526040812080548492906114b2908490612e36565b90915550610f0f9050338361232c565b6114ca612215565b60006114de6008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114611528576040519150601f19603f3d011682016040523d82523d6000602084013e61152d565b606091505b505090508061153b57600080fd5b50565b61155983838360405180602001604052806000815250611d1a565b505050565b6060600061156b83611841565b905060008167ffffffffffffffff8111156115885761158861293b565b6040519080825280602002602001820160405280156115b1578160200160208202803683370190505b509050600160005b83811080156115ca57506010548211155b156116345760006115da836117c2565b9050866001600160a01b0316816001600160a01b031603611621578284838151811061160857611608612e84565b60209081029190910101528161161d81612e9a565b9250505b8261162b81612e9a565b935050506115b9565b5090949350505050565b611646612215565b8051610f0f90600d90602084019061275f565b600b805461166690612de6565b80601f016020809104026020016040519081016040528092919081815260200182805461169290612de6565b80156116df5780601f106116b4576101008083540402835291602001916116df565b820191906000526020600020905b8154815290600101906020018083116116c257829003601f168201915b505050505081565b805160609060008167ffffffffffffffff8111156117075761170761293b565b60405190808252806020026020018201604052801561175957816020015b6040805160808101825260008082526020808301829052928201819052606082015282526000199092019101816117255790505b50905060005b8281146117ad5761178885828151811061177b5761177b612e84565b6020026020010151611d7e565b82828151811061179a5761179a612e84565b602090810291909101015260010161175f565b509392505050565b600a805461166690612de6565b6000610cf8826122a4565b6117d5612215565b601555565b6117e2612215565b6017546001600160a01b0316331461183c5760405162461bcd60e51b815260206004820152600e60248201527f4e6f7420417574686f7269736564000000000000000000000000000000000000604482015260640161118d565b601055565b60006001600160a01b038216611883576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6118b1612215565b6118bb6000612346565b565b6118c5612215565b601a55565b6118d2612215565b8051610f0f90600a90602084019061275f565b6118ed612215565b601455565b6060600080600061190285611841565b905060008167ffffffffffffffff81111561191f5761191f61293b565b604051908082528060200260200182016040528015611948578160200160208202803683370190505b5060408051608081018252600080825260208201819052918101829052606081019190915290915060015b8386146119ea57611983816123a5565b915081604001516119e25781516001600160a01b0316156119a357815194505b876001600160a01b0316856001600160a01b0316036119e257808387806001019850815181106119d5576119d5612e84565b6020026020010181815250505b600101611973565b50909695505050505050565b6119fe612215565b8051610f0f90600c90602084019061275f565b606060038054610d3190612de6565b6060818310611a5b576040517f32c1995a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080611a6760005490565b90506001851015611a7757600194505b80841115611a83578093505b6000611a8e87611841565b905084861015611aad5785850381811015611aa7578091505b50611ab1565b5060005b60008167ffffffffffffffff811115611acc57611acc61293b565b604051908082528060200260200182016040528015611af5578160200160208202803683370190505b50905081600003611b0b579350611bba92505050565b6000611b1688611d7e565b905060008160400151611b27575080515b885b888114158015611b395750848714155b15611bae57611b47816123a5565b92508260400151611ba65782516001600160a01b031615611b6757825191505b8a6001600160a01b0316826001600160a01b031603611ba65780848880600101995081518110611b9957611b99612e84565b6020026020010181815250505b600101611b29565b50505092835250909150505b9392505050565b336001600160a01b03831603611c03576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600d805461166690612de6565b611c84612215565b6017546001600160a01b03163314611cde5760405162461bcd60e51b815260206004820152600e60248201527f4e6f7420417574686f7269736564000000000000000000000000000000000000604482015260640161118d565b6017805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b611d15612215565b601155565b611d25848484610f2e565b6001600160a01b0383163b15611d5e57611d4184848484612424565b611d5e576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b611d6c612215565b601655565b600c805461166690612de6565b6040805160808101825260008082526020820181905291810182905260608101919091526040805160808101825260008082526020820181905291810182905260608101919091526001831080611dd757506000548310155b15611de25792915050565b611deb836123a5565b9050806040015115611dfd5792915050565b611bba83612510565b6000611e1b6001546000546000199190030190565b905090565b6060611e2b8261226f565b611e9d5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000606482015260840161118d565b601254610100900460ff161515600003611f4357600d8054611ebe90612de6565b80601f0160208091040260200160405190810160405280929190818152602001828054611eea90612de6565b8015611f375780601f10611f0c57610100808354040283529160200191611f37565b820191906000526020600020905b815481529060010190602001808311611f1a57829003601f168201915b50505050509050919050565b6000611f4d612588565b90506000815111611f6d5760405180602001604052806000815250611bba565b80611f7784612597565b600b604051602001611f8b93929190612f4c565b6040516020818303038152906040529392505050565b611fa9612215565b60005b8381101561209457601054838383818110611fc957611fc9612e84565b90506020020135611fe36001546000546000199190030190565b611fed9190612e36565b1061203a5760405162461bcd60e51b815260206004820152601460248201527f4d617820737570706c7920657863656564656421000000000000000000000000604482015260640161118d565b61208285858381811061204f5761204f612e84565b90506020020160208101906120649190612920565b84848481811061207657612076612e84565b9050602002013561232c565b8061208c81612e9a565b915050611fac565b5050505050565b6120a3612215565b601280549115156101000261ff0019909216919091179055565b60606000600c80546120ce90612de6565b9050116120e8575060408051602081019091526000815290565b600c6040516020016120fa9190612f89565b604051602081830303815290604052905090565b612116612215565b60105460015460005484919003600019016121319190612e36565b1061217e5760405162461bcd60e51b815260206004820152601460248201527f4d617820737570706c7920657863656564656421000000000000000000000000604482015260640161118d565b610f0f818361232c565b612190612215565b6001600160a01b03811661220c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161118d565b61153b81612346565b6008546001600160a01b031633146118bb5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161118d565b600081600111158015612283575060005482105b8015610cf8575050600090815260046020526040902054600160e01b161590565b600081806001116122fa576000548110156122fa5760008181526004602052604081205490600160e01b821690036122f8575b80600003611bba5750600019016000818152600460205260409020546122d7565b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610f0f8282604051806020016040528060008152506125e6565b600880546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604080516080810182526000808252602082018190529181018290526060810191909152600082815260046020526040902054610cf890604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290612459903390899088908890600401612f95565b6020604051808303816000875af1925050508015612494575060408051601f3d908101601f1916820190925261249191810190612fd1565b60015b6124f2573d8080156124c2576040519150601f19603f3d011682016040523d82523d6000602084013e6124c7565b606091505b5080516000036124ea576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b604080516080810182526000808252602082018190529181018290526060810191909152610cf8612540836122a4565b604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b6060600a8054610d3190612de6565b604080516080810191829052607f0190826030600a8206018353600a90045b80156125d457600183039250600a81066030018353600a90046125b6565b50819003601f19909101908152919050565b6125f0838361264c565b6001600160a01b0383163b15611559576000548281035b61261a6000868380600101945086612424565b612637576040516368d2bf6b60e11b815260040160405180910390fd5b81811061260757816000541461209457600080fd5b6000546001600160a01b03831661268f576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b816000036126c9576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b038316600081815260056020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260046020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082106127135760005550505050565b82805461276b90612de6565b90600052602060002090601f01602090048101928261278d57600085556127d3565b82601f106127a657805160ff19168380011785556127d3565b828001600101855582156127d3579182015b828111156127d35782518255916020019190600101906127b8565b506127df9291506127e3565b5090565b5b808211156127df57600081556001016127e4565b6001600160e01b03198116811461153b57600080fd5b60006020828403121561282057600080fd5b8135611bba816127f8565b8035801515811461283b57600080fd5b919050565b60006020828403121561285257600080fd5b611bba8261282b565b60005b8381101561287657818101518382015260200161285e565b83811115611d5e5750506000910152565b6000815180845261289f81602086016020860161285b565b601f01601f19169290920160200192915050565b602081526000611bba6020830184612887565b6000602082840312156128d857600080fd5b5035919050565b80356001600160a01b038116811461283b57600080fd5b6000806040838503121561290957600080fd5b612912836128df565b946020939093013593505050565b60006020828403121561293257600080fd5b611bba826128df565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561297a5761297a61293b565b604052919050565b600067ffffffffffffffff83111561299c5761299c61293b565b6129af601f8401601f1916602001612951565b90508281528383830111156129c357600080fd5b828260208301376000602084830101529392505050565b6000602082840312156129ec57600080fd5b813567ffffffffffffffff811115612a0357600080fd5b8201601f81018413612a1457600080fd5b61250884823560208401612982565b600080600060608486031215612a3857600080fd5b612a41846128df565b9250612a4f602085016128df565b9150604084013590509250925092565b6020808252825182820181905260009190848201906040850190845b818110156119ea57835183529284019291840191600101612a7b565b60006020808385031215612aaa57600080fd5b823567ffffffffffffffff80821115612ac257600080fd5b818501915085601f830112612ad657600080fd5b813581811115612ae857612ae861293b565b8060051b9150612af9848301612951565b8181529183018401918481019088841115612b1357600080fd5b938501935b83851015612b3157843582529385019390850190612b18565b98975050505050505050565b6020808252825182820181905260009190848201906040850190845b818110156119ea57612ba78385516001600160a01b03815116825267ffffffffffffffff602082015116602083015260408101511515604083015262ffffff60608201511660608301525050565b9284019260809290920191600101612b59565b600080600060608486031215612bcf57600080fd5b612bd8846128df565b95602085013595506040909401359392505050565b60008060408385031215612c0057600080fd5b612c09836128df565b9150612c176020840161282b565b90509250929050565b60008060008060808587031215612c3657600080fd5b612c3f856128df565b9350612c4d602086016128df565b925060408501359150606085013567ffffffffffffffff811115612c7057600080fd5b8501601f81018713612c8157600080fd5b612c9087823560208401612982565b91505092959194509250565b81516001600160a01b0316815260208083015167ffffffffffffffff169082015260408083015115159082015260608083015162ffffff169082015260808101610cf8565b60008083601f840112612cf357600080fd5b50813567ffffffffffffffff811115612d0b57600080fd5b6020830191508360208260051b8501011115612d2657600080fd5b9250929050565b60008060008060408587031215612d4357600080fd5b843567ffffffffffffffff80821115612d5b57600080fd5b612d6788838901612ce1565b90965094506020870135915080821115612d8057600080fd5b50612d8d87828801612ce1565b95989497509550505050565b60008060408385031215612dac57600080fd5b612db5836128df565b9150612c17602084016128df565b60008060408385031215612dd657600080fd5b82359150612c17602084016128df565b600181811c90821680612dfa57607f821691505b602082108103612e1a57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008219821115612e4957612e49612e20565b500190565b600082821015612e6057612e60612e20565b500390565b6000816000190483118215151615612e7f57612e7f612e20565b500290565b634e487b7160e01b600052603260045260246000fd5b600060018201612eac57612eac612e20565b5060010190565b8054600090600181811c9080831680612ecd57607f831692505b60208084108203612eee57634e487b7160e01b600052602260045260246000fd5b818015612f025760018114612f1357612f40565b60ff19861689528489019650612f40565b60008881526020902060005b86811015612f385781548b820152908501908301612f1f565b505084890196505b50505050505092915050565b60008451612f5e81846020890161285b565b845190830190612f7281836020890161285b565b612f7e81830186612eb3565b979650505050505050565b6000611bba8284612eb3565b60006001600160a01b03808716835280861660208401525083604083015260806060830152612fc76080830184612887565b9695505050505050565b600060208284031215612fe357600080fd5b8151611bba816127f856fea26469706673582212209d5913fda3d8ca12bbc4add46f5b56a067f52e04a0010777e33188ed383aed9364736f6c634300080e003368747470733a2f2f7777772e6372617a79737175697272656c736f63696574792e636f6d2f537175697272656c436f6e74726163742e6a736f6e68747470733a2f2f7777772e6372617a79737175697272656c736f63696574792e636f6d2f537175697272656c48696464656e2e6a736f6e
Deployed Bytecode
0x60806040526004361061042f5760003560e01c80637cb6475911610228578063b071401b11610128578063d5abeb01116100bb578063e8a3d4851161008a578063efbd73f41161006f578063efbd73f414610c01578063f2fde38b14610c14578063f54b893b14610c3457600080fd5b8063e8a3d48514610ba3578063e985e9c514610bb857600080fd5b8063d5abeb0114610b38578063de6c6d3614610b4e578063e0a8085314610b6e578063e887312914610b8e57600080fd5b8063c23dc68f116100f7578063c23dc68f14610aa0578063c4e41b2214610acd578063c71fbb7114610ae2578063c87b56dd14610b1857600080fd5b8063b071401b14610a2b578063b88d4fde14610a4b578063bd2f6eb814610a6b578063c0e7274014610a8b57600080fd5b806393822557116101bb57806399a2557a1161018a578063a22cb4651161016f578063a22cb465146109d6578063a45ba8e7146109f6578063a7749b0d14610a0b57600080fd5b806399a2557a146109985780639dddc292146109b857600080fd5b80639382255714610937578063938e3d7b1461094d57806394354fd01461096d57806395d89b411461098357600080fd5b80638462151c116101f75780638462151c146108c4578063861ec1f4146108e45780638da5cb5b146108f95780638ea3b9b41461091757600080fd5b80637cb64759146108445780637ec4a65914610864578063815d544c1461088457806381692722146108a457600080fd5b80632eb4a7ab116103335780635bbb2177116102c657806365a85d48116102955780636fd02e4b1161027a5780636fd02e4b146107f957806370a082311461080f578063715018a61461082f57600080fd5b806365a85d48146107b95780636f8b44b0146107d957600080fd5b80635bbb21771461073d5780635c975abb1461076a57806362b99ad4146107845780636352211e1461079957600080fd5b8063438b630011610302578063438b6300146106bc5780634fdd43cb146106e957806351830227146107095780635503a0e81461072857600080fd5b80632eb4a7ab1461065b5780633c8463a1146106715780633ccfd60b1461068757806342842e0e1461069c57600080fd5b806313faede6116103c65780631c0de051116103955780632b2bda4f1161037a5780632b2bda4f146106125780632b5dc91f146106285780632db115441461064857600080fd5b80631c0de051146105da57806323b872dd146105f257600080fd5b806313faede61461056757806316ba10e01461057d57806316c38b3c1461059d57806318160ddd146105bd57600080fd5b8063081812fc11610402578063081812fc146104cc57806308346d8514610504578063095ea7b31461051a5780630a398b881461053a57600080fd5b806301ffc9a71461043457806302bdd75514610469578063065721bf1461048b57806306fdde03146104aa575b600080fd5b34801561044057600080fd5b5061045461044f36600461280e565b610c61565b60405190151581526020015b60405180910390f35b34801561047557600080fd5b50610489610484366004612840565b610cfe565b005b34801561049757600080fd5b506015545b604051908152602001610460565b3480156104b657600080fd5b506104bf610d22565b60405161046091906128b3565b3480156104d857600080fd5b506104ec6104e73660046128c6565b610db4565b6040516001600160a01b039091168152602001610460565b34801561051057600080fd5b5061049c60165481565b34801561052657600080fd5b506104896105353660046128f6565b610e11565b34801561054657600080fd5b5061049c610555366004612920565b60186020526000908152604090205481565b34801561057357600080fd5b5061049c600f5481565b34801561058957600080fd5b506104896105983660046129da565b610ef4565b3480156105a957600080fd5b506104896105b8366004612840565b610f13565b3480156105c957600080fd5b50600154600054036000190161049c565b3480156105e657600080fd5b5060125460ff16610454565b3480156105fe57600080fd5b5061048961060d366004612a23565b610f2e565b34801561061e57600080fd5b5061049c60155481565b34801561063457600080fd5b506104896106433660046128c6565b61112f565b6104896106563660046128c6565b61113c565b34801561066757600080fd5b5061049c601a5481565b34801561067d57600080fd5b5061049c60135481565b34801561069357600080fd5b506104896114c2565b3480156106a857600080fd5b506104896106b7366004612a23565b61153e565b3480156106c857600080fd5b506106dc6106d7366004612920565b61155e565b6040516104609190612a5f565b3480156106f557600080fd5b506104896107043660046129da565b61163e565b34801561071557600080fd5b5060125461045490610100900460ff1681565b34801561073457600080fd5b506104bf611659565b34801561074957600080fd5b5061075d610758366004612a97565b6116e7565b6040516104609190612b3d565b34801561077657600080fd5b506012546104549060ff1681565b34801561079057600080fd5b506104bf6117b5565b3480156107a557600080fd5b506104ec6107b43660046128c6565b6117c2565b3480156107c557600080fd5b506104896107d43660046128c6565b6117cd565b3480156107e557600080fd5b506104896107f43660046128c6565b6117da565b34801561080557600080fd5b5061049c60145481565b34801561081b57600080fd5b5061049c61082a366004612920565b611841565b34801561083b57600080fd5b506104896118a9565b34801561085057600080fd5b5061048961085f3660046128c6565b6118bd565b34801561087057600080fd5b5061048961087f3660046129da565b6118ca565b34801561089057600080fd5b506012546104549062010000900460ff1681565b3480156108b057600080fd5b506104896108bf3660046128c6565b6118e5565b3480156108d057600080fd5b506106dc6108df366004612920565b6118f2565b3480156108f057600080fd5b5060165461049c565b34801561090557600080fd5b506008546001600160a01b03166104ec565b34801561092357600080fd5b506017546104ec906001600160a01b031681565b34801561094357600080fd5b5061049c600e5481565b34801561095957600080fd5b506104896109683660046129da565b6119f6565b34801561097957600080fd5b5061049c60115481565b34801561098f57600080fd5b506104bf611a11565b3480156109a457600080fd5b506106dc6109b3366004612bba565b611a20565b3480156109c457600080fd5b5060125462010000900460ff16610454565b3480156109e257600080fd5b506104896109f1366004612bed565b611bc1565b348015610a0257600080fd5b506104bf611c6f565b348015610a1757600080fd5b50610489610a26366004612920565b611c7c565b348015610a3757600080fd5b50610489610a463660046128c6565b611d0d565b348015610a5757600080fd5b50610489610a66366004612c20565b611d1a565b348015610a7757600080fd5b50610489610a863660046128c6565b611d64565b348015610a9757600080fd5b506104bf611d71565b348015610aac57600080fd5b50610ac0610abb3660046128c6565b611d7e565b6040516104609190612c9c565b348015610ad957600080fd5b5061049c611e06565b348015610aee57600080fd5b5061049c610afd366004612920565b6001600160a01b031660009081526018602052604090205490565b348015610b2457600080fd5b506104bf610b333660046128c6565b611e20565b348015610b4457600080fd5b5061049c60105481565b348015610b5a57600080fd5b50610489610b69366004612d2d565b611fa1565b348015610b7a57600080fd5b50610489610b89366004612840565b61209b565b348015610b9a57600080fd5b5060145461049c565b348015610baf57600080fd5b506104bf6120bd565b348015610bc457600080fd5b50610454610bd3366004612d99565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b610489610c0f366004612dc3565b61210e565b348015610c2057600080fd5b50610489610c2f366004612920565b612188565b348015610c4057600080fd5b5061049c610c4f366004612920565b60196020526000908152604090205481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b031983161480610cc457507f80ac58cd000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b80610cf857507f5b5e139f000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b610d06612215565b60128054911515620100000262ff000019909216919091179055565b606060028054610d3190612de6565b80601f0160208091040260200160405190810160405280929190818152602001828054610d5d90612de6565b8015610daa5780601f10610d7f57610100808354040283529160200191610daa565b820191906000526020600020905b815481529060010190602001808311610d8d57829003601f168201915b5050505050905090565b6000610dbf8261226f565b610df5576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b6000610e1c826117c2565b9050336001600160a01b03821614610e8b576001600160a01b038116600090815260076020908152604080832033845290915290205460ff16610e8b576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600082815260066020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610efc612215565b8051610f0f90600b90602084019061275f565b5050565b610f1b612215565b6012805460ff1916911515919091179055565b6000610f39826122a4565b9050836001600160a01b0316816001600160a01b031614610f86576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417611009576001600160a01b038616600090815260076020908152604080832033845290915290205460ff16611009576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b038516611049576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b801561105457600082555b6001600160a01b038681166000908152600560205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260046020526040812091909155600160e11b841690036110e6576001840160008181526004602052604081205490036110e45760005481146110e45760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b611137612215565b600e55565b601254819060ff16156111965760405162461bcd60e51b815260206004820152601260248201527f4d696e74696e672069732050415553454421000000000000000000000000000060448201526064015b60405180910390fd5b6000811180156111a7575060115481105b6111f35760405162461bcd60e51b815260206004820152601460248201527f496e76616c6964206d696e7420616d6f756e7421000000000000000000000000604482015260640161118d565b3332146112425760405162461bcd60e51b815260206004820152600860248201527f4e6f20426f747321000000000000000000000000000000000000000000000000604482015260640161118d565b601054600154600054839190036000190161125d9190612e36565b106112aa5760405162461bcd60e51b815260206004820152601460248201527f4d617820737570706c7920657863656564656421000000000000000000000000604482015260640161118d565b60125462010000900460ff16156112cb576014546013556000600f556112e8565b60125462010000900460ff166112e857601554601355600e54600f555b601654600154600054036000190110801561131b575060165460015460005483919003600019016113199190612e36565b115b15611362576000601654826113396001546000546000199190030190565b6113439190612e36565b61134d9190612e4e565b905080600e5461135d9190612e65565b600f55505b6016546001546000540360001901111561137d57600e54600f555b600f543410156113cf5760405162461bcd60e51b815260206004820152601360248201527f496e73756666696369656e742066756e64732100000000000000000000000000604482015260640161118d565b601354336000908152601860205260409020546113ed908390612e36565b1061143a5760405162461bcd60e51b815260206004820152601d60248201527f4d6178204d696e7473205065722057616c6c6574205265616368656421000000604482015260640161118d565b60125462010000900460ff16156114935760405162461bcd60e51b815260206004820152601860248201527f5374696c6c20696e2057686974656c6973742053616c65210000000000000000604482015260640161118d565b33600090815260186020526040812080548492906114b2908490612e36565b90915550610f0f9050338361232c565b6114ca612215565b60006114de6008546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d8060008114611528576040519150601f19603f3d011682016040523d82523d6000602084013e61152d565b606091505b505090508061153b57600080fd5b50565b61155983838360405180602001604052806000815250611d1a565b505050565b6060600061156b83611841565b905060008167ffffffffffffffff8111156115885761158861293b565b6040519080825280602002602001820160405280156115b1578160200160208202803683370190505b509050600160005b83811080156115ca57506010548211155b156116345760006115da836117c2565b9050866001600160a01b0316816001600160a01b031603611621578284838151811061160857611608612e84565b60209081029190910101528161161d81612e9a565b9250505b8261162b81612e9a565b935050506115b9565b5090949350505050565b611646612215565b8051610f0f90600d90602084019061275f565b600b805461166690612de6565b80601f016020809104026020016040519081016040528092919081815260200182805461169290612de6565b80156116df5780601f106116b4576101008083540402835291602001916116df565b820191906000526020600020905b8154815290600101906020018083116116c257829003601f168201915b505050505081565b805160609060008167ffffffffffffffff8111156117075761170761293b565b60405190808252806020026020018201604052801561175957816020015b6040805160808101825260008082526020808301829052928201819052606082015282526000199092019101816117255790505b50905060005b8281146117ad5761178885828151811061177b5761177b612e84565b6020026020010151611d7e565b82828151811061179a5761179a612e84565b602090810291909101015260010161175f565b509392505050565b600a805461166690612de6565b6000610cf8826122a4565b6117d5612215565b601555565b6117e2612215565b6017546001600160a01b0316331461183c5760405162461bcd60e51b815260206004820152600e60248201527f4e6f7420417574686f7269736564000000000000000000000000000000000000604482015260640161118d565b601055565b60006001600160a01b038216611883576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6118b1612215565b6118bb6000612346565b565b6118c5612215565b601a55565b6118d2612215565b8051610f0f90600a90602084019061275f565b6118ed612215565b601455565b6060600080600061190285611841565b905060008167ffffffffffffffff81111561191f5761191f61293b565b604051908082528060200260200182016040528015611948578160200160208202803683370190505b5060408051608081018252600080825260208201819052918101829052606081019190915290915060015b8386146119ea57611983816123a5565b915081604001516119e25781516001600160a01b0316156119a357815194505b876001600160a01b0316856001600160a01b0316036119e257808387806001019850815181106119d5576119d5612e84565b6020026020010181815250505b600101611973565b50909695505050505050565b6119fe612215565b8051610f0f90600c90602084019061275f565b606060038054610d3190612de6565b6060818310611a5b576040517f32c1995a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080611a6760005490565b90506001851015611a7757600194505b80841115611a83578093505b6000611a8e87611841565b905084861015611aad5785850381811015611aa7578091505b50611ab1565b5060005b60008167ffffffffffffffff811115611acc57611acc61293b565b604051908082528060200260200182016040528015611af5578160200160208202803683370190505b50905081600003611b0b579350611bba92505050565b6000611b1688611d7e565b905060008160400151611b27575080515b885b888114158015611b395750848714155b15611bae57611b47816123a5565b92508260400151611ba65782516001600160a01b031615611b6757825191505b8a6001600160a01b0316826001600160a01b031603611ba65780848880600101995081518110611b9957611b99612e84565b6020026020010181815250505b600101611b29565b50505092835250909150505b9392505050565b336001600160a01b03831603611c03576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600d805461166690612de6565b611c84612215565b6017546001600160a01b03163314611cde5760405162461bcd60e51b815260206004820152600e60248201527f4e6f7420417574686f7269736564000000000000000000000000000000000000604482015260640161118d565b6017805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b611d15612215565b601155565b611d25848484610f2e565b6001600160a01b0383163b15611d5e57611d4184848484612424565b611d5e576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b611d6c612215565b601655565b600c805461166690612de6565b6040805160808101825260008082526020820181905291810182905260608101919091526040805160808101825260008082526020820181905291810182905260608101919091526001831080611dd757506000548310155b15611de25792915050565b611deb836123a5565b9050806040015115611dfd5792915050565b611bba83612510565b6000611e1b6001546000546000199190030190565b905090565b6060611e2b8261226f565b611e9d5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000606482015260840161118d565b601254610100900460ff161515600003611f4357600d8054611ebe90612de6565b80601f0160208091040260200160405190810160405280929190818152602001828054611eea90612de6565b8015611f375780601f10611f0c57610100808354040283529160200191611f37565b820191906000526020600020905b815481529060010190602001808311611f1a57829003601f168201915b50505050509050919050565b6000611f4d612588565b90506000815111611f6d5760405180602001604052806000815250611bba565b80611f7784612597565b600b604051602001611f8b93929190612f4c565b6040516020818303038152906040529392505050565b611fa9612215565b60005b8381101561209457601054838383818110611fc957611fc9612e84565b90506020020135611fe36001546000546000199190030190565b611fed9190612e36565b1061203a5760405162461bcd60e51b815260206004820152601460248201527f4d617820737570706c7920657863656564656421000000000000000000000000604482015260640161118d565b61208285858381811061204f5761204f612e84565b90506020020160208101906120649190612920565b84848481811061207657612076612e84565b9050602002013561232c565b8061208c81612e9a565b915050611fac565b5050505050565b6120a3612215565b601280549115156101000261ff0019909216919091179055565b60606000600c80546120ce90612de6565b9050116120e8575060408051602081019091526000815290565b600c6040516020016120fa9190612f89565b604051602081830303815290604052905090565b612116612215565b60105460015460005484919003600019016121319190612e36565b1061217e5760405162461bcd60e51b815260206004820152601460248201527f4d617820737570706c7920657863656564656421000000000000000000000000604482015260640161118d565b610f0f818361232c565b612190612215565b6001600160a01b03811661220c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161118d565b61153b81612346565b6008546001600160a01b031633146118bb5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161118d565b600081600111158015612283575060005482105b8015610cf8575050600090815260046020526040902054600160e01b161590565b600081806001116122fa576000548110156122fa5760008181526004602052604081205490600160e01b821690036122f8575b80600003611bba5750600019016000818152600460205260409020546122d7565b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610f0f8282604051806020016040528060008152506125e6565b600880546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604080516080810182526000808252602082018190529181018290526060810191909152600082815260046020526040902054610cf890604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290612459903390899088908890600401612f95565b6020604051808303816000875af1925050508015612494575060408051601f3d908101601f1916820190925261249191810190612fd1565b60015b6124f2573d8080156124c2576040519150601f19603f3d011682016040523d82523d6000602084013e6124c7565b606091505b5080516000036124ea576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b604080516080810182526000808252602082018190529181018290526060810191909152610cf8612540836122a4565b604080516080810182526001600160a01b038316815260a083901c67ffffffffffffffff166020820152600160e01b831615159181019190915260e89190911c606082015290565b6060600a8054610d3190612de6565b604080516080810191829052607f0190826030600a8206018353600a90045b80156125d457600183039250600a81066030018353600a90046125b6565b50819003601f19909101908152919050565b6125f0838361264c565b6001600160a01b0383163b15611559576000548281035b61261a6000868380600101945086612424565b612637576040516368d2bf6b60e11b815260040160405180910390fd5b81811061260757816000541461209457600080fd5b6000546001600160a01b03831661268f576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b816000036126c9576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b038316600081815260056020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260046020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a48082106127135760005550505050565b82805461276b90612de6565b90600052602060002090601f01602090048101928261278d57600085556127d3565b82601f106127a657805160ff19168380011785556127d3565b828001600101855582156127d3579182015b828111156127d35782518255916020019190600101906127b8565b506127df9291506127e3565b5090565b5b808211156127df57600081556001016127e4565b6001600160e01b03198116811461153b57600080fd5b60006020828403121561282057600080fd5b8135611bba816127f8565b8035801515811461283b57600080fd5b919050565b60006020828403121561285257600080fd5b611bba8261282b565b60005b8381101561287657818101518382015260200161285e565b83811115611d5e5750506000910152565b6000815180845261289f81602086016020860161285b565b601f01601f19169290920160200192915050565b602081526000611bba6020830184612887565b6000602082840312156128d857600080fd5b5035919050565b80356001600160a01b038116811461283b57600080fd5b6000806040838503121561290957600080fd5b612912836128df565b946020939093013593505050565b60006020828403121561293257600080fd5b611bba826128df565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561297a5761297a61293b565b604052919050565b600067ffffffffffffffff83111561299c5761299c61293b565b6129af601f8401601f1916602001612951565b90508281528383830111156129c357600080fd5b828260208301376000602084830101529392505050565b6000602082840312156129ec57600080fd5b813567ffffffffffffffff811115612a0357600080fd5b8201601f81018413612a1457600080fd5b61250884823560208401612982565b600080600060608486031215612a3857600080fd5b612a41846128df565b9250612a4f602085016128df565b9150604084013590509250925092565b6020808252825182820181905260009190848201906040850190845b818110156119ea57835183529284019291840191600101612a7b565b60006020808385031215612aaa57600080fd5b823567ffffffffffffffff80821115612ac257600080fd5b818501915085601f830112612ad657600080fd5b813581811115612ae857612ae861293b565b8060051b9150612af9848301612951565b8181529183018401918481019088841115612b1357600080fd5b938501935b83851015612b3157843582529385019390850190612b18565b98975050505050505050565b6020808252825182820181905260009190848201906040850190845b818110156119ea57612ba78385516001600160a01b03815116825267ffffffffffffffff602082015116602083015260408101511515604083015262ffffff60608201511660608301525050565b9284019260809290920191600101612b59565b600080600060608486031215612bcf57600080fd5b612bd8846128df565b95602085013595506040909401359392505050565b60008060408385031215612c0057600080fd5b612c09836128df565b9150612c176020840161282b565b90509250929050565b60008060008060808587031215612c3657600080fd5b612c3f856128df565b9350612c4d602086016128df565b925060408501359150606085013567ffffffffffffffff811115612c7057600080fd5b8501601f81018713612c8157600080fd5b612c9087823560208401612982565b91505092959194509250565b81516001600160a01b0316815260208083015167ffffffffffffffff169082015260408083015115159082015260608083015162ffffff169082015260808101610cf8565b60008083601f840112612cf357600080fd5b50813567ffffffffffffffff811115612d0b57600080fd5b6020830191508360208260051b8501011115612d2657600080fd5b9250929050565b60008060008060408587031215612d4357600080fd5b843567ffffffffffffffff80821115612d5b57600080fd5b612d6788838901612ce1565b90965094506020870135915080821115612d8057600080fd5b50612d8d87828801612ce1565b95989497509550505050565b60008060408385031215612dac57600080fd5b612db5836128df565b9150612c17602084016128df565b60008060408385031215612dd657600080fd5b82359150612c17602084016128df565b600181811c90821680612dfa57607f821691505b602082108103612e1a57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008219821115612e4957612e49612e20565b500190565b600082821015612e6057612e60612e20565b500390565b6000816000190483118215151615612e7f57612e7f612e20565b500290565b634e487b7160e01b600052603260045260246000fd5b600060018201612eac57612eac612e20565b5060010190565b8054600090600181811c9080831680612ecd57607f831692505b60208084108203612eee57634e487b7160e01b600052602260045260246000fd5b818015612f025760018114612f1357612f40565b60ff19861689528489019650612f40565b60008881526020902060005b86811015612f385781548b820152908501908301612f1f565b505084890196505b50505050505092915050565b60008451612f5e81846020890161285b565b845190830190612f7281836020890161285b565b612f7e81830186612eb3565b979650505050505050565b6000611bba8284612eb3565b60006001600160a01b03808716835280861660208401525083604083015260806060830152612fc76080830184612887565b9695505050505050565b600060208284031215612fe357600080fd5b8151611bba816127f856fea26469706673582212209d5913fda3d8ca12bbc4add46f5b56a067f52e04a0010777e33188ed383aed9364736f6c634300080e0033
Deployed Bytecode Sourcemap
70038:7502:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30952:615;;;;;;;;;;-1:-1:-1;30952:615:0;;;;;:::i;:::-;;:::i;:::-;;;611:14:1;;604:22;586:41;;574:2;559:18;30952:615:0;;;;;;;;77189:93;;;;;;;;;;-1:-1:-1;77189:93:0;;;;;:::i;:::-;;:::i;:::-;;73159:100;;;;;;;;;;-1:-1:-1;73237:16:0;;73159:100;;;1134:25:1;;;1122:2;1107:18;73159:100:0;988:177:1;36599:100:0;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;38545:204::-;;;;;;;;;;-1:-1:-1;38545:204:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;2270:55:1;;;2252:74;;2240:2;2225:18;38545:204:0;2106:226:1;70842:32:0;;;;;;;;;;;;;;;;38093:386;;;;;;;;;;-1:-1:-1;38093:386:0;;;;;:::i;:::-;;:::i;71006:49::-;;;;;;;;;;-1:-1:-1;71006:49:0;;;;;:::i;:::-;;;;;;;;;;;;;;70471:30;;;;;;;;;;;;;;;;76881:100;;;;;;;;;;-1:-1:-1;76881:100:0;;;;;:::i;:::-;;:::i;77106:77::-;;;;;;;;;;-1:-1:-1;77106:77:0;;;;;:::i;:::-;;:::i;30006:315::-;;;;;;;;;;-1:-1:-1;71625:1:0;30272:12;30059:7;30256:13;:28;-1:-1:-1;;30256:46:0;30006:315;;73265:82;;;;;;;;;;-1:-1:-1;73335:6:0;;;;73265:82;;47810:2800;;;;;;;;;;-1:-1:-1;47810:2800:0;;;;;:::i;:::-;;:::i;70785:38::-;;;;;;;;;;;;;;;;75677:90;;;;;;;;;;-1:-1:-1;75677:90:0;;;;;:::i;:::-;;:::i;73451:244::-;;;;;;:::i;:::-;;:::i;71139:94::-;;;;;;;;;;;;;;;;70701:30;;;;;;;;;;;;;;;;77288:137;;;;;;;;;;;;;:::i;39435:185::-;;;;;;;;;;-1:-1:-1;39435:185:0;;;;;:::i;:::-;;:::i;74226:635::-;;;;;;;;;;-1:-1:-1;74226:635:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;76637:132::-;;;;;;;;;;-1:-1:-1;76637:132:0;;;;;:::i;:::-;;:::i;70625:28::-;;;;;;;;;;-1:-1:-1;70625:28:0;;;;;;;;;;;70253:33;;;;;;;;;;;;;:::i;65258:468::-;;;;;;;;;;-1:-1:-1;65258:468:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;70594:26::-;;;;;;;;;;-1:-1:-1;70594:26:0;;;;;;;;70212:36;;;;;;;;;;;;;:::i;36388:144::-;;;;;;;;;;-1:-1:-1;36388:144:0;;;;;:::i;:::-;;:::i;76153:122::-;;;;;;;;;;-1:-1:-1;76153:122:0;;;;;:::i;:::-;;:::i;76467:164::-;;;;;;;;;;-1:-1:-1;76467:164:0;;;;;:::i;:::-;;:::i;70738:38::-;;;;;;;;;;;;;;;;31631:224;;;;;;;;;;-1:-1:-1;31631:224:0;;;;;:::i;:::-;;:::i;11501:103::-;;;;;;;;;;;;;:::i;72634:107::-;;;;;;;;;;-1:-1:-1;72634:107:0;;;;;:::i;:::-;;:::i;76775:100::-;;;;;;;;;;-1:-1:-1;76775:100:0;;;;;:::i;:::-;;:::i;70658:34::-;;;;;;;;;;-1:-1:-1;70658:34:0;;;;;;;;;;;76025:122;;;;;;;;;;-1:-1:-1;76025:122:0;;;;;:::i;:::-;;:::i;69070:892::-;;;;;;;;;;-1:-1:-1;69070:892:0;;;;;:::i;:::-;;:::i;72958:89::-;;;;;;;;;;-1:-1:-1;73028:13:0;;72958:89;;10853:87;;;;;;;;;;-1:-1:-1;10926:6:0;;-1:-1:-1;;;;;10926:6:0;10853:87;;70920:79;;;;;;;;;;-1:-1:-1;70920:79:0;;;;-1:-1:-1;;;;;70920:79:0;;;70423:43;;;;;;;;;;;;;;;;76987:113;;;;;;;;;;-1:-1:-1;76987:113:0;;;;;:::i;:::-;;:::i;70544:38::-;;;;;;;;;;;;;;;;36768:104;;;;;;;;;;;;;:::i;66116:2505::-;;;;;;;;;;-1:-1:-1;66116:2505:0;;;;;:::i;:::-;;:::i;72859:93::-;;;;;;;;;;-1:-1:-1;72932:14:0;;;;;;;72859:93;;38821:308;;;;;;;;;;-1:-1:-1;38821:308:0;;;;;:::i;:::-;;:::i;70385:31::-;;;;;;;;;;;;;:::i;76281:180::-;;;;;;;;;;-1:-1:-1;76281:180:0;;;;;:::i;:::-;;:::i;75773:130::-;;;;;;;;;;-1:-1:-1;75773:130:0;;;;;:::i;:::-;;:::i;39691:399::-;;;;;;;;;;-1:-1:-1;39691:399:0;;;;;:::i;:::-;;:::i;75909:110::-;;;;;;;;;;-1:-1:-1;75909:110:0;;;;;:::i;:::-;;:::i;70291:89::-;;;;;;;;;;;;;:::i;64679:420::-;;;;;;;;;;-1:-1:-1;64679:420:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;73353:92::-;;;;;;;;;;;;;:::i;72747:106::-;;;;;;;;;;-1:-1:-1;72747:106:0;;;;;:::i;:::-;-1:-1:-1;;;;;72831:16:0;72805:7;72831:16;;;:13;:16;;;;;;;72747:106;74867:514;;;;;;;;;;-1:-1:-1;74867:514:0;;;;;:::i;:::-;;:::i;70508:31::-;;;;;;;;;;;;;;;;73921:299;;;;;;;;;;-1:-1:-1;73921:299:0;;;;;:::i;:::-;;:::i;75590:81::-;;;;;;;;;;-1:-1:-1;75590:81:0;;;;;:::i;:::-;;:::i;73053:100::-;;;;;;;;;;-1:-1:-1;73131:16:0;;73053:100;;75387:197;;;;;;;;;;;;;:::i;39200:164::-;;;;;;;;;;-1:-1:-1;39200:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;39321:25:0;;;39297:4;39321:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;39200:164;73701:214;;;;;;:::i;:::-;;:::i;11759:201::-;;;;;;;;;;-1:-1:-1;11759:201:0;;;;;:::i;:::-;;:::i;71060:50::-;;;;;;;;;;-1:-1:-1;71060:50:0;;;;;:::i;:::-;;;;;;;;;;;;;;30952:615;31037:4;31337:25;-1:-1:-1;;;;;;31337:25:0;;;;:102;;-1:-1:-1;31414:25:0;-1:-1:-1;;;;;;31414:25:0;;;31337:102;:179;;;-1:-1:-1;31491:25:0;-1:-1:-1;;;;;;31491:25:0;;;31337:179;31317:199;30952:615;-1:-1:-1;;30952:615:0:o;77189:93::-;10739:13;:11;:13::i;:::-;77253:14:::1;:23:::0;;;::::1;;::::0;::::1;-1:-1:-1::0;;77253:23:0;;::::1;::::0;;;::::1;::::0;;77189:93::o;36599:100::-;36653:13;36686:5;36679:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36599:100;:::o;38545:204::-;38613:7;38638:16;38646:7;38638;:16::i;:::-;38633:64;;38663:34;;;;;;;;;;;;;;38633:64;-1:-1:-1;38717:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;38717:24:0;;38545:204::o;38093:386::-;38166:13;38182:16;38190:7;38182;:16::i;:::-;38166:32;-1:-1:-1;58993:10:0;-1:-1:-1;;;;;38215:28:0;;;38211:175;;-1:-1:-1;;;;;39321:25:0;;39297:4;39321:25;;;:18;:25;;;;;;;;58993:10;39321:35;;;;;;;;;;38258:128;;38335:35;;;;;;;;;;;;;;38258:128;38398:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;38398:29:0;-1:-1:-1;;;;;38398:29:0;;;;;;;;;38443:28;;38398:24;;38443:28;;;;;;;38155:324;38093:386;;:::o;76881:100::-;10739:13;:11;:13::i;:::-;76953:22;;::::1;::::0;:9:::1;::::0;:22:::1;::::0;::::1;::::0;::::1;:::i;:::-;;76881:100:::0;:::o;77106:77::-;10739:13;:11;:13::i;:::-;77162:6:::1;:15:::0;;-1:-1:-1;;77162:15:0::1;::::0;::::1;;::::0;;;::::1;::::0;;77106:77::o;47810:2800::-;47944:27;47974;47993:7;47974:18;:27::i;:::-;47944:57;;48059:4;-1:-1:-1;;;;;48018:45:0;48034:19;-1:-1:-1;;;;;48018:45:0;;48014:86;;48072:28;;;;;;;;;;;;;;48014:86;48114:27;46540:21;;;46367:15;46582:4;46575:36;46664:4;46648:21;;46754:26;;58993:10;47507:30;;;-1:-1:-1;;;;;47205:26:0;;47486:19;;;47483:55;48293:174;;-1:-1:-1;;;;;39321:25:0;;39297:4;39321:25;;;:18;:25;;;;;;;;58993:10;39321:35;;;;;;;;;;48375:92;;48432:35;;;;;;;;;;;;;;48375:92;-1:-1:-1;;;;;48484:16:0;;48480:52;;48509:23;;;;;;;;;;;;;;48480:52;48681:15;48678:160;;;48821:1;48800:19;48793:30;48678:160;-1:-1:-1;;;;;49216:24:0;;;;;;;:18;:24;;;;;;49214:26;;-1:-1:-1;;49214:26:0;;;49285:22;;;;;;;;;49283:24;;-1:-1:-1;49283:24:0;;;36287:11;36263:22;36259:40;36246:62;-1:-1:-1;;;36246:62:0;49578:26;;;;:17;:26;;;;;:174;;;;-1:-1:-1;;;49872:46:0;;:51;;49868:626;;49976:1;49966:11;;49944:19;50099:30;;;:17;:30;;;;;;:35;;50095:384;;50237:13;;50222:11;:28;50218:242;;50384:30;;;;:17;:30;;;;;:52;;;50218:242;49925:569;49868:626;50541:7;50537:2;-1:-1:-1;;;;;50522:27:0;50531:4;-1:-1:-1;;;;;50522:27:0;;;;;;;;;;;47933:2677;;;47810:2800;;;:::o;75677:90::-;10739:13;:11;:13::i;:::-;75741:8:::1;:20:::0;75677:90::o;73451:244::-;71704:6;;73516:11;;71704:6;;71703:7;71695:38;;;;-1:-1:-1;;;71695:38:0;;11564:2:1;71695:38:0;;;11546:21:1;11603:2;11583:18;;;11576:30;11642:20;11622:18;;;11615:48;11680:18;;71695:38:0;;;;;;;;;71762:1;71748:11;:15;:51;;;;;71781:18;;71767:11;:32;71748:51;71740:84;;;;-1:-1:-1;;;71740:84:0;;11911:2:1;71740:84:0;;;11893:21:1;11950:2;11930:18;;;11923:30;11989:22;11969:18;;;11962:50;12029:18;;71740:84:0;11709:344:1;71740:84:0;71839:10;71853:9;71839:23;71831:44;;;;-1:-1:-1;;;71831:44:0;;12260:2:1;71831:44:0;;;12242:21:1;12299:1;12279:18;;;12272:29;12337:10;12317:18;;;12310:38;12365:18;;71831:44:0;12058:331:1;71831:44:0;71920:9;;71625:1;30272:12;30059:7;30256:13;71906:11;;30256:28;;-1:-1:-1;;30256:46:0;71890:27;;;;:::i;:::-;:39;71882:72;;;;-1:-1:-1;;;71882:72:0;;12918:2:1;71882:72:0;;;12900:21:1;12957:2;12937:18;;;12930:30;12996:22;12976:18;;;12969:50;13036:18;;71882:72:0;12716:344:1;71882:72:0;71971:14;;;;;;;71967:197;;;72015:16;;72001:11;:30;-1:-1:-1;72040:4:0;:8;71967:197;;;72072:14;;;;;;;72067:97;;72116:16;;72102:11;:30;72148:8;;72141:4;:15;72067:97;72192:13;;71625:1;30272:12;30059:7;30256:13;:28;-1:-1:-1;;30256:46:0;72176:29;:76;;;;-1:-1:-1;72239:13:0;;71625:1;30272:12;30059:7;30256:13;72225:11;;30256:28;;-1:-1:-1;;30256:46:0;72209:27;;;;:::i;:::-;:43;72176:76;72172:201;;;72268:16;72317:13;;72303:11;72287:13;71625:1;30272:12;30059:7;30256:13;-1:-1:-1;;30256:28:0;;;:46;;30006:315;72287:13;:27;;;;:::i;:::-;:43;;;;:::i;:::-;72268:62;;72357:8;72346;;:19;;;;:::i;:::-;72339:4;:26;-1:-1:-1;72172:201:0;72401:13;;71625:1;30272:12;30059:7;30256:13;:28;-1:-1:-1;;30256:46:0;72385:29;72381:72;;;72437:8;;72430:4;:15;72381:72;72482:4;;72469:9;:17;;72461:49;;;;-1:-1:-1;;;72461:49:0;;13570:2:1;72461:49:0;;;13552:21:1;13609:2;13589:18;;;13582:30;13648:21;13628:18;;;13621:49;13687:18;;72461:49:0;13368:343:1;72461:49:0;72567:11;;72539:10;72525:25;;;;:13;:25;;;;;;:39;;72553:11;;72525:39;:::i;:::-;:53;72517:95;;;;-1:-1:-1;;;72517:95:0;;13918:2:1;72517:95:0;;;13900:21:1;13957:2;13937:18;;;13930:30;13996:31;13976:18;;;13969:59;14045:18;;72517:95:0;13716:353:1;72517:95:0;73556:14:::1;::::0;;;::::1;;;73555:15;73547:52;;;::::0;-1:-1:-1;;;73547:52:0;;14276:2:1;73547:52:0::1;::::0;::::1;14258:21:1::0;14315:2;14295:18;;;14288:30;14354:26;14334:18;;;14327:54;14398:18;;73547:52:0::1;14074:348:1::0;73547:52:0::1;73622:10;73608:25;::::0;;;:13:::1;:25;::::0;;;;:40;;73637:11;;73608:25;:40:::1;::::0;73637:11;;73608:40:::1;:::i;:::-;::::0;;;-1:-1:-1;73655:34:0::1;::::0;-1:-1:-1;73665:10:0::1;73677:11:::0;73655:9:::1;:34::i;77288:137::-:0;10739:13;:11;:13::i;:::-;77333:7:::1;77354;10926:6:::0;;-1:-1:-1;;;;;10926:6:0;;10853:87;77354:7:::1;-1:-1:-1::0;;;;;77346:21:0::1;77375;77346:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;77332:69;;;77416:2;77408:11;;;::::0;::::1;;77325:100;77288:137::o:0;39435:185::-;39573:39;39590:4;39596:2;39600:7;39573:39;;;;;;;;;;;;:16;:39::i;:::-;39435:185;;;:::o;74226:635::-;74301:16;74329:23;74355:17;74365:6;74355:9;:17::i;:::-;74329:43;;74379:30;74426:15;74412:30;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;74412:30:0;-1:-1:-1;74379:63:0;-1:-1:-1;74474:1:0;74449:22;74518:309;74543:15;74525;:33;:64;;;;;74580:9;;74562:14;:27;;74525:64;74518:309;;;74600:25;74628:23;74636:14;74628:7;:23::i;:::-;74600:51;;74687:6;-1:-1:-1;;;;;74666:27:0;:17;-1:-1:-1;;;;;74666:27:0;;74662:131;;74739:14;74706:13;74720:15;74706:30;;;;;;;;:::i;:::-;;;;;;;;;;:47;74766:17;;;;:::i;:::-;;;;74662:131;74803:16;;;;:::i;:::-;;;;74591:236;74518:309;;;-1:-1:-1;74842:13:0;;74226:635;-1:-1:-1;;;;74226:635:0:o;76637:132::-;10739:13;:11;:13::i;:::-;76725:38;;::::1;::::0;:17:::1;::::0;:38:::1;::::0;::::1;::::0;::::1;:::i;70253:33::-:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;65258:468::-;65433:15;;65347:23;;65408:22;65433:15;65500:36;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;65500:36:0;;-1:-1:-1;;65500:36:0;;;;;;;;;;;;65463:73;;65556:9;65551:125;65572:14;65567:1;:19;65551:125;;65628:32;65648:8;65657:1;65648:11;;;;;;;;:::i;:::-;;;;;;;65628:19;:32::i;:::-;65612:10;65623:1;65612:13;;;;;;;;:::i;:::-;;;;;;;;;;:48;65588:3;;65551:125;;;-1:-1:-1;65697:10:0;65258:468;-1:-1:-1;;;65258:468:0:o;70212:36::-;;;;;;;:::i;36388:144::-;36452:7;36495:27;36514:7;36495:18;:27::i;76153:122::-;10739:13;:11;:13::i;:::-;76233:16:::1;:36:::0;76153:122::o;76467:164::-;10739:13;:11;:13::i;:::-;76558:19:::1;::::0;-1:-1:-1;;;;;76558:19:0::1;76544:10;:33;76536:60;;;::::0;-1:-1:-1;;;76536:60:0;;15168:2:1;76536:60:0::1;::::0;::::1;15150:21:1::0;15207:2;15187:18;;;15180:30;15246:16;15226:18;;;15219:44;15280:18;;76536:60:0::1;14966:338:1::0;76536:60:0::1;76603:9;:22:::0;76467:164::o;31631:224::-;31695:7;-1:-1:-1;;;;;31719:19:0;;31715:60;;31747:28;;;;;;;;;;;;;;31715:60;-1:-1:-1;;;;;;31793:25:0;;;;;:18;:25;;;;;;26186:13;31793:54;;31631:224::o;11501:103::-;10739:13;:11;:13::i;:::-;11566:30:::1;11593:1;11566:18;:30::i;:::-;11501:103::o:0;72634:107::-;10739:13;:11;:13::i;:::-;72709:10:::1;:26:::0;72634:107::o;76775:100::-;10739:13;:11;:13::i;:::-;76847:22;;::::1;::::0;:9:::1;::::0;:22:::1;::::0;::::1;::::0;::::1;:::i;76025:122::-:0;10739:13;:11;:13::i;:::-;76105:16:::1;:36:::0;76025:122::o;69070:892::-;69140:16;69194:19;69228:25;69268:22;69293:16;69303:5;69293:9;:16::i;:::-;69268:41;;69324:25;69366:14;69352:29;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;69352:29:0;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;69324:57:0;;-1:-1:-1;71625:1:0;69442:472;69491:14;69476:11;:29;69442:472;;69543:15;69556:1;69543:12;:15::i;:::-;69531:27;;69581:9;:16;;;69622:8;69577:73;69672:14;;-1:-1:-1;;;;;69672:28:0;;69668:111;;69745:14;;;-1:-1:-1;69668:111:0;69822:5;-1:-1:-1;;;;;69801:26:0;:17;-1:-1:-1;;;;;69801:26:0;;69797:102;;69878:1;69852:8;69861:13;;;;;;69852:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;69797:102;69507:3;;69442:472;;;-1:-1:-1;69935:8:0;;69070:892;-1:-1:-1;;;;;;69070:892:0:o;76987:113::-;10739:13;:11;:13::i;:::-;77065:29;;::::1;::::0;:12:::1;::::0;:29:::1;::::0;::::1;::::0;::::1;:::i;36768:104::-:0;36824:13;36857:7;36850:14;;;;;:::i;66116:2505::-;66251:16;66318:4;66309:5;:13;66305:45;;66331:19;;;;;;;;;;;;;;66305:45;66365:19;66399:17;66419:14;29748:7;29775:13;;29701:95;66419:14;66399:34;-1:-1:-1;71625:1:0;66511:5;:23;66507:87;;;71625:1;66555:23;;66507:87;66670:9;66663:4;:16;66659:73;;;66707:9;66700:16;;66659:73;66746:25;66774:16;66784:5;66774:9;:16::i;:::-;66746:44;;66968:4;66960:5;:12;66956:278;;;67015:12;;;67050:31;;;67046:111;;;67126:11;67106:31;;67046:111;66974:198;66956:278;;;-1:-1:-1;67217:1:0;66956:278;67248:25;67290:17;67276:32;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;67276:32:0;;67248:60;;67327:17;67348:1;67327:22;67323:78;;67377:8;-1:-1:-1;67370:15:0;;-1:-1:-1;;;67370:15:0;67323:78;67545:31;67579:26;67599:5;67579:19;:26::i;:::-;67545:60;;67620:25;67865:9;:16;;;67860:92;;-1:-1:-1;67922:14:0;;67860:92;67983:5;67966:478;67995:4;67990:1;:9;;:45;;;;;68018:17;68003:11;:32;;67990:45;67966:478;;;68073:15;68086:1;68073:12;:15::i;:::-;68061:27;;68111:9;:16;;;68152:8;68107:73;68202:14;;-1:-1:-1;;;;;68202:28:0;;68198:111;;68275:14;;;-1:-1:-1;68198:111:0;68352:5;-1:-1:-1;;;;;68331:26:0;:17;-1:-1:-1;;;;;68331:26:0;;68327:102;;68408:1;68382:8;68391:13;;;;;;68382:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;68327:102;68037:3;;67966:478;;;-1:-1:-1;;;68529:29:0;;;-1:-1:-1;68536:8:0;;-1:-1:-1;;66116:2505:0;;;;;;:::o;38821:308::-;58993:10;-1:-1:-1;;;;;38920:31:0;;;38916:61;;38960:17;;;;;;;;;;;;;;38916:61;58993:10;38990:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;38990:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;38990:60:0;;;;;;;;;;39066:55;;586:41:1;;;38990:49:0;;58993:10;39066:55;;559:18:1;39066:55:0;;;;;;;38821:308;;:::o;70385:31::-;;;;;;;:::i;76281:180::-;10739:13;:11;:13::i;:::-;76380:19:::1;::::0;-1:-1:-1;;;;;76380:19:0::1;76366:10;:33;76358:60;;;::::0;-1:-1:-1;;;76358:60:0;;15168:2:1;76358:60:0::1;::::0;::::1;15150:21:1::0;15207:2;15187:18;;;15180:30;15246:16;15226:18;;;15219:44;15280:18;;76358:60:0::1;14966:338:1::0;76358:60:0::1;76425:19;:30:::0;;-1:-1:-1;;76425:30:0::1;-1:-1:-1::0;;;;;76425:30:0;;;::::1;::::0;;;::::1;::::0;;76281:180::o;75773:130::-;10739:13;:11;:13::i;:::-;75857:18:::1;:40:::0;75773:130::o;39691:399::-;39858:31;39871:4;39877:2;39881:7;39858:12;:31::i;:::-;-1:-1:-1;;;;;39904:14:0;;;:19;39900:183;;39943:56;39974:4;39980:2;39984:7;39993:5;39943:30;:56::i;:::-;39938:145;;40027:40;;-1:-1:-1;;;40027:40:0;;;;;;;;;;;39938:145;39691:399;;;;:::o;75909:110::-;10739:13;:11;:13::i;:::-;75983::::1;:30:::0;75909:110::o;70291:89::-;;;;;;;:::i;64679:420::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71625:1:0;64835:7;:25;:54;;;-1:-1:-1;29748:7:0;29775:13;64864:7;:25;;64835:54;64831:103;;;64913:9;64679:420;-1:-1:-1;;64679:420:0:o;64831:103::-;64956:21;64969:7;64956:12;:21::i;:::-;64944:33;;64992:9;:16;;;64988:65;;;65032:9;64679:420;-1:-1:-1;;64679:420:0:o;64988:65::-;65070:21;65083:7;65070:12;:21::i;73353:92::-;73400:7;73426:13;71625:1;30272:12;30059:7;30256:13;-1:-1:-1;;30256:28:0;;;:46;;30006:315;73426:13;73419:20;;73353:92;:::o;74867:514::-;74986:13;75027:17;75035:8;75027:7;:17::i;:::-;75011:98;;;;-1:-1:-1;;;75011:98:0;;15511:2:1;75011:98:0;;;15493:21:1;15550:2;15530:18;;;15523:30;15589:34;15569:18;;;15562:62;15660:17;15640:18;;;15633:45;15695:19;;75011:98:0;15309:411:1;75011:98:0;75122:8;;;;;;;:17;;75134:5;75122:17;75118:64;;75157:17;75150:24;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;74867:514;;;:::o;75118:64::-;75190:28;75221:10;:8;:10::i;:::-;75190:41;;75276:1;75251:14;75245:28;:32;:130;;;;;;;;;;;;;;;;;75313:14;75329:19;75339:8;75329:9;:19::i;:::-;75350:9;75296:64;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;75238:137;74867:514;-1:-1:-1;;;74867:514:0:o;73921:299::-;10739:13;:11;:13::i;:::-;74042:9:::1;74037:178;74053:20:::0;;::::1;74037:178;;;74130:9;;74118:6;;74125:1;74118:9;;;;;;;:::i;:::-;;;;;;;74102:13;71625:1:::0;30272:12;30059:7;30256:13;-1:-1:-1;;30256:28:0;;;:46;;30006:315;74102:13:::1;:25;;;;:::i;:::-;:37;74094:70;;;::::0;-1:-1:-1;;;74094:70:0;;12918:2:1;74094:70:0::1;::::0;::::1;12900:21:1::0;12957:2;12937:18;;;12930:30;12996:22;12976:18;;;12969:50;13036:18;;74094:70:0::1;12716:344:1::0;74094:70:0::1;74173:34;74183:9;;74193:1;74183:12;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;:::-;74197:6;;74204:1;74197:9;;;;;;;:::i;:::-;;;;;;;74173;:34::i;:::-;74075:3:::0;::::1;::::0;::::1;:::i;:::-;;;;74037:178;;;;73921:299:::0;;;;:::o;75590:81::-;10739:13;:11;:13::i;:::-;75648:8:::1;:17:::0;;;::::1;;;;-1:-1:-1::0;;75648:17:0;;::::1;::::0;;;::::1;::::0;;75590:81::o;75387:197::-;75443:13;75509:1;75486:12;75480:26;;;;;:::i;:::-;;;:30;:98;;-1:-1:-1;75480:98:0;;;;;;;;;-1:-1:-1;75480:98:0;;;73353:92::o;75480:98::-;75548:12;75531:30;;;;;;;;:::i;:::-;;;;;;;;;;;;;75473:105;;75387:197;:::o;73701:214::-;10739:13;:11;:13::i;:::-;73835:9:::1;::::0;71625:1;30272:12;30059:7;30256:13;73821:11;;30256:28;;-1:-1:-1;;30256:46:0;73805:27:::1;;;;:::i;:::-;:39;73797:72;;;::::0;-1:-1:-1;;;73797:72:0;;12918:2:1;73797:72:0::1;::::0;::::1;12900:21:1::0;12957:2;12937:18;;;12930:30;12996:22;12976:18;;;12969:50;13036:18;;73797:72:0::1;12716:344:1::0;73797:72:0::1;73876:33;73886:9;73897:11;73876:9;:33::i;11759:201::-:0;10739:13;:11;:13::i;:::-;-1:-1:-1;;;;;11848:22:0;::::1;11840:73;;;::::0;-1:-1:-1;;;11840:73:0;;17845:2:1;11840:73:0::1;::::0;::::1;17827:21:1::0;17884:2;17864:18;;;17857:30;17923:34;17903:18;;;17896:62;17994:8;17974:18;;;17967:36;18020:19;;11840:73:0::1;17643:402:1::0;11840:73:0::1;11924:28;11943:8;11924:18;:28::i;11018:132::-:0;10926:6;;-1:-1:-1;;;;;10926:6:0;58993:10;11082:23;11074:68;;;;-1:-1:-1;;;11074:68:0;;18252:2:1;11074:68:0;;;18234:21:1;;;18271:18;;;18264:30;18330:34;18310:18;;;18303:62;18382:18;;11074:68:0;18050:356:1;40345:273:0;40402:4;40458:7;71625:1;40439:26;;:66;;;;;40492:13;;40482:7;:23;40439:66;:152;;;;-1:-1:-1;;40543:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;40543:43:0;:48;;40345:273::o;33305:1129::-;33372:7;33407;;71625:1;33456:23;33452:915;;33509:13;;33502:4;:20;33498:869;;;33547:14;33564:23;;;:17;:23;;;;;;;-1:-1:-1;;;33653:23:0;;:28;;33649:699;;34172:113;34179:6;34189:1;34179:11;34172:113;;-1:-1:-1;;;34250:6:0;34232:25;;;;:17;:25;;;;;;34172:113;;33649:699;33524:843;33498:869;34395:31;;;;;;;;;;;;;;40702:104;40771:27;40781:2;40785:8;40771:27;;;;;;;;;;;;:9;:27::i;12120:191::-;12213:6;;;-1:-1:-1;;;;;12230:17:0;;;-1:-1:-1;;12230:17:0;;;;;;;12263:40;;12213:6;;;12230:17;12213:6;;12263:40;;12194:16;;12263:40;12183:128;12120:191;:::o;34982:153::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35102:24:0;;;;:17;:24;;;;;;35083:44;;-1:-1:-1;;;;;;;;;;;;;34638:41:0;;;;26840:3;34724:32;;;34690:67;;-1:-1:-1;;;34690:67:0;-1:-1:-1;;;34787:23:0;;:28;;-1:-1:-1;;;34768:47:0;;;;27357:3;34855:27;;;;-1:-1:-1;;;34826:57:0;-1:-1:-1;34528:363:0;54561:716;54745:88;;-1:-1:-1;;;54745:88:0;;54724:4;;-1:-1:-1;;;;;54745:45:0;;;;;:88;;58993:10;;54812:4;;54818:7;;54827:5;;54745:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;54745:88:0;;;;;;;;-1:-1:-1;;54745:88:0;;;;;;;;;;;;:::i;:::-;;;54741:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55028:6;:13;55045:1;55028:18;55024:235;;55074:40;;-1:-1:-1;;;55074:40:0;;;;;;;;;;;55024:235;55217:6;55211:13;55202:6;55198:2;55194:15;55187:38;54741:529;-1:-1:-1;;;;;;54904:64:0;-1:-1:-1;;;54904:64:0;;-1:-1:-1;54741:529:0;54561:716;;;;;;:::o;35638:158::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35741:47:0;35760:27;35779:7;35760:18;:27::i;:::-;-1:-1:-1;;;;;;;;;;;;;34638:41:0;;;;26840:3;34724:32;;;34690:67;;-1:-1:-1;;;34690:67:0;-1:-1:-1;;;34787:23:0;;:28;;-1:-1:-1;;;34768:47:0;;;;27357:3;34855:27;;;;-1:-1:-1;;;34826:57:0;-1:-1:-1;34528:363:0;77431:104;77491:13;77520:9;77513:16;;;;;:::i;59117:1960::-;59586:4;59580:11;;59593:3;59576:21;;59671:17;;;;60367:11;;;60246:5;60499:2;60513;60503:13;;60495:22;60367:11;60482:36;60554:2;60544:13;;60138:697;60573:4;60138:697;;;60764:1;60759:3;60755:11;60748:18;;60815:2;60809:4;60805:13;60801:2;60797:22;60792:3;60784:36;60668:2;60658:13;;60138:697;;;-1:-1:-1;60865:13:0;;;-1:-1:-1;;60980:12:0;;;61040:19;;;60980:12;59117:1960;-1:-1:-1;59117:1960:0:o;41222:681::-;41345:19;41351:2;41355:8;41345:5;:19::i;:::-;-1:-1:-1;;;;;41406:14:0;;;:19;41402:483;;41446:11;41460:13;41508:14;;;41541:233;41572:62;41611:1;41615:2;41619:7;;;;;;41628:5;41572:30;:62::i;:::-;41567:167;;41670:40;;-1:-1:-1;;;41670:40:0;;;;;;;;;;;41567:167;41769:3;41761:5;:11;41541:233;;41856:3;41839:13;;:20;41835:34;;41861:8;;;42176:1529;42241:20;42264:13;-1:-1:-1;;;;;42292:16:0;;42288:48;;42317:19;;;;;;;;;;;;;;42288:48;42351:8;42363:1;42351:13;42347:44;;42373:18;;;;;;;;;;;;;;42347:44;-1:-1:-1;;;;;42879:22:0;;;;;;:18;:22;;26323:2;42879:22;;:70;;42917:31;42905:44;;42879:70;;;36287:11;36263:22;36259:40;-1:-1:-1;37997:15:0;;37972:23;37968:45;36256:51;36246:62;43192:31;;;;:17;:31;;;;;:173;43210:12;43441:23;;;43479:101;43506:35;;43531:9;;;;;-1:-1:-1;;;;;43506:35:0;;;43523:1;;43506:35;;43523:1;;43506:35;43575:3;43565:7;:13;43479:101;;43596:13;:19;-1:-1:-1;39435:185:0;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:177:1;-1:-1:-1;;;;;;92:5:1;88:78;81:5;78:89;68:117;;181:1;178;171:12;196:245;254:6;307:2;295:9;286:7;282:23;278:32;275:52;;;323:1;320;313:12;275:52;362:9;349:23;381:30;405:5;381:30;:::i;638:160::-;703:20;;759:13;;752:21;742:32;;732:60;;788:1;785;778:12;732:60;638:160;;;:::o;803:180::-;859:6;912:2;900:9;891:7;887:23;883:32;880:52;;;928:1;925;918:12;880:52;951:26;967:9;951:26;:::i;1170:258::-;1242:1;1252:113;1266:6;1263:1;1260:13;1252:113;;;1342:11;;;1336:18;1323:11;;;1316:39;1288:2;1281:10;1252:113;;;1383:6;1380:1;1377:13;1374:48;;;-1:-1:-1;;1418:1:1;1400:16;;1393:27;1170:258::o;1433:::-;1475:3;1513:5;1507:12;1540:6;1535:3;1528:19;1556:63;1612:6;1605:4;1600:3;1596:14;1589:4;1582:5;1578:16;1556:63;:::i;:::-;1673:2;1652:15;-1:-1:-1;;1648:29:1;1639:39;;;;1680:4;1635:50;;1433:258;-1:-1:-1;;1433:258:1:o;1696:220::-;1845:2;1834:9;1827:21;1808:4;1865:45;1906:2;1895:9;1891:18;1883:6;1865:45;:::i;1921:180::-;1980:6;2033:2;2021:9;2012:7;2008:23;2004:32;2001:52;;;2049:1;2046;2039:12;2001:52;-1:-1:-1;2072:23:1;;1921:180;-1:-1:-1;1921:180:1:o;2337:196::-;2405:20;;-1:-1:-1;;;;;2454:54:1;;2444:65;;2434:93;;2523:1;2520;2513:12;2538:254;2606:6;2614;2667:2;2655:9;2646:7;2642:23;2638:32;2635:52;;;2683:1;2680;2673:12;2635:52;2706:29;2725:9;2706:29;:::i;:::-;2696:39;2782:2;2767:18;;;;2754:32;;-1:-1:-1;;;2538:254:1:o;2797:186::-;2856:6;2909:2;2897:9;2888:7;2884:23;2880:32;2877:52;;;2925:1;2922;2915:12;2877:52;2948:29;2967:9;2948:29;:::i;2988:184::-;-1:-1:-1;;;3037:1:1;3030:88;3137:4;3134:1;3127:15;3161:4;3158:1;3151:15;3177:275;3248:2;3242:9;3313:2;3294:13;;-1:-1:-1;;3290:27:1;3278:40;;3348:18;3333:34;;3369:22;;;3330:62;3327:88;;;3395:18;;:::i;:::-;3431:2;3424:22;3177:275;;-1:-1:-1;3177:275:1:o;3457:407::-;3522:5;3556:18;3548:6;3545:30;3542:56;;;3578:18;;:::i;:::-;3616:57;3661:2;3640:15;;-1:-1:-1;;3636:29:1;3667:4;3632:40;3616:57;:::i;:::-;3607:66;;3696:6;3689:5;3682:21;3736:3;3727:6;3722:3;3718:16;3715:25;3712:45;;;3753:1;3750;3743:12;3712:45;3802:6;3797:3;3790:4;3783:5;3779:16;3766:43;3856:1;3849:4;3840:6;3833:5;3829:18;3825:29;3818:40;3457:407;;;;;:::o;3869:451::-;3938:6;3991:2;3979:9;3970:7;3966:23;3962:32;3959:52;;;4007:1;4004;3997:12;3959:52;4047:9;4034:23;4080:18;4072:6;4069:30;4066:50;;;4112:1;4109;4102:12;4066:50;4135:22;;4188:4;4180:13;;4176:27;-1:-1:-1;4166:55:1;;4217:1;4214;4207:12;4166:55;4240:74;4306:7;4301:2;4288:16;4283:2;4279;4275:11;4240:74;:::i;4325:328::-;4402:6;4410;4418;4471:2;4459:9;4450:7;4446:23;4442:32;4439:52;;;4487:1;4484;4477:12;4439:52;4510:29;4529:9;4510:29;:::i;:::-;4500:39;;4558:38;4592:2;4581:9;4577:18;4558:38;:::i;:::-;4548:48;;4643:2;4632:9;4628:18;4615:32;4605:42;;4325:328;;;;;:::o;4840:632::-;5011:2;5063:21;;;5133:13;;5036:18;;;5155:22;;;4982:4;;5011:2;5234:15;;;;5208:2;5193:18;;;4982:4;5277:169;5291:6;5288:1;5285:13;5277:169;;;5352:13;;5340:26;;5421:15;;;;5386:12;;;;5313:1;5306:9;5277:169;;5477:946;5561:6;5592:2;5635;5623:9;5614:7;5610:23;5606:32;5603:52;;;5651:1;5648;5641:12;5603:52;5691:9;5678:23;5720:18;5761:2;5753:6;5750:14;5747:34;;;5777:1;5774;5767:12;5747:34;5815:6;5804:9;5800:22;5790:32;;5860:7;5853:4;5849:2;5845:13;5841:27;5831:55;;5882:1;5879;5872:12;5831:55;5918:2;5905:16;5940:2;5936;5933:10;5930:36;;;5946:18;;:::i;:::-;5992:2;5989:1;5985:10;5975:20;;6015:28;6039:2;6035;6031:11;6015:28;:::i;:::-;6077:15;;;6147:11;;;6143:20;;;6108:12;;;;6175:19;;;6172:39;;;6207:1;6204;6197:12;6172:39;6231:11;;;;6251:142;6267:6;6262:3;6259:15;6251:142;;;6333:17;;6321:30;;6284:12;;;;6371;;;;6251:142;;;6412:5;5477:946;-1:-1:-1;;;;;;;;5477:946:1:o;6805:722::-;7038:2;7090:21;;;7160:13;;7063:18;;;7182:22;;;7009:4;;7038:2;7261:15;;;;7235:2;7220:18;;;7009:4;7304:197;7318:6;7315:1;7312:13;7304:197;;;7367:52;7415:3;7406:6;7400:13;-1:-1:-1;;;;;6518:5:1;6512:12;6508:61;6503:3;6496:74;6631:18;6623:4;6616:5;6612:16;6606:23;6602:48;6595:4;6590:3;6586:14;6579:72;6714:4;6707:5;6703:16;6697:23;6690:31;6683:39;6676:4;6671:3;6667:14;6660:63;6784:8;6776:4;6769:5;6765:16;6759:23;6755:38;6748:4;6743:3;6739:14;6732:62;;;6428:372;7367:52;7476:15;;;;7448:4;7439:14;;;;;7340:1;7333:9;7304:197;;7717:322;7794:6;7802;7810;7863:2;7851:9;7842:7;7838:23;7834:32;7831:52;;;7879:1;7876;7869:12;7831:52;7902:29;7921:9;7902:29;:::i;:::-;7892:39;7978:2;7963:18;;7950:32;;-1:-1:-1;8029:2:1;8014:18;;;8001:32;;7717:322;-1:-1:-1;;;7717:322:1:o;8044:254::-;8109:6;8117;8170:2;8158:9;8149:7;8145:23;8141:32;8138:52;;;8186:1;8183;8176:12;8138:52;8209:29;8228:9;8209:29;:::i;:::-;8199:39;;8257:35;8288:2;8277:9;8273:18;8257:35;:::i;:::-;8247:45;;8044:254;;;;;:::o;8303:667::-;8398:6;8406;8414;8422;8475:3;8463:9;8454:7;8450:23;8446:33;8443:53;;;8492:1;8489;8482:12;8443:53;8515:29;8534:9;8515:29;:::i;:::-;8505:39;;8563:38;8597:2;8586:9;8582:18;8563:38;:::i;:::-;8553:48;;8648:2;8637:9;8633:18;8620:32;8610:42;;8703:2;8692:9;8688:18;8675:32;8730:18;8722:6;8719:30;8716:50;;;8762:1;8759;8752:12;8716:50;8785:22;;8838:4;8830:13;;8826:27;-1:-1:-1;8816:55:1;;8867:1;8864;8857:12;8816:55;8890:74;8956:7;8951:2;8938:16;8933:2;8929;8925:11;8890:74;:::i;:::-;8880:84;;;8303:667;;;;;;;:::o;8975:266::-;6512:12;;-1:-1:-1;;;;;6508:61:1;6496:74;;6623:4;6612:16;;;6606:23;6631:18;6602:48;6586:14;;;6579:72;6714:4;6703:16;;;6697:23;6690:31;6683:39;6667:14;;;6660:63;6776:4;6765:16;;;6759:23;6784:8;6755:38;6739:14;;;6732:62;9171:3;9156:19;;9184:51;6428:372;9246:367;9309:8;9319:6;9373:3;9366:4;9358:6;9354:17;9350:27;9340:55;;9391:1;9388;9381:12;9340:55;-1:-1:-1;9414:20:1;;9457:18;9446:30;;9443:50;;;9489:1;9486;9479:12;9443:50;9526:4;9518:6;9514:17;9502:29;;9586:3;9579:4;9569:6;9566:1;9562:14;9554:6;9550:27;9546:38;9543:47;9540:67;;;9603:1;9600;9593:12;9540:67;9246:367;;;;;:::o;9618:773::-;9740:6;9748;9756;9764;9817:2;9805:9;9796:7;9792:23;9788:32;9785:52;;;9833:1;9830;9823:12;9785:52;9873:9;9860:23;9902:18;9943:2;9935:6;9932:14;9929:34;;;9959:1;9956;9949:12;9929:34;9998:70;10060:7;10051:6;10040:9;10036:22;9998:70;:::i;:::-;10087:8;;-1:-1:-1;9972:96:1;-1:-1:-1;10175:2:1;10160:18;;10147:32;;-1:-1:-1;10191:16:1;;;10188:36;;;10220:1;10217;10210:12;10188:36;;10259:72;10323:7;10312:8;10301:9;10297:24;10259:72;:::i;:::-;9618:773;;;;-1:-1:-1;10350:8:1;-1:-1:-1;;;;9618:773:1:o;10396:260::-;10464:6;10472;10525:2;10513:9;10504:7;10500:23;10496:32;10493:52;;;10541:1;10538;10531:12;10493:52;10564:29;10583:9;10564:29;:::i;:::-;10554:39;;10612:38;10646:2;10635:9;10631:18;10612:38;:::i;10661:254::-;10729:6;10737;10790:2;10778:9;10769:7;10765:23;10761:32;10758:52;;;10806:1;10803;10796:12;10758:52;10842:9;10829:23;10819:33;;10871:38;10905:2;10894:9;10890:18;10871:38;:::i;10920:437::-;10999:1;10995:12;;;;11042;;;11063:61;;11117:4;11109:6;11105:17;11095:27;;11063:61;11170:2;11162:6;11159:14;11139:18;11136:38;11133:218;;-1:-1:-1;;;11204:1:1;11197:88;11308:4;11305:1;11298:15;11336:4;11333:1;11326:15;11133:218;;10920:437;;;:::o;12394:184::-;-1:-1:-1;;;12443:1:1;12436:88;12543:4;12540:1;12533:15;12567:4;12564:1;12557:15;12583:128;12623:3;12654:1;12650:6;12647:1;12644:13;12641:39;;;12660:18;;:::i;:::-;-1:-1:-1;12696:9:1;;12583:128::o;13065:125::-;13105:4;13133:1;13130;13127:8;13124:34;;;13138:18;;:::i;:::-;-1:-1:-1;13175:9:1;;13065:125::o;13195:168::-;13235:7;13301:1;13297;13293:6;13289:14;13286:1;13283:21;13278:1;13271:9;13264:17;13260:45;13257:71;;;13308:18;;:::i;:::-;-1:-1:-1;13348:9:1;;13195:168::o;14637:184::-;-1:-1:-1;;;14686:1:1;14679:88;14786:4;14783:1;14776:15;14810:4;14807:1;14800:15;14826:135;14865:3;14886:17;;;14883:43;;14906:18;;:::i;:::-;-1:-1:-1;14953:1:1;14942:13;;14826:135::o;15851:1030::-;15936:12;;15901:3;;15991:1;16011:18;;;;16064;;;;16091:61;;16145:4;16137:6;16133:17;16123:27;;16091:61;16171:2;16219;16211:6;16208:14;16188:18;16185:38;16182:218;;-1:-1:-1;;;16253:1:1;16246:88;16357:4;16354:1;16347:15;16385:4;16382:1;16375:15;16182:218;16416:18;16443:104;;;;16561:1;16556:319;;;;16409:466;;16443:104;-1:-1:-1;;16476:24:1;;16464:37;;16521:16;;;;-1:-1:-1;16443:104:1;;16556:319;15798:1;15791:14;;;15835:4;15822:18;;16650:1;16664:165;16678:6;16675:1;16672:13;16664:165;;;16756:14;;16743:11;;;16736:35;16799:16;;;;16693:10;;16664:165;;;16668:3;;16858:6;16853:3;16849:16;16842:23;;16409:466;;;;;;;15851:1030;;;;:::o;16886:550::-;17110:3;17148:6;17142:13;17164:53;17210:6;17205:3;17198:4;17190:6;17186:17;17164:53;:::i;:::-;17280:13;;17239:16;;;;17302:57;17280:13;17239:16;17336:4;17324:17;;17302:57;:::i;:::-;17375:55;17420:8;17413:5;17409:20;17401:6;17375:55;:::i;:::-;17368:62;16886:550;-1:-1:-1;;;;;;;16886:550:1:o;17441:197::-;17569:3;17594:38;17628:3;17620:6;17594:38;:::i;18411:512::-;18605:4;-1:-1:-1;;;;;18715:2:1;18707:6;18703:15;18692:9;18685:34;18767:2;18759:6;18755:15;18750:2;18739:9;18735:18;18728:43;;18807:6;18802:2;18791:9;18787:18;18780:34;18850:3;18845:2;18834:9;18830:18;18823:31;18871:46;18912:3;18901:9;18897:19;18889:6;18871:46;:::i;:::-;18863:54;18411:512;-1:-1:-1;;;;;;18411:512:1:o;18928:249::-;18997:6;19050:2;19038:9;19029:7;19025:23;19021:32;19018:52;;;19066:1;19063;19056:12;19018:52;19098:9;19092:16;19117:30;19141:5;19117:30;:::i
Swarm Source
ipfs://9d5913fda3d8ca12bbc4add46f5b56a067f52e04a0010777e33188ed383aed93
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.