ERC-721
Overview
Max Total Supply
66 PANDAZ
Holders
32
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 PANDAZLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
PANDAZ
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-07-31 */ // SPDX-License-Identifier: MIT // File: contracts/IERC721A.sol // ERC721A Contracts v4.1.0 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: contracts/ERC721A.sol // ERC721A Contracts v4.1.0 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 { // Reference type for token approval. struct TokenApprovalRef { address value; } // 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 = 1500; // 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 => TokenApprovalRef) 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 1; } /** * @dev Returns the next token ID to be minted. */ function _nextTokenId() internal view virtual returns (uint256) { return _currentIndex; } /** * @dev Returns the total number of tokens in existence. * Burned tokens will reduce the count. * To get the total number of tokens minted, please see `_totalMinted`. */ function totalSupply() public view virtual override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than `_currentIndex - _startTokenId()` times. unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * @dev Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view virtual returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to `_startTokenId()` unchecked { return _currentIndex - _startTokenId(); } } /** * @dev Returns the total number of tokens burned. */ function _totalBurned() internal view virtual returns (uint256) { return _burnCounter; } /** * @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 virtual override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return _packedAddressData[owner] & BITMASK_ADDRESS_DATA_ENTRY; } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view virtual 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 virtual 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 virtual returns (uint64) { return uint64(_packedAddressData[owner] >> BITPOS_AUX); } /** * Sets the auxiliary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal virtual { uint256 packed = _packedAddressData[owner]; uint256 auxCasted; // Cast `aux` with assembly to avoid redundant masking. assembly { auxCasted := aux } packed = (packed & BITMASK_AUX_COMPLEMENT) | (auxCasted << BITPOS_AUX); _packedAddressData[owner] = packed; } /** * 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 virtual returns (TokenOwnership memory) { return _unpackedOwnership(_packedOwnerships[index]); } /** * @dev Initializes the ownership slot minted at `index` for efficiency purposes. */ function _initializeOwnershipAt(uint256 index) internal virtual { if (_packedOwnerships[index] == 0) { _packedOwnerships[index] = _packedOwnershipOf(index); } } /** * 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 virtual 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 virtual 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 virtual override { address owner = ownerOf(tokenId); if (_msgSenderERC721A() != owner) if (!isApprovedForAll(owner, _msgSenderERC721A())) { revert ApprovalCallerNotOwnerNorApproved(); } _tokenApprovals[tokenId].value = to; emit Approval(owner, to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId].value; } /** * @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 virtual 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 virtual { _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 virtual { _mint(to, quantity); unchecked { if (to.code.length != 0) { uint256 end = _currentIndex; uint256 index = end - quantity; do { if (!_checkContractOnERC721Received(address(0), to, index++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (index < end); // Reentrancy protection. if (_currentIndex != end) revert(); } } } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event for each mint. */ function _mint(address to, uint256 quantity) internal virtual { uint256 startTokenId = _currentIndex; if (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 virtual { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); if (quantity > MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are unrealistic due to the above check for `quantity` to be below the limit. unchecked { // Updates: // - `balance += quantity`. // - `numberMinted += quantity`. // // We can directly add to the `balance` and `numberMinted`. _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1); // Updates: // - `address` to the owner. // - `startTimestamp` to the timestamp of minting. // - `burned` to `false`. // - `nextInitialized` to `quantity == 1`. _packedOwnerships[startTokenId] = _packOwnershipData( to, _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0) ); emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to); _currentIndex = startTokenId + quantity; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Returns the storage slot and value for the approved address of `tokenId`. */ function _getApprovedAddress(uint256 tokenId) private view returns (uint256 approvedAddressSlot, address approvedAddress) { TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId]; // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId]`. assembly { approvedAddressSlot := tokenApproval.slot 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 virtual { uint256 packed = _packedOwnerships[index]; if (packed == 0) revert OwnershipNotInitializedForExtraData(); uint256 extraDataCasted; // Cast `extraData` with assembly to avoid redundant masking. assembly { extraDataCasted := extraData } packed = (packed & BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << BITPOS_EXTRA_DATA); _packedOwnerships[index] = packed; } /** * @dev 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 virtual 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: @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: @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: contracts/Pandaz.sol pragma solidity ^0.8.4; contract PANDAZ is Ownable, ERC721A { constructor() ERC721A("PANDAZ", "PANDAZ") {} struct SaleConfig { uint128 collectionSize; uint32 allowlistStartTime; uint32 allowlistEndTime; uint32 publicStartTime; uint32 publicEndTime; } struct PurchaseConfig { uint128 maxBalance; uint128 price; } SaleConfig public saleConfig = SaleConfig( 1500, // Total Supply 1659279600, // Public Start Time 1659283200, // Public End Time 0, 0 ); PurchaseConfig public purchaseConfig = PurchaseConfig( 5, // Max Per Wallet 0.008 ether // Public Price ); string private _baseTokenURI = ""; bool public isPaused = false; bytes32 public allowlistMerkleRoot; mapping(address => bool) public allowlistClaimed; mapping(address => bool) public publicClaimed; modifier isAllowlistOpen { require(block.timestamp > uint256(saleConfig.allowlistStartTime) && block.timestamp < uint256(saleConfig.allowlistEndTime), "Allowlist window is closed!"); _; } modifier isPublicOpen { require(block.timestamp > uint256(saleConfig.publicStartTime) && block.timestamp < uint256(saleConfig.publicEndTime), "Public window is closed!"); _; } modifier callerIsUser { require(tx.origin == msg.sender, "The caller is another contract"); _; } modifier isValidMint(uint256 mintAmount) { uint256 price = uint256(purchaseConfig.price); uint256 collectionSize = uint256(saleConfig.collectionSize); require(mintAmount > 0, "Mint Amount Incorrect"); require(msg.value >= price * mintAmount, "Incorrect payment amount!"); require(totalSupply() + mintAmount < collectionSize + 1, "Reached max supply"); require(!isPaused, "Mint paused"); _; } // PUBLIC AND EXTERNAL FUNCTIONS function publicSaleMint(uint256 mintAmount) external payable callerIsUser isPublicOpen isValidMint(mintAmount) { uint256 maxBalance = uint256(purchaseConfig.maxBalance); require(mintAmount < maxBalance + 1, "Mint Amount Incorrect"); require(!publicClaimed[msg.sender], "Exceeds max mint amount!"); publicClaimed[msg.sender] = true; _safeMint(msg.sender, mintAmount); } function allowlistMint(uint256 mintAmount, bytes32[] calldata _merkleProof) external payable callerIsUser isAllowlistOpen isValidMint(mintAmount) { uint256 maxBalance = uint256(purchaseConfig.maxBalance); bytes32 leaf = keccak256(abi.encodePacked(msg.sender)); require(MerkleProof.verify(_merkleProof, allowlistMerkleRoot, leaf), "Proof not on allowlist!"); require(mintAmount < maxBalance + 1, "Mint Amount Incorrect"); require(!allowlistClaimed[msg.sender], "Exceeds max mint amount!"); allowlistClaimed[msg.sender] = true; _safeMint(msg.sender, mintAmount); } // VIEW FUNCTIONS function _baseURI() internal view virtual override returns (string memory) { return _baseTokenURI; } // ADMIN FUNCTIONS function setBaseURI(string calldata baseURI) external onlyOwner { _baseTokenURI = baseURI; } function airdrop(address[] memory addresses, uint256[] memory numMints) external onlyOwner { uint256 collectionSize = uint256(saleConfig.collectionSize); require(addresses.length == numMints.length, "Arrays dont match"); for (uint i = 0; i < addresses.length; i++) { require(totalSupply() + numMints[i] < collectionSize + 1, "Reached max supply"); require(numMints[i] > 0, "Cannot mint 0!"); _safeMint(addresses[i], numMints[i]); } } function setAllowlistMerkleRoot(bytes32 root) external onlyOwner { allowlistMerkleRoot = root; } //NOTE: price must be in ethers (value * 10**18) function setPrice(uint64 price) external onlyOwner { purchaseConfig.price = price; } function setAllowlistSpots(uint128 size) external onlyOwner { saleConfig.collectionSize = size; } function setPaused(bool paused) external onlyOwner { isPaused = paused; } function setAllowlistSaleTime(uint32 startTimestamp, uint32 endTimestamp) external onlyOwner { saleConfig.allowlistStartTime = startTimestamp; saleConfig.allowlistEndTime = endTimestamp; } function setPublicSaleTime(uint32 startTimestamp, uint32 endTimestamp) external onlyOwner { saleConfig.publicStartTime = startTimestamp; saleConfig.publicEndTime = endTimestamp; } function withdrawMoney() external onlyOwner { require(address(this).balance > 0); (bool success, ) = msg.sender.call{value: address(this).balance}(""); require(success, "Transfer failed."); } }
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":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint256[]","name":"numMints","type":"uint256[]"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"allowlistClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"allowlistMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"mintAmount","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"allowlistMint","outputs":[],"stateMutability":"payable","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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"publicClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"mintAmount","type":"uint256"}],"name":"publicSaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"purchaseConfig","outputs":[{"internalType":"uint128","name":"maxBalance","type":"uint128"},{"internalType":"uint128","name":"price","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"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":[],"name":"saleConfig","outputs":[{"internalType":"uint128","name":"collectionSize","type":"uint128"},{"internalType":"uint32","name":"allowlistStartTime","type":"uint32"},{"internalType":"uint32","name":"allowlistEndTime","type":"uint32"},{"internalType":"uint32","name":"publicStartTime","type":"uint32"},{"internalType":"uint32","name":"publicEndTime","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"root","type":"bytes32"}],"name":"setAllowlistMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"startTimestamp","type":"uint32"},{"internalType":"uint32","name":"endTimestamp","type":"uint32"}],"name":"setAllowlistSaleTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint128","name":"size","type":"uint128"}],"name":"setAllowlistSpots","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"paused","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint64","name":"price","type":"uint64"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"startTimestamp","type":"uint32"},{"internalType":"uint32","name":"endTimestamp","type":"uint32"}],"name":"setPublicSaleTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawMoney","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6105dc6080526362e698f060a0526362e6a70060c052600060e08190526101008190527762e6a70062e698f0000000000000000000000000000005dc600955600561012052661c6bf52634000061014052761c6bf52634000000000000000000000000000000000005600a5561018060408190526101608290526200008891600b919062000185565b50600c805460ff19169055348015620000a057600080fd5b50604051806040016040528060068152602001652820a72220ad60d11b815250604051806040016040528060068152602001652820a72220ad60d11b815250620000f9620000f36200013160201b60201c565b62000135565b81516200010e90600390602085019062000185565b5080516200012490600490602084019062000185565b5050600180555062000268565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b82805462000193906200022b565b90600052602060002090601f016020900481019282620001b7576000855562000202565b82601f10620001d257805160ff191683800117855562000202565b8280016001018555821562000202579182015b8281111562000202578251825591602001919060010190620001e5565b506200021092915062000214565b5090565b5b8082111562000210576000815560010162000215565b600181811c908216806200024057607f821691505b602082108114156200026257634e487b7160e01b600052602260045260246000fd5b50919050565b6122cc80620002786000396000f3fe6080604052600436106101f95760003560e01c80637bc9200e1161010d578063b5b1cd7c116100a0578063c87b56dd1161006f578063c87b56dd14610643578063d452e03014610663578063e985e9c514610683578063f2fde38b146106cc578063f95df414146106ec57600080fd5b8063b5b1cd7c14610588578063b88d4fde146105b8578063ba836cb8146105d8578063c8717349146105f857600080fd5b8063a22cb465116100dc578063a22cb46514610526578063ac44600214610546578063b187bd261461055b578063b3ab66b01461057557600080fd5b80637bc9200e146104565780638da5cb5b1461046957806390aa0b0f1461048757806395d89b411461051157600080fd5b80632718f2be1161019057806355f804b31161015f57806355f804b3146103c15780636352211e146103e1578063672434821461040157806370a0823114610421578063715018a61461044157600080fd5b80632718f2be1461033b578063293108e01461035b57806330b42ec21461037157806342842e0e146103a157600080fd5b806316c38b3c116101cc57806316c38b3c146102af57806318160ddd146102cf578063229c2048146102fb57806323b872dd1461031b57600080fd5b806301ffc9a7146101fe57806306fdde0314610233578063081812fc14610255578063095ea7b31461028d575b600080fd5b34801561020a57600080fd5b5061021e610219366004611e82565b61070c565b60405190151581526020015b60405180910390f35b34801561023f57600080fd5b5061024861075e565b60405161022a91906120c2565b34801561026157600080fd5b50610275610270366004611e69565b6107f0565b6040516001600160a01b03909116815260200161022a565b34801561029957600080fd5b506102ad6102a8366004611d5d565b610834565b005b3480156102bb57600080fd5b506102ad6102ca366004611e4e565b6108d4565b3480156102db57600080fd5b506102ed600254600154036000190190565b60405190815260200161022a565b34801561030757600080fd5b506102ad610316366004612000565b6108ef565b34801561032757600080fd5b506102ad610336366004611c37565b61091f565b34801561034757600080fd5b506102ad610356366004611f2e565b610ab0565b34801561036757600080fd5b506102ed600d5481565b34801561037d57600080fd5b5061021e61038c366004611be9565b600e6020526000908152604090205460ff1681565b3480156103ad57600080fd5b506102ad6103bc366004611c37565b610ae3565b3480156103cd57600080fd5b506102ad6103dc366004611ebc565b610b03565b3480156103ed57600080fd5b506102756103fc366004611e69565b610b17565b34801561040d57600080fd5b506102ad61041c366004611d87565b610b22565b34801561042d57600080fd5b506102ed61043c366004611be9565b610c9a565b34801561044d57600080fd5b506102ad610ce9565b6102ad610464366004611f57565b610cfd565b34801561047557600080fd5b506000546001600160a01b0316610275565b34801561049357600080fd5b506009546104d4906001600160801b0381169063ffffffff600160801b8204811691600160a01b8104821691600160c01b8204811691600160e01b90041685565b604080516001600160801b03909616865263ffffffff9485166020870152928416928501929092528216606084015216608082015260a00161022a565b34801561051d57600080fd5b5061024861105e565b34801561053257600080fd5b506102ad610541366004611d33565b61106d565b34801561055257600080fd5b506102ad611103565b34801561056757600080fd5b50600c5461021e9060ff1681565b6102ad610583366004611e69565b6111a6565b34801561059457600080fd5b5061021e6105a3366004611be9565b600f6020526000908152604090205460ff1681565b3480156105c457600080fd5b506102ad6105d3366004611c73565b61143b565b3480156105e457600080fd5b506102ad6105f3366004611fd6565b61147f565b34801561060457600080fd5b50600a54610623906001600160801b0380821691600160801b90041682565b604080516001600160801b0393841681529290911660208301520161022a565b34801561064f57600080fd5b5061024861065e366004611e69565b6114c7565b34801561066f57600080fd5b506102ad61067e366004611fd6565b61154c565b34801561068f57600080fd5b5061021e61069e366004611c04565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b3480156106d857600080fd5b506102ad6106e7366004611be9565b61158e565b3480156106f857600080fd5b506102ad610707366004611e69565b611604565b60006301ffc9a760e01b6001600160e01b03198316148061073d57506380ac58cd60e01b6001600160e01b03198316145b806107585750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606003805461076d906121e8565b80601f0160208091040260200160405190810160405280929190818152602001828054610799906121e8565b80156107e65780601f106107bb576101008083540402835291602001916107e6565b820191906000526020600020905b8154815290600101906020018083116107c957829003601f168201915b5050505050905090565b60006107fb82611611565b610818576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b600061083f82610b17565b9050336001600160a01b038216146108785761085b813361069e565b610878576040516367d9dca160e11b815260040160405180910390fd5b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6108dc611646565b600c805460ff1916911515919091179055565b6108f7611646565b600a80546001600160801b031667ffffffffffffffff92909216600160801b02919091179055565b600061092a826116a0565b9050836001600160a01b0316816001600160a01b03161461095d5760405162a1148160e81b815260040160405180910390fd5b60008281526007602052604090208054338082146001600160a01b038816909114176109aa5761098d863361069e565b6109aa57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166109d157604051633a954ecd60e21b815260040160405180910390fd5b80156109dc57600082555b6001600160a01b038681166000908152600660205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260056020526040902055600160e11b8316610a675760018401600081815260056020526040902054610a65576001548114610a655760008181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b610ab8611646565b600980546fffffffffffffffffffffffffffffffff19166001600160801b0392909216919091179055565b610afe8383836040518060200160405280600081525061143b565b505050565b610b0b611646565b610afe600b8383611a9e565b6000610758826116a0565b610b2a611646565b600954815183516001600160801b039092169114610b835760405162461bcd60e51b8152602060048201526011602482015270082e4e4c2f2e640c8dedce840dac2e8c6d607b1b60448201526064015b60405180910390fd5b60005b8351811015610c9457610b9a826001612185565b838281518110610bac57610bac612254565b6020026020010151610bc5600254600154036000190190565b610bcf9190612185565b10610bec5760405162461bcd60e51b8152600401610b7a906120d5565b6000838281518110610c0057610c00612254565b602002602001015111610c465760405162461bcd60e51b815260206004820152600e60248201526d43616e6e6f74206d696e7420302160901b6044820152606401610b7a565b610c82848281518110610c5b57610c5b612254565b6020026020010151848381518110610c7557610c75612254565b6020026020010151611709565b80610c8c81612223565b915050610b86565b50505050565b60006001600160a01b038216610cc3576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b610cf1611646565b610cfb6000611727565b565b323314610d4c5760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e747261637400006044820152606401610b7a565b600954600160801b900463ffffffff1642118015610d785750600954600160a01b900463ffffffff1642105b610dc45760405162461bcd60e51b815260206004820152601b60248201527f416c6c6f776c6973742077696e646f7720697320636c6f7365642100000000006044820152606401610b7a565b600a5460095484916001600160801b03600160801b9091048116911682610dfd5760405162461bcd60e51b8152600401610b7a90612101565b610e07838361219d565b341015610e525760405162461bcd60e51b8152602060048201526019602482015278496e636f7272656374207061796d656e7420616d6f756e742160381b6044820152606401610b7a565b610e5d816001612185565b83610e6f600254600154036000190190565b610e799190612185565b10610e965760405162461bcd60e51b8152600401610b7a906120d5565b600c5460ff1615610ed75760405162461bcd60e51b815260206004820152600b60248201526a135a5b9d081c185d5cd95960aa1b6044820152606401610b7a565b600a546040516bffffffffffffffffffffffff193360601b1660208201526001600160801b0390911690600090603401604051602081830303815290604052805190602001209050610f6087878080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600d549150849050611777565b610fac5760405162461bcd60e51b815260206004820152601760248201527f50726f6f66206e6f74206f6e20616c6c6f776c697374210000000000000000006044820152606401610b7a565b610fb7826001612185565b8810610fd55760405162461bcd60e51b8152600401610b7a90612101565b336000908152600e602052604090205460ff16156110305760405162461bcd60e51b815260206004820152601860248201527745786365656473206d6178206d696e7420616d6f756e742160401b6044820152606401610b7a565b336000818152600e60205260409020805460ff191660011790556110549089611709565b5050505050505050565b60606004805461076d906121e8565b6001600160a01b0382163314156110975760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61110b611646565b6000471161111857600080fd5b604051600090339047908381818185875af1925050503d806000811461115a576040519150601f19603f3d011682016040523d82523d6000602084013e61115f565b606091505b50509050806111a35760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b6044820152606401610b7a565b50565b3233146111f55760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e747261637400006044820152606401610b7a565b600954600160c01b900463ffffffff16421180156112215750600954600160e01b900463ffffffff1642105b61126d5760405162461bcd60e51b815260206004820152601860248201527f5075626c69632077696e646f7720697320636c6f7365642100000000000000006044820152606401610b7a565b600a5460095482916001600160801b03600160801b90910481169116826112a65760405162461bcd60e51b8152600401610b7a90612101565b6112b0838361219d565b3410156112fb5760405162461bcd60e51b8152602060048201526019602482015278496e636f7272656374207061796d656e7420616d6f756e742160381b6044820152606401610b7a565b611306816001612185565b83611318600254600154036000190190565b6113229190612185565b1061133f5760405162461bcd60e51b8152600401610b7a906120d5565b600c5460ff16156113805760405162461bcd60e51b815260206004820152600b60248201526a135a5b9d081c185d5cd95960aa1b6044820152606401610b7a565b600a546001600160801b0316611397816001612185565b85106113b55760405162461bcd60e51b8152600401610b7a90612101565b336000908152600f602052604090205460ff16156114105760405162461bcd60e51b815260206004820152601860248201527745786365656473206d6178206d696e7420616d6f756e742160401b6044820152606401610b7a565b336000818152600f60205260409020805460ff191660011790556114349086611709565b5050505050565b61144684848461091f565b6001600160a01b0383163b15610c94576114628484848461178d565b610c94576040516368d2bf6b60e11b815260040160405180910390fd5b611487611646565b6009805467ffffffffffffffff60801b1916600160801b63ffffffff9485160263ffffffff60a01b191617600160a01b9290931691909102919091179055565b60606114d282611611565b6114ef57604051630a14c4b560e41b815260040160405180910390fd5b60006114f9611884565b905080516000141561151a5760405180602001604052806000815250611545565b8061152484611893565b604051602001611535929190612056565b6040516020818303038152906040525b9392505050565b611554611646565b600980546001600160c01b0316600160c01b63ffffffff948516026001600160e01b031617600160e01b9290931691909102919091179055565b611596611646565b6001600160a01b0381166115fb5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b7a565b6111a381611727565b61160c611646565b600d55565b600081600111158015611625575060015482105b8015610758575050600090815260056020526040902054600160e01b161590565b6000546001600160a01b03163314610cfb5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b7a565b600081806001116116f0576001548110156116f057600081815260056020526040902054600160e01b81166116ee575b806115455750600019016000818152600560205260409020546116d0565b505b604051636f96cda160e11b815260040160405180910390fd5b6117238282604051806020016040528060008152506118e2565b5050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000826117848584611948565b14949350505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906117c2903390899088908890600401612085565b602060405180830381600087803b1580156117dc57600080fd5b505af192505050801561180c575060408051601f3d908101601f1916820190925261180991810190611e9f565b60015b611867573d80801561183a576040519150601f19603f3d011682016040523d82523d6000602084013e61183f565b606091505b50805161185f576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6060600b805461076d906121e8565b604080516080810191829052607f0190826030600a8206018353600a90045b80156118d057600183039250600a81066030018353600a90046118b2565b50819003601f19909101908152919050565b6118ec8383611995565b6001600160a01b0383163b15610afe576001548281035b611916600086838060010194508661178d565b611933576040516368d2bf6b60e11b815260040160405180910390fd5b81811061190357816001541461143457600080fd5b600081815b845181101561198d576119798286838151811061196c5761196c612254565b6020026020010151611a72565b91508061198581612223565b91505061194d565b509392505050565b6001546001600160a01b0383166119be57604051622e076360e81b815260040160405180910390fd5b816119dc5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260066020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260056020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210611a265760015550505050565b6000818310611a8e576000828152602084905260409020611545565b5060009182526020526040902090565b828054611aaa906121e8565b90600052602060002090601f016020900481019282611acc5760008555611b12565b82601f10611ae55782800160ff19823516178555611b12565b82800160010185558215611b12579182015b82811115611b12578235825591602001919060010190611af7565b50611b1e929150611b22565b5090565b5b80821115611b1e5760008155600101611b23565b80356001600160a01b0381168114611b4e57600080fd5b919050565b600082601f830112611b6457600080fd5b81356020611b79611b7483612161565b612130565b80838252828201915082860187848660051b8901011115611b9957600080fd5b60005b85811015611bb857813584529284019290840190600101611b9c565b5090979650505050505050565b80358015158114611b4e57600080fd5b803563ffffffff81168114611b4e57600080fd5b600060208284031215611bfb57600080fd5b61154582611b37565b60008060408385031215611c1757600080fd5b611c2083611b37565b9150611c2e60208401611b37565b90509250929050565b600080600060608486031215611c4c57600080fd5b611c5584611b37565b9250611c6360208501611b37565b9150604084013590509250925092565b60008060008060808587031215611c8957600080fd5b611c9285611b37565b93506020611ca1818701611b37565b935060408601359250606086013567ffffffffffffffff80821115611cc557600080fd5b818801915088601f830112611cd957600080fd5b813581811115611ceb57611ceb61226a565b611cfd601f8201601f19168501612130565b91508082528984828501011115611d1357600080fd5b808484018584013760008482840101525080935050505092959194509250565b60008060408385031215611d4657600080fd5b611d4f83611b37565b9150611c2e60208401611bc5565b60008060408385031215611d7057600080fd5b611d7983611b37565b946020939093013593505050565b60008060408385031215611d9a57600080fd5b823567ffffffffffffffff80821115611db257600080fd5b818501915085601f830112611dc657600080fd5b81356020611dd6611b7483612161565b8083825282820191508286018a848660051b8901011115611df657600080fd5b600096505b84871015611e2057611e0c81611b37565b835260019690960195918301918301611dfb565b5096505086013592505080821115611e3757600080fd5b50611e4485828601611b53565b9150509250929050565b600060208284031215611e6057600080fd5b61154582611bc5565b600060208284031215611e7b57600080fd5b5035919050565b600060208284031215611e9457600080fd5b813561154581612280565b600060208284031215611eb157600080fd5b815161154581612280565b60008060208385031215611ecf57600080fd5b823567ffffffffffffffff80821115611ee757600080fd5b818501915085601f830112611efb57600080fd5b813581811115611f0a57600080fd5b866020828501011115611f1c57600080fd5b60209290920196919550909350505050565b600060208284031215611f4057600080fd5b81356001600160801b038116811461154557600080fd5b600080600060408486031215611f6c57600080fd5b83359250602084013567ffffffffffffffff80821115611f8b57600080fd5b818601915086601f830112611f9f57600080fd5b813581811115611fae57600080fd5b8760208260051b8501011115611fc357600080fd5b6020830194508093505050509250925092565b60008060408385031215611fe957600080fd5b611ff283611bd5565b9150611c2e60208401611bd5565b60006020828403121561201257600080fd5b813567ffffffffffffffff8116811461154557600080fd5b600081518084526120428160208601602086016121bc565b601f01601f19169290920160200192915050565b600083516120688184602088016121bc565b83519083019061207c8183602088016121bc565b01949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906120b89083018461202a565b9695505050505050565b602081526000611545602083018461202a565b60208082526012908201527152656163686564206d617820737570706c7960701b604082015260600190565b602080825260159082015274135a5b9d08105b5bdd5b9d08125b98dbdc9c9958dd605a1b604082015260600190565b604051601f8201601f1916810167ffffffffffffffff811182821017156121595761215961226a565b604052919050565b600067ffffffffffffffff82111561217b5761217b61226a565b5060051b60200190565b600082198211156121985761219861223e565b500190565b60008160001904831182151516156121b7576121b761223e565b500290565b60005b838110156121d75781810151838201526020016121bf565b83811115610c945750506000910152565b600181811c908216806121fc57607f821691505b6020821081141561221d57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156122375761223761223e565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146111a357600080fdfea2646970667358221220be32b95b7a93302fd54626e1da92d04d22d0c91a7ca35de8a7aede1ad4f3d3b864736f6c63430008070033
Deployed Bytecode
0x6080604052600436106101f95760003560e01c80637bc9200e1161010d578063b5b1cd7c116100a0578063c87b56dd1161006f578063c87b56dd14610643578063d452e03014610663578063e985e9c514610683578063f2fde38b146106cc578063f95df414146106ec57600080fd5b8063b5b1cd7c14610588578063b88d4fde146105b8578063ba836cb8146105d8578063c8717349146105f857600080fd5b8063a22cb465116100dc578063a22cb46514610526578063ac44600214610546578063b187bd261461055b578063b3ab66b01461057557600080fd5b80637bc9200e146104565780638da5cb5b1461046957806390aa0b0f1461048757806395d89b411461051157600080fd5b80632718f2be1161019057806355f804b31161015f57806355f804b3146103c15780636352211e146103e1578063672434821461040157806370a0823114610421578063715018a61461044157600080fd5b80632718f2be1461033b578063293108e01461035b57806330b42ec21461037157806342842e0e146103a157600080fd5b806316c38b3c116101cc57806316c38b3c146102af57806318160ddd146102cf578063229c2048146102fb57806323b872dd1461031b57600080fd5b806301ffc9a7146101fe57806306fdde0314610233578063081812fc14610255578063095ea7b31461028d575b600080fd5b34801561020a57600080fd5b5061021e610219366004611e82565b61070c565b60405190151581526020015b60405180910390f35b34801561023f57600080fd5b5061024861075e565b60405161022a91906120c2565b34801561026157600080fd5b50610275610270366004611e69565b6107f0565b6040516001600160a01b03909116815260200161022a565b34801561029957600080fd5b506102ad6102a8366004611d5d565b610834565b005b3480156102bb57600080fd5b506102ad6102ca366004611e4e565b6108d4565b3480156102db57600080fd5b506102ed600254600154036000190190565b60405190815260200161022a565b34801561030757600080fd5b506102ad610316366004612000565b6108ef565b34801561032757600080fd5b506102ad610336366004611c37565b61091f565b34801561034757600080fd5b506102ad610356366004611f2e565b610ab0565b34801561036757600080fd5b506102ed600d5481565b34801561037d57600080fd5b5061021e61038c366004611be9565b600e6020526000908152604090205460ff1681565b3480156103ad57600080fd5b506102ad6103bc366004611c37565b610ae3565b3480156103cd57600080fd5b506102ad6103dc366004611ebc565b610b03565b3480156103ed57600080fd5b506102756103fc366004611e69565b610b17565b34801561040d57600080fd5b506102ad61041c366004611d87565b610b22565b34801561042d57600080fd5b506102ed61043c366004611be9565b610c9a565b34801561044d57600080fd5b506102ad610ce9565b6102ad610464366004611f57565b610cfd565b34801561047557600080fd5b506000546001600160a01b0316610275565b34801561049357600080fd5b506009546104d4906001600160801b0381169063ffffffff600160801b8204811691600160a01b8104821691600160c01b8204811691600160e01b90041685565b604080516001600160801b03909616865263ffffffff9485166020870152928416928501929092528216606084015216608082015260a00161022a565b34801561051d57600080fd5b5061024861105e565b34801561053257600080fd5b506102ad610541366004611d33565b61106d565b34801561055257600080fd5b506102ad611103565b34801561056757600080fd5b50600c5461021e9060ff1681565b6102ad610583366004611e69565b6111a6565b34801561059457600080fd5b5061021e6105a3366004611be9565b600f6020526000908152604090205460ff1681565b3480156105c457600080fd5b506102ad6105d3366004611c73565b61143b565b3480156105e457600080fd5b506102ad6105f3366004611fd6565b61147f565b34801561060457600080fd5b50600a54610623906001600160801b0380821691600160801b90041682565b604080516001600160801b0393841681529290911660208301520161022a565b34801561064f57600080fd5b5061024861065e366004611e69565b6114c7565b34801561066f57600080fd5b506102ad61067e366004611fd6565b61154c565b34801561068f57600080fd5b5061021e61069e366004611c04565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b3480156106d857600080fd5b506102ad6106e7366004611be9565b61158e565b3480156106f857600080fd5b506102ad610707366004611e69565b611604565b60006301ffc9a760e01b6001600160e01b03198316148061073d57506380ac58cd60e01b6001600160e01b03198316145b806107585750635b5e139f60e01b6001600160e01b03198316145b92915050565b60606003805461076d906121e8565b80601f0160208091040260200160405190810160405280929190818152602001828054610799906121e8565b80156107e65780601f106107bb576101008083540402835291602001916107e6565b820191906000526020600020905b8154815290600101906020018083116107c957829003601f168201915b5050505050905090565b60006107fb82611611565b610818576040516333d1c03960e21b815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b600061083f82610b17565b9050336001600160a01b038216146108785761085b813361069e565b610878576040516367d9dca160e11b815260040160405180910390fd5b60008281526007602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6108dc611646565b600c805460ff1916911515919091179055565b6108f7611646565b600a80546001600160801b031667ffffffffffffffff92909216600160801b02919091179055565b600061092a826116a0565b9050836001600160a01b0316816001600160a01b03161461095d5760405162a1148160e81b815260040160405180910390fd5b60008281526007602052604090208054338082146001600160a01b038816909114176109aa5761098d863361069e565b6109aa57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b0385166109d157604051633a954ecd60e21b815260040160405180910390fd5b80156109dc57600082555b6001600160a01b038681166000908152600660205260408082208054600019019055918716808252919020805460010190554260a01b17600160e11b17600085815260056020526040902055600160e11b8316610a675760018401600081815260056020526040902054610a65576001548114610a655760008181526005602052604090208490555b505b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050505050565b610ab8611646565b600980546fffffffffffffffffffffffffffffffff19166001600160801b0392909216919091179055565b610afe8383836040518060200160405280600081525061143b565b505050565b610b0b611646565b610afe600b8383611a9e565b6000610758826116a0565b610b2a611646565b600954815183516001600160801b039092169114610b835760405162461bcd60e51b8152602060048201526011602482015270082e4e4c2f2e640c8dedce840dac2e8c6d607b1b60448201526064015b60405180910390fd5b60005b8351811015610c9457610b9a826001612185565b838281518110610bac57610bac612254565b6020026020010151610bc5600254600154036000190190565b610bcf9190612185565b10610bec5760405162461bcd60e51b8152600401610b7a906120d5565b6000838281518110610c0057610c00612254565b602002602001015111610c465760405162461bcd60e51b815260206004820152600e60248201526d43616e6e6f74206d696e7420302160901b6044820152606401610b7a565b610c82848281518110610c5b57610c5b612254565b6020026020010151848381518110610c7557610c75612254565b6020026020010151611709565b80610c8c81612223565b915050610b86565b50505050565b60006001600160a01b038216610cc3576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b610cf1611646565b610cfb6000611727565b565b323314610d4c5760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e747261637400006044820152606401610b7a565b600954600160801b900463ffffffff1642118015610d785750600954600160a01b900463ffffffff1642105b610dc45760405162461bcd60e51b815260206004820152601b60248201527f416c6c6f776c6973742077696e646f7720697320636c6f7365642100000000006044820152606401610b7a565b600a5460095484916001600160801b03600160801b9091048116911682610dfd5760405162461bcd60e51b8152600401610b7a90612101565b610e07838361219d565b341015610e525760405162461bcd60e51b8152602060048201526019602482015278496e636f7272656374207061796d656e7420616d6f756e742160381b6044820152606401610b7a565b610e5d816001612185565b83610e6f600254600154036000190190565b610e799190612185565b10610e965760405162461bcd60e51b8152600401610b7a906120d5565b600c5460ff1615610ed75760405162461bcd60e51b815260206004820152600b60248201526a135a5b9d081c185d5cd95960aa1b6044820152606401610b7a565b600a546040516bffffffffffffffffffffffff193360601b1660208201526001600160801b0390911690600090603401604051602081830303815290604052805190602001209050610f6087878080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600d549150849050611777565b610fac5760405162461bcd60e51b815260206004820152601760248201527f50726f6f66206e6f74206f6e20616c6c6f776c697374210000000000000000006044820152606401610b7a565b610fb7826001612185565b8810610fd55760405162461bcd60e51b8152600401610b7a90612101565b336000908152600e602052604090205460ff16156110305760405162461bcd60e51b815260206004820152601860248201527745786365656473206d6178206d696e7420616d6f756e742160401b6044820152606401610b7a565b336000818152600e60205260409020805460ff191660011790556110549089611709565b5050505050505050565b60606004805461076d906121e8565b6001600160a01b0382163314156110975760405163b06307db60e01b815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61110b611646565b6000471161111857600080fd5b604051600090339047908381818185875af1925050503d806000811461115a576040519150601f19603f3d011682016040523d82523d6000602084013e61115f565b606091505b50509050806111a35760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b6044820152606401610b7a565b50565b3233146111f55760405162461bcd60e51b815260206004820152601e60248201527f5468652063616c6c657220697320616e6f7468657220636f6e747261637400006044820152606401610b7a565b600954600160c01b900463ffffffff16421180156112215750600954600160e01b900463ffffffff1642105b61126d5760405162461bcd60e51b815260206004820152601860248201527f5075626c69632077696e646f7720697320636c6f7365642100000000000000006044820152606401610b7a565b600a5460095482916001600160801b03600160801b90910481169116826112a65760405162461bcd60e51b8152600401610b7a90612101565b6112b0838361219d565b3410156112fb5760405162461bcd60e51b8152602060048201526019602482015278496e636f7272656374207061796d656e7420616d6f756e742160381b6044820152606401610b7a565b611306816001612185565b83611318600254600154036000190190565b6113229190612185565b1061133f5760405162461bcd60e51b8152600401610b7a906120d5565b600c5460ff16156113805760405162461bcd60e51b815260206004820152600b60248201526a135a5b9d081c185d5cd95960aa1b6044820152606401610b7a565b600a546001600160801b0316611397816001612185565b85106113b55760405162461bcd60e51b8152600401610b7a90612101565b336000908152600f602052604090205460ff16156114105760405162461bcd60e51b815260206004820152601860248201527745786365656473206d6178206d696e7420616d6f756e742160401b6044820152606401610b7a565b336000818152600f60205260409020805460ff191660011790556114349086611709565b5050505050565b61144684848461091f565b6001600160a01b0383163b15610c94576114628484848461178d565b610c94576040516368d2bf6b60e11b815260040160405180910390fd5b611487611646565b6009805467ffffffffffffffff60801b1916600160801b63ffffffff9485160263ffffffff60a01b191617600160a01b9290931691909102919091179055565b60606114d282611611565b6114ef57604051630a14c4b560e41b815260040160405180910390fd5b60006114f9611884565b905080516000141561151a5760405180602001604052806000815250611545565b8061152484611893565b604051602001611535929190612056565b6040516020818303038152906040525b9392505050565b611554611646565b600980546001600160c01b0316600160c01b63ffffffff948516026001600160e01b031617600160e01b9290931691909102919091179055565b611596611646565b6001600160a01b0381166115fb5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b7a565b6111a381611727565b61160c611646565b600d55565b600081600111158015611625575060015482105b8015610758575050600090815260056020526040902054600160e01b161590565b6000546001600160a01b03163314610cfb5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b7a565b600081806001116116f0576001548110156116f057600081815260056020526040902054600160e01b81166116ee575b806115455750600019016000818152600560205260409020546116d0565b505b604051636f96cda160e11b815260040160405180910390fd5b6117238282604051806020016040528060008152506118e2565b5050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000826117848584611948565b14949350505050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a02906117c2903390899088908890600401612085565b602060405180830381600087803b1580156117dc57600080fd5b505af192505050801561180c575060408051601f3d908101601f1916820190925261180991810190611e9f565b60015b611867573d80801561183a576040519150601f19603f3d011682016040523d82523d6000602084013e61183f565b606091505b50805161185f576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6060600b805461076d906121e8565b604080516080810191829052607f0190826030600a8206018353600a90045b80156118d057600183039250600a81066030018353600a90046118b2565b50819003601f19909101908152919050565b6118ec8383611995565b6001600160a01b0383163b15610afe576001548281035b611916600086838060010194508661178d565b611933576040516368d2bf6b60e11b815260040160405180910390fd5b81811061190357816001541461143457600080fd5b600081815b845181101561198d576119798286838151811061196c5761196c612254565b6020026020010151611a72565b91508061198581612223565b91505061194d565b509392505050565b6001546001600160a01b0383166119be57604051622e076360e81b815260040160405180910390fd5b816119dc5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600081815260066020526040902080546801000000000000000185020190554260a01b6001841460e11b1717600082815260056020526040902055808281015b6040516001830192906001600160a01b038716906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210611a265760015550505050565b6000818310611a8e576000828152602084905260409020611545565b5060009182526020526040902090565b828054611aaa906121e8565b90600052602060002090601f016020900481019282611acc5760008555611b12565b82601f10611ae55782800160ff19823516178555611b12565b82800160010185558215611b12579182015b82811115611b12578235825591602001919060010190611af7565b50611b1e929150611b22565b5090565b5b80821115611b1e5760008155600101611b23565b80356001600160a01b0381168114611b4e57600080fd5b919050565b600082601f830112611b6457600080fd5b81356020611b79611b7483612161565b612130565b80838252828201915082860187848660051b8901011115611b9957600080fd5b60005b85811015611bb857813584529284019290840190600101611b9c565b5090979650505050505050565b80358015158114611b4e57600080fd5b803563ffffffff81168114611b4e57600080fd5b600060208284031215611bfb57600080fd5b61154582611b37565b60008060408385031215611c1757600080fd5b611c2083611b37565b9150611c2e60208401611b37565b90509250929050565b600080600060608486031215611c4c57600080fd5b611c5584611b37565b9250611c6360208501611b37565b9150604084013590509250925092565b60008060008060808587031215611c8957600080fd5b611c9285611b37565b93506020611ca1818701611b37565b935060408601359250606086013567ffffffffffffffff80821115611cc557600080fd5b818801915088601f830112611cd957600080fd5b813581811115611ceb57611ceb61226a565b611cfd601f8201601f19168501612130565b91508082528984828501011115611d1357600080fd5b808484018584013760008482840101525080935050505092959194509250565b60008060408385031215611d4657600080fd5b611d4f83611b37565b9150611c2e60208401611bc5565b60008060408385031215611d7057600080fd5b611d7983611b37565b946020939093013593505050565b60008060408385031215611d9a57600080fd5b823567ffffffffffffffff80821115611db257600080fd5b818501915085601f830112611dc657600080fd5b81356020611dd6611b7483612161565b8083825282820191508286018a848660051b8901011115611df657600080fd5b600096505b84871015611e2057611e0c81611b37565b835260019690960195918301918301611dfb565b5096505086013592505080821115611e3757600080fd5b50611e4485828601611b53565b9150509250929050565b600060208284031215611e6057600080fd5b61154582611bc5565b600060208284031215611e7b57600080fd5b5035919050565b600060208284031215611e9457600080fd5b813561154581612280565b600060208284031215611eb157600080fd5b815161154581612280565b60008060208385031215611ecf57600080fd5b823567ffffffffffffffff80821115611ee757600080fd5b818501915085601f830112611efb57600080fd5b813581811115611f0a57600080fd5b866020828501011115611f1c57600080fd5b60209290920196919550909350505050565b600060208284031215611f4057600080fd5b81356001600160801b038116811461154557600080fd5b600080600060408486031215611f6c57600080fd5b83359250602084013567ffffffffffffffff80821115611f8b57600080fd5b818601915086601f830112611f9f57600080fd5b813581811115611fae57600080fd5b8760208260051b8501011115611fc357600080fd5b6020830194508093505050509250925092565b60008060408385031215611fe957600080fd5b611ff283611bd5565b9150611c2e60208401611bd5565b60006020828403121561201257600080fd5b813567ffffffffffffffff8116811461154557600080fd5b600081518084526120428160208601602086016121bc565b601f01601f19169290920160200192915050565b600083516120688184602088016121bc565b83519083019061207c8183602088016121bc565b01949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906120b89083018461202a565b9695505050505050565b602081526000611545602083018461202a565b60208082526012908201527152656163686564206d617820737570706c7960701b604082015260600190565b602080825260159082015274135a5b9d08105b5bdd5b9d08125b98dbdc9c9958dd605a1b604082015260600190565b604051601f8201601f1916810167ffffffffffffffff811182821017156121595761215961226a565b604052919050565b600067ffffffffffffffff82111561217b5761217b61226a565b5060051b60200190565b600082198211156121985761219861223e565b500190565b60008160001904831182151516156121b7576121b761223e565b500290565b60005b838110156121d75781810151838201526020016121bf565b83811115610c945750506000910152565b600181811c908216806121fc57607f821691505b6020821081141561221d57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156122375761223761223e565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146111a357600080fdfea2646970667358221220be32b95b7a93302fd54626e1da92d04d22d0c91a7ca35de8a7aede1ad4f3d3b864736f6c63430008070033
Deployed Bytecode Sourcemap
59700:5195:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14707:615;;;;;;;;;;-1:-1:-1;14707:615:0;;;;;:::i;:::-;;:::i;:::-;;;9904:14:1;;9897:22;9879:41;;9867:2;9852:18;14707:615:0;;;;;;;;20426:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;22386:218::-;;;;;;;;;;-1:-1:-1;22386:218:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;9202:32:1;;;9184:51;;9172:2;9157:18;22386:218:0;9038:203:1;21920:400:0;;;;;;;;;;-1:-1:-1;21920:400:0;;;;;:::i;:::-;;:::i;:::-;;64145:87;;;;;;;;;;-1:-1:-1;64145:87:0;;;;;:::i;:::-;;:::i;13737:323::-;;;;;;;;;;;;14011:12;;13336:1;13995:13;:28;-1:-1:-1;;13995:46:0;;13737:323;;;;10077:25:1;;;10065:2;10050:18;13737:323:0;9931:177:1;63920:98:0;;;;;;;;;;-1:-1:-1;63920:98:0;;;;;:::i;:::-;;:::i;31525:2800::-;;;;;;;;;;-1:-1:-1;31525:2800:0;;;;;:::i;:::-;;:::i;64026:111::-;;;;;;;;;;-1:-1:-1;64026:111:0;;;;;:::i;:::-;;:::i;60497:34::-;;;;;;;;;;;;;;;;60538:48;;;;;;;;;;-1:-1:-1;60538:48:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;23290:185;;;;;;;;;;-1:-1:-1;23290:185:0;;;;;:::i;:::-;;:::i;63086:106::-;;;;;;;;;;-1:-1:-1;63086:106:0;;;;;:::i;:::-;;:::i;20207:152::-;;;;;;;;;;-1:-1:-1;20207:152:0;;;;;:::i;:::-;;:::i;63200:540::-;;;;;;;;;;-1:-1:-1;63200:540:0;;;;;:::i;:::-;;:::i;15386:232::-;;;;;;;;;;-1:-1:-1;15386:232:0;;;;;:::i;:::-;;:::i;58811:103::-;;;;;;;;;;;;;:::i;62223:686::-;;;;;;:::i;:::-;;:::i;58163:87::-;;;;;;;;;;-1:-1:-1;58209:7:0;58236:6;-1:-1:-1;;;;;58236:6:0;58163:87;;60087:185;;;;;;;;;;-1:-1:-1;60087:185:0;;;;-1:-1:-1;;;;;60087:185:0;;;;-1:-1:-1;;;60087:185:0;;;;;-1:-1:-1;;;60087:185:0;;;;;-1:-1:-1;;;60087:185:0;;;;;-1:-1:-1;;;60087:185:0;;;;;;;;;-1:-1:-1;;;;;15896:47:1;;;15878:66;;15963:10;16009:15;;;16004:2;15989:18;;15982:43;16061:15;;;16041:18;;;16034:43;;;;16113:15;;16108:2;16093:18;;16086:43;16166:15;16160:3;16145:19;;16138:44;15865:3;15850:19;60087:185:0;15627:561:1;20595:104:0;;;;;;;;;;;;;:::i;22676:308::-;;;;;;;;;;-1:-1:-1;22676:308:0;;;;;:::i;:::-;;:::i;64669:223::-;;;;;;;;;;;;;:::i;60460:28::-;;;;;;;;;;-1:-1:-1;60460:28:0;;;;;;;;61727:488;;;;;;:::i;:::-;;:::i;60593:45::-;;;;;;;;;;-1:-1:-1;60593:45:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;23546:399;;;;;;;;;;-1:-1:-1;23546:399:0;;;;;:::i;:::-;;:::i;64240:211::-;;;;;;;;;;-1:-1:-1;64240:211:0;;;;;:::i;:::-;;:::i;60281:128::-;;;;;;;;;;-1:-1:-1;60281:128:0;;;;-1:-1:-1;;;;;60281:128:0;;;;-1:-1:-1;;;60281:128:0;;;;;;;;;-1:-1:-1;;;;;15548:15:1;;;15530:34;;15600:15;;;;15595:2;15580:18;;15573:43;15450:18;60281:128:0;15303:319:1;20770:318:0;;;;;;;;;;-1:-1:-1;20770:318:0;;;;;:::i;:::-;;:::i;64459:202::-;;;;;;;;;;-1:-1:-1;64459:202:0;;;;;:::i;:::-;;:::i;23055:164::-;;;;;;;;;;-1:-1:-1;23055:164:0;;;;;:::i;:::-;-1:-1:-1;;;;;23176:25:0;;;23152:4;23176:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;23055:164;59069:201;;;;;;;;;;-1:-1:-1;59069:201:0;;;;;:::i;:::-;;:::i;63748:110::-;;;;;;;;;;-1:-1:-1;63748:110:0;;;;;:::i;:::-;;:::i;14707:615::-;14792:4;-1:-1:-1;;;;;;;;;15092:25:0;;;;:102;;-1:-1:-1;;;;;;;;;;15169:25:0;;;15092:102;:179;;;-1:-1:-1;;;;;;;;;;15246:25:0;;;15092:179;15072:199;14707:615;-1:-1:-1;;14707:615:0:o;20426:100::-;20480:13;20513:5;20506:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20426:100;:::o;22386:218::-;22462:7;22487:16;22495:7;22487;:16::i;:::-;22482:64;;22512:34;;-1:-1:-1;;;22512:34:0;;;;;;;;;;;22482:64;-1:-1:-1;22566:24:0;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;22566:30:0;;22386:218::o;21920:400::-;22001:13;22017:16;22025:7;22017;:16::i;:::-;22001:32;-1:-1:-1;42716:10:0;-1:-1:-1;;;;;22050:28:0;;;22046:175;;22098:44;22115:5;42716:10;23055:164;:::i;22098:44::-;22093:128;;22170:35;;-1:-1:-1;;;22170:35:0;;;;;;;;;;;22093:128;22233:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;22233:35:0;-1:-1:-1;;;;;22233:35:0;;;;;;;;;22284:28;;22233:24;;22284:28;;;;;;;21990:330;21920:400;;:::o;64145:87::-;58049:13;:11;:13::i;:::-;64207:8:::1;:17:::0;;-1:-1:-1;;64207:17:0::1;::::0;::::1;;::::0;;;::::1;::::0;;64145:87::o;63920:98::-;58049:13;:11;:13::i;:::-;63982:14:::1;:28:::0;;-1:-1:-1;;;;;63982:28:0::1;;::::0;;;::::1;-1:-1:-1::0;;;63982:28:0::1;::::0;;;::::1;::::0;;63920:98::o;31525:2800::-;31659:27;31689;31708:7;31689:18;:27::i;:::-;31659:57;;31774:4;-1:-1:-1;;;;;31733:45:0;31749:19;-1:-1:-1;;;;;31733:45:0;;31729:86;;31787:28;;-1:-1:-1;;;31787:28:0;;;;;;;;;;;31729:86;31829:27;30247:24;;;:15;:24;;;;;30469:26;;42716:10;31222:30;;;-1:-1:-1;;;;;30920:26:0;;31201:19;;;31198:55;32008:174;;32095:43;32112:4;42716:10;23055:164;:::i;32095:43::-;32090:92;;32147:35;;-1:-1:-1;;;32147:35:0;;;;;;;;;;;32090:92;-1:-1:-1;;;;;32199:16:0;;32195:52;;32224:23;;-1:-1:-1;;;32224:23:0;;;;;;;;;;;32195:52;32396:15;32393:160;;;32536:1;32515:19;32508:30;32393:160;-1:-1:-1;;;;;32931:24:0;;;;;;;:18;:24;;;;;;32929:26;;-1:-1:-1;;32929:26:0;;;33000:22;;;;;;;;;32998:24;;-1:-1:-1;32998:24:0;;;20106:11;20082:22;20078:40;20065:62;-1:-1:-1;;;20065:62:0;33293:26;;;;:17;:26;;;;;:174;-1:-1:-1;;;33587:46:0;;33583:626;;33691:1;33681:11;;33659:19;33814:30;;;:17;:30;;;;;;33810:384;;33952:13;;33937:11;:28;33933:242;;34099:30;;;;:17;:30;;;;;:52;;;33933:242;33640:569;33583:626;34256:7;34252:2;-1:-1:-1;;;;;34237:27:0;34246:4;-1:-1:-1;;;;;34237:27:0;;;;;;;;;;;31648:2677;;;31525:2800;;;:::o;64026:111::-;58049:13;:11;:13::i;:::-;64097:10:::1;:32:::0;;-1:-1:-1;;64097:32:0::1;-1:-1:-1::0;;;;;64097:32:0;;;::::1;::::0;;;::::1;::::0;;64026:111::o;23290:185::-;23428:39;23445:4;23451:2;23455:7;23428:39;;;;;;;;;;;;:16;:39::i;:::-;23290:185;;;:::o;63086:106::-;58049:13;:11;:13::i;:::-;63161:23:::1;:13;63177:7:::0;;63161:23:::1;:::i;20207:152::-:0;20279:7;20322:27;20341:7;20322:18;:27::i;63200:540::-;58049:13;:11;:13::i;:::-;63358:10:::1;:25:::0;63423:15;;63403:16;;-1:-1:-1;;;;;63358:25:0;;::::1;::::0;63403:35:::1;63395:65;;;::::0;-1:-1:-1;;;63395:65:0;;14803:2:1;63395:65:0::1;::::0;::::1;14785:21:1::0;14842:2;14822:18;;;14815:30;-1:-1:-1;;;14861:18:1;;;14854:47;14918:18;;63395:65:0::1;;;;;;;;;63478:6;63473:260;63494:9;:16;63490:1;:20;63473:260;;;63570:18;:14:::0;63587:1:::1;63570:18;:::i;:::-;63556:8;63565:1;63556:11;;;;;;;;:::i;:::-;;;;;;;63540:13;14011:12:::0;;13336:1;13995:13;:28;-1:-1:-1;;13995:46:0;;13737:323;63540:13:::1;:27;;;;:::i;:::-;:48;63532:79;;;;-1:-1:-1::0;;;63532:79:0::1;;;;;;;:::i;:::-;63648:1;63634:8;63643:1;63634:11;;;;;;;;:::i;:::-;;;;;;;:15;63626:42;;;::::0;-1:-1:-1;;;63626:42:0;;14108:2:1;63626:42:0::1;::::0;::::1;14090:21:1::0;14147:2;14127:18;;;14120:30;-1:-1:-1;;;14166:18:1;;;14159:44;14220:18;;63626:42:0::1;13906:338:1::0;63626:42:0::1;63685:36;63695:9;63705:1;63695:12;;;;;;;;:::i;:::-;;;;;;;63709:8;63718:1;63709:11;;;;;;;;:::i;:::-;;;;;;;63685:9;:36::i;:::-;63512:3:::0;::::1;::::0;::::1;:::i;:::-;;;;63473:260;;;;63314:426;63200:540:::0;;:::o;15386:232::-;15458:7;-1:-1:-1;;;;;15482:19:0;;15478:60;;15510:28;;-1:-1:-1;;;15510:28:0;;;;;;;;;;;15478:60;-1:-1:-1;;;;;;15556:25:0;;;;;:18;:25;;;;;;9900:13;15556:54;;15386:232::o;58811:103::-;58049:13;:11;:13::i;:::-;58876:30:::1;58903:1;58876:18;:30::i;:::-;58811:103::o:0;62223:686::-;61130:9;61143:10;61130:23;61122:66;;;;-1:-1:-1;;;61122:66:0;;12000:2:1;61122:66:0;;;11982:21:1;12039:2;12019:18;;;12012:30;12078:32;12058:18;;;12051:60;12128:18;;61122:66:0;11798:354:1;61122:66:0;60722:10:::1;:29:::0;-1:-1:-1;;;60722:29:0;::::1;;;60696:15;:56;:114:::0;::::1;;;-1:-1:-1::0;60782:10:0::1;:27:::0;-1:-1:-1;;;60782:27:0;::::1;;;60756:15;:54;60696:114;60688:154;;;::::0;-1:-1:-1;;;60688:154:0;;15149:2:1;60688:154:0::1;::::0;::::1;15131:21:1::0;15188:2;15168:18;;;15161:30;15227:29;15207:18;;;15200:57;15274:18;;60688:154:0::1;14947:351:1::0;60688:154:0::1;61298:14:::2;:20:::0;61363:10:::2;:25:::0;62406:10;;-1:-1:-1;;;;;;;;61298:20:0;;::::2;::::0;::::2;::::0;61363:25:::2;61408:14:::0;61400:48:::2;;;;-1:-1:-1::0;;;61400:48:0::2;;;;;;;:::i;:::-;61480:18;61488:10:::0;61480:5;:18:::2;:::i;:::-;61467:9;:31;;61459:69;;;::::0;-1:-1:-1;;;61459:69:0;;11293:2:1;61459:69:0::2;::::0;::::2;11275:21:1::0;11332:2;11312:18;;;11305:30;-1:-1:-1;;;11351:18:1;;;11344:55;11416:18;;61459:69:0::2;11091:349:1::0;61459:69:0::2;61576:18;:14:::0;61593:1:::2;61576:18;:::i;:::-;61563:10;61547:13;14011:12:::0;;13336:1;13995:13;:28;-1:-1:-1;;13995:46:0;;13737:323;61547:13:::2;:26;;;;:::i;:::-;:47;61539:78;;;;-1:-1:-1::0;;;61539:78:0::2;;;;;;;:::i;:::-;61637:8;::::0;::::2;;61636:9;61628:33;;;::::0;-1:-1:-1;;;61628:33:0;;12359:2:1;61628:33:0::2;::::0;::::2;12341:21:1::0;12398:2;12378:18;;;12371:30;-1:-1:-1;;;12417:18:1;;;12410:41;12468:18;;61628:33:0::2;12157:335:1::0;61628:33:0::2;62463:14:::3;:25:::0;62525:28:::3;::::0;-1:-1:-1;;62542:10:0::3;8268:2:1::0;8264:15;8260:53;62525:28:0::3;::::0;::::3;8248:66:1::0;-1:-1:-1;;;;;62463:25:0;;::::3;::::0;62434:18:::3;::::0;8330:12:1;;62525:28:0::3;;;;;;;;;;;;62515:39;;;;;;62500:54;;62573:59;62592:12;;62573:59;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::3;::::0;;;;-1:-1:-1;;62606:19:0::3;::::0;;-1:-1:-1;62627:4:0;;-1:-1:-1;62573:18:0::3;:59::i;:::-;62565:95;;;::::0;-1:-1:-1;;;62565:95:0;;14451:2:1;62565:95:0::3;::::0;::::3;14433:21:1::0;14490:2;14470:18;;;14463:30;14529:25;14509:18;;;14502:53;14572:18;;62565:95:0::3;14249:347:1::0;62565:95:0::3;62692:14;:10:::0;62705:1:::3;62692:14;:::i;:::-;62679:10;:27;62671:61;;;;-1:-1:-1::0;;;62671:61:0::3;;;;;;;:::i;:::-;62769:10;62752:28;::::0;;;:16:::3;:28;::::0;;;;;::::3;;62751:29;62743:66;;;::::0;-1:-1:-1;;;62743:66:0;;12699:2:1;62743:66:0::3;::::0;::::3;12681:21:1::0;12738:2;12718:18;;;12711:30;-1:-1:-1;;;12757:18:1;;;12750:54;12821:18;;62743:66:0::3;12497:348:1::0;62743:66:0::3;62839:10;62822:28;::::0;;;:16:::3;:28;::::0;;;;:35;;-1:-1:-1;;62822:35:0::3;62853:4;62822:35;::::0;;62868:33:::3;::::0;62890:10;62868:9:::3;:33::i;:::-;62423:486;;61263:418:::2;;60853:1;62223:686:::0;;;:::o;20595:104::-;20651:13;20684:7;20677:14;;;;;:::i;22676:308::-;-1:-1:-1;;;;;22775:31:0;;42716:10;22775:31;22771:61;;;22815:17;;-1:-1:-1;;;22815:17:0;;;;;;;;;;;22771:61;42716:10;22845:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;22845:49:0;;;;;;;;;;;;:60;;-1:-1:-1;;22845:60:0;;;;;;;;;;22921:55;;9879:41:1;;;22845:49:0;;42716:10;22921:55;;9852:18:1;22921:55:0;;;;;;;22676:308;;:::o;64669:223::-;58049:13;:11;:13::i;:::-;64756:1:::1;64732:21;:25;64724:34;;;::::0;::::1;;64788:49;::::0;64770:12:::1;::::0;64788:10:::1;::::0;64811:21:::1;::::0;64770:12;64788:49;64770:12;64788:49;64811:21;64788:10;:49:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;64769:68;;;64856:7;64848:36;;;::::0;-1:-1:-1;;;64848:36:0;;13763:2:1;64848:36:0::1;::::0;::::1;13745:21:1::0;13802:2;13782:18;;;13775:30;-1:-1:-1;;;13821:18:1;;;13814:46;13877:18;;64848:36:0::1;13561:340:1::0;64848:36:0::1;64713:179;64669:223::o:0;61727:488::-;61130:9;61143:10;61130:23;61122:66;;;;-1:-1:-1;;;61122:66:0;;12000:2:1;61122:66:0;;;11982:21:1;12039:2;12019:18;;;12012:30;12078:32;12058:18;;;12051:60;12128:18;;61122:66:0;11798:354:1;61122:66:0;60942:10:::1;:26:::0;-1:-1:-1;;;60942:26:0;::::1;;;60916:15;:53;:108:::0;::::1;;;-1:-1:-1::0;60999:10:0::1;:24:::0;-1:-1:-1;;;60999:24:0;::::1;;;60973:15;:51;60916:108;60908:145;;;::::0;-1:-1:-1;;;60908:145:0;;11647:2:1;60908:145:0::1;::::0;::::1;11629:21:1::0;11686:2;11666:18;;;11659:30;11725:26;11705:18;;;11698:54;11769:18;;60908:145:0::1;11445:348:1::0;60908:145:0::1;61298:14:::2;:20:::0;61363:10:::2;:25:::0;61871:10;;-1:-1:-1;;;;;;;;61298:20:0;;::::2;::::0;::::2;::::0;61363:25:::2;61408:14:::0;61400:48:::2;;;;-1:-1:-1::0;;;61400:48:0::2;;;;;;;:::i;:::-;61480:18;61488:10:::0;61480:5;:18:::2;:::i;:::-;61467:9;:31;;61459:69;;;::::0;-1:-1:-1;;;61459:69:0;;11293:2:1;61459:69:0::2;::::0;::::2;11275:21:1::0;11332:2;11312:18;;;11305:30;-1:-1:-1;;;11351:18:1;;;11344:55;11416:18;;61459:69:0::2;11091:349:1::0;61459:69:0::2;61576:18;:14:::0;61593:1:::2;61576:18;:::i;:::-;61563:10;61547:13;14011:12:::0;;13336:1;13995:13;:28;-1:-1:-1;;13995:46:0;;13737:323;61547:13:::2;:26;;;;:::i;:::-;:47;61539:78;;;;-1:-1:-1::0;;;61539:78:0::2;;;;;;;:::i;:::-;61637:8;::::0;::::2;;61636:9;61628:33;;;::::0;-1:-1:-1;;;61628:33:0;;12359:2:1;61628:33:0::2;::::0;::::2;12341:21:1::0;12398:2;12378:18;;;12371:30;-1:-1:-1;;;12417:18:1;;;12410:41;12468:18;;61628:33:0::2;12157:335:1::0;61628:33:0::2;61938:14:::3;:25:::0;-1:-1:-1;;;;;61938:25:0::3;61996:14;61938:25:::0;;61996:14:::3;:::i;:::-;61983:10;:27;61975:61;;;;-1:-1:-1::0;;;61975:61:0::3;;;;;;;:::i;:::-;62070:10;62056:25;::::0;;;:13:::3;:25;::::0;;;;;::::3;;62055:26;62047:63;;;::::0;-1:-1:-1;;;62047:63:0;;12699:2:1;62047:63:0::3;::::0;::::3;12681:21:1::0;12738:2;12718:18;;;12711:30;-1:-1:-1;;;12757:18:1;;;12750:54;12821:18;;62047:63:0::3;12497:348:1::0;62047:63:0::3;62145:10;62131:25;::::0;;;:13:::3;:25;::::0;;;;:32;;-1:-1:-1;;62131:32:0::3;62159:4;62131:32;::::0;;62174:33:::3;::::0;62196:10;62174:9:::3;:33::i;:::-;61888:327;61263:418:::2;;61064:1;61727:488:::0;:::o;23546:399::-;23713:31;23726:4;23732:2;23736:7;23713:12;:31::i;:::-;-1:-1:-1;;;;;23759:14:0;;;:19;23755:183;;23798:56;23829:4;23835:2;23839:7;23848:5;23798:30;:56::i;:::-;23793:145;;23882:40;;-1:-1:-1;;;23882:40:0;;;;;;;;;;;64240:211;58049:13;:11;:13::i;:::-;64344:10:::1;:46:::0;;-1:-1:-1;;;;64401:42:0;-1:-1:-1;;;64344:46:0::1;::::0;;::::1;;-1:-1:-1::0;;;;64401:42:0;;-1:-1:-1;;;64401:42:0;;;::::1;::::0;;;::::1;::::0;;;::::1;::::0;;64240:211::o;20770:318::-;20843:13;20874:16;20882:7;20874;:16::i;:::-;20869:59;;20899:29;;-1:-1:-1;;;20899:29:0;;;;;;;;;;;20869:59;20941:21;20965:10;:8;:10::i;:::-;20941:34;;20999:7;20993:21;21018:1;20993:26;;:87;;;;;;;;;;;;;;;;;21046:7;21055:18;21065:7;21055:9;:18::i;:::-;21029:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;20993:87;20986:94;20770:318;-1:-1:-1;;;20770:318:0:o;64459:202::-;58049:13;:11;:13::i;:::-;64560:10:::1;:43:::0;;-1:-1:-1;;;;;64614:39:0;-1:-1:-1;;;64560:43:0::1;::::0;;::::1;;-1:-1:-1::0;;;;;64614:39:0;;-1:-1:-1;;;64614:39:0;;;::::1;::::0;;;::::1;::::0;;;::::1;::::0;;64459:202::o;59069:201::-;58049:13;:11;:13::i;:::-;-1:-1:-1;;;;;59158:22:0;::::1;59150:73;;;::::0;-1:-1:-1;;;59150:73:0;;10539:2:1;59150:73:0::1;::::0;::::1;10521:21:1::0;10578:2;10558:18;;;10551:30;10617:34;10597:18;;;10590:62;-1:-1:-1;;;10668:18:1;;;10661:36;10714:19;;59150:73:0::1;10337:402:1::0;59150:73:0::1;59234:28;59253:8;59234:18;:28::i;63748:110::-:0;58049:13;:11;:13::i;:::-;63824:19:::1;:26:::0;63748:110::o;24200:281::-;24265:4;24321:7;13336:1;24302:26;;:66;;;;;24355:13;;24345:7;:23;24302:66;:152;;;;-1:-1:-1;;24406:26:0;;;;:17;:26;;;;;;-1:-1:-1;;;24406:43:0;:48;;24200:281::o;58328:132::-;58209:7;58236:6;-1:-1:-1;;;;;58236:6:0;42716:10;58392:23;58384:68;;;;-1:-1:-1;;;58384:68:0;;13402:2:1;58384:68:0;;;13384:21:1;;;13421:18;;;13414:30;13480:34;13460:18;;;13453:62;13532:18;;58384:68:0;13200:356:1;17100:1129:0;17167:7;17202;;13336:1;17251:23;17247:915;;17304:13;;17297:4;:20;17293:869;;;17342:14;17359:23;;;:17;:23;;;;;;-1:-1:-1;;;17448:23:0;;17444:699;;17967:113;17974:11;17967:113;;-1:-1:-1;;;18045:6:0;18027:25;;;;:17;:25;;;;;;17967:113;;17444:699;17319:843;17293:869;18190:31;;-1:-1:-1;;;18190:31:0;;;;;;;;;;;24565:112;24642:27;24652:2;24656:8;24642:27;;;;;;;;;;;;:9;:27::i;:::-;24565:112;;:::o;59430:191::-;59504:16;59523:6;;-1:-1:-1;;;;;59540:17:0;;;-1:-1:-1;;;;;;59540:17:0;;;;;;59573:40;;59523:6;;;;;;;59573:40;;59504:16;59573:40;59493:128;59430:191;:::o;48529:190::-;48654:4;48707;48678:25;48691:5;48698:4;48678:12;:25::i;:::-;:33;;48529:190;-1:-1:-1;;;;48529:190:0:o;38276:716::-;38460:88;;-1:-1:-1;;;38460:88:0;;38439:4;;-1:-1:-1;;;;;38460:45:0;;;;;:88;;42716:10;;38527:4;;38533:7;;38542:5;;38460:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38460:88:0;;;;;;;;-1:-1:-1;;38460:88:0;;;;;;;;;;;;:::i;:::-;;;38456:529;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38743:13:0;;38739:235;;38789:40;;-1:-1:-1;;;38789:40:0;;;;;;;;;;;38739:235;38932:6;38926:13;38917:6;38913:2;38909:15;38902:38;38456:529;-1:-1:-1;;;;;;38619:64:0;-1:-1:-1;;;38619:64:0;;-1:-1:-1;38276:716:0;;;;;;:::o;62940:114::-;63000:13;63033;63026:20;;;;;:::i;42840:1968::-;43317:4;43311:11;;43324:3;43307:21;;43402:17;;;;44098:11;;;43977:5;44230:2;44244;44234:13;;44226:22;44098:11;44213:36;44285:2;44275:13;;43869:697;44304:4;43869:697;;;44495:1;44490:3;44486:11;44479:18;;44546:2;44540:4;44536:13;44532:2;44528:22;44523:3;44515:36;44399:2;44389:13;;43869:697;;;-1:-1:-1;44596:13:0;;;-1:-1:-1;;44711:12:0;;;44771:19;;;44711:12;42840:1968;-1:-1:-1;42840:1968:0:o;25093:689::-;25224:19;25230:2;25234:8;25224:5;:19::i;:::-;-1:-1:-1;;;;;25285:14:0;;;:19;25281:483;;25339:13;;25387:14;;;25420:233;25451:62;25490:1;25494:2;25498:7;;;;;;25507:5;25451:30;:62::i;:::-;25446:167;;25549:40;;-1:-1:-1;;;25549:40:0;;;;;;;;;;;25446:167;25648:3;25640:5;:11;25420:233;;25735:3;25718:13;;:20;25714:34;;25740:8;;;49396:296;49479:7;49522:4;49479:7;49537:118;49561:5;:12;49557:1;:16;49537:118;;;49610:33;49620:12;49634:5;49640:1;49634:8;;;;;;;;:::i;:::-;;;;;;;49610:9;:33::i;:::-;49595:48;-1:-1:-1;49575:3:0;;;;:::i;:::-;;;;49537:118;;;-1:-1:-1;49672:12:0;49396:296;-1:-1:-1;;;49396:296:0:o;26055:1537::-;26151:13;;-1:-1:-1;;;;;26179:16:0;;26175:48;;26204:19;;-1:-1:-1;;;26204:19:0;;;;;;;;;;;26175:48;26238:13;26234:44;;26260:18;;-1:-1:-1;;;26260:18:0;;;;;;;;;;;26234:44;-1:-1:-1;;;;;26766:22:0;;;;;;:18;:22;;10037:2;26766:22;;:70;;26804:31;26792:44;;26766:70;;;20106:11;20082:22;20078:40;-1:-1:-1;21824:15:0;;21799:23;21795:45;20075:51;20065:62;27079:31;;;;:17;:31;;;;;:173;27097:12;27328:23;;;27366:101;27393:35;;27418:9;;;;;-1:-1:-1;;;;;27393:35:0;;;27410:1;;27393:35;;27410:1;;27393:35;27462:3;27452:7;:13;27366:101;;27483:13;:19;-1:-1:-1;23290:185:0;;;:::o;55603:149::-;55666:7;55697:1;55693;:5;:51;;55828:13;55922:15;;;55958:4;55951:15;;;56005:4;55989:21;;55693:51;;;-1:-1:-1;55828:13:0;55922:15;;;55958:4;55951:15;56005:4;55989:21;;;55603:149::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:173:1;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:70;;177:1;174;167:12;111:70;14:173;;;:::o;192:673::-;246:5;299:3;292:4;284:6;280:17;276:27;266:55;;317:1;314;307:12;266:55;353:6;340:20;379:4;403:60;419:43;459:2;419:43;:::i;:::-;403:60;:::i;:::-;485:3;509:2;504:3;497:15;537:2;532:3;528:12;521:19;;572:2;564:6;560:15;624:3;619:2;613;610:1;606:10;598:6;594:23;590:32;587:41;584:61;;;641:1;638;631:12;584:61;663:1;673:163;687:2;684:1;681:9;673:163;;;744:17;;732:30;;782:12;;;;814;;;;705:1;698:9;673:163;;;-1:-1:-1;854:5:1;;192:673;-1:-1:-1;;;;;;;192:673:1:o;870:160::-;935:20;;991:13;;984:21;974:32;;964:60;;1020:1;1017;1010:12;1035:163;1102:20;;1162:10;1151:22;;1141:33;;1131:61;;1188:1;1185;1178:12;1203:186;1262:6;1315:2;1303:9;1294:7;1290:23;1286:32;1283:52;;;1331:1;1328;1321:12;1283:52;1354:29;1373:9;1354:29;:::i;1394:260::-;1462:6;1470;1523:2;1511:9;1502:7;1498:23;1494:32;1491:52;;;1539:1;1536;1529:12;1491:52;1562:29;1581:9;1562:29;:::i;:::-;1552:39;;1610:38;1644:2;1633:9;1629:18;1610:38;:::i;:::-;1600:48;;1394:260;;;;;:::o;1659:328::-;1736:6;1744;1752;1805:2;1793:9;1784:7;1780:23;1776:32;1773:52;;;1821:1;1818;1811:12;1773:52;1844:29;1863:9;1844:29;:::i;:::-;1834:39;;1892:38;1926:2;1915:9;1911:18;1892:38;:::i;:::-;1882:48;;1977:2;1966:9;1962:18;1949:32;1939:42;;1659:328;;;;;:::o;1992:980::-;2087:6;2095;2103;2111;2164:3;2152:9;2143:7;2139:23;2135:33;2132:53;;;2181:1;2178;2171:12;2132:53;2204:29;2223:9;2204:29;:::i;:::-;2194:39;;2252:2;2273:38;2307:2;2296:9;2292:18;2273:38;:::i;:::-;2263:48;;2358:2;2347:9;2343:18;2330:32;2320:42;;2413:2;2402:9;2398:18;2385:32;2436:18;2477:2;2469:6;2466:14;2463:34;;;2493:1;2490;2483:12;2463:34;2531:6;2520:9;2516:22;2506:32;;2576:7;2569:4;2565:2;2561:13;2557:27;2547:55;;2598:1;2595;2588:12;2547:55;2634:2;2621:16;2656:2;2652;2649:10;2646:36;;;2662:18;;:::i;:::-;2704:53;2747:2;2728:13;;-1:-1:-1;;2724:27:1;2720:36;;2704:53;:::i;:::-;2691:66;;2780:2;2773:5;2766:17;2820:7;2815:2;2810;2806;2802:11;2798:20;2795:33;2792:53;;;2841:1;2838;2831:12;2792:53;2896:2;2891;2887;2883:11;2878:2;2871:5;2867:14;2854:45;2940:1;2935:2;2930;2923:5;2919:14;2915:23;2908:34;;2961:5;2951:15;;;;;1992:980;;;;;;;:::o;2977:254::-;3042:6;3050;3103:2;3091:9;3082:7;3078:23;3074:32;3071:52;;;3119:1;3116;3109:12;3071:52;3142:29;3161:9;3142:29;:::i;:::-;3132:39;;3190:35;3221:2;3210:9;3206:18;3190:35;:::i;3236:254::-;3304:6;3312;3365:2;3353:9;3344:7;3340:23;3336:32;3333:52;;;3381:1;3378;3371:12;3333:52;3404:29;3423:9;3404:29;:::i;:::-;3394:39;3480:2;3465:18;;;;3452:32;;-1:-1:-1;;;3236:254:1:o;3495:1157::-;3613:6;3621;3674:2;3662:9;3653:7;3649:23;3645:32;3642:52;;;3690:1;3687;3680:12;3642:52;3730:9;3717:23;3759:18;3800:2;3792:6;3789:14;3786:34;;;3816:1;3813;3806:12;3786:34;3854:6;3843:9;3839:22;3829:32;;3899:7;3892:4;3888:2;3884:13;3880:27;3870:55;;3921:1;3918;3911:12;3870:55;3957:2;3944:16;3979:4;4003:60;4019:43;4059:2;4019:43;:::i;4003:60::-;4085:3;4109:2;4104:3;4097:15;4137:2;4132:3;4128:12;4121:19;;4168:2;4164;4160:11;4216:7;4211:2;4205;4202:1;4198:10;4194:2;4190:19;4186:28;4183:41;4180:61;;;4237:1;4234;4227:12;4180:61;4259:1;4250:10;;4269:169;4283:2;4280:1;4277:9;4269:169;;;4340:23;4359:3;4340:23;:::i;:::-;4328:36;;4301:1;4294:9;;;;;4384:12;;;;4416;;4269:169;;;-1:-1:-1;4457:5:1;-1:-1:-1;;4500:18:1;;4487:32;;-1:-1:-1;;4531:16:1;;;4528:36;;;4560:1;4557;4550:12;4528:36;;4583:63;4638:7;4627:8;4616:9;4612:24;4583:63;:::i;:::-;4573:73;;;3495:1157;;;;;:::o;4657:180::-;4713:6;4766:2;4754:9;4745:7;4741:23;4737:32;4734:52;;;4782:1;4779;4772:12;4734:52;4805:26;4821:9;4805:26;:::i;4842:180::-;4901:6;4954:2;4942:9;4933:7;4929:23;4925:32;4922:52;;;4970:1;4967;4960:12;4922:52;-1:-1:-1;4993:23:1;;4842:180;-1:-1:-1;4842:180:1:o;5027:245::-;5085:6;5138:2;5126:9;5117:7;5113:23;5109:32;5106:52;;;5154:1;5151;5144:12;5106:52;5193:9;5180:23;5212:30;5236:5;5212:30;:::i;5277:249::-;5346:6;5399:2;5387:9;5378:7;5374:23;5370:32;5367:52;;;5415:1;5412;5405:12;5367:52;5447:9;5441:16;5466:30;5490:5;5466:30;:::i;5531:592::-;5602:6;5610;5663:2;5651:9;5642:7;5638:23;5634:32;5631:52;;;5679:1;5676;5669:12;5631:52;5719:9;5706:23;5748:18;5789:2;5781:6;5778:14;5775:34;;;5805:1;5802;5795:12;5775:34;5843:6;5832:9;5828:22;5818:32;;5888:7;5881:4;5877:2;5873:13;5869:27;5859:55;;5910:1;5907;5900:12;5859:55;5950:2;5937:16;5976:2;5968:6;5965:14;5962:34;;;5992:1;5989;5982:12;5962:34;6037:7;6032:2;6023:6;6019:2;6015:15;6011:24;6008:37;6005:57;;;6058:1;6055;6048:12;6005:57;6089:2;6081:11;;;;;6111:6;;-1:-1:-1;5531:592:1;;-1:-1:-1;;;;5531:592:1:o;6128:301::-;6187:6;6240:2;6228:9;6219:7;6215:23;6211:32;6208:52;;;6256:1;6253;6246:12;6208:52;6295:9;6282:23;-1:-1:-1;;;;;6338:5:1;6334:46;6327:5;6324:57;6314:85;;6395:1;6392;6385:12;6619:683;6714:6;6722;6730;6783:2;6771:9;6762:7;6758:23;6754:32;6751:52;;;6799:1;6796;6789:12;6751:52;6835:9;6822:23;6812:33;;6896:2;6885:9;6881:18;6868:32;6919:18;6960:2;6952:6;6949:14;6946:34;;;6976:1;6973;6966:12;6946:34;7014:6;7003:9;6999:22;6989:32;;7059:7;7052:4;7048:2;7044:13;7040:27;7030:55;;7081:1;7078;7071:12;7030:55;7121:2;7108:16;7147:2;7139:6;7136:14;7133:34;;;7163:1;7160;7153:12;7133:34;7216:7;7211:2;7201:6;7198:1;7194:14;7190:2;7186:23;7182:32;7179:45;7176:65;;;7237:1;7234;7227:12;7176:65;7268:2;7264;7260:11;7250:21;;7290:6;7280:16;;;;;6619:683;;;;;:::o;7307:256::-;7373:6;7381;7434:2;7422:9;7413:7;7409:23;7405:32;7402:52;;;7450:1;7447;7440:12;7402:52;7473:28;7491:9;7473:28;:::i;:::-;7463:38;;7520:37;7553:2;7542:9;7538:18;7520:37;:::i;7568:284::-;7626:6;7679:2;7667:9;7658:7;7654:23;7650:32;7647:52;;;7695:1;7692;7685:12;7647:52;7734:9;7721:23;7784:18;7777:5;7773:30;7766:5;7763:41;7753:69;;7818:1;7815;7808:12;7857:257;7898:3;7936:5;7930:12;7963:6;7958:3;7951:19;7979:63;8035:6;8028:4;8023:3;8019:14;8012:4;8005:5;8001:16;7979:63;:::i;:::-;8096:2;8075:15;-1:-1:-1;;8071:29:1;8062:39;;;;8103:4;8058:50;;7857:257;-1:-1:-1;;7857:257:1:o;8353:470::-;8532:3;8570:6;8564:13;8586:53;8632:6;8627:3;8620:4;8612:6;8608:17;8586:53;:::i;:::-;8702:13;;8661:16;;;;8724:57;8702:13;8661:16;8758:4;8746:17;;8724:57;:::i;:::-;8797:20;;8353:470;-1:-1:-1;;;;8353:470:1:o;9246:488::-;-1:-1:-1;;;;;9515:15:1;;;9497:34;;9567:15;;9562:2;9547:18;;9540:43;9614:2;9599:18;;9592:34;;;9662:3;9657:2;9642:18;;9635:31;;;9440:4;;9683:45;;9708:19;;9700:6;9683:45;:::i;:::-;9675:53;9246:488;-1:-1:-1;;;;;;9246:488:1:o;10113:219::-;10262:2;10251:9;10244:21;10225:4;10282:44;10322:2;10311:9;10307:18;10299:6;10282:44;:::i;10744:342::-;10946:2;10928:21;;;10985:2;10965:18;;;10958:30;-1:-1:-1;;;11019:2:1;11004:18;;10997:48;11077:2;11062:18;;10744:342::o;12850:345::-;13052:2;13034:21;;;13091:2;13071:18;;;13064:30;-1:-1:-1;;;13125:2:1;13110:18;;13103:51;13186:2;13171:18;;12850:345::o;16375:275::-;16446:2;16440:9;16511:2;16492:13;;-1:-1:-1;;16488:27:1;16476:40;;16546:18;16531:34;;16567:22;;;16528:62;16525:88;;;16593:18;;:::i;:::-;16629:2;16622:22;16375:275;;-1:-1:-1;16375:275:1:o;16655:183::-;16715:4;16748:18;16740:6;16737:30;16734:56;;;16770:18;;:::i;:::-;-1:-1:-1;16815:1:1;16811:14;16827:4;16807:25;;16655:183::o;16843:128::-;16883:3;16914:1;16910:6;16907:1;16904:13;16901:39;;;16920:18;;:::i;:::-;-1:-1:-1;16956:9:1;;16843:128::o;16976:168::-;17016:7;17082:1;17078;17074:6;17070:14;17067:1;17064:21;17059:1;17052:9;17045:17;17041:45;17038:71;;;17089:18;;:::i;:::-;-1:-1:-1;17129:9:1;;16976:168::o;17149:258::-;17221:1;17231:113;17245:6;17242:1;17239:13;17231:113;;;17321:11;;;17315:18;17302:11;;;17295:39;17267:2;17260:10;17231:113;;;17362:6;17359:1;17356:13;17353:48;;;-1:-1:-1;;17397:1:1;17379:16;;17372:27;17149:258::o;17412:380::-;17491:1;17487:12;;;;17534;;;17555:61;;17609:4;17601:6;17597:17;17587:27;;17555:61;17662:2;17654:6;17651:14;17631:18;17628:38;17625:161;;;17708:10;17703:3;17699:20;17696:1;17689:31;17743:4;17740:1;17733:15;17771:4;17768:1;17761:15;17625:161;;17412:380;;;:::o;17797:135::-;17836:3;-1:-1:-1;;17857:17:1;;17854:43;;;17877:18;;:::i;:::-;-1:-1:-1;17924:1:1;17913:13;;17797:135::o;17937:127::-;17998:10;17993:3;17989:20;17986:1;17979:31;18029:4;18026:1;18019:15;18053:4;18050:1;18043:15;18069:127;18130:10;18125:3;18121:20;18118:1;18111:31;18161:4;18158:1;18151:15;18185:4;18182:1;18175:15;18201:127;18262:10;18257:3;18253:20;18250:1;18243:31;18293:4;18290:1;18283:15;18317:4;18314:1;18307:15;18333:131;-1:-1:-1;;;;;;18407:32:1;;18397:43;;18387:71;;18454:1;18451;18444:12
Swarm Source
ipfs://be32b95b7a93302fd54626e1da92d04d22d0c91a7ca35de8a7aede1ad4f3d3b8
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.